sys::ComponentContext

Summary

Constructors and Destructors

ComponentContext(std::shared_ptr< ServiceDirectory > svc, async_dispatcher_t *dispatcher)
ComponentContext(std::shared_ptr< ServiceDirectory > svc, fidl::InterfaceRequest< fuchsia::io::Directory > outgoing_directory_request, async_dispatcher_t *dispatcher)
ComponentContext(const ComponentContext &)
~ComponentContext()

Public functions

operator=(const ComponentContext &)=delete
outgoing() const
const std::shared_ptr< OutgoingDirectory > &
outgoing()
std::shared_ptr< OutgoingDirectory > &
svc() const
const std::shared_ptr< ServiceDirectory > &

Public static functions

Create()
std::unique_ptr< ComponentContext >
CreateAndServeOutgoingDirectory()
std::unique_ptr< ComponentContext >

Public functions

ComponentContext

 ComponentContext(
  std::shared_ptr< ServiceDirectory > svc,
  async_dispatcher_t *dispatcher
)

ComponentContext

 ComponentContext(
  std::shared_ptr< ServiceDirectory > svc,
  fidl::InterfaceRequest< fuchsia::io::Directory > outgoing_directory_request,
  async_dispatcher_t *dispatcher
)

ComponentContext

 ComponentContext(
  const ComponentContext &
)=delete

operator=

ComponentContext & operator=(
  const ComponentContext &
)=delete

outgoing

const std::shared_ptr< OutgoingDirectory > & outgoing() const 

outgoing

std::shared_ptr< OutgoingDirectory > & outgoing()

svc

const std::shared_ptr< ServiceDirectory > & svc() const 

~ComponentContext

 ~ComponentContext()

Public static functions

Create

std::unique_ptr< ComponentContext > Create()

CreateAndServeOutgoingDirectory

std::unique_ptr< ComponentContext > CreateAndServeOutgoingDirectory()