gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
sc_gem5::TraceVal< T, Base > Class Template Reference

#include <tracefile.hh>

Inheritance diagram for sc_gem5::TraceVal< T, Base >:
sc_gem5::TraceValBase

Public Member Functions

 TraceVal (const T *_t, int _width)
 
 ~TraceVal ()
 
void finalize () override
 
const T & value ()
 
bool check () override
 
- Public Member Functions inherited from sc_gem5::TraceValBase
 TraceValBase (int _width)
 
virtual ~TraceValBase ()
 
int width ()
 

Private Attributes

const T * t
 
oldVal
 

Additional Inherited Members

- Protected Attributes inherited from sc_gem5::TraceValBase
int _width
 

Detailed Description

template<typename T, typename Base = TraceValBase>
class sc_gem5::TraceVal< T, Base >

Definition at line 63 of file tracefile.hh.

Constructor & Destructor Documentation

◆ TraceVal()

template<typename T, typename Base = TraceValBase>
sc_gem5::TraceVal< T, Base >::TraceVal ( const T * _t,
int _width )
inline

Definition at line 70 of file tracefile.hh.

References sc_gem5::TraceValBase::_width, oldVal, and t.

◆ ~TraceVal()

template<typename T, typename Base = TraceValBase>
sc_gem5::TraceVal< T, Base >::~TraceVal ( )
inline

Definition at line 72 of file tracefile.hh.

Member Function Documentation

◆ check()

template<typename T, typename Base = TraceValBase>
bool sc_gem5::TraceVal< T, Base >::check ( )
inlineoverridevirtual

Implements sc_gem5::TraceValBase.

Definition at line 78 of file tracefile.hh.

References oldVal, and t.

◆ finalize()

template<typename T, typename Base = TraceValBase>
void sc_gem5::TraceVal< T, Base >::finalize ( )
inlineoverridevirtual

Reimplemented from sc_gem5::TraceValBase.

Reimplemented in sc_gem5::VcdTraceValFinite< T >, sc_gem5::VcdTraceValLogic< T >, and sc_gem5::VcdTraceValTime.

Definition at line 74 of file tracefile.hh.

References oldVal, and t.

◆ value()

template<typename T, typename Base = TraceValBase>
const T & sc_gem5::TraceVal< T, Base >::value ( )
inline

Definition at line 75 of file tracefile.hh.

References oldVal.

Member Data Documentation

◆ oldVal

template<typename T, typename Base = TraceValBase>
T sc_gem5::TraceVal< T, Base >::oldVal
private

Definition at line 67 of file tracefile.hh.

Referenced by check(), finalize(), TraceVal(), and value().

◆ t

template<typename T, typename Base = TraceValBase>
const T* sc_gem5::TraceVal< T, Base >::t
private

Definition at line 66 of file tracefile.hh.

Referenced by check(), finalize(), and TraceVal().


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

Generated on Mon May 26 2025 09:20:44 for gem5 by doxygen 1.13.2