xrootd
|
Lambda wrapper. More...
#include <XrdClOperationHandlers.hh>
Public Member Functions | |
ExOpenFuncWrapper (const Ctx< 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 | |
Ctx< File > | f |
std::function< void(XRootDStatus &, StatInfo &)> | fun |
user defined function, functor or lambda More... | |
Additional Inherited Members | |
![]() | |
static ResponseHandler * | Wrap (std::function< void(XRootDStatus &, AnyObject &)> func) |
static ResponseHandler * | Wrap (std::function< void(XRootDStatus *, AnyObject *)> func) |
Lambda wrapper.
|
inline |
Constructor.
func | : function, functor or lambda |
|
inlinevirtual |
Callback method.
Reimplemented from XrdCl::ResponseHandler.
References f, fun, and XrdCl::Status::IsOK().
Referenced by HandleResponse().
|
private |
user defined function, functor or lambda
Referenced by HandleResponse().