class UnitType

Defined at line 1363 of file fidling/gen/sdk/fidl/fuchsia.input/fuchsia.input/hlcpp/fuchsia/input/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 1365 of file fidling/gen/sdk/fidl/fuchsia.input/fuchsia.input/hlcpp/fuchsia/input/cpp/fidl.h

void UnitType (uint32_t value)

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

uint32_t operator unsigned int ()

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

bool IsUnknown ()

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

UnitType Unknown ()

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