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 String & | GetName () 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()
|
pure virtual |
Get the device name.
The default device name is "BuiltIn".
- Returns
- The device name.
◆ GetId()
|
pure virtual |
Get the unique device identifier.
- Returns
- The unique device identifier.
◆ HasUpdate()
|
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()
|
pure virtual |
Notification of changed configuration.
The notification is executed in the engine thread context if any configuration item has changed.
- Parameters
-
appConfig The application configuration object.
The documentation for this interface was generated from the following file:
- murl_input_i_device.h