SystemC  Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | List of all members
sc_core::sc_event_queue Class Reference

A queue that can contain any number of pending delta, or timed events. More...

#include <sysc/communication/sc_event_queue.h>

Inheritance diagram for sc_core::sc_event_queue:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_event_queue:
Collaboration graph
[legend]

Public Member Functions

 SC_HAS_PROCESS (sc_event_queue)
 
 sc_event_queue (sc_module_name name_=sc_gen_unique_name("event_queue"))
 This constructor function is not supported by the out-of-order simulation in the current release. More...
 
 ~sc_event_queue ()
 
virtual const char * kind () const
 
virtual void notify (double when, sc_time_unit base)
 
virtual void notify (const sc_time &when)
 
virtual void cancel_all ()
 
virtual const sc_eventdefault_event () const
 
- Public Member Functions inherited from sc_core::sc_interface
virtual void register_port (sc_port_base &port_, const char *if_typename_)
 
virtual ~sc_interface ()
 
- Public Member Functions inherited from sc_core::sc_module
sc_simcontextsc_get_curr_simcontext ()
 
const char * gen_unique_name (const char *basename_, bool preserve_first)
 
void test_message ()
 
virtual ~sc_module ()
 
sc_moduleoperator<< (sc_interface &)
 
sc_moduleoperator<< (sc_port_base &)
 
sc_moduleoperator, (sc_interface &interface_)
 
sc_moduleoperator, (sc_port_base &port_)
 
const ::std::vector< sc_object * > & get_child_objects () const
 
void defunct ()
 
void operator() (const sc_bind_proxy &p001, const sc_bind_proxy &p002=SC_BIND_PROXY_NIL, const sc_bind_proxy &p003=SC_BIND_PROXY_NIL, const sc_bind_proxy &p004=SC_BIND_PROXY_NIL, const sc_bind_proxy &p005=SC_BIND_PROXY_NIL, const sc_bind_proxy &p006=SC_BIND_PROXY_NIL, const sc_bind_proxy &p007=SC_BIND_PROXY_NIL, const sc_bind_proxy &p008=SC_BIND_PROXY_NIL, const sc_bind_proxy &p009=SC_BIND_PROXY_NIL, const sc_bind_proxy &p010=SC_BIND_PROXY_NIL, const sc_bind_proxy &p011=SC_BIND_PROXY_NIL, const sc_bind_proxy &p012=SC_BIND_PROXY_NIL, const sc_bind_proxy &p013=SC_BIND_PROXY_NIL, const sc_bind_proxy &p014=SC_BIND_PROXY_NIL, const sc_bind_proxy &p015=SC_BIND_PROXY_NIL, const sc_bind_proxy &p016=SC_BIND_PROXY_NIL, const sc_bind_proxy &p017=SC_BIND_PROXY_NIL, const sc_bind_proxy &p018=SC_BIND_PROXY_NIL, const sc_bind_proxy &p019=SC_BIND_PROXY_NIL, const sc_bind_proxy &p020=SC_BIND_PROXY_NIL, const sc_bind_proxy &p021=SC_BIND_PROXY_NIL, const sc_bind_proxy &p022=SC_BIND_PROXY_NIL, const sc_bind_proxy &p023=SC_BIND_PROXY_NIL, const sc_bind_proxy &p024=SC_BIND_PROXY_NIL, const sc_bind_proxy &p025=SC_BIND_PROXY_NIL, const sc_bind_proxy &p026=SC_BIND_PROXY_NIL, const sc_bind_proxy &p027=SC_BIND_PROXY_NIL, const sc_bind_proxy &p028=SC_BIND_PROXY_NIL, const sc_bind_proxy &p029=SC_BIND_PROXY_NIL, const sc_bind_proxy &p030=SC_BIND_PROXY_NIL, const sc_bind_proxy &p031=SC_BIND_PROXY_NIL, const sc_bind_proxy &p032=SC_BIND_PROXY_NIL, const sc_bind_proxy &p033=SC_BIND_PROXY_NIL, const sc_bind_proxy &p034=SC_BIND_PROXY_NIL, const sc_bind_proxy &p035=SC_BIND_PROXY_NIL, const sc_bind_proxy &p036=SC_BIND_PROXY_NIL, const sc_bind_proxy &p037=SC_BIND_PROXY_NIL, const sc_bind_proxy &p038=SC_BIND_PROXY_NIL, const sc_bind_proxy &p039=SC_BIND_PROXY_NIL, const sc_bind_proxy &p040=SC_BIND_PROXY_NIL, const sc_bind_proxy &p041=SC_BIND_PROXY_NIL, const sc_bind_proxy &p042=SC_BIND_PROXY_NIL, const sc_bind_proxy &p043=SC_BIND_PROXY_NIL, const sc_bind_proxy &p044=SC_BIND_PROXY_NIL, const sc_bind_proxy &p045=SC_BIND_PROXY_NIL, const sc_bind_proxy &p046=SC_BIND_PROXY_NIL, const sc_bind_proxy &p047=SC_BIND_PROXY_NIL, const sc_bind_proxy &p048=SC_BIND_PROXY_NIL, const sc_bind_proxy &p049=SC_BIND_PROXY_NIL, const sc_bind_proxy &p050=SC_BIND_PROXY_NIL, const sc_bind_proxy &p051=SC_BIND_PROXY_NIL, const sc_bind_proxy &p052=SC_BIND_PROXY_NIL, const sc_bind_proxy &p053=SC_BIND_PROXY_NIL, const sc_bind_proxy &p054=SC_BIND_PROXY_NIL, const sc_bind_proxy &p055=SC_BIND_PROXY_NIL, const sc_bind_proxy &p056=SC_BIND_PROXY_NIL, const sc_bind_proxy &p057=SC_BIND_PROXY_NIL, const sc_bind_proxy &p058=SC_BIND_PROXY_NIL, const sc_bind_proxy &p059=SC_BIND_PROXY_NIL, const sc_bind_proxy &p060=SC_BIND_PROXY_NIL, const sc_bind_proxy &p061=SC_BIND_PROXY_NIL, const sc_bind_proxy &p062=SC_BIND_PROXY_NIL, const sc_bind_proxy &p063=SC_BIND_PROXY_NIL, const sc_bind_proxy &p064=SC_BIND_PROXY_NIL)
 
