wrench::SimulationTrace

template<class T>
class wrench::SimulationTrace : public GenericSimulationTrace

A template class to represent a trace of timestamps.

Template Parameters

a – particular SimulationTimestampXXXX class (defined in SimulationTimestampTypes.h)

Public Functions

inline ~SimulationTrace()

Destructor.

inline void addTimestamp(SimulationTimestamp<T> *timestamp)

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)

inline std::vector<SimulationTimestamp<T>*> getTrace()

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