fdf

Summary

Typedefs

AnyHandler using
ServiceInstanceHandler using
fidl::ServiceInstanceHandler< fidl::internal::DriverTransport >
TypedHandler using
fit::function< void(fidl::internal::ServerEndType< Protocol > request)>
UnownedChannel using
UnownedDispatcher using
UnownedSynchronizedDispatcher using
UnownedUnsynchronizedDispatcher using

Functions

BindServer(fdf_dispatcher_t *dispatcher, ServerEnd< Protocol > server_end, ServerImpl *impl, OnUnbound && on_unbound)
BindServer(fdf_dispatcher_t *dispatcher, ServerEnd< Protocol > server_end, std::unique_ptr< ServerImpl > && impl, OnUnbound && on_unbound)
BindServer(fdf_dispatcher_t *dispatcher, ServerEnd< Protocol > server_end, std::shared_ptr< ServerImpl > impl, OnUnbound && on_unbound)
Client(fdf::ClientEnd< Protocol >, fdf_dispatcher_t *, AsyncEventHandlerReference &&) -> Client< Protocol >
Client(fdf::ClientEnd< Protocol >, fdf_dispatcher_t *) -> Client< Protocol >
CreateEndpoints()
CreateEndpoints(fdf::ClientEnd< Protocol > *out_client)
CreateEndpoints(fdf::ServerEnd< Protocol > *out_server)
ProtocolConnect(zx::channel token, fdf::Channel channel)
zx_status_t
RunOnDispatcherSync(async_dispatcher_t *dispatcher, fit::closure task)
SharedClient(fdf::ClientEnd< Protocol >, fdf_dispatcher_t *, AsyncEventHandlerReference &&, fidl::AnyTeardownObserver) -> SharedClient< Protocol >
SharedClient(fdf::ClientEnd< Protocol >, fdf_dispatcher_t *, AsyncEventHandlerReference &&) -> SharedClient< Protocol >
SharedClient(fdf::ClientEnd< Protocol >, fdf_dispatcher_t *) -> SharedClient< Protocol >
WaitFor(libsync::Completion & completion)
WaitFor(std::shared_future< T > future)
zx::result< T >
WaitFor(std::future< T > future)
zx::result< T >
WireCall(const ClientEnd< FidlProtocol > & client_end)
fdf::internal::SyncEndpointVeneer< fidl::internal::WireSyncClientImpl, FidlProtocol >
WireCall(const UnownedClientEnd< FidlProtocol > & client_end)
fdf::internal::SyncEndpointVeneer< fidl::internal::WireSyncClientImpl, FidlProtocol >
WireSendEvent(const ServerBindingRef< FidlProtocol > & binding_ref)
fdf::internal::WeakEventSenderVeneer< fidl::internal::WireWeakBufferEventSender, FidlProtocol >
WireSendEvent(const ServerBinding< FidlProtocol > & binding)
fdf::internal::WeakEventSenderVeneer< fidl::internal::WireWeakBufferEventSender, FidlProtocol >
WireSendEvent(const ServerEnd< FidlProtocol > & server_end)
internal::SyncEndpointVeneer< fidl::internal::WireEventSender, FidlProtocol >
WireSendEvent(UnownedServerEnd< FidlProtocol > server_end)
internal::SyncEndpointVeneer< fidl::internal::WireEventSender, FidlProtocol >
WireSyncClient(ClientEnd< FidlProtocol >) -> WireSyncClient< FidlProtocol >
operator!=(const Unowned< T > & a, const Unowned< T > & b)
bool
operator<(const Unowned< T > & a, const Unowned< T > & b)
bool
operator<=(const Unowned< T > & a, const Unowned< T > & b)
bool
operator==(const Unowned< T > & a, const Unowned< T > & b)
bool
operator>(const Unowned< T > & a, const Unowned< T > & b)
bool
operator>=(const Unowned< T > & a, const Unowned< T > & b)
bool

Classes

fdf::Arena
fdf::Channel
fdf::ChannelPair
fdf::ChannelRead
fdf::ChannelReadBase
fdf::Client
fdf::Dispatcher
fdf::Logger
fdf::Namespace
fdf::OutgoingDirectory
fdf::Protocol
fdf::ServerBinding
fdf::ServerBindingGroup
fdf::ServerBindingRef
fdf::SharedClient
fdf::SynchronizedDispatcher
fdf::Unowned
fdf::UnsynchronizedDispatcher
fdf::WireClient
fdf::WireSharedClient
fdf::WireSyncClient

Structs

fdf::Endpoints

Typedefs

AnyHandler

fit::function< void(typename fidl::internal::DriverTransport::OwnedType)> AnyHandler

ServiceInstanceHandler

fidl::ServiceInstanceHandler< fidl::internal::DriverTransport > ServiceInstanceHandler

TypedHandler

fit::function< void(fidl::internal::ServerEndType< Protocol > request)> TypedHandler

UnownedChannel

