class LightGroup

Defined at line 4555 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.

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 4563 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_name ()

Defined at line 4567 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 4573 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_name ()

Defined at line 4581 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 4593 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_enabled ()

Defined at line 4597 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 4605 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_enabled ()

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

bool has_type ()

Defined at line 4626 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 4631 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_type ()

Defined at line 4639 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 4648 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_lights ()

Defined at line 4652 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 4657 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_lights ()

Defined at line 4665 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)
void LightGroup ()
void LightGroup (LightGroup && other)
const ::fuchsia::settings::LightType & type ()

Defines the acceptable value type for controlling this light group.

Defined at line 4622 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)