wrench::SimulationTimestampFileCopy
-
class wrench::SimulationTimestampFileCopy : public wrench::SimulationTimestampPair
A base class for simulation timestamps regarding file copies.
Subclassed by wrench::SimulationTimestampFileCopyCompletion, wrench::SimulationTimestampFileCopyFailure, wrench::SimulationTimestampFileCopyStart
Public Functions
-
std::shared_ptr<FileLocation> getDestination()
retrieves the location where the DataFile will be copied
- Returns
the copy’s destination location
-
virtual SimulationTimestampFileCopy *getEndpoint() override
Retrieve the matching endpoint, if any.
retrieves the corresponding SimulationTimestampFileCopy object
- Returns
a pointer to the start or end SimulationTimestampFileCopy object
-
std::shared_ptr<DataFile> getFile()
retrieves the DataFile being copied
- Returns
a pointer to the DataFile associated with this copy
-
std::shared_ptr<FileLocation> getSource()
retrieves the location from which the DataFile is being copied
- Returns
the copy’s source location
-
std::shared_ptr<FileLocation> getDestination()