fdf::Namespace

Summary

Constructors and Destructors

Namespace()
Namespace(Namespace && other)
~Namespace()

Public static functions

Create(fidl::VectorView< fuchsia_component_runner::wire::ComponentNamespaceEntry > & entries)
Create(std::vector< fuchsia_component_runner::ComponentNamespaceEntry > & entries)

Public functions

Connect(const char *protocol_name) const
Connect(fidl::ServerEnd< Protocol > server_end, const char *protocol_name) const
Connect(std::string_view instance) const
zx::result< fidl::internal::ClientEndType< typename ServiceMember::ProtocolType > >
Connect(fidl::internal::ServerEndType< typename ServiceMember::ProtocolType > server_end, std::string_view instance) const
Open(const char *path, fuchsia_io::wire::OpenFlags flags) const
Open(const char *path, fuchsia_io::wire::OpenFlags flags, zx::channel server_end) const
OpenService(std::string_view instance) const
zx::result< typename FidlService::ServiceClient >
operator=(Namespace && other) noexcept
svc_dir() const
fidl::UnownedClientEnd< fuchsia_io::Directory >

Public static functions

Create

zx::result< Namespace > Create(
  fidl::VectorView< fuchsia_component_runner::wire::ComponentNamespaceEntry > & entries
)

Create

zx::result< Namespace > Create(
  std::vector< fuchsia_component_runner::ComponentNamespaceEntry > & entries
)

Public functions

Connect

zx::result< fidl::ClientEnd< Protocol > > Connect(
  const char *protocol_name
) const 

Connect

zx::result Connect(
  fidl::ServerEnd< Protocol > server_end,
  const char *protocol_name
) const 

Connect

zx::result< fidl::internal::ClientEndType< typename ServiceMember::ProtocolType > > Connect(
  std::string_view instance
) const 

Connect

zx::result Connect(
  fidl::internal::ServerEndType< typename ServiceMember::ProtocolType > server_end,
  std::string_view instance
) const 

Namespace

 Namespace()=default

Namespace

 Namespace(
  Namespace && other
) noexcept

Open

zx::result< fidl::ClientEnd< Protocol > > Open(
  const char *path,
  fuchsia_io::wire::OpenFlags flags
) const 

Open

zx::result Open(
  const char *path,
  fuchsia_io::wire::OpenFlags flags,
  zx::channel server_end
) const 

OpenService

zx::result< typename FidlService::ServiceClient > OpenService(
  std::string_view instance
) const 

operator=

Namespace & operator=(
  Namespace && other
) noexcept

svc_dir

fidl::UnownedClientEnd< fuchsia_io::Directory > svc_dir() const 

~Namespace

 ~Namespace()