template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 3574 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h
Public Methods
::fuchsia_settings::wire::InputDevice Build ()
Build and return the table. The builder should not be used after this.
bool has_device_name ()
void clear_device_name ()
Clears the device_name field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & device_name ()
Uniquely identifies a device within a device type.
BuilderImpl & device_name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
Uniquely identifies a device within a device type.
bool has_device_type ()
void clear_device_type ()
Clears the device_type field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_settings::wire::DeviceType & device_type ()
The type of input device (e.g. camera, microphone).
BuilderImpl & device_type (::fuchsia_settings::wire::DeviceType elem)
The type of input device (e.g. camera, microphone).
bool has_source_states ()
void clear_source_states ()
Clears the source_states field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_settings::wire::SourceState> & source_states ()
The state for each individual [DeviceStateSource].
BuilderImpl & source_states (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_settings::wire::SourceState>>> elem)
The state for each individual [DeviceStateSource].
bool has_mutable_toggle_state ()
void clear_mutable_toggle_state ()
Clears the mutable_toggle_state field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_settings::wire::ToggleStateFlags & mutable_toggle_state ()
The software toggle states which are allowed to be changed for a device.
BuilderImpl & mutable_toggle_state (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_settings::wire::ToggleStateFlags>> elem)
The software toggle states which are allowed to be changed for a device.
bool has_state ()
void clear_state ()
Clears the state field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_settings::wire::DeviceState & state ()
The overall state of the device, considering the combination
of the source states.
BuilderImpl & state (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_settings::wire::DeviceState>> elem)
The overall state of the device, considering the combination
of the source states.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_settings::wire::InputDevice, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_settings::wire::InputDevice>> && frame)