fdf::Dispatcher

Summary

Inheritance

Direct Known Subclasses:fdf::SynchronizedDispatcher, fdf::UnsynchronizedDispatcher

Constructors and Destructors

Dispatcher(fdf_dispatcher_t *dispatcher)
Dispatcher(const Dispatcher & to_copy)
Dispatcher(Dispatcher && other)
~Dispatcher()

Public types

HandleType using
fdf_dispatcher_t *
ShutdownHandler using
fit::callback< void(fdf_dispatcher_t *dispatcher)>

Friend classes

fdf_env::DispatcherBuilder
friend class
fdf_internal::TestDispatcherBuilder
friend class

Protected attributes

dispatcher_
fdf_dispatcher_t *

Public static functions

Downcast(async_dispatcher_t *async_dispatcher)
GetCurrent()

Public functions

SealAllowSync()
ShutdownAsync()
void
async_dispatcher() const
async_dispatcher_t *
borrow() const
close()
void
get() const
fdf_dispatcher_t *
operator=(const Dispatcher & other)=delete
operator=(Dispatcher && other) noexcept
options() const
std::optional< uint32_t >
release()
fdf_dispatcher_t *
reset(fdf_dispatcher_t *dispatcher)
void

Public types

HandleType

fdf_dispatcher_t * HandleType

ShutdownHandler

fit::callback< void(fdf_dispatcher_t *dispatcher)> ShutdownHandler

Friend classes

fdf_env::DispatcherBuilder

friend class fdf_env::DispatcherBuilder

fdf_internal::TestDispatcherBuilder

friend class fdf_internal::TestDispatcherBuilder

Protected attributes

dispatcher_

fdf_dispatcher_t * dispatcher_

Public static functions

Downcast

Unowned< Dispatcher > Downcast(
  async_dispatcher_t *async_dispatcher
)

GetCurrent

Unowned< Dispatcher > GetCurrent()

Public functions

Dispatcher

 Dispatcher(
  fdf_dispatcher_t *dispatcher
)

Dispatcher

 Dispatcher(
  const Dispatcher & to_copy
)=delete

Dispatcher

 Dispatcher(
  Dispatcher && other
) noexcept

SealAllowSync

zx::result SealAllowSync()

ShutdownAsync

void ShutdownAsync()

async_dispatcher

async_dispatcher_t * async_dispatcher() const 

borrow

Unowned< Dispatcher > borrow() const 

close

void close()

get

fdf_dispatcher_t * get() const 

operator=

Dispatcher & operator=(
  const Dispatcher & other
)=delete

operator=

Dispatcher & operator=(
  Dispatcher && other
) noexcept

options

std::optional< uint32_t > options() const 

release

fdf_dispatcher_t * release()

reset

void reset(
  fdf_dispatcher_t *dispatcher
)

~Dispatcher

 ~Dispatcher()