quic/qbox
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Attributes | List of all members
sc_core::sc_sync_window< sc_sync_policy > Class Template Reference

windowed synchronizer, template SYNC_POLICY gives the quantum (dynamically) and specifies if the window should stay open indefinitely or detach when there are no more events. More...

#include <sync_window.h>

Inheritance diagram for sc_core::sc_sync_window< sc_sync_policy >:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_sync_window< sc_sync_policy >:
Collaboration graph
[legend]

Classes

struct  window
 

Public Member Functions

 SCP_LOGGER ()
 
void async_set_window (const window &w)
 
void detach ()
 
void bind (sc_sync_window *other)
 
void register_sync_cb (std::function< void(const window &)> fn)
 
 SC_CTOR (sc_sync_window)
 

Static Public Attributes

static const struct window zero_window = { sc_core::SC_ZERO_TIME, sc_core::SC_ZERO_TIME }
 
static const struct window open_window = { sc_core::SC_ZERO_TIME, sc_core::sc_max_time() }
 

Detailed Description

template<class sc_sync_policy = sc_sync_policy_in_sync>
class sc_core::sc_sync_window< sc_sync_policy >

windowed synchronizer, template SYNC_POLICY gives the quantum (dynamically) and specifies if the window should stay open indefinitely or detach when there are no more events.

Template Parameters
sc_sync_policy

The documentation for this class was generated from the following file: