class PointerSample
Defined at line 603 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/natural_types.h
A description of each sampled data point for a pointer device.
Public Methods
void PointerSample (Storage_ storage)
void PointerSample ()
Defined at line 609 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/natural_types.h
void PointerSample (PointerSample && )
Defined at line 610 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/natural_types.h
void PointerSample (const PointerSample & other)
PointerSample & operator= (PointerSample && )
Defined at line 611 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/natural_types.h
PointerSample & operator= (const PointerSample & other)
bool operator== (const PointerSample & other)
bool operator!= (const PointerSample & other)
bool IsEmpty ()
const std::optional<uint32_t> & pointer_id ()
An identifier of the pointer that issued this event.
It is unique only to a specific pointer device.
::std::optional<uint32_t> & pointer_id ()
An identifier of the pointer that issued this event.
It is unique only to a specific pointer device.
PointerSample & pointer_id (std::optional<uint32_t> value)
An identifier of the pointer that issued this event.
It is unique only to a specific pointer device.
const std::optional< ::fuchsia_ui_pointerinjector::EventPhase> & phase ()
The state of this event in the pointer event stream's state machine.
::std::optional< ::fuchsia_ui_pointerinjector::EventPhase> & phase ()
The state of this event in the pointer event stream's state machine.
PointerSample & phase (std::optional< ::fuchsia_ui_pointerinjector::EventPhase> value)
The state of this event in the pointer event stream's state machine.
const std::optional< ::std::array<float, 2>> & position_in_viewport ()
The position of this event, in the viewport's coordinate system.
::std::optional< ::std::array<float, 2>> & position_in_viewport ()
The position of this event, in the viewport's coordinate system.
PointerSample & position_in_viewport (std::optional< ::std::array<float, 2>> value)
The position of this event, in the viewport's coordinate system.
const std::optional<int64_t> & scroll_v ()
Relative vertical scrolling displacement by detent.
::std::optional<int64_t> & scroll_v ()
Relative vertical scrolling displacement by detent.
PointerSample & scroll_v (std::optional<int64_t> value)
Relative vertical scrolling displacement by detent.
const std::optional<int64_t> & scroll_h ()
Relative horizontal scrolling displacement by detent.
::std::optional<int64_t> & scroll_h ()
Relative horizontal scrolling displacement by detent.
PointerSample & scroll_h (std::optional<int64_t> value)
Relative horizontal scrolling displacement by detent.
const std::optional< ::std::vector<uint8_t>> & pressed_buttons ()
Identifiers of currently pressed buttons.
::std::optional< ::std::vector<uint8_t>> & pressed_buttons ()
Identifiers of currently pressed buttons.
PointerSample & pressed_buttons (std::optional< ::std::vector<uint8_t>> value)
Identifiers of currently pressed buttons.
const std::optional< ::std::array<float, 2>> & relative_motion ()
The movement of a mouse, independent of the viewport's coordinate
system.
::std::optional< ::std::array<float, 2>> & relative_motion ()
The movement of a mouse, independent of the viewport's coordinate
system.
PointerSample & relative_motion (std::optional< ::std::array<float, 2>> value)
The movement of a mouse, independent of the viewport's coordinate
system.
const std::optional<double> & scroll_v_physical_pixel ()
Recommended vertical scrolling displacement by physical pixel, it is
computed with accelerator, detent / mm to pixel ratio, etc.
::std::optional<double> & scroll_v_physical_pixel ()
Recommended vertical scrolling displacement by physical pixel, it is
computed with accelerator, detent / mm to pixel ratio, etc.
PointerSample & scroll_v_physical_pixel (std::optional<double> value)
Recommended vertical scrolling displacement by physical pixel, it is
computed with accelerator, detent / mm to pixel ratio, etc.
const std::optional<double> & scroll_h_physical_pixel ()
Recommended horizontal scrolling displacement by physical pixel, it
is computed with accelerator, detent / mm to pixel ratio, etc.
::std::optional<double> & scroll_h_physical_pixel ()
Recommended horizontal scrolling displacement by physical pixel, it
is computed with accelerator, detent / mm to pixel ratio, etc.
PointerSample & scroll_h_physical_pixel (std::optional<double> value)
Recommended horizontal scrolling displacement by physical pixel, it
is computed with accelerator, detent / mm to pixel ratio, etc.
const std::optional<bool> & is_precision_scroll ()
Indicated if the scroll event is from a precision scroll device (HI_RES
mouse or touchpad). Clients may want to play interpolation animations
on non precision scroll device for smooth scrolling.
::std::optional<bool> & is_precision_scroll ()
Indicated if the scroll event is from a precision scroll device (HI_RES
mouse or touchpad). Clients may want to play interpolation animations
on non precision scroll device for smooth scrolling.
PointerSample & is_precision_scroll (std::optional<bool> value)
Indicated if the scroll event is from a precision scroll device (HI_RES
mouse or touchpad). Clients may want to play interpolation animations
on non precision scroll device for smooth scrolling.
void PointerSample (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits