class AttachConfig
Defined at line 2346 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
A component to optionally launch and attach to
Public Methods
void AttachConfig ()
template <typename... Args>
AttachConfig WithAttachToComponentUrl (::fidl::AnyArena & allocator, Args &&... args)
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.
Defined at line 2425 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
void ~AttachConfig ()
void AttachConfig (AttachConfig && other)
bool IsUnknown ()
Defined at line 2364 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
AttachConfig & operator= (AttachConfig && other)
bool has_invalid_tag ()
bool is_launch_component ()
AttachConfig WithLaunchComponent (::fidl::ObjectView< ::fuchsia_cpu_profiler::wire::LaunchComponent> val)
Launch a component with the given url and moniker then attach to it when
it's launched
template <typename... Args>
AttachConfig WithLaunchComponent (::fidl::AnyArena & allocator, Args &&... args)
Launch a component with the given url and moniker then attach to it when
it's launched
Defined at line 2379 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
::fuchsia_cpu_profiler::wire::LaunchComponent & launch_component ()
Launch a component with the given url and moniker then attach to it when
it's launched
const ::fuchsia_cpu_profiler::wire::LaunchComponent & launch_component ()
Launch a component with the given url and moniker then attach to it when
it's launched
bool is_attach_to_component_moniker ()
AttachConfig WithAttachToComponentMoniker (::fidl::ObjectView< ::fidl::StringView> val)
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.
template <typename... Args>
AttachConfig WithAttachToComponentMoniker (::fidl::AnyArena & allocator, Args &&... args)
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.
Defined at line 2401 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
template <typename... Args>
AttachConfig WithLaunchTest (::fidl::AnyArena & allocator, Args &&... args)
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`
Defined at line 2451 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
::fidl::StringView & attach_to_component_moniker ()
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.
const ::fidl::StringView & attach_to_component_moniker ()
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.
bool is_attach_to_component_url ()
AttachConfig WithAttachToComponentUrl (::fidl::ObjectView< ::fidl::StringView> val)
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.
::fidl::StringView & attach_to_component_url ()
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.
const ::fidl::StringView & attach_to_component_url ()
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.
bool is_launch_test ()
AttachConfig WithLaunchTest (::fidl::ObjectView< ::fuchsia_cpu_profiler::wire::LaunchTest> val)
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`
::fuchsia_cpu_profiler::wire::LaunchTest & launch_test ()
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`
const ::fuchsia_cpu_profiler::wire::LaunchTest & launch_test ()
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`
::fuchsia_cpu_profiler::wire::AttachConfig::Tag Which ()
void _CloseHandles ()
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() |
Defined at line 2357 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h