xrootd
|
#include <XrdClOperations.hh>
Public Member Functions | |
Pipeline (Operation< true > *op) | |
Constructor. More... | |
Pipeline (Operation< true > &op) | |
Constructor. More... | |
Pipeline (Operation< true > &&op) | |
Constructor. More... | |
Pipeline (Operation< false > *op) | |
Pipeline (Operation< false > &op) | |
Constructor. More... | |
Pipeline (Operation< false > &&op) | |
Constructor. More... | |
Pipeline (Pipeline &&pipe) | |
Pipeline & | operator= (Pipeline &&pipe) |
Constructor. More... | |
operator Operation< true > & () | |
operator bool () | |
Private Member Functions | |
Operation< true > * | operator-> () |
void | Run (std::function< void(const XRootDStatus &)> final=nullptr) |
Private Attributes | |
std::unique_ptr< Operation< true > > | operation |
First operation in the pipeline. More... | |
std::future< XRootDStatus > | ftr |
The future result of the pipeline. More... | |
Friends | |
template<bool > | |
class | ParallelOperation |
std::future< XRootDStatus > | Async (Pipeline) |
A wrapper around operation pipeline. A Pipeline is a once-use-only object - once executed by a Workflow engine it is invalidated.
Takes ownership of given operation pipeline (which is in most would be a temporary object)
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
|
inline |
|
inline |
Conversion to Operation<true>
std::logic_error if pipeline is invalid |
References operation.
|
inlineprivate |
Member access declaration, provides access to the underlying operation.
References operation.
|
inlineprivate |
|
friend |
Helper function, schedules execution of given pipeline
pipeline | : the pipeline to be executed |
|
friend |
|
private |
The future result of the pipeline.
Referenced by Run().
|
private |
First operation in the pipeline.
Referenced by operator bool(), operator Operation< true > &(), operator->(), operator=(), and Run().