#include <XrdClFileSystemOperations.hh>
Public Member Functions | |
FileSystemOperation (Ctx< FileSystem > fs, Args... args) | |
template<bool from> | |
FileSystemOperation (FileSystemOperation< Derived, from, Response, Args... > &&op) | |
virtual | ~FileSystemOperation () |
Destructor. | |
Public Member Functions inherited from XrdCl::ConcreteOperation< Derived, HasHndl, Response, Args... > | |
Operation< HasHndl > * | Move () |
Derived< true > | operator>> (Hdlr &&hdlr) |
Derived< true > | operator| (Operation< true > &op) |
Derived< HasHndl > | Timeout (uint16_t timeout) |
Set operation timeout. | |
Operation< true > * | ToHandled () |
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. | |
virtual std::string | ToString ()=0 |
Name of the operation. |
Protected Attributes | |
Ctx< FileSystem > | filesystem |
The file system object itself. | |
Protected Attributes inherited from XrdCl::ConcreteOperation< Derived, HasHndl, Response, 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. |
Friends | |
template<template< bool > class, bool, typename, typename ...> | |
class | FileSystemOperation |
Additional Inherited Members | |
Protected Member Functions inherited from XrdCl::ConcreteOperation< Derived, HasHndl, Response, Args... > | |
Derived< true > | StreamImpl (ResponseHandler *handler) |
Derived< to > | Transform () |
Protected Member Functions inherited from XrdCl::Operation< HasHndl > | |
void | AddOperation (Operation< true > *op) |
void | Run (Timeout timeout, std::promise< XRootDStatus > prms, std::function< void(const XRootDStatus &)> final) |
virtual XRootDStatus | RunImpl (PipelineHandler *handler, uint16_t timeout)=0 |
Static Protected Member Functions inherited from XrdCl::ConcreteOperation< Derived, HasHndl, Response, Args... > | |
static void | AllocHandler (ConcreteOperation< Derived, true, Response, Args... > &me) |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, HasHndl, Response, Args... > &me, Operation< true > &op) |
Base class for all file system releated operations
Definition at line 45 of file XrdClFileSystemOperations.hh.
|
inline |
Constructor
fs | : file system on which the operation will be performed |
args | : file operation arguments |
Definition at line 57 of file XrdClFileSystemOperations.hh.
References XrdCl::ConcreteOperation< Derived, HasHndl, Response, Args... >::ConcreteOperation, XrdCl::ConcreteOperation< Derived, HasHndl, Response, Args... >::args, and filesystem.
|
inline |
Move constructor from other states
op | : the object that is being converted |
Definition at line 70 of file XrdClFileSystemOperations.hh.
References XrdCl::ConcreteOperation< Derived, HasHndl, Response, Args... >::ConcreteOperation, FileSystemOperation, and filesystem.
|
inlinevirtual |
|
friend |
Definition at line 48 of file XrdClFileSystemOperations.hh.
References FileSystemOperation.
Referenced by FileSystemOperation, and FileSystemOperation().
|
protected |
The file system object itself.
Definition at line 87 of file XrdClFileSystemOperations.hh.
Referenced by FileSystemOperation(), and FileSystemOperation().