fidl::BindingSet

Summary

Constructors and Destructors

BindingSet()
BindingSet(const BindingSet &)
BindingSet(BindingSet &&)

Public types

Binding using
::fidl::Binding< Interface, ImplPtr >
ErrorHandler using
fit::function< void(zx_status_t)>
StorageType using
std::vector< std::unique_ptr< Binding >>
iterator using
typename StorageType::iterator

Public functions

AddBinding(ImplPtr impl, InterfaceRequest< Interface > request, async_dispatcher_t *dispatcher, ErrorHandler handler)
void
AddBinding(ImplPtr impl, async_dispatcher_t *dispatcher, ErrorHandler handler)
InterfaceHandle< Interface >
CloseAll()
void
CloseAll(zx_status_t epitaph_value)
void
CloseBinding(const T & impl, zx_status_t epitaph_value)
bool
GetHandler(ImplPtr impl, async_dispatcher_t *dispatcher)
RemoveBinding(const T & impl)
bool
bindings() const
const StorageType &
operator=(const BindingSet &)=delete
operator=(BindingSet &&)=delete
set_empty_set_handler(fit::closure empty_set_handler)
void
size() const
size_t

Public types

Binding

::fidl::Binding< Interface, ImplPtr > Binding

ErrorHandler

fit::function< void(zx_status_t)> ErrorHandler

StorageType

std::vector< std::unique_ptr< Binding >> StorageType

iterator

typename StorageType::iterator iterator

Public functions

AddBinding

void AddBinding(
  ImplPtr impl,
  InterfaceRequest< Interface > request,
  async_dispatcher_t *dispatcher,
  ErrorHandler handler
)

AddBinding

InterfaceHandle< Interface > AddBinding(
  ImplPtr impl,
  async_dispatcher_t *dispatcher,
  ErrorHandler handler
)

BindingSet

 BindingSet()=default

BindingSet

 BindingSet(
  const BindingSet &
)=delete

BindingSet

 BindingSet(
  BindingSet &&
)=delete

CloseAll

void CloseAll()

CloseAll

void CloseAll(
  zx_status_t epitaph_value
)

CloseBinding

bool CloseBinding(
  const T & impl,
  zx_status_t epitaph_value
)

GetHandler

InterfaceRequestHandler< Interface > GetHandler(
  ImplPtr impl,
  async_dispatcher_t *dispatcher
)

RemoveBinding

bool RemoveBinding(
  const T & impl
)

bindings

const StorageType & bindings() const 

operator=

BindingSet & operator=(
  const BindingSet &
)=delete

operator=

BindingSet & operator=(
  BindingSet &&
)=delete

set_empty_set_handler

void set_empty_set_handler(
  fit::closure empty_set_handler
)

size

size_t size() const