|
xrootd
|
#include <XrdClOperations.hh>


Public Member Functions | |
| ConcreteOperation (Args &&... args) | |
| template<bool from> | |
| ConcreteOperation (ConcreteOperation< Derived, from, HdlrFactory, Args... > &&op) | |
| template<typename Hdlr > | |
| Derived< true > | operator>> (Hdlr &&hdlr) |
| Derived< true > | operator| (Operation< true > &op) |
| Derived< true > | operator| (Operation< true > &&op) |
| Derived< true > | operator| (Operation< false > &op) |
| Derived< true > | operator| (Operation< false > &&op) |
| Derived< HasHndl > | Recovery (rcvry_func recovery) |
| Set recovery procedure in case the operation fails. More... | |
| Operation< HasHndl > * | Move () |
| Operation< true > * | ToHandled () |
Public Member Functions inherited from XrdCl::Operation< HasHndl > | |
| Operation () | |
| Constructor. More... | |
| template<bool from> | |
| Operation (Operation< from > &&op) | |
| Move constructor between template instances. More... | |
| virtual | ~Operation () |
| Destructor. More... | |
| virtual std::string | ToString ()=0 |
| Name of the operation. More... | |
Protected Member Functions | |
| template<bool to> | |
| Derived< to > | Transform () |
| Derived< true > | StreamImpl (ResponseHandler *handler) |
Protected Member Functions inherited from XrdCl::Operation< HasHndl > | |
| void | Run (std::promise< XRootDStatus > prms, std::function< void(const XRootDStatus &)> final) |
| virtual XRootDStatus | RunImpl ()=0 |
| void | ForceHandler (const XRootDStatus &status) |
| void | AddOperation (Operation< true > *op) |
Static Protected Member Functions | |
| static Derived< true > | PipeImpl (ConcreteOperation< Derived, true, HdlrFactory, Args... > &me, Operation< true > &op) |
| static Derived< true > | PipeImpl (ConcreteOperation< Derived, true, HdlrFactory, Args... > &me, Operation< false > &op) |
| static Derived< true > | PipeImpl (ConcreteOperation< Derived, false, HdlrFactory, Args... > &me, Operation< true > &op) |
| static Derived< true > | PipeImpl (ConcreteOperation< Derived, false, HdlrFactory, Args... > &me, Operation< false > &op) |
Protected Attributes | |
| std::tuple< Args... > | args |
| Operation arguments. More... | |
| rcvry_func | recovery |
| The recovery routine for this operation. More... | |
Protected Attributes inherited from XrdCl::Operation< HasHndl > | |
| std::unique_ptr< PipelineHandler > | handler |
| Operation handler. More... | |
| bool | valid |
| Flag indicating if it is a valid object. More... | |
Friends | |
| template<template< bool > class, bool , typename , typename ... > | |
| class | ConcreteOperation |
Concrete Operation template Defines | and >> operator as well as operation arguments.
|
inline |
Constructor
| args | : operation arguments |
|
inline |
Move constructor from other states
| op | : the object that is being converted |
|
inlinevirtual |
Move current object into newly allocated instance
Implements XrdCl::Operation< HasHndl >.
|
inline |
Adds ResponseHandler/function/functor/lambda/future handler for the operation.
Note: due to reference collapsing this covers both l-value and r-value references.
| func | : function/functor/lambda |
|
inline |
Creates a pipeline of 2 or more operations
| op | : operation to add |
|
inline |
Creates a pipeline of 2 or more operations
| op | operation to add |
|
inline |
Creates a pipeline of 2 or more operations
| op | : operation to add |
|
inline |
Creates a pipeline of 2 or more operations
| op | : operation to add |
|
inlinestaticprotected |
Implements operator| functionality
| me | : reference to myself (*this) |
| op | : reference to the other operation |
|
inlinestaticprotected |
Implements operator| functionality
| me | : reference to myself (*this) |
| op | : reference to the other operation |
|
inlinestaticprotected |
Implements operator| functionality
| me | : reference to myself (*this) |
| op | : reference to the other operation |
|
inlinestaticprotected |
Implements operator| functionality
| me | : reference to myself (*this) |
| op | : reference to the other operation |
Referenced by XrdCl::ConcreteOperation< GetXAttrFsBulkImpl, HasHndl, Resp< std::vector< XAttr > >, Args... >::operator|().
|
inline |
Set recovery procedure in case the operation fails.
|
inlineprotected |
Implements operator>> functionality
| h | : handler to be added @ |
Referenced by XrdCl::ConcreteOperation< GetXAttrFsBulkImpl, HasHndl, Resp< std::vector< XAttr > >, Args... >::operator>>().
|
inlinevirtual |
|
inlineprotected |
Transform into a new instance with desired state
|
friend |
|
protected |
Operation arguments.
|
protected |
The recovery routine for this operation.
Referenced by XrdCl::ConcreteOperation< GetXAttrFsBulkImpl, HasHndl, Resp< std::vector< XAttr > >, Args... >::Recovery(), XrdCl::ConcreteOperation< GetXAttrFsBulkImpl, HasHndl, Resp< std::vector< XAttr > >, Args... >::StreamImpl(), and XrdCl::ConcreteOperation< GetXAttrFsBulkImpl, HasHndl, Resp< std::vector< XAttr > >, Args... >::ToHandled().