inspect:: PublishOptions
#include <component.h>
Options for a published ComponentInspector
.
Summary
The default constructor is acceptable for many components, and will cause a default Inspector to be published via fuchsia.inspect.InspectSink
, connected via the component's default namespace, using default TreeHandlerSettings
.
Public attributes |
|
---|---|
client_end = std::nullopt
|
std::optional< fidl::ClientEnd< fuchsia_inspect::InspectSink > >
Provide a fidl::ClientEnd, useful if
fuchsia.inspect.InspectSink is not in the root namespace or is renamed. |
inspector = {}
|
Optionally specify an existing
Inspector . |
tree_handler_settings = {}
|
Specify how
fuchsia.inspect.Tree should behave. |
tree_name = std::nullopt
|
std::optional< std::string >
Provide a name to appear in the tree's Inspect Metadata.
|
Public attributes
client_end
std::optional< fidl::ClientEnd< fuchsia_inspect::InspectSink > > inspect::PublishOptions::client_end = std::nullopt
Provide a fidl::ClientEnd, useful if fuchsia.inspect.InspectSink
is not in the root namespace or is renamed.
inspector
Inspector inspect::PublishOptions::inspector = {}
Optionally specify an existing Inspector
.
tree_handler_settings
TreeHandlerSettings inspect::PublishOptions::tree_handler_settings = {}
Specify how fuchsia.inspect.Tree
should behave.
tree_name
std::optional< std::string > inspect::PublishOptions::tree_name = std::nullopt
Provide a name to appear in the tree's Inspect Metadata.
By default, it will be `fuchsia.inspect::DEFAULT_TREE_NAME