class RoleTarget

Defined at line 212 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

A Zircon object to which a profile can be applied.

Currently, only threads and vmars are supported.

Public Members

static const fidl_type_t * FidlType

Public Methods

void RoleTarget ()
void RoleTarget (RoleTarget && )
RoleTarget & operator= (RoleTarget && )
RoleTarget WithThread (::zx::thread && )
RoleTarget WithVmar (::zx::vmar && )
::std::unique_ptr<RoleTarget> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, RoleTarget * value, size_t offset)
zx_status_t Clone (RoleTarget * result)
RoleTarget & set_thread (::zx::thread value)
RoleTarget & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes, std::vector<zx::handle> handles)
bool has_invalid_tag ()

Defined at line 240 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

bool is_thread ()

Defined at line 244 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

RoleTarget & set_vmar (::zx::vmar value)
::zx::thread & thread ()

Defined at line 246 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

const ::zx::thread & thread ()

Defined at line 251 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

bool is_vmar ()

Defined at line 257 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

::zx::vmar & vmar ()

Defined at line 259 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

const ::zx::vmar & vmar ()

Defined at line 264 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

::fuchsia::scheduler::RoleTarget::Tag Which ()

Defined at line 271 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

Defined at line 284 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

const std::vector<uint8_t> * UnknownBytes ()

Defined at line 287 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

const std::vector<zx::handle> * UnknownHandles ()

Defined at line 293 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

void ~RoleTarget ()

Enumerations

enum Tag
Name Value
kUnknown 0
kThread 1
kVmar 2
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

Defined at line 225 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

Friends

class Equality