TLM-2.0  2.0.4
Accellera TLM-2.0 proof-of-concept library
tlm::tlm_nonblocking_peek_port< T > Class Template Reference

#include <tlm_core/tlm_1/tlm_req_rsp/tlm_ports/tlm_nonblocking_port.h>

Inheritance diagram for tlm::tlm_nonblocking_peek_port< T >:
Collaboration diagram for tlm::tlm_nonblocking_peek_port< T >:

Public Types

typedef tlm_nonblocking_peek_if< T > peek_if_type
 
typedef this_type port_type
 
typedef unsigned phase_cb_mask
 
typedef sc_port_base base_type
 
typedef sc_port_b< IF > this_type
 

Public Member Functions

 tlm_nonblocking_peek_port (const char *port_name)
 
sc_core::sc_event_finderok_to_peek () const
 
virtual const char * kind () const
 
SC_VIRTUAL_ void bind (tlm_nonblocking_peek_if< T > &interface_)
 
SC_VIRTUAL_ void bind (port_type &parent_)
 
SC_VIRTUAL_ void bind (IF &interface_)
 
void operator() (tlm_nonblocking_peek_if< T > &interface_)
 
void operator() (port_type &parent_)
 
void operator() (IF &interface_)
 
int size () const
 
tlm_nonblocking_peek_if< T > * operator-> ()
 
const tlm_nonblocking_peek_if< T > * operator-> () const
 
const tlm_nonblocking_peek_if< T > * get_interface (int iface_i) const
 
tlm_nonblocking_peek_if< T > * get_interface (int iface_i)
 
virtual sc_interface * get_interface ()
 
virtual const sc_interface * get_interface () const
 
tlm_nonblocking_peek_if< T > * operator[] (int index_)
 
const tlm_nonblocking_peek_if< T > * operator[] (int index_) const
 
virtual sc_type_index get_interface_type () const
 
int bind_count ()
 
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_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

void bind (sc_interface &interface_)
 
void bind (this_type &parent_)
 
virtual int vbind (sc_interface &)
 
virtual int vbind (sc_port_base &)
 
virtual void make_sensitive (sc_thread_handle, sc_event_finder *=0) const
 
virtual void make_sensitive (sc_method_handle, sc_event_finder *=0) const
 
virtual void before_end_of_elaboration ()
 
virtual void end_of_elaboration ()
 
virtual void start_of_simulation ()
 
virtual void end_of_simulation ()
 
void report_error (const char *id, const char *add_msg=0) const
 
void add_static_event (sc_method_handle process_p, const sc_event &event) const
 
void add_static_event (sc_thread_handle process_p, const sc_event &event) const
 
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

sc_bind_info * m_bind_info
 

Detailed Description

template<typename T>
class tlm::tlm_nonblocking_peek_port< T >

Definition at line 49 of file tlm_nonblocking_port.h.

Member Typedef Documentation

◆ peek_if_type

Definition at line 53 of file tlm_nonblocking_port.h.

Constructor & Destructor Documentation

◆ tlm_nonblocking_peek_port()

template<typename T >
tlm::tlm_nonblocking_peek_port< T >::tlm_nonblocking_peek_port ( const char *  port_name)
inline

Definition at line 55 of file tlm_nonblocking_port.h.

Member Function Documentation

◆ ok_to_peek()

template<typename T >
sc_core::sc_event_finder& tlm::tlm_nonblocking_peek_port< T >::ok_to_peek ( ) const
inline

Definition at line 58 of file tlm_nonblocking_port.h.


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