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

List of all members.

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] object A pointer to the object.
[in] member A 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  )  [inline, virtual]

Notify/report on the status.

Parameters:
[in] s The status to report.

Implements kudu::client::KuduStatusCallback.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines