class FeatureReport
Defined at line 5110 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
A single report containing the feature information for an input device.
Feature reports obtained from the device show the current state of the
device. Sending a feature report to the device sets the device in that
state.
Public Methods
void FeatureReport ()
Defined at line 5112 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
void FeatureReport (const FeatureReport & other)
Defined at line 5113 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
void FeatureReport (FeatureReport && other)
Defined at line 5115 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_input_report::wire::FeatureReport> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_input_report::wire::FeatureReport> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::FeatureReport>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fuchsia_input_report::wire::SensorFeatureReport & sensor ()
bool has_sensor ()
::fuchsia_input_report::wire::TouchFeatureReport & touch ()
bool has_touch ()
FeatureReport & operator= (const FeatureReport & other)
Defined at line 5114 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
FeatureReport & operator= (FeatureReport && other)
Defined at line 5116 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
FeatureReport & set_sensor (::fidl::ObjectView< ::fuchsia_input_report::wire::SensorFeatureReport> elem)
FeatureReport & set_sensor (std::nullptr_t )
FeatureReport & clear_sensor ()
void ~FeatureReport ()
Defined at line 5118 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
template <typename... Args>
FeatureReport & set_sensor (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 5146 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
FeatureReport & set_touch (::fidl::ObjectView< ::fuchsia_input_report::wire::TouchFeatureReport> elem)
FeatureReport & set_touch (std::nullptr_t )
FeatureReport & clear_touch ()
void FeatureReport (::fidl::AnyArena & allocator)
void FeatureReport (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::FeatureReport>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::FeatureReport>> && frame_ptr)
template <typename... Args>
FeatureReport & set_touch (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 5155 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder