scc
2022.4.0
SystemC components library
|
generic payload extension class holding the handle of the last recorded SCV transaction More...
#include <tlm_recording_extension.h>
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. | |
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.
|
inline |
constructor storing the handle of the transaction and the owner of this extension
handle | is 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.
|
inlinevirtual |
copy data between extensions.
from | is the source extension. |
Definition at line 75 of file tlm_recording_extension.h.