Class which controls all sensors, initialization, destruction etc.
More...
#include <SensorManager.h>
Class which controls all sensors, initialization, destruction etc.
Definition at line 33 of file SensorManager.h.
◆ Priority
Specifies the ranges of the priority which can be assigned to a singleton at the time of creation.
| Enumerator |
|---|
| HIGHEST_PRIORITY | The highest priority that can be given to a singleton.
|
| LOWEST_PRIORITY | The lowest priority that can be given to a singleton.
|
| DEFAULT_PRIORITY | The default priority given to a singleton.
|
Definition at line 35 of file Singleton.h.
◆ SensorManager()
| agxSensor::SensorManager::SensorManager |
( |
| ) |
|
◆ ~SensorManager()
| virtual agxSensor::SensorManager::~SensorManager |
( |
| ) |
|
|
protectedvirtual |
◆ _shutdown()
| void agx::Singleton::_shutdown |
( |
| ) |
|
|
protectedinherited |
◆ getClassName()
| virtual std::string agx::Singleton::getClassName |
( |
| ) |
const |
|
pure virtualinherited |
◆ getInputManager()
| OIS::InputManager* agxSensor::SensorManager::getInputManager |
( |
| ) |
|
- Returns
- a pointer to the internal OIS InputManager
◆ getPriority()
| int agx::Singleton::getPriority |
( |
| ) |
const |
|
inherited |
Return the shutdown priority of the singleton instance.
◆ hasShutdown()
| static bool agxSensor::SensorManager::hasShutdown |
( |
| ) |
|
|
static |
◆ init()
| bool agxSensor::SensorManager::init |
( |
agx::Int |
mWin | ) |
|
Initializes the SensorManager with a valid window pointer.
A device will only react if this window is the current one (at least on windows). Under all other platforms mWin can be 0.
◆ instance()
◆ shutdown()
| virtual void agxSensor::SensorManager::shutdown |
( |
| ) |
|
|
overridevirtual |
Implement this method to cleanup your Singleton class.
Reimplemented from agx::Singleton.
The documentation for this class was generated from the following file: