scc 2025.09
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.
 tlm_recording_extension (SCVNS scv_tr_handle handle, void *creator_)
 constructor storing the handle of the transaction and the owner of this extension
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

◆ clone()

virtual tlm_extension_base * tlm::scc::scv::tlm_recording_extension::clone ( ) const
inlinevirtual

clone the given extension and duplicate the SCV transaction handle.

Definition at line 67 of file tlm_recording_extension.h.

◆ 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.

◆ get_creator()

void * tlm::scc::scv::tlm_recording_extension::get_creator ( )
inline

accessor to the owner, the property is read only.

Definition at line 92 of file tlm_recording_extension.h.

Member Data Documentation

◆ txHandle

SCVNS scv_tr_handle tlm::scc::scv::tlm_recording_extension::txHandle

accessor to the SCV transaction handle.

Definition at line 96 of file tlm_recording_extension.h.


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