SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_prim_channel Class Reference

Abstract base class of all primitive channel classes. More...

#include <sysc/communication/sc_prim_channel.h>

Inheritance diagram for sc_core::sc_prim_channel:
Collaboration diagram for sc_core::sc_prim_channel:

Public Types

enum  { list_end = 0xdb }
 
typedef unsigned phase_cb_mask
 

Public Member Functions

virtual const char * kind () const
 
bool update_requested ()
 
void request_update ()
 
void async_request_update ()
 
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
 
virtual const std::vector< sc_object * > & get_child_objects () const
 
sc_objectget_parent () const
 
sc_objectget_parent_object () const
 

Protected Member Functions

 sc_prim_channel ()
 
 sc_prim_channel (const char *)
 
virtual ~sc_prim_channel ()
 
virtual void update ()
 
virtual void before_end_of_elaboration ()
 
virtual void end_of_elaboration ()
 
virtual void start_of_simulation ()
 
virtual void end_of_simulation ()
 
bool async_attach_suspending ()
 
bool async_detach_suspending ()
 
void wait ()
 
void wait (const sc_event &e)
 
void wait (const sc_event_or_list &el)
 
void wait (const sc_event_and_list &el)
 
void wait (const sc_time &t)
 
void wait (double v, sc_time_unit tu)
 
void wait (const sc_time &t, const sc_event &e)
 
void wait (double v, sc_time_unit tu, const sc_event &e)
 
void wait (const sc_time &t, const sc_event_or_list &el)
 
void wait (double v, sc_time_unit tu, const sc_event_or_list &el)
 
void wait (const sc_time &t, const sc_event_and_list &el)
 
void wait (double v, sc_time_unit tu, const sc_event_and_list &el)
 
void wait (int n)
 
void next_trigger ()
 
void next_trigger (const sc_event &e)
 
void next_trigger (const sc_event_or_list &el)
 
void next_trigger (const sc_event_and_list &el)
 
void next_trigger (const sc_time &t)
 
void next_trigger (double v, sc_time_unit tu)
 
void next_trigger (const sc_time &t, const sc_event &e)
 
void next_trigger (double v, sc_time_unit tu, const sc_event &e)
 
void next_trigger (const sc_time &t, const sc_event_or_list &el)
 
void next_trigger (double v, sc_time_unit tu, const sc_event_or_list &el)
 
void next_trigger (const sc_time &t, const sc_event_and_list &el)
 
void next_trigger (double v, sc_time_unit tu, const sc_event_and_list &el)
 
bool timed_out ()
 
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)
 

Friends

class sc_prim_channel_registry
 

Detailed Description

Abstract base class of all primitive channel classes.

Definition at line 48 of file sc_prim_channel.h.

Member Typedef Documentation

◆ phase_cb_mask

typedef unsigned sc_core::sc_object::phase_cb_mask
inherited

Definition at line 75 of file sc_object.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
list_end 

Definition at line 54 of file sc_prim_channel.h.

Constructor & Destructor Documentation

◆ sc_prim_channel() [1/2]

sc_core::sc_prim_channel::sc_prim_channel ( )
protected

◆ sc_prim_channel() [2/2]

sc_core::sc_prim_channel::sc_prim_channel ( const char *  )
explicitprotected

◆ ~sc_prim_channel()

virtual sc_core::sc_prim_channel::~sc_prim_channel ( )
protectedvirtual

Member Function Documentation

◆ add_attribute()

bool sc_core::sc_object::add_attribute ( sc_attr_base )
inherited

◆ add_child_event()

virtual void sc_core::sc_object::add_child_event ( sc_event event_p)
protectedvirtualinherited

◆ add_child_object()

virtual void sc_core::sc_object::add_child_object ( sc_object object_p)
protectedvirtualinherited

Reimplemented in sc_core::sc_process_b.

◆ async_attach_suspending()

bool sc_core::sc_prim_channel::async_attach_suspending ( )
inlineprotected

Definition at line 363 of file sc_prim_channel.h.

◆ async_detach_suspending()

bool sc_core::sc_prim_channel::async_detach_suspending ( )
inlineprotected

Definition at line 370 of file sc_prim_channel.h.

◆ async_request_update()

void sc_core::sc_prim_channel::async_request_update ( )
inline

Definition at line 356 of file sc_prim_channel.h.

◆ attr_cltn() [1/2]

