WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | List of all members
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 (double date, std::shared_ptr< DataFile >file, std::shared_ptr< FileLocation > src, std::shared_ptr< StorageService > service, std::shared_ptr< WorkflowTask >task=nullptr)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationTimestampFileRead
SimulationTimestampFileReadgetEndpoint () override
 Retrieve the matching endpoint, if any. More...
 
std::shared_ptr< DataFilegetFile ()
 retrieves the DataFile being read More...
 
std::shared_ptr< StorageServicegetService ()
 retrieves the storage service for file read More...
 
std::shared_ptr< FileLocation > getSource ()
 retrieves the location from which the DataFile is being copied More...
 
std::shared_ptr< 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 (double date, std::shared_ptr< DataFile >file, std::shared_ptr< FileLocation > src, std::shared_ptr< StorageService > service, std::shared_ptr< 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
std::shared_ptr< DataFilefile
 The DataFile that was being read.
 
std::shared_ptr< StorageServiceservice
 Service that initiated the read.
 
std::shared_ptr< FileLocation > source
 The location where the DataFile was being read from.
 
std::shared_ptr< WorkflowTasktask
 Task tied to read.
 
- Protected Attributes inherited from wrench::SimulationTimestampPair
SimulationTimestampPairendpoint = nullptr
 An optional associated "endpoint" simulation timestamp.
 
- Protected Attributes inherited from wrench::SimulationTimestampType
double date = -0.1
 Date.
 
- Static Protected Attributes inherited from wrench::SimulationTimestampFileRead
static std::unordered_multimap< FileReadWrite, std::pair< SimulationTimestampFileRead *, std::shared_ptr< 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 ( double  date,
std::shared_ptr< DataFile file,
std::shared_ptr< FileLocation >  src,
std::shared_ptr< StorageService service,
std::shared_ptr< WorkflowTask task = nullptr 
)

Constructor.

Parameters
datethe date
filethe DataFile 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: