1 #ifndef DATA_DELIVERY_H_ 2 #define DATA_DELIVERY_H_ 6 #include <arc/Logger.h> 7 #include <arc/Thread.h> 10 #include "DTRStatus.h" 34 class delivery_pair_t;
36 std::list<delivery_pair_t*> dtr_list;
55 static void start_delivery(
void* arg);
58 static void stop_delivery(
void* arg);
61 bool delete_delivery_pair(delivery_pair_t* dp);
64 static void main_thread(
void* arg);
66 void main_thread(
void);
DataDelivery transfers data between specified physical locations.
Definition: DataDelivery.h:26
Simple triggered condition.
Definition: Thread.h:150
The base class from which all callback-enabled classes should be derived.
Definition: DTR.h:193
virtual void receiveDTR(DTR_ptr request)
Pass a DTR to Delivery.
A logger class.
Definition: Logger.h:493
Represents limits and properties of a DTR transfer. These generally apply to all DTRs.
Definition: DTR.h:91
~DataDelivery()
Destructor calls stop() and waits for cancelled processes to exit.
Definition: DataDelivery.h:78
DataStaging contains all components for data transfer scheduling and execution.
Definition: DataDelivery.h:12
void SetTransferParameters(const TransferParameters ¶ms)
Set transfer limits.
bool stop()
Tell the delivery to stop all transfers and threads and exit.
DataDelivery()
Constructor.
bool start()
Start the Delivery thread, which runs until stop() is called.
bool cancelDTR(DTR_ptr request)
Stop the transfer corresponding to the given DTR.
ProcessState
Internal state of StagingProcesses.
Definition: DTR.h:79