gem5 v24.0.0.0
Loading...
Searching...
No Matches
tlm::tlm_analysis_port< T > Class Template Reference

#include <analysis_port.hh>

Inheritance diagram for tlm::tlm_analysis_port< T >:
sc_core::sc_object tlm::tlm_analysis_if< T > tlm::tlm_write_if< T > sc_core::sc_interface

Public Member Functions

 tlm_analysis_port ()
 
 tlm_analysis_port (const char *nm)
 
virtual void bind (tlm_analysis_if< T > &_if)
 
void operator() (tlm_analysis_if< T > &_if)
 
virtual bool unbind (tlm_analysis_if< T > &_if)
 
void write (const T &t)
 
- Public Member Functions inherited from sc_core::sc_object
const char * name () const
 
const char * basename () const
 
virtual const char * kind () const
 
virtual void print (std::ostream &=std::cout) const
 
virtual void dump (std::ostream &=std::cout) const
 
virtual const std::vector< sc_object * > & get_child_objects () const
 
virtual const std::vector< sc_event * > & get_child_events () const
 
sc_objectget_parent_object () const
 
bool add_attribute (sc_attr_base &)
 
sc_attr_baseget_attribute (const std::string &)
 
sc_attr_baseremove_attribute (const std::string &)
 
void remove_all_attributes ()
 
int num_attributes () const
 
sc_attr_cltnattr_cltn ()
 
const sc_attr_cltnattr_cltn () const
 
sc_simcontextsimcontext () const
 
- Public Member Functions inherited from sc_core::sc_interface
virtual void register_port (sc_port_base &, const char *)
 
virtual const sc_eventdefault_event () const
 
virtual ~sc_interface ()
 

Private Attributes

std::deque< tlm_analysis_if< T > * > m_interfaces
 

Additional Inherited Members

- Protected Member Functions inherited from sc_core::sc_object
 sc_object ()
 
 sc_object (const char *)
 
 sc_object (const sc_object &)
 
sc_objectoperator= (const sc_object &)
 
virtual ~sc_object ()
 
- Protected Member Functions inherited from sc_core::sc_interface
 sc_interface ()
 

Detailed Description

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

Definition at line 32 of file analysis_port.hh.

Constructor & Destructor Documentation

◆ tlm_analysis_port() [1/2]

template<typename T >
tlm::tlm_analysis_port< T >::tlm_analysis_port ( )
inline

Definition at line 36 of file analysis_port.hh.

◆ tlm_analysis_port() [2/2]

template<typename T >
tlm::tlm_analysis_port< T >::tlm_analysis_port ( const char * nm)
inline

Definition at line 37 of file analysis_port.hh.

Member Function Documentation

◆ bind()

template<typename T >
virtual void tlm::tlm_analysis_port< T >::bind ( tlm_analysis_if< T > & _if)
inlinevirtual

◆ operator()()

template<typename T >
void tlm::tlm_analysis_port< T >::operator() ( tlm_analysis_if< T > & _if)
inline

Definition at line 48 of file analysis_port.hh.

References tlm::tlm_analysis_port< T >::bind().

◆ unbind()

template<typename T >
virtual bool tlm::tlm_analysis_port< T >::unbind ( tlm_analysis_if< T > & _if)
inlinevirtual

Definition at line 50 of file analysis_port.hh.

References tlm::tlm_analysis_port< T >::m_interfaces.

◆ write()

template<typename T >
void tlm::tlm_analysis_port< T >::write ( const T & t)
inlinevirtual

Implements tlm::tlm_write_if< T >.

Definition at line 63 of file analysis_port.hh.

References tlm::tlm_analysis_port< T >::m_interfaces.

Member Data Documentation

◆ m_interfaces


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

Generated on Tue Jun 18 2024 16:24:56 for gem5 by doxygen 1.11.0