wrench::SimulationTimestampFileReadStart Class Reference

A simulation timestamp class for file read start times. More...

#include <SimulationTimestampTypes.h>

Inheritance diagram for wrench::SimulationTimestampFileReadStart:
wrench::SimulationTimestampFileRead wrench::SimulationTimestampPair wrench::SimulationTimestampType

Public Member Functions

 SimulationTimestampFileReadStart (WorkflowFile *file, FileLocation *src, StorageService *service, WorkflowTask *task=nullptr)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationTimestampFileRead
SimulationTimestampFileReadgetEndpoint () override
 Retrieve the matching endpoint, if any. More...
 
WorkflowFilegetFile ()
 retrieves the WorkflowFile being read More...
 
StorageServicegetService ()
 retrieves the storage service for file read More...
 
FileLocation * getSource ()
 retrieves the location from which the WorkflowFile is being copied More...
 
WorkflowTaskgetTask ()
 retrieves task associated w/ file read More...
 
- Public Member Functions inherited from wrench::SimulationTimestampType
 SimulationTimestampType ()
 
More...
 
double getDate ()
 Retrieve the date recorded for this timestamp. More...
 

Additional Inherited Members

- Protected Member Functions inherited from wrench::SimulationTimestampFileRead
 SimulationTimestampFileRead (WorkflowFile *file, FileLocation *src, StorageService *service, WorkflowTask *task=nullptr)
 Constructor. More...
 
void setEndpoints ()
 Sets the endpoint of the calling object (SimulationTimestampFileReadFailure, SimulationTimestampFileReadTerminated, SimulationTimestampFileReadStart) with a SimulationTimestampFileReadStart object.
 
- Protected Attributes inherited from wrench::SimulationTimestampFileRead
WorkflowFilefile
 The WorkflowFile that was being read.
 
StorageServiceservice
 Service that initiated the read.
 
FileLocation * source
 The location where the WorkflowFile was being read from.
 
WorkflowTasktask
 Task tied to read.
 
- Protected Attributes inherited from wrench::SimulationTimestampPair
SimulationTimestampPairendpoint = nullptr
 An optional associated "endpoint" simulation timestamp.
 
- Static Protected Attributes inherited from wrench::SimulationTimestampFileRead
static std::unordered_multimap< File, std::pair< SimulationTimestampFileRead *, WorkflowTask * > > pending_file_reads
 the data structure that holds the ongoing file reads. More...
 

Detailed Description

A simulation timestamp class for file read start times.

Constructor & Destructor Documentation

◆ SimulationTimestampFileReadStart()

wrench::SimulationTimestampFileReadStart::SimulationTimestampFileReadStart ( WorkflowFile file,
FileLocation *  src,
StorageService service,
WorkflowTask task = nullptr 
)

Constructor.

Parameters
filethe WorkflowFile associated with this file read
srcthe source location
serviceservice requesting file read
taska task associated to this file read (or nullptr)
Exceptions
std::invalid_argument

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