WRENCH  1.10
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | Protected Member Functions | Static Protected Attributes | List of all members
wrench::SimulationTimestampTask Class Reference

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

#include <SimulationTimestampTypes.h>

Inheritance diagram for wrench::SimulationTimestampTask:
wrench::SimulationTimestampPair wrench::SimulationTimestampType wrench::SimulationTimestampTaskCompletion wrench::SimulationTimestampTaskFailure wrench::SimulationTimestampTaskStart wrench::SimulationTimestampTaskTermination

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
 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
SimulationTimestampPairendpoint = nullptr
 An optional associated "endpoint" simulation timestamp.

Detailed Description

A base class for simulation timestamps regarding workflow tasks.

Constructor & Destructor Documentation

◆ SimulationTimestampTask()

wrench::SimulationTimestampTask::SimulationTimestampTask ( WorkflowTask task)


taska pointer to the WorkflowTask associated with this timestamp

Member Function Documentation

◆ getEndpoint()

SimulationTimestampTask * wrench::SimulationTimestampTask::getEndpoint ( )

retrieves the corresponding SimulationTimestampTask object

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.

a pointer to the WorkflowTask associated with this timestamp

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