inspect:: testing
Summary
Typedefs |
|
---|---|
TreeClient
|
usingfidl::WireClient< fuchsia_inspect::Tree >
|
TreeNameIteratorClient
|
usingfidl::WireClient< fuchsia_inspect::TreeNameIterator >
|
Functions |
|
---|---|
ReadAllChildNames(TreeNameIteratorClient & iter)
|
fpromise::promise< std::vector< std::string > >
Collect all of the names of the children of the
Inspector managed by the tree server which started the TreeNameIterator server. |
ReadFromTree(TreeClient & tree, async_dispatcher_t *dispatcher)
|
Turn a Tree handle into a complete hierarchy, including lazy children/values.
|
Typedefs
TreeClient
fidl::WireClient< fuchsia_inspect::Tree > TreeClient
TreeNameIteratorClient
fidl::WireClient< fuchsia_inspect::TreeNameIterator > TreeNameIteratorClient
Functions
ReadAllChildNames
fpromise::promise< std::vector< std::string > > ReadAllChildNames( TreeNameIteratorClient & iter )
Collect all of the names of the children of the Inspector
managed by the tree server which started the TreeNameIterator server.
Essentially, it drains the iterator.
ReadFromTree
fpromise::promise< Hierarchy > ReadFromTree( TreeClient & tree, async_dispatcher_t *dispatcher )
Turn a Tree handle into a complete hierarchy, including lazy children/values.
This function uses ZX_ASSERT
if it encounters FIDL errors.