fdf::Unowned< Channel > UnownedChannel

UnownedDispatcher

Unowned< Dispatcher > UnownedDispatcher

UnownedSynchronizedDispatcher

Unowned< SynchronizedDispatcher > UnownedSynchronizedDispatcher

UnownedUnsynchronizedDispatcher

Unowned< UnsynchronizedDispatcher > UnownedUnsynchronizedDispatcher

Functions

BindServer

ServerBindingRef< Protocol > BindServer(
  fdf_dispatcher_t *dispatcher,
  ServerEnd< Protocol > server_end,
  ServerImpl *impl,
  OnUnbound && on_unbound
)

BindServer

ServerBindingRef< Protocol > BindServer(
  fdf_dispatcher_t *dispatcher,
  ServerEnd< Protocol > server_end,
  std::unique_ptr< ServerImpl > && impl,
  OnUnbound && on_unbound
)

BindServer

ServerBindingRef< Protocol > BindServer(
  fdf_dispatcher_t *dispatcher,
  ServerEnd< Protocol > server_end,
  std::shared_ptr< ServerImpl > impl,
  OnUnbound && on_unbound
)

Client

 Client(
  fdf::ClientEnd< Protocol >,
  fdf_dispatcher_t *,
  AsyncEventHandlerReference &&
) -> Client< Protocol >

Client

 Client(
  fdf::ClientEnd< Protocol >,
  fdf_dispatcher_t *
) -> Client< Protocol >

CreateEndpoints

zx::result< fdf::Endpoints< Protocol > > CreateEndpoints()

CreateEndpoints

zx::result< fdf::ServerEnd< Protocol > > CreateEndpoints(
  fdf::ClientEnd< Protocol > *out_client
)

CreateEndpoints

zx::result< fdf::ClientEnd< Protocol > > CreateEndpoints(
  fdf::ServerEnd< Protocol > *out_server
)

ProtocolConnect

zx_status_t ProtocolConnect(
  zx::channel token,
  fdf::Channel channel
)

RunOnDispatcherSync

zx::result RunOnDispatcherSync(
  async_dispatcher_t *dispatcher,
  fit::closure task
)

SharedClient

 SharedClient(
  fdf::ClientEnd< Protocol >,
  fdf_dispatcher_t *,
  AsyncEventHandlerReference &&,
  fidl::AnyTeardownObserver
) -> SharedClient< Protocol >

SharedClient

 SharedClient(
  fdf::ClientEnd< Protocol >,
  fdf_dispatcher_t *,
  AsyncEventHandlerReference &&
) -> SharedClient< Protocol >

SharedClient

 SharedClient(
  fdf::ClientEnd< Protocol >,
  fdf_dispatcher_t *
) -> SharedClient< Protocol >

WaitFor

zx::result WaitFor(
  libsync::Completion & completion
)

WaitFor

zx::result< T > WaitFor(
  std::shared_future< T > future
)

WaitFor

zx::result< T > WaitFor(
  std::future< T > future
)

WireCall

fdf::internal::SyncEndpointVeneer< fidl::internal::WireSyncClientImpl, FidlProtocol > WireCall(
  const ClientEnd< FidlProtocol > & client_end
)

WireCall

fdf::internal::SyncEndpointVeneer< fidl::internal::WireSyncClientImpl, FidlProtocol > WireCall(
  const UnownedClientEnd< FidlProtocol > & client_end
)

WireSendEvent

fdf::internal::WeakEventSenderVeneer< fidl::internal::WireWeakBufferEventSender, FidlProtocol > WireSendEvent(
  const ServerBindingRef< FidlProtocol > & binding_ref
)

WireSendEvent

fdf::internal::WeakEventSenderVeneer< fidl::internal::WireWeakBufferEventSender, FidlProtocol > WireSendEvent(
  const ServerBinding< FidlProtocol > & binding
)

WireSendEvent

internal::SyncEndpointVeneer< fidl::internal::WireEventSender, FidlProtocol > WireSendEvent(
  const ServerEnd< FidlProtocol > & server_end
)

WireSendEvent

internal::SyncEndpointVeneer< fidl::internal::WireEventSender, FidlProtocol > WireSendEvent(
  UnownedServerEnd< FidlProtocol > server_end
)

WireSyncClient

 WireSyncClient(
  ClientEnd< FidlProtocol >
) -> WireSyncClient< FidlProtocol >

operator!=

bool operator!=(
  const Unowned< T > & a,
  const Unowned< T > & b
)

operator<

bool operator<(
  const Unowned< T > & a,
  const Unowned< T > & b
)

operator<=

bool operator<=(
  const Unowned< T > & a,
  const Unowned< T > & b
)

operator==

bool operator==(
  const Unowned< T > & a,
  const Unowned< T > & b
)

operator>

bool operator>(
  const Unowned< T > & a,
  const Unowned< T > & b
)

operator>=

bool operator>=(
  const Unowned< T > & a,
  const Unowned< T > & b
)