xrootd
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Friends | List of all members
XrdCl::FileSystemOperation< Derived, HasHndl, Response, Args > Class Template Reference

#include <XrdClFileSystemOperations.hh>

Inheritance diagram for XrdCl::FileSystemOperation< Derived, HasHndl, Response, Args >:
Inheritance graph
[legend]
Collaboration diagram for XrdCl::FileSystemOperation< Derived, HasHndl, Response, Args >:
Collaboration graph
[legend]

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... >
 ConcreteOperation (Args &&... args)
 
 ConcreteOperation (ConcreteOperation< Derived, from, Response, Args... > &&op)
 
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.
 
virtual std::string ToString ()=0
 Name of the operation.
 

Protected Attributes

Ctx< FileSystemfilesystem
 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< PipelineHandlerhandler
 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< 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)
 
virtual XRootDStatus RunImpl (PipelineHandler *handler, uint16_t timeout)=0
 
void AddOperation (Operation< true > *op)
 
- Static Protected Member Functions inherited from XrdCl::ConcreteOperation< Derived, HasHndl, Response, Args... >
static void AllocHandler (ConcreteOperation< Derived, true, Response, Args... > &me)
 
static void AllocHandler (ConcreteOperation< Derived, false, Response, Args... > &me)
 
static Derived< true > PipeImpl (ConcreteOperation< Derived, HasHndl, Response, Args... > &me, Operation< true > &op)
 
static Derived< true > PipeImpl (ConcreteOperation< Derived, HasHndl, Response, Args... > &me, Operation< false > &op)
 

Detailed Description

template<template< bool > class Derived, bool HasHndl, typename Response, typename ... Args>
class XrdCl::FileSystemOperation< Derived, HasHndl, Response, Args >

Base class for all file system releated operations

Constructor & Destructor Documentation

◆ FileSystemOperation() [1/2]

template<template< bool > class Derived, bool HasHndl, typename Response , typename ... Args>
XrdCl::FileSystemOperation< Derived, HasHndl, Response, Args >::FileSystemOperation ( Ctx< FileSystem fs,
Args...  args 
)
inline

Constructor

Parameters
fs: file system on which the operation will be performed
args: file operation arguments

◆ FileSystemOperation() [2/2]

template<template< bool > class Derived, bool HasHndl, typename Response , typename ... Args>
template<bool from>
XrdCl::FileSystemOperation< Derived, HasHndl, Response, Args >::FileSystemOperation ( FileSystemOperation< Derived, from, Response, Args... > &&  op)
inline

Move constructor from other states

  • from : state from which the object is being converted
Parameters
op: the object that is being converted

◆ ~FileSystemOperation()

template<template< bool > class Derived, bool HasHndl, typename Response , typename ... Args>
virtual XrdCl::FileSystemOperation< Derived, HasHndl, Response, Args >::~FileSystemOperation ( )
inlinevirtual

Destructor.

Friends And Related Symbol Documentation

◆ FileSystemOperation

template<template< bool > class Derived, bool HasHndl, typename Response , typename ... Args>
template<template< bool > class, bool , typename , typename ... >
friend class FileSystemOperation
friend

Member Data Documentation

◆ filesystem

template<template< bool > class Derived, bool HasHndl, typename Response , typename ... Args>
Ctx<FileSystem> XrdCl::FileSystemOperation< Derived, HasHndl, Response, Args >::filesystem
protected

The file system object itself.


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