- Public Member Functions inherited from sc_core::sc_object
const char * name () const
 
const char * basename () const
 
virtual void print (::std::ostream &os=::std::cout) const
 
virtual void dump (::std::ostream &os=::std::cout) const
 
virtual void trace (sc_trace_file *tf) const
 
sc_simcontextsimcontext () const
 
bool add_attribute (sc_attr_base &)
 
sc_attr_baseget_attribute (const std::string &name_)
 
const sc_attr_baseget_attribute (const std::string &name_) const
 
sc_attr_baseremove_attribute (const std::string &name_)
 
void remove_all_attributes ()
 
int num_attributes () const
 
sc_attr_cltnattr_cltn ()
 
const sc_attr_cltnattr_cltn () const
 
virtual const std::vector
< sc_event * > & 
get_child_events () const
 
sc_objectget_parent () const
 
sc_objectget_parent_object () const
 
- Public Member Functions inherited from sc_core::sc_process_host
 sc_process_host ()
 
virtual ~sc_process_host ()
 
void defunct ()
 

Additional Inherited Members

- Public Types inherited from sc_core::sc_object
typedef unsigned phase_cb_mask
 
- Protected Member Functions inherited from sc_core::sc_interface
 sc_interface ()
 
- Protected Member Functions inherited from sc_core::sc_module
virtual void before_end_of_elaboration ()
 
void construction_done ()
 
virtual void end_of_elaboration ()
 
void elaboration_done (bool &)
 
virtual void start_of_simulation ()
 
void start_simulation ()
 
virtual void end_of_simulation ()
 
void simulation_done ()
 
void sc_module_init ()
 
 sc_module ()
 
 sc_module (const sc_module_name &nm)
 
 sc_module (const char *nm)
 
 sc_module (const std::string &nm)
 
void end_module ()
 
void dont_initialize ()
 
void positional_bind (sc_interface &)
 
void positional_bind (sc_port_base &)
 
void async_reset_signal_is (const sc_in< bool > &port, bool level)
 
void async_reset_signal_is (const sc_inout< bool > &port, bool level)
 
void async_reset_signal_is (const sc_out< bool > &port, bool level)
 
void async_reset_signal_is (const sc_signal_in_if< bool > &iface, bool level)
 
void reset_signal_is (const sc_in< bool > &port, bool level)
 
void reset_signal_is (const sc_inout< bool > &port, bool level)
 
void reset_signal_is (const sc_out< bool > &port, bool level)
 
