A base class for simulation timestamps regarding workflow tasks. More...
#include <SimulationTimestampTypes.h>
Public Member Functions | |
SimulationTimestampTask * | getEndpoint () override |
retrieves the corresponding SimulationTimestampTask object More... | |
WorkflowTask * | getTask () |
Retrieves the WorkflowTask associated with this timestamp. More... | |
Public Member Functions inherited from wrench::SimulationTimestampPair | |
SimulationTimestampPair () | |
Constructor. | |
SimulationTimestampPair (SimulationTimestampPair *endpoint) | |
Constructor. More... | |
Public Member Functions inherited from wrench::SimulationTimestampType | |
SimulationTimestampType () | |
double | getDate () |
Retrieve the date recorded for this timestamp. More... | |
Protected Member Functions | |
SimulationTimestampTask (WorkflowTask *) | |
Constructor. More... | |
void | setEndpoints () |
Sets the endpoint of the calling object (SimulationTimestampTaskFailure, SimulationTimestampTaskTerminated, SimulationTimestampTaskStart) with a SimulationTimestampTaskStart object. | |
Static Protected Attributes | |
static std::map< std::string, SimulationTimestampTask * > | pending_task_timestamps |
A static map of SimulationTimestampTaskStart objects that have yet to matched with SimulationTimestampTaskFailure, SimulationTimestampTaskTerminated, SimulationTimestampTaskCompletion timestamps. | |
Additional Inherited Members | |
Protected Attributes inherited from wrench::SimulationTimestampPair | |
SimulationTimestampPair * | endpoint = nullptr |
An optional associated "endpoint" simulation timestamp. | |
Detailed Description
A base class for simulation timestamps regarding workflow tasks.
Constructor & Destructor Documentation
◆ SimulationTimestampTask()
|
explicitprotected |
Constructor.
- Parameters
-
task a pointer to the WorkflowTask associated with this timestamp
- Exceptions
-
std::invalid_argument
Member Function Documentation
◆ getEndpoint()
|
overridevirtual |
retrieves the corresponding SimulationTimestampTask object
- Returns
- a pointer to the start or end SimulationTimestampTask object
Reimplemented from wrench::SimulationTimestampPair.
◆ getTask()
WorkflowTask * wrench::SimulationTimestampTask::getTask | ( | ) |
Retrieves the WorkflowTask associated with this timestamp.
- Returns
- a pointer to the WorkflowTask associated with this timestamp
The documentation for this class was generated from the following files:
- SimulationTimestampTypes.h
- SimulationTimestampTypes.cpp