Kudu C++ client API
|
The status callback that invokes a member function of an object. More...
#include <callbacks.h>
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 |
The status callback that invokes a member function of an object.
|
inline |
Build an instance of the KuduStatusMemberCallback class.
[in] | object | A pointer to the object. |
[in] | member | A pointer to the member function of the object to invoke. |
|
inlinevirtual |
Notify/report on the status.
[in] | s | The status to report. |
Implements kudu::client::KuduStatusCallback.