sc_attr_cltn& sc_core::sc_object::attr_cltn ( )
inherited

◆ attr_cltn() [2/2]

const sc_attr_cltn& sc_core::sc_object::attr_cltn ( ) const
inherited

◆ basename()

const char* sc_core::sc_object::basename ( ) const
inherited

◆ before_end_of_elaboration()

virtual void sc_core::sc_prim_channel::before_end_of_elaboration ( )
protectedvirtual

Reimplemented in sc_core::sc_clock.

◆ dump()

virtual void sc_core::sc_object::dump ( ::std::ostream &  os = ::std::cout) const
virtualinherited

◆ end_of_elaboration()

virtual void sc_core::sc_prim_channel::end_of_elaboration ( )
protectedvirtual

◆ end_of_simulation()

virtual void sc_core::sc_prim_channel::end_of_simulation ( )
protectedvirtual

◆ get_attribute() [1/2]

sc_attr_base* sc_core::sc_object::get_attribute ( const std::string &  name_)
inherited

◆ get_attribute() [2/2]

const sc_attr_base* sc_core::sc_object::get_attribute ( const std::string &  name_) const
inherited

◆ get_child_events()

virtual const std::vector<sc_event*>& sc_core::sc_object::get_child_events ( ) const
inlinevirtualinherited

Definition at line 114 of file sc_object.h.

◆ get_child_objects()

virtual const std::vector<sc_object*>& sc_core::sc_object::get_child_objects ( ) const
inlinevirtualinherited

Reimplemented in sc_core::sc_process_b, and sc_core::sc_module.

Definition at line 117 of file sc_object.h.

◆ get_parent()

sc_object* sc_core::sc_object::get_parent ( ) const
inherited

◆ get_parent_object()

sc_object* sc_core::sc_object::get_parent_object ( ) const
inlineinherited

Definition at line 121 of file sc_object.h.

◆ kind()

◆ name()

const char* sc_core::sc_object::name ( ) const
inlineinherited

Definition at line 77 of file sc_object.h.

◆ next_trigger() [1/12]

void sc_core::sc_prim_channel::next_trigger ( )
inlineprotected

Definition at line 150 of file sc_prim_channel.h.

◆ next_trigger() [2/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_event e)
inlineprotected

Definition at line 156 of file sc_prim_channel.h.

◆ next_trigger() [3/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_event_or_list el)
inlineprotected

Definition at line 159 of file sc_prim_channel.h.

◆ next_trigger() [4/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_event_and_list el)
inlineprotected

Definition at line 162 of file sc_prim_channel.h.

◆ next_trigger() [5/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_time t)
inlineprotected

Definition at line 165 of file sc_prim_channel.h.

◆ next_trigger() [6/12]

void sc_core::sc_prim_channel::next_trigger ( double  v,
sc_time_unit  tu 
)
inlineprotected

Definition at line 168 of file sc_prim_channel.h.

◆ next_trigger() [7/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
const sc_event e 
)
inlineprotected

Definition at line 171 of file sc_prim_channel.h.

◆ next_trigger() [8/12]

void sc_core::sc_prim_channel::next_trigger ( double  v,
sc_time_unit  tu,
const sc_event e 
)
inlineprotected

Definition at line 174 of file sc_prim_channel.h.

◆ next_trigger() [9/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
const sc_event_or_list el 
)
inlineprotected

Definition at line 178 of file sc_prim_channel.h.

◆ next_trigger() [10/12]

void sc_core::sc_prim_channel::next_trigger ( double  v,
sc_time_unit  tu,
const sc_event_or_list el 
)
inlineprotected

Definition at line 181 of file sc_prim_channel.h.

◆ next_trigger() [11/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
const sc_event_and_list el 
)
inlineprotected

Definition at line 185 of file sc_prim_channel.h.

◆ next_trigger() [12/12]

void sc_core::sc_prim_channel::next_trigger ( double  v,
sc_time_unit  tu,
const sc_event_and_list el 
)
inlineprotected

Definition at line 188 of file sc_prim_channel.h.

◆ num_attributes()

int sc_core::sc_object::num_attributes ( ) const
inherited

◆ print()

virtual void sc_core::sc_object::print ( ::std::ostream &  os = ::std::cout) const
virtualinherited

◆ register_simulation_phase_callback()

