A base class for simulation timestamps regarding workflow tasks. More...

#include <SimulationTimestampTypes.h>

Inheritance diagram for wrench::SimulationTimestampTask:
wrench::SimulationTimestampType wrench::SimulationTimestampTaskCompletion wrench::SimulationTimestampTaskFailure wrench::SimulationTimestampTaskStart wrench::SimulationTimestampTaskTerminated

Public Member Functions

SimulationTimestampTaskgetEndpoint () override
 retrieves the corresponding SimulationTimestampTask object More...
 
WorkflowTaskgetTask ()
 Retrieves the WorkflowTask associated with this timestamp. More...
 
- Public Member Functions inherited from wrench::SimulationTimestampType
double getDate ()
 Retrieve the date recorded for this timestamp. More...
 

Protected Member Functions

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::SimulationTimestampType
SimulationTimestampTypeendpoint = nullptr
 

Detailed Description

A base class for simulation timestamps regarding workflow tasks.

Member Function Documentation

SimulationTimestampTask * wrench::SimulationTimestampTask::getEndpoint ( )
overridevirtual

retrieves the corresponding SimulationTimestampTask object

Returns
a pointer to the start or end SimulationTimestampTask object

Reimplemented from wrench::SimulationTimestampType.

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:
  • /home/wrench/wrench/include/wrench/simulation/SimulationTimestampTypes.h
  • /home/wrench/wrench/src/wrench/simulation/SimulationTimestampTypes.cpp