![]() |
XRootD
|
Open operation (. More...
#include <XrdClFileOperations.hh>
Public Types | |
enum | { UrlArg , FlagsArg , ModeArg } |
Argument indexes in the args tuple. More... | |
Public Member Functions | |
OpenImpl (Ctx< File > f, Arg< std::string > url, Arg< OpenFlags::Flags > flags, Arg< Access::Mode > mode=Access::None) | |
Constructor (. More... | |
template<bool from> | |
OpenImpl (OpenImpl< from > &&open) | |
template<typename Hdlr > | |
OpenImpl< true > | operator>> (Hdlr &&hdlr) |
std::string | ToString () |
![]() | |
FileOperation (Ctx< File > f, Arguments... args) | |
FileOperation (FileOperation< OpenImpl, from, Resp< void >, Arguments... > &&op) | |
virtual | ~FileOperation () |
Destructor. More... | |
![]() | |
ConcreteOperation (Args &&... args) | |
template<bool from> | |
ConcreteOperation (ConcreteOperation< Derived, from, HdlrFactory, Args... > &&op) | |
Operation< HasHndl > * | Move () |
template<typename Hdlr > | |
Derived< true > | operator>> (Hdlr &&hdlr) |
Derived< true > | operator| (FinalOperation &&fo) |
Adds a final operation to the pipeline. More... | |
Derived< true > | operator| (Operation< false > &&op) |
Derived< true > | operator| (Operation< false > &op) |
Derived< true > | operator| (Operation< true > &&op) |
Derived< true > | operator| (Operation< true > &op) |
Derived< HasHndl > | Timeout (uint16_t timeout) |
Set operation timeout. More... | |
Operation< true > * | ToHandled () |
![]() | |
Operation () | |
Constructor. More... | |
template<bool from> | |
Operation (Operation< from > &&op) | |
Move constructor between template instances. More... | |
virtual | ~Operation () |
Destructor. More... | |
Protected Member Functions | |
XRootDStatus | RunImpl (PipelineHandler *handler, uint16_t pipelineTimeout) |
![]() | |
Derived< true > | StreamImpl (ResponseHandler *handler) |
template<bool to> | |
Derived< to > | Transform () |
![]() | |
void | AddOperation (Operation< true > *op) |
void | Run (Timeout timeout, std::promise< XRootDStatus > prms, std::function< void(const XRootDStatus &)> final) |
Additional Inherited Members | |
![]() | |
static void | AllocHandler (ConcreteOperation< Derived, false, HdlrFactory, Args... > &me) |
static void | AllocHandler (ConcreteOperation< Derived, true, HdlrFactory, Args... > &me) |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, HasHndl, HdlrFactory, Args... > &me, Operation< false > &op) |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, HasHndl, HdlrFactory, Args... > &me, Operation< true > &op) |
![]() | |
Ctx< File > | file |
The file object itself. More... | |
![]() | |
std::tuple< Args... > | args |
Operation arguments. More... | |
uint16_t | timeout |
Operation timeout. More... | |
![]() | |
std::unique_ptr< PipelineHandler > | handler |
Operation handler. More... | |
bool | valid |
Flag indicating if it is a valid object. More... | |
Open operation (.
Definition at line 95 of file XrdClFileOperations.hh.
anonymous enum |
Argument indexes in the args tuple.
Enumerator | |
---|---|
UrlArg | |
FlagsArg | |
ModeArg |
Definition at line 170 of file XrdClFileOperations.hh.
|
inline |
|
inline |
Move constructor from other states
open | : the object that is being converted |
Definition at line 160 of file XrdClFileOperations.hh.
|
inline |
Overload of operator>> defined in ConcreteOperation, we're adding additional capabilities by using ExResp factory (
hdlr | : function/functor/lambda |
Definition at line 179 of file XrdClFileOperations.hh.
|
inlineprotectedvirtual |
RunImpl operation (
pipelineTimeout | : pipeline timeout |
Implements XrdCl::Operation< HasHndl >.
Definition at line 201 of file XrdClFileOperations.hh.
|
inlinevirtual |
Implements XrdCl::Operation< HasHndl >.
Definition at line 188 of file XrdClFileOperations.hh.