class AttachConfig

Defined at line 474 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/natural_types.h

A component to optionally launch and attach to

Public Methods

void AttachConfig (AttachConfig && other)
AttachConfig & operator= (AttachConfig && other)
bool IsUnknown ()
::fuchsia_cpu_profiler::AttachConfig::Tag Which ()
AttachConfig WithLaunchComponent (::fuchsia_cpu_profiler::LaunchComponent val)
const ::fidl::internal::UnionMemberView<1, Storage_> launch_component ()
::fidl::internal::UnionMemberView<1, Storage_> launch_component ()
AttachConfig & launch_component (::fuchsia_cpu_profiler::LaunchComponent value)

Launch a component with the given url and moniker then attach to it when

it's launched

AttachConfig WithAttachToComponentMoniker (::std::string val)
const ::fidl::internal::UnionMemberView<2, Storage_> attach_to_component_moniker ()
::fidl::internal::UnionMemberView<2, Storage_> attach_to_component_moniker ()
AttachConfig & attach_to_component_moniker (::std::string value)

Attach to an existing component by moniker. If a component doesn't exist

at that moniker, wait for it to appear and attach to it when it does.

AttachConfig WithAttachToComponentUrl (::std::string val)
const ::fidl::internal::UnionMemberView<3, Storage_> attach_to_component_url ()
::fidl::internal::UnionMemberView<3, Storage_> attach_to_component_url ()
AttachConfig & attach_to_component_url (::std::string value)

Attach to an existing component by url. If the component doesn't

exist with the specified url, wait for it to appear and attach to it when

it does.

AttachConfig WithLaunchTest (::fuchsia_cpu_profiler::LaunchTest val)
const ::fidl::internal::UnionMemberView<4, Storage_> launch_test ()
::fidl::internal::UnionMemberView<4, Storage_> launch_test ()
AttachConfig & launch_test (::fuchsia_cpu_profiler::LaunchTest value)

Connect to test_manager, launch a test with the given url, then attach

to it. Forwards the url and options to

`fuchsia.test.manager.SuiteRunner.Run`

void AttachConfig (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kLaunchComponent 1
kAttachToComponentMoniker 2
kAttachToComponentUrl 3
kLaunchTest 4
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

TODO: share union tag types between wire

&

natural.

Defined at line 482 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits