16 #ifndef AGXSENSOR_SENSORMANAGER
17 #define AGXSENSOR_SENSORMANAGER
36 SINGLETON_CLASSNAME_METHOD();
62 OIS::InputManager* m_InputManager;
64 static bool s_hasShutdown;
69 #define OIS_MANAGER() agxSensor::SensorManager::instance()->getInputManager()
Class which controls all sensors, initialization, destruction etc.
static SensorManager * instance()
virtual void shutdown() override
Implement this method to cleanup your Singleton class.
bool init(agx::Int mWin)
Initializes the SensorManager with a valid window pointer.
OIS::InputManager * getInputManager()
static bool hasShutdown()
Base class for Singletons that should have its shutdown called explicitly before exit of the applicat...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxSensor namespace contains drivers for reading for devices such as Gamepad.