class WakeVector
Defined at line 37 of file ../../zircon/kernel/lib/wake-vector/include/lib/wake-vector.h
WakeVector is an interface implemented by objects that will generate system wake events using the
WakeEvent type. This interface provides diagnostic information about the wake vector to the
suspend subsystem.
Public Methods
void GetDiagnostics (Diagnostics & diagnostics_out)
Provides diagnostic information about the wake vector object implementing this interface.
template <typename Class>
void WakeVector (WakeEvent Class::* wake_event_member)
This constructor verifies that the derived class has a WakeEvent member at compile time to help
avoid misuse. A derived class must pass a pointer-to-member to its WakeEvent member. This
constructor does not touch the contents of the WakeEvent instance, which most likely is
uninitialized at this point.
Example:
MyWakeVector::MyWakeVector() : WakeVector{
&MyWakeVector
::wake_event_}, wake_event_{*this} {}
Defined at line 49 of file ../../zircon/kernel/lib/wake-vector/include/lib/wake-vector.h
void ~WakeVector ()
Defined at line 52 of file ../../zircon/kernel/lib/wake-vector/include/lib/wake-vector.h