Murl::Input::IDevice Interface Referenceabstract

The IDevice interface. More...

#include "murl_input_i_device.h"

Inheritance diagram for Murl::Input::IDevice:

Public Member Functions

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

Detailed Description

The IDevice interface.

The base interface of all input device classes.

Member Function Documentation

◆ GetName()

virtual const String& Murl::Input::IDevice::GetName ( ) const
pure virtual

Get the device name.

The default device name is "BuiltIn".

Returns
The device name.

◆ GetId()

virtual UInt32 Murl::Input::IDevice::GetId ( ) const
pure virtual

Get the unique device identifier.

Returns
The unique device identifier.

◆ HasUpdate()

virtual Bool Murl::Input::IDevice::HasUpdate ( ) const
pure virtual

Check if the device has received new data since the last Update().

Returns
true if the device has received new data since the last Update().

◆ ConfigChanged()

virtual void Murl::Input::IDevice::ConfigChanged ( const IAppConfiguration appConfig)
pure virtual

Notification of changed configuration.

The notification is executed in the engine thread context if any configuration item has changed.

Parameters
appConfigThe application configuration object.

The documentation for this interface was generated from the following file:
  • murl_input_i_device.h


Copyright © 2011-2018 Spraylight GmbH.