XrdCl::ConcreteOperation< Derived, HasHndl, HdlrFactory, Args > Class Template Reference
#include <XrdClOperations.hh>
List of all members.
Public Member Functions |
| 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< HasHndl > | Recovery (rcvry_func recovery) |
| Set recovery procedure in case the operation fails.
|
Operation< HasHndl > * | Move () |
Operation< true > * | ToHandled () |
Protected Member Functions |
template<bool to> |
Derived< to > | Transform () |
Derived< true > | StreamImpl (ResponseHandler *handler) |
Static Protected Member Functions |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, true, HdlrFactory, Args...> &me, Operation< true > &op) |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, true, HdlrFactory, Args...> &me, Operation< false > &op) |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, false, HdlrFactory, Args...> &me, Operation< true > &op) |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, false, HdlrFactory, Args...> &me, Operation< false > &op) |
Protected Attributes |
std::tuple< Args...> | args |
| Operation arguments.
|
rcvry_func | recovery |
| The recovery routine for this operation.
|
Friends |
class | ConcreteOperation |
Detailed Description
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
class XrdCl::ConcreteOperation< Derived, HasHndl, HdlrFactory, Args >
Concrete Operation template Defines | and >> operator as well as operation arguments.
- Derived : the class that derives from this template (CRTP)
- HasHndl : true if operation has a handler, false otherwise
- Args : operation arguments
Constructor & Destructor Documentation
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
Constructor
- Parameters:
-
| args | : operation arguments |
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
template<bool from>
Move constructor from other states
- from : state from which the object is being converted
- Parameters:
-
| op | : the object that is being converted |
Member Function Documentation
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
template<typename Hdlr >
Adds ResponseHandler/function/functor/lambda/future handler for the operation.
Note: due to reference collapsing this covers both l-value and r-value references.
- Parameters:
-
| func | : function/functor/lambda |
Reimplemented in XrdCl::OpenImpl< HasHndl >.
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
Creates a pipeline of 2 or more operations
- Parameters:
-
- Returns:
- : handled operation
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
Creates a pipeline of 2 or more operations
- Parameters:
-
- Returns:
- handled operation
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
Creates a pipeline of 2 or more operations
- Parameters:
-
- Returns:
- : handled operation
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
Creates a pipeline of 2 or more operations
- Parameters:
-
- Returns:
- : handled operation
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
Implements operator| functionality
- Parameters:
-
| me | : reference to myself (*this) |
| op | : reference to the other operation |
- Returns:
- : move-copy of myself
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
Implements operator| functionality
- Parameters:
-
| me | : reference to myself (*this) |
| op | : reference to the other operation |
- Returns:
- : move-copy of myself
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
Implements operator| functionality
- Parameters:
-
| me | : reference to myself (*this) |
| op | : reference to the other operation |
- Returns:
- : move-copy of myself
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
Set recovery procedure in case the operation fails.
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
template<bool to>
Transform into a new instance with desired state
- Returns:
- : new instance in the desired state
Friends And Related Function Documentation
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
Member Data Documentation
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
template<template< bool > class Derived, bool HasHndl, typename HdlrFactory, typename... Args>
The documentation for this class was generated from the following file: