17 #ifndef _SCV4TLM_TLM_RECORDING_EXTENSION_H_ 
   18 #define _SCV4TLM_TLM_RECORDING_EXTENSION_H_ 
   36 #define SCVNS ::scv_tr:: 
   46 static 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_) {}
 
generic payload extension class holding the handle of the last recorded SCV transaction
 
virtual tlm_extension_base * clone() const
clone the given extension and duplicate the SCV transaction handle.
 
SCVNS scv_tr_handle txHandle
accessor to 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.
 
const char * rel_str(tx_rel rel)
cast the tx_rel enum to a string
 
tx_rel
transaction relationships