class TouchPointerSample

Defined at line 862 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/natural_types.h

A description of each sampled data point in a touch event stream.

All fields are required.

Public Methods

void TouchPointerSample (Storage_ storage)
void TouchPointerSample ()

Defined at line 868 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/natural_types.h

void TouchPointerSample (TouchPointerSample && )

Defined at line 869 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/natural_types.h

void TouchPointerSample (const TouchPointerSample & other)
TouchPointerSample & operator= (TouchPointerSample && )

Defined at line 870 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/natural_types.h

TouchPointerSample & operator= (const TouchPointerSample & other)
bool operator== (const TouchPointerSample & other)
bool operator!= (const TouchPointerSample & other)
bool IsEmpty ()
const std::optional< ::fuchsia_ui_pointer::TouchInteractionId> & interaction ()

The interaction that this pointer sample belongs to.

::std::optional< ::fuchsia_ui_pointer::TouchInteractionId> & interaction ()

The interaction that this pointer sample belongs to.

TouchPointerSample & interaction (std::optional< ::fuchsia_ui_pointer::TouchInteractionId> value)

The interaction that this pointer sample belongs to.

const std::optional< ::fuchsia_ui_pointer::EventPhase> & phase ()

The state of this event in the interaction's state machine.

::std::optional< ::fuchsia_ui_pointer::EventPhase> & phase ()

The state of this event in the interaction's state machine.

TouchPointerSample & phase (std::optional< ::fuchsia_ui_pointer::EventPhase> value)

The state of this event in the interaction'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.

TouchPointerSample & position_in_viewport (std::optional< ::std::array<float, 2>> value)

The position of this event, in the viewport's coordinate system.

void TouchPointerSample (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits