xrootd
|
Lambda wrapper. More...
#include <XrdClOperationHandlers.hh>
Public Member Functions | |
ExOpenFuncWrapper (const Ctx< File > &f, std::function< void(XRootDStatus &, StatInfo &)> handleFunction) | |
Constructor. | |
ExOpenFuncWrapper (const Ctx< File > &f, std::function< void(XRootDStatus &, StatInfo &, HostList &)> handleFunction) | |
Constructor. | |
void | HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList) |
Callback method. | |
Public Member Functions inherited from XrdCl::ResponseHandler | |
virtual | ~ResponseHandler () |
virtual void | HandleResponse (XRootDStatus *status, AnyObject *response) |
Private Attributes | |
Ctx< File > | f |
std::function< void(XRootDStatus &, StatInfo &, HostList &)> | fun |
user defined function, functor or lambda | |
Additional Inherited Members | |
Static Public Member Functions inherited from XrdCl::ResponseHandler | |
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 (2 arguments) |
|
inline |
Constructor.
func | : function, functor or lambda (3 arguments) |
|
inlinevirtual |
Callback method.
Reimplemented from XrdCl::ResponseHandler.
References f, fun, and XrdCl::Status::IsOK().
Referenced by HandleResponseWithHosts().
|
private |
user defined function, functor or lambda
Referenced by HandleResponseWithHosts().