XrdCl::ExOpenFuncWrapper Class Reference

Lambda wrapper. More...

#include <XrdClOperationHandlers.hh>

Inheritance diagram for XrdCl::ExOpenFuncWrapper:
Inheritance graph
[legend]
Collaboration diagram for XrdCl::ExOpenFuncWrapper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ExOpenFuncWrapper (File &f, std::function< void(XRootDStatus &, StatInfo &)> handleFunction)
 Constructor.
void HandleResponse (XRootDStatus *status, AnyObject *response)
 Callback method.

Private Attributes

Filef
std::function< void(XRootDStatus
&, StatInfo &)> 
fun
 user defined function, functor or lambda

Static Private Attributes

static StatInfo nullref
 Null reference to the response (not really but acts as one).

Detailed Description

Lambda wrapper.


Constructor & Destructor Documentation

XrdCl::ExOpenFuncWrapper::ExOpenFuncWrapper ( File f,
std::function< void(XRootDStatus &, StatInfo &)>  handleFunction 
) [inline]

Constructor.

Parameters:
func : function, functor or lambda

Member Function Documentation

void XrdCl::ExOpenFuncWrapper::HandleResponse ( XRootDStatus status,
AnyObject response 
) [inline, virtual]

Callback method.

Reimplemented from XrdCl::ResponseHandler.

References fun, XrdCl::Status::IsOK(), nullref, and XrdCl::File::Stat().


Member Data Documentation

std::function<void( XRootDStatus&, StatInfo& )> XrdCl::ExOpenFuncWrapper::fun [private]

user defined function, functor or lambda

Referenced by HandleResponse().

Null reference to the response (not really but acts as one).

Referenced by HandleResponse().


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

Generated on 3 Feb 2020 for xrootd by  doxygen 1.6.1