wrench::SimulationTimestampFileRead
-
class wrench::SimulationTimestampFileRead : public wrench::SimulationTimestampPair
A base class for simulation timestamps regarding file reads.
Subclassed by wrench::SimulationTimestampFileReadCompletion, wrench::SimulationTimestampFileReadFailure, wrench::SimulationTimestampFileReadStart
Public Functions
-
virtual SimulationTimestampFileRead *getEndpoint() override
Retrieve the matching endpoint, if any.
retrieves the corresponding SimulationTimestampFileRead object
- Returns
a pointer to the start or end SimulationTimestampFileRead object
-
std::shared_ptr<DataFile> getFile()
retrieves the DataFile being read
- Returns
a pointer to the DataFile associated with this reads
-
std::shared_ptr<StorageService> getService()
retrieves the storage service for file read
- Returns
point to the service associated with this read
-
std::shared_ptr<FileLocation> getSource()
retrieves the location from which the DataFile is being copied
- Returns
the read’s source location
-
std::shared_ptr<WorkflowTask> getTask()
retrieves task associated w/ file read
- Returns
a pointer to the WorkflowTask associated with this timestamp
-
virtual SimulationTimestampFileRead *getEndpoint() override