Lambda wrapper. More...
#include <XrdClOperationHandlers.hh>
Public Member Functions | |
ExOpenFuncWrapper (File &f, std::function< void(XRootDStatus &, StatInfo &)> handleFunction) | |
Constructor. | |
void | HandleResponse (XRootDStatus *status, AnyObject *response) |
Callback method. | |
Private Attributes | |
File & | f |
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). |
Lambda wrapper.
XrdCl::ExOpenFuncWrapper::ExOpenFuncWrapper | ( | File & | f, | |
std::function< void(XRootDStatus &, StatInfo &)> | handleFunction | |||
) | [inline] |
Constructor.
func | : function, functor or lambda |
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().
File& XrdCl::ExOpenFuncWrapper::f [private] |
std::function<void( XRootDStatus&, StatInfo& )> XrdCl::ExOpenFuncWrapper::fun [private] |
user defined function, functor or lambda
Referenced by HandleResponse().
StatInfo XrdCl::ExOpenFuncWrapper::nullref [static, private] |
Null reference to the response (not really but acts as one).
Referenced by HandleResponse().