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:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_prim_channel:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { list_end = 0xdb }

Public Member Functions

virtual const char * kind () const
bool update_requested ()
void request_update ()
void async_request_update ()

Protected Member Functions

 sc_prim_channel ()
 sc_prim_channel (const char *)
virtual ~sc_prim_channel ()
virtual void update ()
 The update method (does nothing by default).
virtual void before_end_of_elaboration ()
virtual void end_of_elaboration ()
virtual void start_of_simulation ()
virtual void end_of_simulation ()
void wait (int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void wait (const sc_event &e, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void wait (const sc_event_or_list &el, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void wait (const sc_event_and_list &el, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void wait (const sc_time &t, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void wait (double v, sc_time_unit tu, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void wait (const sc_time &t, const sc_event &e, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void wait (double v, sc_time_unit tu, const sc_event &e, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void wait (const sc_time &t, const sc_event_or_list &el, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void wait (double v, sc_time_unit tu, const sc_event_or_list &el, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void wait (const sc_time &t, const sc_event_and_list &el, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void wait (double v, sc_time_unit tu, const sc_event_and_list &el, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void wait (int n, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_event &e, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_event_or_list &el, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_event_and_list &el, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_time &t, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (double v, sc_time_unit tu, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_time &t, const sc_event &e, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (double v, sc_time_unit tu, const sc_event &e, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_time &t, const sc_event_or_list &el, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (double v, sc_time_unit tu, const sc_event_or_list &el, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_time &t, const sc_event_and_list &el, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (double v, sc_time_unit tu, const sc_event_and_list &el, int seg_id)
 A new parameter segment ID is added for the out-of-order simulation.
bool timed_out ()

Protected Attributes

CHNL_MTX_TYPE_ m_mutex
 A mutex to protect concurrent communication.

Friends

class sc_prim_channel_registry

Detailed Description

Abstract base class of all primitive channel classes.

Definition at line 81 of file sc_prim_channel.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
list_end 

Definition at line 87 of file sc_prim_channel.h.


Constructor & Destructor Documentation

sc_core::sc_prim_channel::sc_prim_channel (  )  [protected]
sc_core::sc_prim_channel::sc_prim_channel ( const char *   )  [explicit, protected]
virtual sc_core::sc_prim_channel::~sc_prim_channel (  )  [protected, virtual]

Member Function Documentation

void sc_core::sc_prim_channel::async_request_update (  )  [inline]

Definition at line 544 of file sc_prim_channel.h.

virtual void sc_core::sc_prim_channel::before_end_of_elaboration (  )  [protected, virtual]

Reimplemented in sc_core::sc_clock.

virtual void sc_core::sc_prim_channel::end_of_elaboration (  )  [protected, virtual]
virtual void sc_core::sc_prim_channel::end_of_simulation (  )  [protected, virtual]
virtual const char* sc_core::sc_prim_channel::kind (  )  const [inline, virtual]
void sc_core::sc_prim_channel::next_trigger ( double  v,
sc_time_unit  tu,
const sc_event_and_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 363 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
const sc_event_and_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 354 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( double  v,
sc_time_unit  tu,
const sc_event_or_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 344 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
const sc_event_or_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 335 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( double  v,
sc_time_unit  tu,
const sc_event e,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 325 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
const sc_event e,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 317 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( double  v,
sc_time_unit  tu,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 308 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 300 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( const sc_event_and_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 292 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( const sc_event_or_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 284 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( const sc_event e,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 276 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::next_trigger ( int  seg_id  )  [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 265 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::request_update (  )  [inline]

Definition at line 526 of file sc_prim_channel.h.

virtual void sc_core::sc_prim_channel::start_of_simulation (  )  [protected, virtual]
bool sc_core::sc_prim_channel::timed_out (  )  [inline, protected]

Definition at line 371 of file sc_prim_channel.h.

virtual void sc_core::sc_prim_channel::update (  )  [protected, virtual]
bool sc_core::sc_prim_channel::update_requested (  )  [inline]

Definition at line 92 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( int  n,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 254 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( double  v,
sc_time_unit  tu,
const sc_event_and_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 244 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( const sc_time t,
const sc_event_and_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 236 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( double  v,
sc_time_unit  tu,
const sc_event_or_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 226 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( const sc_time t,
const sc_event_or_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 218 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( double  v,
sc_time_unit  tu,
const sc_event e,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 209 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( const sc_time t,
const sc_event e,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 201 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( double  v,
sc_time_unit  tu,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 192 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( const sc_time t,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 184 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( const sc_event_and_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 176 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( const sc_event_or_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 168 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( const sc_event e,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 160 of file sc_prim_channel.h.

void sc_core::sc_prim_channel::wait ( int  seg_id  )  [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 149 of file sc_prim_channel.h.


Friends And Related Function Documentation

friend class sc_prim_channel_registry [friend]

Definition at line 84 of file sc_prim_channel.h.


Member Data Documentation

CHNL_MTX_TYPE_ sc_core::sc_prim_channel::m_mutex [mutable, protected]

A mutex to protect concurrent communication.

Definition at line 413 of file sc_prim_channel.h.


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

Generated on 31 Jul 2017 for SystemC by  doxygen 1.6.1