wrench::SimulationTimestampType Class Reference

A base class for simulation timestamps. More...

#include <SimulationTimestampTypes.h>

Inheritance diagram for wrench::SimulationTimestampType:
wrench::SimulationTimestampFileCopy wrench::SimulationTimestampTask wrench::SimulationTimestampFileCopyCompletion wrench::SimulationTimestampFileCopyFailure wrench::SimulationTimestampFileCopyStart wrench::SimulationTimestampTaskCompletion wrench::SimulationTimestampTaskFailure wrench::SimulationTimestampTaskStart wrench::SimulationTimestampTaskTerminated

Public Member Functions

double getDate ()
 Retrieve the date recorded for this timestamp. More...
 
virtual SimulationTimestampTypegetEndpoint ()
 Retrieves the corresponding start/end SimulationTimestampType associated with this timestamp. More...
 

Protected Attributes

SimulationTimestampTypeendpoint = nullptr
 

Detailed Description

A base class for simulation timestamps.

Member Function Documentation

double wrench::SimulationTimestampType::getDate ( )

Retrieve the date recorded for this timestamp.

Returns
the date of this timestamp
SimulationTimestampType * wrench::SimulationTimestampType::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