|
XRootD
|
#include <XrdClOperationHandlers.hh>
Inheritance diagram for XrdCl::FutureWrapper< Response >:
Collaboration diagram for XrdCl::FutureWrapper< Response >:Public Member Functions | |
| FutureWrapper (std::future< Response > &ftr) | |
| void | HandleResponse (XRootDStatus *status, AnyObject *response) |
| Callback method. More... | |
Public Member Functions inherited from XrdCl::FutureWrapperBase< Response > | |
| FutureWrapperBase (std::future< Response > &ftr) | |
| virtual | ~FutureWrapperBase () |
| Destructor. More... | |
Public Member Functions inherited from XrdCl::ResponseHandler | |
| virtual | ~ResponseHandler () |
| virtual void | HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList) |
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) |
Protected Member Functions inherited from XrdCl::FutureWrapperBase< Response > | |
| void | SetException (const XRootDStatus &err) |
Protected Attributes inherited from XrdCl::FutureWrapperBase< Response > | |
| bool | fulfilled |
| std::promise< Response > | prms |
| promise that corresponds to the future More... | |
A wrapper handler for a std::promise / std::future.
Definition at line 511 of file XrdClOperationHandlers.hh.
|
inline |
Constructor,
| ftr | : the future to be linked with this handler |
Definition at line 520 of file XrdClOperationHandlers.hh.
|
inlinevirtual |
Callback method.
Reimplemented from XrdCl::ResponseHandler.
Definition at line 527 of file XrdClOperationHandlers.hh.
References XrdCl::errInternal, XrdCl::FutureWrapperBase< Response >::fulfilled, XrdCl::Status::IsOK(), XrdCl::FutureWrapperBase< Response >::prms, XrdCl::FutureWrapperBase< Response >::SetException(), and XrdCl::stError.
Here is the call graph for this function: