xrootd
|
Open operation (. More...
#include <XrdClFileOperations.hh>
Classes | |
struct | ExResp |
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 (. | |
template<bool from> | |
OpenImpl (OpenImpl< from > &&open) | |
template<typename Hdlr > | |
OpenImpl< true > | operator>> (Hdlr &&hdlr) |
std::string | ToString () |
Public Member Functions inherited from XrdCl::FileOperation< OpenImpl, HasHndl, Resp< void >, Arg< std::string >, Arg< OpenFlags::Flags >, Arg< Access::Mode > > | |
FileOperation (Ctx< File > f, Arguments... args) | |
FileOperation (FileOperation< OpenImpl, from, Resp< void >, Arguments... > &&op) | |
virtual | ~FileOperation () |
Destructor. | |
Public Member Functions inherited from XrdCl::ConcreteOperation< Derived, HasHndl, HdlrFactory, Args > | |
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< true > | operator| (FinalOperation &&fo) |
Adds a final operation to the pipeline. | |
Operation< HasHndl > * | Move () |
Operation< true > * | ToHandled () |
Derived< HasHndl > | Timeout (uint16_t timeout) |
Set operation timeout. | |
Public Member Functions inherited from XrdCl::Operation< HasHndl > | |
Operation () | |
Constructor. | |
template<bool from> | |
Operation (Operation< from > &&op) | |
Move constructor between template instances. | |
virtual | ~Operation () |
Destructor. | |
Protected Member Functions | |
XRootDStatus | RunImpl (PipelineHandler *handler, uint16_t pipelineTimeout) |
Protected Member Functions inherited from XrdCl::ConcreteOperation< Derived, HasHndl, HdlrFactory, Args > | |
template<bool to> | |
Derived< to > | Transform () |
Derived< true > | StreamImpl (ResponseHandler *handler) |
Protected Member Functions inherited from XrdCl::Operation< HasHndl > | |
void | Run (Timeout timeout, std::promise< XRootDStatus > prms, std::function< void(const XRootDStatus &)> final) |
void | AddOperation (Operation< true > *op) |
Additional Inherited Members | |
Static Protected Member Functions inherited from XrdCl::ConcreteOperation< Derived, HasHndl, HdlrFactory, Args > | |
static void | AllocHandler (ConcreteOperation< Derived, true, HdlrFactory, Args... > &me) |
static void | AllocHandler (ConcreteOperation< Derived, false, HdlrFactory, Args... > &me) |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, HasHndl, HdlrFactory, Args... > &me, Operation< true > &op) |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, HasHndl, HdlrFactory, Args... > &me, Operation< false > &op) |
Protected Attributes inherited from XrdCl::FileOperation< OpenImpl, HasHndl, Resp< void >, Arg< std::string >, Arg< OpenFlags::Flags >, Arg< Access::Mode > > | |
Ctx< File > | file |
The file object itself. | |
Protected Attributes inherited from XrdCl::ConcreteOperation< Derived, HasHndl, HdlrFactory, Args > | |
std::tuple< Args... > | args |
Operation arguments. | |
uint16_t | timeout |
Operation timeout. | |
Protected Attributes inherited from XrdCl::Operation< HasHndl > | |
std::unique_ptr< PipelineHandler > | handler |
Operation handler. | |
bool | valid |
Flag indicating if it is a valid object. | |
anonymous enum |
|
inline |
Constructor (.
|
inline |
Move constructor from other states
open | : the object that is being converted |
|
inline |
Overload of operator>> defined in ConcreteOperation, we're adding additional capabilities by using ExResp factory (
hdlr | : function/functor/lambda |
References XrdCl::OpenImpl< HasHndl >::ExResp::Create().
|
inlineprotectedvirtual |
RunImpl operation (
pipelineTimeout | : pipeline timeout |
Implements XrdCl::Operation< HasHndl >.
|
inlinevirtual |