Maps SDK for C++ 1.0.0
Loading...
Searching...
No Matches
gem::sense::IRotationRate Class Referenceabstract

Definition of Device rotation rate interface. More...

Inheritance diagram for gem::sense::IRotationRate:
Collaboration diagram for gem::sense::IRotationRate:

Public Member Functions

virtual double getX () const =0
virtual double getY () const =0
virtual double getZ () const =0
EDataType getType () const override final
 Get data type.
virtual LargeInteger getAcquisitionTimestamp () const=0
Time getTime () const
StrongPointer< TDerivedType > cast ()
 Cast to a derived type.

Static Public Member Functions

static bool isSameType (const IData *ptr)
 Check if two data elements have the same type.

Detailed Description

Definition of Device rotation rate interface.

Member Function Documentation

◆ cast()

StrongPointer< TDerivedType > gem::sense::IData::cast ( )
inlineinherited

Cast to a derived type.

Returns
The requested derived type as a shared pointer.

◆ getAcquisitionTimestamp()

virtual LargeInteger gem::sense::IData::getAcquisitionTimestamp ( ) const
pure virtualinherited
Returns
Acquisition timestamp in milliseconds since 1970 ( epoch )

◆ getTime()

Time gem::sense::IData::getTime ( ) const
inlineinherited
Returns
System acquisition time

◆ getType()

EDataType gem::sense::IDataWithType< DerivedType >::getType ( ) const
inlinefinaloverridevirtualinherited

Get data type.

Returns
The data type.

Implements gem::sense::IData.

◆ getX()

virtual double gem::sense::IRotationRate::getX ( ) const
pure virtual
Returns
Rotation rate around the x axis of the device, rad/s.

◆ getY()

virtual double gem::sense::IRotationRate::getY ( ) const
pure virtual
Returns
Rotation rate around the y axis of the device, rad/s.

◆ getZ()

virtual double gem::sense::IRotationRate::getZ ( ) const
pure virtual
Returns
Rotation rate around the z axis of the device, rad/s.

◆ isSameType()

bool gem::sense::IDataWithType< DerivedType >::isSameType ( const IData * ptr)
inlinestaticinherited

Check if two data elements have the same type.

Parameters
ptrThe other IData pointer to check against.
Returns
True if of same type, false if not.