Kudu C++ client API
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
kudu::client::KuduStatusMemberCallback< T > Class Template Reference

The status callback that invokes a member function of an object. More...

#include <callbacks.h>

Inheritance diagram for kudu::client::KuduStatusMemberCallback< T >:
kudu::client::KuduStatusCallback

Public Types

typedef void(T::* MemberType )(const Status &s)
 A handy typedef for the member with appropriate signature.
 

Public Member Functions

 KuduStatusMemberCallback (T *object, MemberType member)
 
virtual void Run (const Status &s) OVERRIDE
 

Detailed Description

template<typename T>
class kudu::client::KuduStatusMemberCallback< T >

The status callback that invokes a member function of an object.

Constructor & Destructor Documentation

template<typename T >
kudu::client::KuduStatusMemberCallback< T >::KuduStatusMemberCallback ( T *  object,
MemberType  member 
)
inline

Build an instance of the KuduStatusMemberCallback class.

Parameters
[in]objectA pointer to the object.
[in]memberA pointer to the member function of the object to invoke.

Member Function Documentation

template<typename T >
virtual void kudu::client::KuduStatusMemberCallback< T >::Run ( const Status s)
inlinevirtual

Notify/report on the status.

Parameters
[in]sThe status to report.

Implements kudu::client::KuduStatusCallback.


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