xrootd
|
Lambda wrapper. More...
#include <XrdClOperationHandlers.hh>
Public Member Functions | |
ExOpenFuncWrapper (File &f, std::function< void(XRootDStatus &, StatInfo &)> handleFunction) | |
Constructor. More... | |
void | HandleResponse (XRootDStatus *status, AnyObject *response) |
Callback method. More... | |
![]() | |
virtual | ~ResponseHandler () |
virtual void | HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList) |
Private Attributes | |
File & | f |
std::function< void(XRootDStatus &, StatInfo &)> | fun |
user defined function, functor or lambda More... | |
Static Private Attributes | |
static StatInfo | nullref |
Null reference to the response (not really but acts as one) More... | |
Lambda wrapper.
|
inline |
Constructor.
func | : function, functor or lambda |
|
inlinevirtual |
Callback method.
Reimplemented from XrdCl::ResponseHandler.
References fun, XrdCl::Status::IsOK(), nullref, and XrdCl::File::Stat().
|
private |
|
private |
user defined function, functor or lambda
Referenced by HandleResponse().
|
staticprivate |
Null reference to the response (not really but acts as one)
Referenced by HandleResponse().