Murl Engine API  Version 2018.3
Murl::Input::IOrientationDevice Interface Referenceabstract

The IOrientationDevice interface. More...

#include <murl_input_i_orientation_device.h>

Detailed Description

The IOrientationDevice interface.

To receive data the device must be activated by IAppConfiguration::SetOrientationActive().

Inheritance diagram for Murl::Input::IOrientationDevice:
Murl::Input::IDevice

Public Member Functions

virtual IEnums::SensorOrientation GetOrientation () const =0
 Get the current device orientation. More...
 
- Public Member Functions inherited from Murl::Input::IDevice
virtual const StringGetName () const =0
 Get the device name. More...
 
virtual UInt32 GetId () const =0
 Get the unique device identifier. More...
 
virtual Bool HasUpdate () const =0
 Check if the device has received new data since the last Update(). More...
 
virtual void LogicUpdate ()=0
 Is executed in the logic thread context each logic tick.
 
virtual void ConfigChanged (const IAppConfiguration *appConfig)=0
 Notification of changed configuration. More...
 

Member Function Documentation

◆ GetOrientation()

virtual IEnums::SensorOrientation Murl::Input::IOrientationDevice::GetOrientation ( ) const
pure virtual

Get the current device orientation.

Returns
true The current device orientation.

The documentation for this interface was generated from the following file: