class UnitType

Defined at line 766 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

This provides an easy, standardized way to specify units. New units can

be added as needed. Each UnitType should be named after a specific unit that

should be fully distinguished by the name (E.g: Use METERS instead of

DISTANCE). More complicated units that need to be differentiated should

begin with SI_ (for Internation System of Units) or ENGLISH_ (for English

System of Units).

Public Members

static UnitType NONE
static UnitType OTHER
static UnitType METERS
static UnitType GRAMS
static UnitType DEGREES
static UnitType ENGLISH_ANGULAR_VELOCITY
static UnitType SI_LINEAR_VELOCITY
static UnitType SI_LINEAR_ACCELERATION
static UnitType WEBERS
static UnitType CANDELAS
static UnitType PASCALS
static UnitType LUX
static UnitType SECONDS

Public Methods

void UnitType ()

Defined at line 768 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

void UnitType (uint32_t value)

Defined at line 769 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

uint32_t operator unsigned int ()

Defined at line 770 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

bool IsUnknown ()

Defined at line 772 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

UnitType Unknown ()

Defined at line 807 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h