17#ifndef _SCV4TLM_TLM_RECORDING_EXTENSION_H_
18#define _SCV4TLM_TLM_RECORDING_EXTENSION_H_
36#define SCVNS ::scv_tr::
46static std::array<const char*, 2> tx_rel_str = {{
"PARENT/CHILD",
"PRED/SUCC"}};
67 virtual tlm_extension_base*
clone()
const {
75 virtual void copy_from(tlm_extension_base
const& from) {
88 , creator(creator_) {}
SCVNS scv_tr_handle txHandle
accessor to the SCV transaction handle.
virtual void copy_from(tlm_extension_base const &from)
copy data between extensions.
void * get_creator()
accessor to the owner, the property is read only.
virtual tlm_extension_base * clone() const
clone the given extension and duplicate the SCV transaction handle.
tlm_recording_extension(SCVNS scv_tr_handle handle, void *creator_)
constructor storing the handle of the transaction and the owner of this extension
SCC SCV4TLM classes and functions.
const char * rel_str(tx_rel rel)
cast the tx_rel enum to a string
tx_rel
transaction relationships