XRootD
Loading...
Searching...
No Matches
XrdCl::PrepareImpl< HasHndl > Class Template Reference

Prepare operation (. More...

#include <XrdClFileSystemOperations.hh>

Inheritance diagram for XrdCl::PrepareImpl< HasHndl >:
Collaboration diagram for XrdCl::PrepareImpl< HasHndl >:

Public Types

enum  {
  FileListArg ,
  FlagsArg ,
  PriorityArg
}
 Argument indexes in the args tuple. More...
enum  Flags

Public Member Functions

std::string ToString ()
Public Member Functions inherited from XrdCl::FileSystemOperation< PrepareImpl, HasHndl, Resp< Buffer >, Arg< std::vector< std::string > >, Arg< PrepareFlags::Flags >, Arg< uint8_t > >
virtual ~FileSystemOperation ()
 Destructor.
Public Member Functions inherited from XrdCl::ConcreteOperation< PrepareImpl, HasHndl, Resp< Buffer >, Args... >
Operation< HasHndl > * Move ()
PrepareImpl< true > operator>> (Hdlr &&hdlr)
PrepareImpl< true > operator| (Operation< true > &op)
PrepareImpl< 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.

Protected Member Functions

XRootDStatus RunImpl (PipelineHandler *handler, uint16_t pipelineTimeout)
Protected Member Functions inherited from XrdCl::ConcreteOperation< PrepareImpl, HasHndl, Resp< Buffer >, Args... >
PrepareImpl< true > StreamImpl (ResponseHandler *handler)
PrepareImpl< toTransform ()
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)

Additional Inherited Members

Static Protected Member Functions inherited from XrdCl::ConcreteOperation< PrepareImpl, HasHndl, Resp< Buffer >, Args... >
static void AllocHandler (ConcreteOperation< PrepareImpl, true, Resp< Buffer >, Args... > &me)
static PrepareImpl< true > PipeImpl (ConcreteOperation< PrepareImpl, HasHndl, Resp< Buffer >, Args... > &me, Operation< true > &op)
Protected Attributes inherited from XrdCl::FileSystemOperation< PrepareImpl, HasHndl, Resp< Buffer >, Arg< std::vector< std::string > >, Arg< PrepareFlags::Flags >, Arg< uint8_t > >
Ctx< FileSystemfilesystem
 The file system object itself.
Protected Attributes inherited from XrdCl::ConcreteOperation< PrepareImpl, HasHndl, Resp< Buffer >, Args... >
std::tuple< Args... > args
 Operation arguments.
uint16_t timeout
 Operation timeout.
Protected Attributes inherited from XrdCl::Operation< HasHndl >
std::unique_ptr< PipelineHandlerhandler
 Operation handler.
bool valid
 Flag indicating if it is a valid object.

Detailed Description

template<bool HasHndl>
class XrdCl::PrepareImpl< HasHndl >

Prepare operation (.

See also
FileSystemOperation)

Definition at line 799 of file XrdClFileSystemOperations.hh.

Member Enumeration Documentation

◆ anonymous enum

template<bool HasHndl>
anonymous enum

Argument indexes in the args tuple.

Enumerator
FileListArg 
FlagsArg 
PriorityArg 

Definition at line 813 of file XrdClFileSystemOperations.hh.

◆ Flags

template<bool HasHndl>
enum XrdCl::PrepareFlags::Flags

Definition at line 175 of file XrdClFileSystem.hh.

176 {
177 None = 0,
179 Fresh = kXR_fresh,
181 Stage = kXR_stage,
186 Evict = kXR_evict << 8
190 };

Member Function Documentation

◆ RunImpl()

template<bool HasHndl>
XRootDStatus XrdCl::PrepareImpl< HasHndl >::RunImpl ( PipelineHandler * handler,
uint16_t pipelineTimeout )
inlineprotectedvirtual

RunImpl operation (

See also
Operation)
Parameters
params: container with parameters forwarded from previous operation
Returns
: status of the operation

Implements XrdCl::Operation< HasHndl >.

Definition at line 832 of file XrdClFileSystemOperations.hh.

◆ ToString()

template<bool HasHndl>
std::string XrdCl::PrepareImpl< HasHndl >::ToString ( )
inlinevirtual
Returns
: name of the operation (
See also
Operation)

Implements XrdCl::Operation< HasHndl >.

Definition at line 818 of file XrdClFileSystemOperations.hh.

819 {
820 return "Prepare";
821 }

The documentation for this class was generated from the following file: