wrench::SimulationTimestampPair Class Reference

A base class for simulation timestamps. More...

#include <SimulationTimestampTypes.h>

Inheritance diagram for wrench::SimulationTimestampPair:
wrench::SimulationTimestampType wrench::SimulationTimestampDiskRead wrench::SimulationTimestampDiskWrite wrench::SimulationTimestampFileCopy wrench::SimulationTimestampFileRead wrench::SimulationTimestampFileWrite wrench::SimulationTimestampTask wrench::SimulationTimestampDiskReadCompletion wrench::SimulationTimestampDiskReadFailure wrench::SimulationTimestampDiskReadStart wrench::SimulationTimestampDiskWriteCompletion wrench::SimulationTimestampDiskWriteFailure wrench::SimulationTimestampDiskWriteStart wrench::SimulationTimestampFileCopyCompletion wrench::SimulationTimestampFileCopyFailure wrench::SimulationTimestampFileCopyStart wrench::SimulationTimestampFileReadCompletion wrench::SimulationTimestampFileReadFailure wrench::SimulationTimestampFileReadStart wrench::SimulationTimestampFileWriteCompletion wrench::SimulationTimestampFileWriteFailure wrench::SimulationTimestampFileWriteStart wrench::SimulationTimestampTaskCompletion wrench::SimulationTimestampTaskFailure wrench::SimulationTimestampTaskStart wrench::SimulationTimestampTaskTermination

Public Member Functions

virtual SimulationTimestampPairgetEndpoint ()
 Retrieves the corresponding start/end SimulationTimestampType associated with this timestamp. More...
 
- Public Member Functions inherited from wrench::SimulationTimestampType
 SimulationTimestampType ()
 
More...
 
double getDate ()
 Retrieve the date recorded for this timestamp. More...
 

Protected Attributes

SimulationTimestampPairendpoint = nullptr
 An optional associated "endpoint" simulation timestamp.
 

Detailed Description

A base class for simulation timestamps.

Member Function Documentation

◆ getEndpoint()

SimulationTimestampPair * wrench::SimulationTimestampPair::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::SimulationTimestampDiskWrite, wrench::SimulationTimestampDiskRead, wrench::SimulationTimestampFileCopy, wrench::SimulationTimestampFileWrite, wrench::SimulationTimestampFileRead, and wrench::SimulationTimestampTask.


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