wrench::SimulationTimestamp

template<class T>
class wrench::SimulationTimestamp

A time-stamped simulation event stored in SimulationOutput.

Template Parameters

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

Public Functions

inline SimulationTimestamp(T *content)

Constructor.

Parameters

content – a pointer to a object of class T, i.e., a particular SimulationTimestampXXXX class (defined in SimulationTimestampTypes.h)

inline T *const getContent()

Retrieve the timestamp’s content

Returns

a pointer to a object of class T, i.e., a particular SimulationTimestampXXXX class (defined in SimulationTimestampTypes.h)

inline double getDate()

Retrieve the recorded time of the timestamp

Returns

the recorded time of the timestamp