class LightGroup

Defined at line 4561 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

Information about a controllable light group. A group may have one or more

lights.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

void LightGroup ()
void LightGroup (LightGroup && other)
const ::std::string & name ()

Identifier for this light group, clients should pass this back into the

service to set the group's light values.

Defined at line 4569 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_name ()

Defined at line 4573 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

::std::string * mutable_name ()

Identifier for this light group, clients should pass this back into the

service to set the group's light values.

Defined at line 4579 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_name ()

Defined at line 4587 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

const bool & enabled ()

True if the light group is enabled and changes will be visible to the

user. False if the light group is forced off by hardware. If the light

group is disabled, its value can still be set, but the change may not be

visible until the light group is back on.

Defined at line 4599 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_enabled ()

Defined at line 4603 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool * mutable_enabled ()

True if the light group is enabled and changes will be visible to the

user. False if the light group is forced off by hardware. If the light

group is disabled, its value can still be set, but the change may not be

visible until the light group is back on.

Defined at line 4611 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_enabled ()

Defined at line 4619 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_type ()

Defined at line 4645 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

const ::std::vector< ::fuchsia::settings::LightState> & lights ()

States of the lights in this group.

Defined at line 4654 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_lights ()

Defined at line 4658 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

::std::vector< ::fuchsia::settings::LightState> * mutable_lights ()

States of the lights in this group.

Defined at line 4663 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_lights ()

Defined at line 4671 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

LightGroup & set_name (::std::string _value)
LightGroup & set_enabled (bool _value)
LightGroup & set_type (::fuchsia::settings::LightType _value)
LightGroup & set_lights (::std::vector< ::fuchsia::settings::LightState> _value)
const ::fuchsia::settings::LightType & type ()

Defines the acceptable value type for controlling this light group.

Defined at line 4628 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_type ()

Defined at line 4632 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

::fuchsia::settings::LightType * mutable_type ()

Defines the acceptable value type for controlling this light group.

Defined at line 4637 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void ~LightGroup ()
LightGroup & operator= (LightGroup && other)
::std::unique_ptr<LightGroup> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, LightGroup * _value, size_t _offset)
zx_status_t Clone (LightGroup * _result)