wrench::SimulationTimestampPair Class Reference
A base class for simulation timestamps. More...
#include <SimulationTimestampTypes.h>
Inheritance diagram for wrench::SimulationTimestampPair:
Public Member Functions | |
SimulationTimestampPair () | |
Constructor. | |
SimulationTimestampPair (SimulationTimestampPair *endpoint) | |
Constructor. More... | |
virtual SimulationTimestampPair * | getEndpoint () |
Retrieves the corresponding start/end SimulationTimestampType associated with this timestamp. More... | |
Public Member Functions inherited from wrench::SimulationTimestampType | |
double | getDate () |
Retrieve the date recorded for this timestamp. More... | |
Protected Attributes | |
SimulationTimestampPair * | endpoint = nullptr |
An optional associated "endpoint" simulation timestamp. | |
Detailed Description
A base class for simulation timestamps.
Constructor & Destructor Documentation
◆ SimulationTimestampPair()
wrench::SimulationTimestampPair::SimulationTimestampPair | ( | SimulationTimestampPair * | endpoint | ) |
Constructor.
- Parameters
-
endpoint an corresponding "end" timestamp or "start" timestamp
Member Function Documentation
◆ getEndpoint()
|
virtual |
Retrieves the corresponding start/end SimulationTimestampType associated with this timestamp.
- Returns
- A pointer to a start SimulationTimestampType if this is a failure/completion timestamp or vise versa
Reimplemented in wrench::SimulationTimestampFileCopy, and wrench::SimulationTimestampTask.
The documentation for this class was generated from the following files:
- /home/wrench/wrench/include/wrench/simulation/SimulationTimestampTypes.h
- /home/wrench/wrench/src/wrench/simulation/SimulationTimestampTypes.cpp