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

Definition of Mount information interface. More...

Inheritance diagram for gem::sense::IMountInformation:
Collaboration diagram for gem::sense::IMountInformation:

Public Member Functions

virtual bool isMountedForCameraUse () const =0
 Tells if device is mounted for camera use (in a fixed vertical mount, in a car).
virtual bool isPortraitMode () const =0
 Tells if the device is in portrait orientation.
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 Mount information 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.

◆ isMountedForCameraUse()

virtual bool gem::sense::IMountInformation::isMountedForCameraUse ( ) const
pure virtual

Tells if device is mounted for camera use (in a fixed vertical mount, in a car).

Returns
True if the device is mounted, false if not.

◆ isPortraitMode()

virtual bool gem::sense::IMountInformation::isPortraitMode ( ) const
pure virtual

Tells if the device is in portrait orientation.

Returns
True if in portrait, false if in landscape orientation.

◆ 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.