xrootd
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 (FileSystem *fs, Args... args)
 
 FileSystemOperation (FileSystem &fs, Args... args)
 
template<bool from>
 FileSystemOperation (FileSystemOperation< Derived, from, Response, Args... > &&op)
 
virtual ~FileSystemOperation ()
 Destructor. More...
 
- 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)
 
- Public Member Functions inherited from XrdCl::Operation< HasHndl >
 Operation ()
 Constructor. More...
 
template<bool from>
 Operation (Operation< from > &&op)
 Move constructor between template instances. More...
 
virtual ~Operation ()
 Destructor. More...
 
virtual std::string ToString ()=0
 Name of the operation. More...
 

Protected Attributes

FileSystemfilesystem
 The file system object itself. More...
 
- Protected Attributes inherited from XrdCl::ConcreteOperation< Derived, HasHndl, Response, Args... >
std::tuple< Args... > args
 Operation arguments. More...
 
- Protected Attributes inherited from XrdCl::Operation< HasHndl >
std::unique_ptr< PipelineHandlerhandler
 Operation handler. More...
 
bool valid
 Flag indicating if it is a valid object. More...
 

Friends

template<template< bool > class, bool , typename , typename ... >
class FileSystemOperation
 

Additional Inherited Members

- Protected Member Functions inherited from XrdCl::ConcreteOperation< Derived, HasHndl, Response, Args... >
Operation< HasHndl > * Move ()
 
Operation< true > * ToHandled ()
 
Derived< to > Transform ()
 
Derived< true > StreamImpl (ResponseHandler *handler, bool own)
 
- Protected Member Functions inherited from XrdCl::Operation< HasHndl >
void Run (std::promise< XRootDStatus > prms, std::function< void(const XRootDStatus &)> final)
 
virtual XRootDStatus RunImpl ()=0
 
void ForceHandler (const XRootDStatus &status)
 
void AddOperation (Operation< true > *op)
 
- Static Protected Member Functions inherited from XrdCl::ConcreteOperation< Derived, HasHndl, Response, Args... >
static Derived< true > PipeImpl (ConcreteOperation< Derived, true, Response, Args... > &me, Operation< true > &op)
 
static Derived< true > PipeImpl (ConcreteOperation< Derived, true, Response, Args... > &me, Operation< false > &op)
 
static Derived< true > PipeImpl (ConcreteOperation< Derived, false, Response, Args... > &me, Operation< true > &op)
 
static Derived< true > PipeImpl (ConcreteOperation< Derived, false, 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/3]

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

Constructor

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

◆ FileSystemOperation() [2/3]

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

Constructor

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

◆ FileSystemOperation() [3/3]

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 Function 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>
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: