gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
tlm::tlm_put_get_imp< PUT_DATA, GET_DATA > Class Template Reference

#include <put_get_imp.hh>

Inheritance diagram for tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >:
tlm::tlm_put_if< PUT_DATA > tlm::tlm_get_peek_if< GET_DATA >

Public Member Functions

 tlm_put_get_imp (tlm_put_if< PUT_DATA > &p, tlm_get_peek_if< GET_DATA > &g)
 
void put (const PUT_DATA &t)
 
bool nb_put (const PUT_DATA &t)
 
bool nb_can_put (tlm_tag< PUT_DATA > *t=nullptr) const
 
const sc_core::sc_eventok_to_put (tlm_tag< PUT_DATA > *t=nullptr) const
 
GET_DATA get (tlm_tag< GET_DATA > *=nullptr)
 
bool nb_get (GET_DATA &t)
 
bool nb_can_get (tlm_tag< GET_DATA > *t=nullptr) const
 
virtual const sc_core::sc_eventok_to_get (tlm_tag< GET_DATA > *t=nullptr) const
 
GET_DATA peek (tlm_tag< GET_DATA > *=nullptr) const
 
bool nb_peek (GET_DATA &t) const
 
bool nb_can_peek (tlm_tag< GET_DATA > *t=nullptr) const
 
virtual const sc_core::sc_eventok_to_peek (tlm_tag< GET_DATA > *t=nullptr) const
 

Private Attributes

tlm_put_if< PUT_DATA > & put_fifo
 
tlm_get_peek_if< GET_DATA > & get_fifo
 

Additional Inherited Members

- Private 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 ()
 
 sc_interface ()
 
- Private Member Functions inherited from tlm::tlm_blocking_get_if< GET_DATA >
virtual void get (GET_DATA &t)
 
- Private Member Functions inherited from tlm::tlm_blocking_peek_if< GET_DATA >
virtual void peek (GET_DATA &t) const
 

Detailed Description

template<typename PUT_DATA, typename GET_DATA>
class tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >

Definition at line 31 of file put_get_imp.hh.

Constructor & Destructor Documentation

◆ tlm_put_get_imp()

template<typename PUT_DATA , typename GET_DATA >
tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::tlm_put_get_imp ( tlm_put_if< PUT_DATA > &  p,
tlm_get_peek_if< GET_DATA > &  g 
)
inline

Definition at line 35 of file put_get_imp.hh.

Member Function Documentation

◆ get()

template<typename PUT_DATA , typename GET_DATA >
GET_DATA tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::get ( tlm_tag< GET_DATA > *  = nullptr)
inlinevirtual

Implements tlm::tlm_blocking_get_if< GET_DATA >.

Definition at line 54 of file put_get_imp.hh.

◆ nb_can_get()

template<typename PUT_DATA , typename GET_DATA >
bool tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::nb_can_get ( tlm_tag< GET_DATA > *  t = nullptr) const
inlinevirtual

Implements tlm::tlm_nonblocking_get_if< GET_DATA >.

Definition at line 57 of file put_get_imp.hh.

◆ nb_can_peek()

template<typename PUT_DATA , typename GET_DATA >
bool tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::nb_can_peek ( tlm_tag< GET_DATA > *  t = nullptr) const
inlinevirtual

Implements tlm::tlm_nonblocking_peek_if< GET_DATA >.

Definition at line 76 of file put_get_imp.hh.

◆ nb_can_put()

template<typename PUT_DATA , typename GET_DATA >
bool tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::nb_can_put ( tlm_tag< PUT_DATA > *  t = nullptr) const
inlinevirtual

Implements tlm::tlm_nonblocking_put_if< PUT_DATA >.

Definition at line 43 of file put_get_imp.hh.

◆ nb_get()

template<typename PUT_DATA , typename GET_DATA >
bool tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::nb_get ( GET_DATA &  t)
inlinevirtual

Implements tlm::tlm_nonblocking_get_if< GET_DATA >.

Definition at line 55 of file put_get_imp.hh.

◆ nb_peek()

template<typename PUT_DATA , typename GET_DATA >
bool tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::nb_peek ( GET_DATA &  t) const
inlinevirtual

Implements tlm::tlm_nonblocking_peek_if< GET_DATA >.

Definition at line 74 of file put_get_imp.hh.

◆ nb_put()

template<typename PUT_DATA , typename GET_DATA >
bool tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::nb_put ( const PUT_DATA &  t)
inlinevirtual

Implements tlm::tlm_nonblocking_put_if< PUT_DATA >.

Definition at line 41 of file put_get_imp.hh.

◆ ok_to_get()

template<typename PUT_DATA , typename GET_DATA >
virtual const sc_core::sc_event& tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::ok_to_get ( tlm_tag< GET_DATA > *  t = nullptr) const
inlinevirtual

Implements tlm::tlm_nonblocking_get_if< GET_DATA >.

Definition at line 63 of file put_get_imp.hh.

◆ ok_to_peek()

template<typename PUT_DATA , typename GET_DATA >
virtual const sc_core::sc_event& tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::ok_to_peek ( tlm_tag< GET_DATA > *  t = nullptr) const
inlinevirtual

Implements tlm::tlm_nonblocking_peek_if< GET_DATA >.

Definition at line 82 of file put_get_imp.hh.

◆ ok_to_put()

template<typename PUT_DATA , typename GET_DATA >
const sc_core::sc_event& tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::ok_to_put ( tlm_tag< PUT_DATA > *  t = nullptr) const
inlinevirtual

Implements tlm::tlm_nonblocking_put_if< PUT_DATA >.

Definition at line 48 of file put_get_imp.hh.

◆ peek()

template<typename PUT_DATA , typename GET_DATA >
GET_DATA tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::peek ( tlm_tag< GET_DATA > *  = nullptr) const
inlinevirtual

Implements tlm::tlm_blocking_peek_if< GET_DATA >.

Definition at line 70 of file put_get_imp.hh.

◆ put()

template<typename PUT_DATA , typename GET_DATA >
void tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::put ( const PUT_DATA &  t)
inlinevirtual

Implements tlm::tlm_blocking_put_if< PUT_DATA >.

Definition at line 40 of file put_get_imp.hh.

Member Data Documentation

◆ get_fifo

template<typename PUT_DATA , typename GET_DATA >
tlm_get_peek_if<GET_DATA>& tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::get_fifo
private

◆ put_fifo

template<typename PUT_DATA , typename GET_DATA >
tlm_put_if<PUT_DATA>& tlm::tlm_put_get_imp< PUT_DATA, GET_DATA >::put_fifo
private

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

Generated on Wed Sep 30 2020 14:03:13 for gem5 by doxygen 1.8.17