void reset_signal_is (const sc_signal_in_if< bool > &iface, bool level)
 
void seg_bound ()
 
void wait (int seg_id=-1)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void wait (const sc_event &e, int seg_id=-1)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void wait (const sc_event_or_list &el, int seg_id=-1)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void wait (const sc_event_and_list &el, int seg_id=-1)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void wait (const sc_time &t, int seg_id=-1)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void wait (double v, sc_time_unit tu, int seg_id=-1)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void wait (const sc_time &t, const sc_event &e, int seg_id=-1)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void wait (double v, sc_time_unit tu, const sc_event &e, int seg_id=-1)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void wait (const sc_time &t, const sc_event_or_list &el, int seg_id=-1)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void wait (double v, sc_time_unit tu, const sc_event_or_list &el, int seg_id=-1)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void wait (const sc_time &t, const sc_event_and_list &el, int seg_id=-1)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void wait (double v, sc_time_unit tu, const sc_event_and_list &el, int seg_id=-1)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void next_trigger ()
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void next_trigger (const sc_event &e)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void next_trigger (const sc_event_or_list &el)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void next_trigger (const sc_event_and_list &el)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void next_trigger (const sc_time &t)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void next_trigger (double v, sc_time_unit tu)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void next_trigger (const sc_time &t, const sc_event &e)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void next_trigger (double v, sc_time_unit tu, const sc_event &e)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void next_trigger (const sc_time &t, const sc_event_or_list &el)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void next_trigger (double v, sc_time_unit tu, const sc_event_or_list &el)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void next_trigger (const sc_time &t, const sc_event_and_list &el)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void next_trigger (double v, sc_time_unit tu, const sc_event_and_list &el)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
bool timed_out ()
 
void halt (int seg_id)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void wait (int n, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void at_posedge (const sc_signal_in_if< bool > &s, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void at_posedge (const sc_signal_in_if< sc_dt::sc_logic > &s, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void at_negedge (const sc_signal_in_if< bool > &s, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void at_negedge (const sc_signal_in_if< sc_dt::sc_logic > &s, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
void watching (bool)
 
void set_stack_size (std::size_t)
 Function to set the stack size of the current (c)thread process and method process. More...
 
int append_port (sc_port_base *)
 
- Protected Member Functions inherited from sc_core::sc_object
 sc_object ()
 
 sc_object (const char *nm)
 
 sc_object (const sc_object &)
 
sc_objectoperator= (const sc_object &)
 
virtual ~sc_object ()
 
virtual void add_child_event (sc_event *event_p)
 
virtual void add_child_object (sc_object *object_p)
 
virtual bool remove_child_event (sc_event *event_p)
 
virtual bool remove_child_object (sc_object *object_p)
 
phase_cb_mask register_simulation_phase_callback (phase_cb_mask)
 
phase_cb_mask unregister_simulation_phase_callback (phase_cb_mask)
 
- Protected Attributes inherited from sc_core::sc_module
sc_sensitive sensitive
 
sc_sensitive_pos sensitive_pos
 
sc_sensitive_neg sensitive_neg
 
int m_instance_id
 Instance ID of this module. More...
 

Detailed Description

A queue that can contain any number of pending delta, or timed events.

Definition at line 79 of file sc_event_queue.h.

Constructor & Destructor Documentation

sc_core::sc_event_queue::sc_event_queue ( sc_module_name  name_ = sc_gen_unique_name("event_queue"))

This constructor function is not supported by the out-of-order simulation in the current release.

sc_core::sc_event_queue::~sc_event_queue ( )

Member Function Documentation

virtual void sc_core::sc_event_queue::cancel_all ( )
virtual
const sc_event & sc_core::sc_event_queue::default_event ( ) const
inlinevirtual

Reimplemented from sc_core::sc_interface.

Definition at line 147 of file sc_event_queue.h.

virtual const char* sc_core::sc_event_queue::kind ( ) const
inlinevirtual

Reimplemented from sc_core::sc_module.

Definition at line 97 of file sc_event_queue.h.

void sc_core::sc_event_queue::notify ( double  when,
sc_time_unit  base 
)
inlinevirtual

Implements sc_core::sc_event_queue_if.

Definition at line 141 of file sc_event_queue.h.

virtual void sc_core::sc_event_queue::notify ( const sc_time when)
virtual
sc_core::sc_event_queue::SC_HAS_PROCESS ( sc_event_queue  )

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