scc  2022.4.0
SystemC components library
tlm::scc::scv::tlm_recording_extension Class Reference

generic payload extension class holding the handle of the last recorded SCV transaction More...

#include <tlm_recording_extension.h>

Inheritance diagram for tlm::scc::scv::tlm_recording_extension:
Collaboration diagram for tlm::scc::scv::tlm_recording_extension:

Public Member Functions

virtual tlm_extension_base * clone () const
 clone the given extension and duplicate the SCV transaction handle.
 
virtual void copy_from (tlm_extension_base const &from)
 copy data between extensions. More...
 
 tlm_recording_extension (SCVNS scv_tr_handle handle, void *creator_)
 constructor storing the handle of the transaction and the owner of this extension More...
 
void * get_creator ()
 accessor to the owner, the property is read only.
 

Public Attributes

SCVNS scv_tr_handle txHandle
 accessor to the SCV transaction handle.
 

Detailed Description

generic payload extension class holding the handle of the last recorded SCV transaction

This extension is been used in the tlm2_recorder. The recorder stores the handle to the generated SCV transaction and forwards it along with the generic payload. If the recorder finds an extension containing a valid handle it links the generated SCV transaction to the found one using the PREDECESSOR_SUCCESSOR relationship

Definition at line 62 of file tlm_recording_extension.h.

Constructor & Destructor Documentation

◆ tlm_recording_extension()

tlm::scc::scv::tlm_recording_extension::tlm_recording_extension ( SCVNS scv_tr_handle  handle,
void *  creator_ 
)
inline

constructor storing the handle of the transaction and the owner of this extension

Parameters
handleis the handle of the created SCV transaction.
creator_is the pointer to the owner of this extension (usually an instance of scv_tlm2_recorder).

Definition at line 86 of file tlm_recording_extension.h.

Member Function Documentation

◆ copy_from()

virtual void tlm::scc::scv::tlm_recording_extension::copy_from ( tlm_extension_base const &  from)
inlinevirtual

copy data between extensions.

Parameters
fromis the source extension.

Definition at line 75 of file tlm_recording_extension.h.


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