class RoleTarget

Defined at line 231 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 259 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

bool is_thread ()

Defined at line 263 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 265 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

const ::zx::thread & thread ()

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

bool is_vmar ()

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

::zx::vmar & vmar ()

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

const ::zx::vmar & vmar ()

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

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

Defined at line 290 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 303 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 306 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 312 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 244 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

Friends

class Equality