template <class Class, void (Class::* method)(async_dispatcher_t* dispatcher, async::WaitBase* wait,
zx_status_t status, const zx_packet_signal_t* signal)>
class WaitMethod
Defined at line 181 of file ../../sdk/lib/async/include/lib/async/cpp/wait.h
An asynchronous wait whose handler is bound to a fixed class member function.
Usage:
class Foo {
void Handle(async_dispatcher_t* dispatcher, async::WaitBase* wait, zx_status_t status,
const zx_packet_signal_t* signal) { ... }
async::WaitMethod
<Foo
,
&Foo
::Handle> wait_{this};
};
Public Methods
void WaitMethod<Class, method> (Class * instance, zx_handle_t object, zx_signals_t trigger, uint32_t options)
Defined at line 183 of file ../../sdk/lib/async/include/lib/async/cpp/wait.h
void ~WaitMethod<Class, method> ()
Defined at line 187 of file ../../sdk/lib/async/include/lib/async/cpp/wait.h