async::WaitBase

Summary

Inheritance

Direct Known Subclasses:async::Wait, async::WaitMethod< Class, method >, async::WaitOnce, async::WaitMethod< sys::ServiceWatcher,&sys::ServiceWatcher::OnWatchedEvent >

Protected functions

WaitBase(zx_handle_t object, zx_signals_t trigger, uint32_t options, async_wait_handler_t *handler)
WaitBase(const WaitBase &)=delete
WaitBase(WaitBase &&)=delete
operator=(const WaitBase &)=delete
operator=(WaitBase &&)=delete
~WaitBase()

Public functions

Begin(async_dispatcher_t *dispatcher)
zx_status_t
Cancel()
zx_status_t
is_pending() const
bool
object() const
zx_handle_t
options() const
uint32_t
set_object(zx_handle_t object)
void
set_options(uint32_t options)
void
set_trigger(zx_signals_t trigger)
void
trigger() const
zx_signals_t

Protected static functions

Dispatch(async_wait *wait)
T *

Protected functions

WaitBase

 WaitBase(
  zx_handle_t object,
  zx_signals_t trigger,
  uint32_t options,
  async_wait_handler_t *handler
)

WaitBase

 WaitBase(
  const WaitBase &
)=delete

WaitBase

 WaitBase(
  WaitBase &&
)=delete

operator=

WaitBase & operator=(
  const WaitBase &
)=delete

operator=

WaitBase & operator=(
  WaitBase &&
)=delete

~WaitBase

 ~WaitBase()

Public functions

Begin

zx_status_t Begin(
  async_dispatcher_t *dispatcher
)

Cancel

zx_status_t Cancel()

is_pending

bool is_pending() const 

object

zx_handle_t object() const 

options

uint32_t options() const 

set_object

void set_object(
  zx_handle_t object
)

set_options

void set_options(
  uint32_t options
)

set_trigger

void set_trigger(
  zx_signals_t trigger
)

trigger

zx_signals_t trigger() const 

Protected static functions

Dispatch

T * Dispatch(
  async_wait *wait
)