TLM-2.0  2.0.4
Accellera TLM-2.0 proof-of-concept library
tlm_utils::peq_with_get< PAYLOAD > Class Template Reference

#include <tlm_utils/peq_with_get.h>

Inheritance diagram for tlm_utils::peq_with_get< PAYLOAD >:
Collaboration diagram for tlm_utils::peq_with_get< PAYLOAD >:

Public Types

typedef PAYLOAD transaction_type
 
typedef std::pair< const sc_core::sc_time, transaction_type * > pair_type
 
typedef unsigned phase_cb_mask
 

Public Member Functions

 peq_with_get (const char *name)
 
void notify (transaction_type &trans, const sc_core::sc_time &t)
 
void notify (transaction_type &trans)
 
transaction_typeget_next_transaction ()
 
sc_core::sc_eventget_event ()
 
void cancel_all ()
 
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
 
virtual const char * kind () const
 
sc_simcontextsimcontext () const
 
bool add_attribute (sc_attr_base &)
 
sc_attr_base * get_attribute (const std::string &name_)
 
const sc_attr_base * get_attribute (const std::string &name_) const
 
sc_attr_base * remove_attribute (const std::string &name_)
 
void remove_all_attributes ()
 
int num_attributes () const
 
sc_attr_cltn & attr_cltn ()
 
const sc_attr_cltn & attr_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

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)
 

Detailed Description

template<class PAYLOAD>
class tlm_utils::peq_with_get< PAYLOAD >

Definition at line 34 of file peq_with_get.h.

Member Typedef Documentation

◆ pair_type

template<class PAYLOAD>
typedef std::pair<const sc_core::sc_time, transaction_type*> tlm_utils::peq_with_get< PAYLOAD >::pair_type

Definition at line 38 of file peq_with_get.h.

◆ transaction_type

template<class PAYLOAD>
typedef PAYLOAD tlm_utils::peq_with_get< PAYLOAD >::transaction_type

Definition at line 37 of file peq_with_get.h.

Constructor & Destructor Documentation

◆ peq_with_get()

template<class PAYLOAD>
tlm_utils::peq_with_get< PAYLOAD >::peq_with_get ( const char *  name)
inline

Definition at line 41 of file peq_with_get.h.

Member Function Documentation

◆ cancel_all()

template<class PAYLOAD>
void tlm_utils::peq_with_get< PAYLOAD >::cancel_all ( )
inline

Definition at line 82 of file peq_with_get.h.

◆ get_event()

template<class PAYLOAD>
sc_core::sc_event& tlm_utils::peq_with_get< PAYLOAD >::get_event ( )
inline

Definition at line 76 of file peq_with_get.h.

◆ get_next_transaction()

template<class PAYLOAD>
transaction_type* tlm_utils::peq_with_get< PAYLOAD >::get_next_transaction ( )
inline

Definition at line 58 of file peq_with_get.h.

◆ notify() [1/2]

template<class PAYLOAD>
void tlm_utils::peq_with_get< PAYLOAD >::notify ( transaction_type trans,
const sc_core::sc_time t 
)
inline

Definition at line 45 of file peq_with_get.h.

◆ notify() [2/2]

template<class PAYLOAD>
void tlm_utils::peq_with_get< PAYLOAD >::notify ( transaction_type trans)
inline

Definition at line 51 of file peq_with_get.h.


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