xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
XrdCl::FunctionWrapper< void > Class Template Reference

#include <XrdClOperationHandlers.hh>

Inheritance diagram for XrdCl::FunctionWrapper< void >:
Inheritance graph
[legend]
Collaboration diagram for XrdCl::FunctionWrapper< void >:
Collaboration graph
[legend]

Public Member Functions

 FunctionWrapper (std::function< void(XRootDStatus &)> handleFunction)
 Constructor. More...
 
- Public Member Functions inherited from XrdCl::ResponseHandler
virtual ~ResponseHandler ()
 
virtual void HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList)
 
virtual void HandleResponse (XRootDStatus *status, AnyObject *response)
 

Additional Inherited Members

- Static Public Member Functions inherited from XrdCl::ResponseHandler
static ResponseHandlerWrap (std::function< void(XRootDStatus &, AnyObject &)> func)
 
static ResponseHandlerWrap (std::function< void(XRootDStatus *, AnyObject *)> func)
 

Detailed Description

template<>
class XrdCl::FunctionWrapper< void >

Lambda wrapper

Template specialization for responses that return no value (void)

Constructor & Destructor Documentation

XrdCl::FunctionWrapper< void >::FunctionWrapper ( std::function< void(XRootDStatus &)>  handleFunction)
inline

Constructor.

Parameters
func: function, functor or lambda (1 argument)

The documentation for this class was generated from the following file: