wrench::SimulationTimestampFileCopy Class Reference

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

#include <SimulationTimestampTypes.h>

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

Classes

struct  FileLocation
 A file location struct that contains the storage service and partition where a file is located. More...
 

Public Member Functions

FileLocation getDestination ()
 retrieves the location where the WorkflowFile will be copied More...
 
SimulationTimestampFileCopygetEndpoint () override
 retrieves the corresponding SimulationTimestampFileCopy object More...
 
WorkflowFilegetFile ()
 retrieves the WorkflowFile being copied More...
 
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

FileLocation destination
 The intended location where the WorkflowFile was being copied to.
 
WorkflowFilefile
 
FileLocation source
 The location where the WorkflowFile was being copied from.
 
- Protected Attributes inherited from wrench::SimulationTimestampType
SimulationTimestampTypeendpoint = nullptr
 

Detailed Description

A base class for simulation timestamps regarding file copies.

Member Function Documentation

SimulationTimestampFileCopy::FileLocation wrench::SimulationTimestampFileCopy::getDestination ( )

retrieves the location where the WorkflowFile will be copied

Returns
a FileLocation object containing the destination StorageService and destination partition into which the file is being copied
SimulationTimestampFileCopy * wrench::SimulationTimestampFileCopy::getEndpoint ( )
overridevirtual

retrieves the corresponding SimulationTimestampFileCopy object

Returns
a pointer to the start or end SimulationTimestampFileCopy object

Reimplemented from wrench::SimulationTimestampType.

WorkflowFile * wrench::SimulationTimestampFileCopy::getFile ( )

retrieves the WorkflowFile being copied

Returns
a pointer to the WorkflowFile associated with this copy
SimulationTimestampFileCopy::FileLocation wrench::SimulationTimestampFileCopy::getSource ( )

retrieves the location from which the WorkflowFile is being copied

Returns
a FileLocation object containing the source StorageService and source partition from which the file is being copied

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