phase_cb_mask sc_core::sc_object::register_simulation_phase_callback ( phase_cb_mask  )
protectedinherited

◆ remove_all_attributes()

void sc_core::sc_object::remove_all_attributes ( )
inherited

◆ remove_attribute()

sc_attr_base* sc_core::sc_object::remove_attribute ( const std::string &  name_)
inherited

◆ remove_child_event()

virtual bool sc_core::sc_object::remove_child_event ( sc_event event_p)
protectedvirtualinherited

◆ remove_child_object()

virtual bool sc_core::sc_object::remove_child_object ( sc_object object_p)
protectedvirtualinherited

Reimplemented in sc_core::sc_process_b.

◆ request_update()

void sc_core::sc_prim_channel::request_update ( )
inline

Definition at line 344 of file sc_prim_channel.h.

◆ simcontext()

sc_simcontext* sc_core::sc_object::simcontext ( ) const
inlineinherited

Definition at line 91 of file sc_object.h.

◆ start_of_simulation()

virtual void sc_core::sc_prim_channel::start_of_simulation ( )
protectedvirtual

◆ timed_out()

bool sc_core::sc_prim_channel::timed_out ( )
inlineprotected

Definition at line 195 of file sc_prim_channel.h.

◆ trace()

virtual void sc_core::sc_object::trace ( sc_trace_file tf) const
virtualinherited

◆ unregister_simulation_phase_callback()

phase_cb_mask sc_core::sc_object::unregister_simulation_phase_callback ( phase_cb_mask  )
protectedinherited

◆ update()

◆ update_requested()

bool sc_core::sc_prim_channel::update_requested ( )
inline

Definition at line 59 of file sc_prim_channel.h.

◆ wait() [1/13]

void sc_core::sc_prim_channel::wait ( )
inlineprotected

Definition at line 105 of file sc_prim_channel.h.

◆ wait() [2/13]

void sc_core::sc_prim_channel::wait ( const sc_event e)
inlineprotected

Definition at line 111 of file sc_prim_channel.h.

◆ wait() [3/13]

void sc_core::sc_prim_channel::wait ( const sc_event_or_list el)
inlineprotected

Definition at line 114 of file sc_prim_channel.h.

◆ wait() [4/13]

void sc_core::sc_prim_channel::wait ( const sc_event_and_list el)
inlineprotected

Definition at line 117 of file sc_prim_channel.h.

◆ wait() [5/13]

void sc_core::sc_prim_channel::wait ( const sc_time t)
inlineprotected

Definition at line 120 of file sc_prim_channel.h.

◆ wait() [6/13]

void sc_core::sc_prim_channel::wait ( double  v,
sc_time_unit  tu 
)
inlineprotected

Definition at line 123 of file sc_prim_channel.h.

◆ wait() [7/13]

void sc_core::sc_prim_channel::wait ( const sc_time t,
const sc_event e 
)
inlineprotected

Definition at line 126 of file sc_prim_channel.h.

◆ wait() [8/13]

void sc_core::sc_prim_channel::wait ( double  v,
sc_time_unit  tu,
const sc_event e 
)
inlineprotected

Definition at line 129 of file sc_prim_channel.h.

◆ wait() [9/13]

void sc_core::sc_prim_channel::wait ( const sc_time t,
const sc_event_or_list el 
)
inlineprotected

Definition at line 132 of file sc_prim_channel.h.

◆ wait() [10/13]

void sc_core::sc_prim_channel::wait ( double  v,
sc_time_unit  tu,
const sc_event_or_list el 
)
inlineprotected

Definition at line 135 of file sc_prim_channel.h.

◆ wait() [11/13]

void sc_core::sc_prim_channel::wait ( const sc_time t,
const sc_event_and_list el 
)
inlineprotected

Definition at line 138 of file sc_prim_channel.h.

◆ wait() [12/13]

void sc_core::sc_prim_channel::wait ( double  v,
sc_time_unit  tu,
const sc_event_and_list el 
)
inlineprotected

Definition at line 141 of file sc_prim_channel.h.

◆ wait() [13/13]

void sc_core::sc_prim_channel::wait ( int  n)
inlineprotected

Definition at line 144 of file sc_prim_channel.h.

Friends And Related Function Documentation

◆ sc_prim_channel_registry

friend class sc_prim_channel_registry
friend

Definition at line 51 of file sc_prim_channel.h.


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