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.
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.
| agxSensor::SensorManager::SensorManager |
( |
| ) |
|
| virtual agxSensor::SensorManager::~SensorManager |
( |
| ) |
|
|
protectedvirtual |
| void agx::Singleton::_shutdown |
( |
| ) |
|
|
protectedinherited |
| virtual std::string agx::Singleton::getClassName |
( |
| ) |
const |
|
pure virtualinherited |
| OIS::InputManager* agxSensor::SensorManager::getInputManager |
( |
| ) |
|
- Returns
- a pointer to the internal OIS InputManager
| int agx::Singleton::getPriority |
( |
| ) |
const |
|
inherited |
Return the shutdown priority of the singleton instance.
| static bool agxSensor::SensorManager::hasShutdown |
( |
| ) |
|
|
static |
| 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.
| 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: