template <class Class, void (Class::* method)(async_dispatcher_t* dispatcher, async::GuestBellTrapBase* trap,
                                 zx_status_t status, const zx_packet_guest_bell_t* bell)>

class GuestBellTrapMethod

Defined at line 106 of file ../../sdk/lib/async/include/lib/async/cpp/trap.h

A bell trap whose handler is bound to a fixed class member function.

Usage:

class Foo {

void Handle(async_dispatcher_t* dispatcher, async::GuestBellTrapBase* trap, zx_status_t

status,

const zx_packet_guest_bell_t* bell) { ... }

async::GuestBellTrapMethod

<Foo

,

&Foo

::Handle> trap_{this};

};

Public Methods

void GuestBellTrapMethod<Class, method> (Class * instance)

Defined at line 108 of file ../../sdk/lib/async/include/lib/async/cpp/trap.h