gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
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 62 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 69 of file tracefile.hh.

◆ ~TraceVal()

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

Definition at line 71 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 77 of file tracefile.hh.

◆ finalize()

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

Reimplemented from sc_gem5::TraceValBase.

Definition at line 73 of file tracefile.hh.

◆ value()

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

Definition at line 74 of file tracefile.hh.

Member Data Documentation

◆ oldVal

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

◆ t

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

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

Generated on Wed Sep 30 2020 14:03:10 for gem5 by doxygen 1.8.17