SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
simics::systemc::iface::Transaction Class Reference

Class that encapsulates a generic_payload and returns it to the TransactionPool when the Transaction object goes out of scope. More...

#include <transaction.h>

Public Member Functions

 Transaction (tlm::tlm_generic_payload *payload)
 
 Transaction ()
 
 Transaction (const Transaction &t)
 Increases usage count for payload.
 
Transactionoperator= (const Transaction &t)
 Increases usage count for new payload and returns former to pool.
 
 ~Transaction ()
 Returns payload to pool.
 
tlm::tlm_generic_payload * operator-> ()
 Access payload with ->
 
const tlm::tlm_generic_payload * operator-> () const
 Access payload with ->
 
 operator tlm::tlm_generic_payload & ()
 Access payload with &.
 
 operator tlm::tlm_generic_payload * ()
 Access payload with *.
 
tlm::tlm_generic_payload * payload ()
 Access payload by payload()
 
TransactionExtensionextension ()
 

Detailed Description

Class that encapsulates a generic_payload and returns it to the TransactionPool when the Transaction object goes out of scope.

Constructor & Destructor Documentation

◆ Transaction() [1/3]

simics::systemc::iface::Transaction::Transaction ( tlm::tlm_generic_payload *  payload)
inlineexplicit

◆ Transaction() [2/3]

simics::systemc::iface::Transaction::Transaction ( )
inline

◆ Transaction() [3/3]

simics::systemc::iface::Transaction::Transaction ( const Transaction t)
inline

Increases usage count for payload.

◆ ~Transaction()

simics::systemc::iface::Transaction::~Transaction ( )
inline

Returns payload to pool.

Member Function Documentation

◆ extension()

TransactionExtension * simics::systemc::iface::Transaction::extension ( )
inline

◆ operator tlm::tlm_generic_payload &()

simics::systemc::iface::Transaction::operator tlm::tlm_generic_payload & ( )
inline

Access payload with &.

◆ operator tlm::tlm_generic_payload *()

simics::systemc::iface::Transaction::operator tlm::tlm_generic_payload * ( )
inline

Access payload with *.

◆ operator->() [1/2]

tlm::tlm_generic_payload * simics::systemc::iface::Transaction::operator-> ( )
inline

Access payload with ->

◆ operator->() [2/2]

const tlm::tlm_generic_payload * simics::systemc::iface::Transaction::operator-> ( ) const
inline

Access payload with ->

◆ operator=()

Transaction & simics::systemc::iface::Transaction::operator= ( const Transaction t)
inline

Increases usage count for new payload and returns former to pool.

◆ payload()

tlm::tlm_generic_payload * simics::systemc::iface::Transaction::payload ( )
inline

Access payload by payload()


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