template <class Class, void (Class::* method)(async_dispatcher_t* dispatcher, async::IrqBase* irq,
zx_status_t status, const zx_packet_interrupt_t* interrupt)>
class IrqMethod
Defined at line 124 of file ../../sdk/lib/async/include/lib/async/cpp/irq.h
An asynchronous irq whose handler is bound to a fixed class member function.
Usage:
class Foo {
void Handle(async_dispatcher_t* dispatcher, async::IrqBase* irq, zx_status_t status,
const zx_packet_interrupt_t* interrupt) { ... }
async::IrqMethod
<Foo
,
&Foo
::Handle> irq_{this};
};
Public Methods
void IrqMethod<Class, method> (Class * instance, zx_handle_t object, zx_signals_t trigger)
Creates a irqMethod with options == 0.
Defined at line 127 of file ../../sdk/lib/async/include/lib/async/cpp/irq.h
void IrqMethod<Class, method> (Class * instance, zx_handle_t object, zx_signals_t trigger, uint32_t options)
Creates a IrqMethod with the provided |options|.
Defined at line 132 of file ../../sdk/lib/async/include/lib/async/cpp/irq.h
void ~IrqMethod<Class, method> ()
Defined at line 135 of file ../../sdk/lib/async/include/lib/async/cpp/irq.h