SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
simics::systemc::iface::ExtensionSender< TSocket > Class Template Reference

Generic extension sender initialized with a TLM2 initiator socket of TSocket type. More...

#include <extension_sender.h>

Inheritance diagram for simics::systemc::iface::ExtensionSender< TSocket >:
simics::systemc::iface::ExtensionSenderInterface

Public Member Functions

 ExtensionSender ()
 
void init (TSocket *socket)
 
void set_delay (sc_core::sc_time delay)
 
void set_payload (tlm::tlm_generic_payload *payload)
 
virtual Transaction transaction ()
 Called by extension to get a new Transaction.
 
virtual void send_extension (Transaction *transaction)
 Called by extension after the extension is set on the payload.
 
virtual void send_failed (Transaction *transaction)
 Called by extension if method_call invocation was missing.
 
virtual ~ExtensionSender ()
 
- Public Member Functions inherited from simics::systemc::iface::ExtensionSenderInterface
virtual Transaction transaction ()=0
 Called by extension to get a new Transaction.
 
virtual void send_extension (Transaction *transaction)=0
 Called by extension after the extension is set on the payload.
 
virtual void send_failed (Transaction *transaction)=0
 Called by extension if method_call invocation was missing.
 
virtual ~ExtensionSenderInterface ()
 

Detailed Description

template<typename TSocket>
class simics::systemc::iface::ExtensionSender< TSocket >

Generic extension sender initialized with a TLM2 initiator socket of TSocket type.

The payload with the extension is sent using b_transport() interface method of the socket.

Constructor & Destructor Documentation

◆ ExtensionSender()

template<typename TSocket >
simics::systemc::iface::ExtensionSender< TSocket >::ExtensionSender ( )
inline

◆ ~ExtensionSender()

template<typename TSocket >
virtual simics::systemc::iface::ExtensionSender< TSocket >::~ExtensionSender ( )
inlinevirtual

Member Function Documentation

◆ init()

template<typename TSocket >
void simics::systemc::iface::ExtensionSender< TSocket >::init ( TSocket *  socket)
inline

◆ send_extension()

template<typename TSocket >
virtual void simics::systemc::iface::ExtensionSender< TSocket >::send_extension ( Transaction transaction)
inlinevirtual

Called by extension after the extension is set on the payload.

Implements simics::systemc::iface::ExtensionSenderInterface.

◆ send_failed()

template<typename TSocket >
virtual void simics::systemc::iface::ExtensionSender< TSocket >::send_failed ( Transaction transaction)
inlinevirtual

Called by extension if method_call invocation was missing.

Implements simics::systemc::iface::ExtensionSenderInterface.

◆ set_delay()

template<typename TSocket >
void simics::systemc::iface::ExtensionSender< TSocket >::set_delay ( sc_core::sc_time  delay)
inline

◆ set_payload()

template<typename TSocket >
void simics::systemc::iface::ExtensionSender< TSocket >::set_payload ( tlm::tlm_generic_payload *  payload)
inline

◆ transaction()

template<typename TSocket >
virtual Transaction simics::systemc::iface::ExtensionSender< TSocket >::transaction ( )
inlinevirtual

Called by extension to get a new Transaction.

Implements simics::systemc::iface::ExtensionSenderInterface.


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