wrench::SimulationTimestamp< T > Class Template Reference

A time-stamped simulation event stored in SimulationOutput. More...

#include <SimulationTimestamp.h>

Public Member Functions

 SimulationTimestamp (T *content)
 Constructor. More...
 
T *const getContent ()
 
double getDate ()
 

Detailed Description

template<class T>
class wrench::SimulationTimestamp< T >

A time-stamped simulation event stored in SimulationOutput.

Template Parameters
aparticular SimulationTimestampXXXX class (defined in SimulationTimestampTypes.h)

Constructor & Destructor Documentation

◆ SimulationTimestamp()

template<class T >
wrench::SimulationTimestamp< T >::SimulationTimestamp ( T *  content)
inline

Constructor.

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

Member Function Documentation

◆ getContent()

template<class T >
T* const wrench::SimulationTimestamp< T >::getContent ( )
inline

Retrieve the timestamp's content

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

◆ getDate()

template<class T >
double wrench::SimulationTimestamp< T >::getDate ( )
inline

Retrieve the recorded time of the timestamp

Returns
the recorded time of the timestamp

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