XrdCl::OpenImpl< HasHndl >::ExResp Struct Reference

Inheritance diagram for XrdCl::OpenImpl< HasHndl >::ExResp:
Inheritance graph
[legend]
Collaboration diagram for XrdCl::OpenImpl< HasHndl >::ExResp:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ExResp (XrdCl::File &file)
ResponseHandlerCreate (std::function< void(XRootDStatus &, StatInfo &)> func)

Public Attributes

XrdCl::Filefile
 The underlying XrdCl::File object.

Detailed Description

template<bool HasHndl>
struct XrdCl::OpenImpl< HasHndl >::ExResp

Helper for extending the operator>> capabilities.

In addition to standard overloads for std::function adds:


Constructor & Destructor Documentation

template<bool HasHndl>
XrdCl::OpenImpl< HasHndl >::ExResp::ExResp ( XrdCl::File file  )  [inline]

Constructor

Parameters:
file : the underlying XrdCl::File object

Member Function Documentation

template<bool HasHndl>
ResponseHandler* XrdCl::OpenImpl< HasHndl >::ExResp::Create ( std::function< void(XRootDStatus &, StatInfo &)>  func  )  [inline]

A factory method

Parameters:
func : the function/functor/lambda that should be wrapped
Returns:
: ResponseHandler instance

Referenced by XrdCl::OpenImpl< HasHndl >::operator>>().


Member Data Documentation

template<bool HasHndl>
XrdCl::File& XrdCl::OpenImpl< HasHndl >::ExResp::file

The underlying XrdCl::File object.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Jul 2019 for xrootd by  doxygen 1.6.1