A template class to represent a trace of timestamps. More...
#include <SimulationTrace.h>
Public Member Functions | |
~SimulationTrace () | |
Destructor. | |
void | addTimestamp (SimulationTimestamp< T > *timestamp) |
Append a timestamp to the trace. More... | |
std::vector< SimulationTimestamp< T > * > | getTrace () |
Retrieve the trace as a vector of timestamps. More... | |
Detailed Description
template<class T>
class wrench::SimulationTrace< T >
A template class to represent a trace of timestamps.
- Template Parameters
-
a particular SimulationTimestampXXXX class (defined in SimulationTimestampTypes.h)
Member Function Documentation
◆ addTimestamp()
|
inline |
Append a timestamp to the trace.
- Parameters
-
timestamp a pointer to a SimulationTimestamp<T> object
- Template Parameters
-
a particular SimulationTimestampXXXX class (defined in SimulationTimestampTypes.h)
◆ getTrace()
|
inline |
Retrieve the trace as a vector of timestamps.
- Template Parameters
-
a particular SimulationTimestampXXXX class (defined in SimulationTimestampTypes.h)
- Returns
- a vector of pointers to SimulationTimestamp<T> objects
The documentation for this class was generated from the following file: