wrench::SimulationTimestampFileCopy Class Reference

A base class for simulation timestamps regarding file copies. More...

#include <SimulationTimestampTypes.h>

Inheritance diagram for wrench::SimulationTimestampFileCopy:
wrench::SimulationTimestampPair wrench::SimulationTimestampType wrench::SimulationTimestampFileCopyCompletion wrench::SimulationTimestampFileCopyFailure wrench::SimulationTimestampFileCopyStart

Public Member Functions

std::shared_ptr< FileLocation > getDestination ()
 retrieves the location where the WorkflowFile will be copied More...
 
SimulationTimestampFileCopygetEndpoint () override
 Retrieve the matching endpoint, if any. More...
 
WorkflowFilegetFile ()
 retrieves the WorkflowFile being copied More...
 
std::shared_ptr< FileLocation > getSource ()
 retrieves the location from which the WorkflowFile is being copied More...
 
- Public Member Functions inherited from wrench::SimulationTimestampType
double getDate ()
 Retrieve the date recorded for this timestamp. More...
 

Protected Attributes

std::shared_ptr< FileLocation > destination
 The location where the WorkflowFile was being copied to.
 
WorkflowFilefile
 The WorkflowFile that was being copied.
 
std::shared_ptr< FileLocation > source
 The location where the WorkflowFile was being copied from.
 
- Protected Attributes inherited from wrench::SimulationTimestampPair
SimulationTimestampPairendpoint = nullptr
 An optional associated "endpoint" simulation timestamp.
 

Detailed Description

A base class for simulation timestamps regarding file copies.

Member Function Documentation

◆ getDestination()

std::shared_ptr< FileLocation > wrench::SimulationTimestampFileCopy::getDestination ( )

retrieves the location where the WorkflowFile will be copied

Returns
the copy's destination location

◆ getEndpoint()

SimulationTimestampFileCopy * wrench::SimulationTimestampFileCopy::getEndpoint ( )
overridevirtual

Retrieve the matching endpoint, if any.

retrieves the corresponding SimulationTimestampFileCopy object

Returns
a pointer to the start or end SimulationTimestampFileCopy object

Reimplemented from wrench::SimulationTimestampPair.

◆ getFile()

WorkflowFile * wrench::SimulationTimestampFileCopy::getFile ( )

retrieves the WorkflowFile being copied

Returns
a pointer to the WorkflowFile associated with this copy

◆ getSource()

std::shared_ptr< FileLocation > wrench::SimulationTimestampFileCopy::getSource ( )

retrieves the location from which the WorkflowFile is being copied

Returns
the copy's source location

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