class RoleTarget

Defined at line 227 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/cpp/fidl/fuchsia.scheduler/cpp/natural_types.h

A Zircon object to which a profile can be applied.

Currently, only threads and vmars are supported.

Public Methods

void RoleTarget (RoleTarget && other)
RoleTarget & operator= (RoleTarget && other)
bool IsUnknown ()
::fuchsia_scheduler::RoleTarget::Tag Which ()
RoleTarget WithThread (::zx::thread val)
const ::fidl::internal::UnionMemberView<1, Storage_> thread ()
::fidl::internal::UnionMemberView<1, Storage_> thread ()
RoleTarget & thread (::zx::thread value)

Sets the union to hold the thread member.

RoleTarget WithVmar (::zx::vmar val)
const ::fidl::internal::UnionMemberView<2, Storage_> vmar ()
::fidl::internal::UnionMemberView<2, Storage_> vmar ()
RoleTarget & vmar (::zx::vmar value)

Sets the union to hold the vmar member.

void RoleTarget (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kThread 1
kVmar 2
_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 235 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/cpp/fidl/fuchsia.scheduler/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits