component_testing:: ScopedChild
Summary
Constructors and Destructors |
|
---|---|
ScopedChild(ScopedChild &&)
|
|
ScopedChild(const ScopedChild &)
|
|
~ScopedChild()
|
Public types |
|
---|---|
TeardownCallback
|
usingfit::function< void(fit::result< fuchsia::component::Error >)>
|
Public static functions |
|
---|---|
New(fuchsia::component::RealmSyncPtr realm_proxy, std::string collection, std::string name, std::string url)
|
|
New(fuchsia::component::RealmSyncPtr realm_proxy, std::string collection, std::string url)
|
|
New(std::string collection, std::string name, std::string url, std::shared_ptr< sys::ServiceDirectory > svc)
|
|
New(std::string collection, std::string url, std::shared_ptr< sys::ServiceDirectory > svc)
|
Public functions |
|
---|---|
CloneExposedDir() const
|
fidl::InterfaceHandle< fuchsia::io::Directory >
|
CloneExposedDir(fidl::InterfaceRequest< fuchsia::io::Directory > directory_request)
|
void
|
Connect(const std::string & interface_name) const
|
fidl::InterfacePtr< Interface >
|
Connect(fidl::InterfaceRequest< Interface > request) const
|
zx_status_t
|
Connect(const std::string & interface_name, zx::channel request) const
|
zx_status_t
|
Connect(std::string path)
|
|
ConnectSync(const std::string & interface_name) const
|
fidl::SynchronousInterfacePtr< Interface >
|
GetChildName() const
|
std::string
|
Start(fuchsia::component::StartChildArgs) const
|
|
Teardown(async_dispatcher_t *dispatcher, TeardownCallback callback)
|
void
|
exposed()
|
const fuchsia::io::DirectorySyncPtr &
|
operator=(ScopedChild &&)=default
|
|
operator=(const ScopedChild &)=delete
|
Public types
TeardownCallback
fit::function< void(fit::result< fuchsia::component::Error >)> TeardownCallback
Public static functions
New
ScopedChild New( fuchsia::component::RealmSyncPtr realm_proxy, std::string collection, std::string name, std::string url )
New
ScopedChild New( fuchsia::component::RealmSyncPtr realm_proxy, std::string collection, std::string url )
New
ScopedChild New( std::string collection, std::string name, std::string url, std::shared_ptr< sys::ServiceDirectory > svc )
New
ScopedChild New( std::string collection, std::string url, std::shared_ptr< sys::ServiceDirectory > svc )
Public functions
CloneExposedDir
fidl::InterfaceHandle< fuchsia::io::Directory > CloneExposedDir() const
CloneExposedDir
void CloneExposedDir( fidl::InterfaceRequest< fuchsia::io::Directory > directory_request )
Connect
fidl::InterfacePtr< Interface > Connect( const std::string & interface_name ) const
Connect
zx_status_t Connect( fidl::InterfaceRequest< Interface > request ) const
Connect
zx_status_t Connect( const std::string & interface_name, zx::channel request ) const
Connect
zx::result< fidl::ClientEnd< Protocol > > Connect( std::string path )
ConnectSync
fidl::SynchronousInterfacePtr< Interface > ConnectSync( const std::string & interface_name ) const
GetChildName
std::string GetChildName() const
ScopedChild
ScopedChild( ScopedChild && )=default
ScopedChild
ScopedChild( const ScopedChild & )=delete
Start
ExecutionController Start( fuchsia::component::StartChildArgs ) const
Teardown
void Teardown( async_dispatcher_t *dispatcher, TeardownCallback callback )
exposed
const fuchsia::io::DirectorySyncPtr & exposed()
operator=
ScopedChild & operator=( ScopedChild && )=default
operator=
ScopedChild & operator=( const ScopedChild & )=delete
~ScopedChild
~ScopedChild()