AGX Dynamics  2.37.2.0
agxSensor::SensorManager Class Reference

Class which controls all sensors, initialization, destruction etc. More...

#include <SensorManager.h>

+ Inheritance diagram for agxSensor::SensorManager:

Public Member Functions

 SensorManager ()
 
OIS::InputManager * getInputManager ()
 
bool init (agx::Int mWin)
 Initializes the SensorManager with a valid window pointer. More...
 
virtual void shutdown () override
 Implement this method to cleanup your Singleton class. More...
 
- Public Member Functions inherited from agx::Singleton
 Singleton (int priority=DEFAULT_PRIORITY)
 Default constructor. More...
 
virtual std::string getClassName () const =0
 
int getPriority () const
 Return the shutdown priority of the singleton instance. More...
 

Static Public Member Functions

static bool hasShutdown ()
 
static SensorManager * instance ()
 

Protected Member Functions

virtual ~SensorManager ()
 
- Protected Member Functions inherited from agx::Singleton
virtual ~Singleton ()
 Destructor. More...
 
void _shutdown ()
 

Additional Inherited Members

- Public Types inherited from agx::Singleton
enum  Priority { HIGHEST_PRIORITY = 2147483647, LOWEST_PRIORITY = 10000, DEFAULT_PRIORITY = 1073741824 }
 Specifies the ranges of the priority which can be assigned to a singleton at the time of creation. More...
 

Detailed Description

Class which controls all sensors, initialization, destruction etc.

Definition at line 33 of file SensorManager.h.

Constructor & Destructor Documentation

◆ SensorManager()

agxSensor::SensorManager::SensorManager ( )

◆ ~SensorManager()

virtual agxSensor::SensorManager::~SensorManager ( )
protectedvirtual

Member Function Documentation

◆ getInputManager()

OIS::InputManager* agxSensor::SensorManager::getInputManager ( )
Returns
a pointer to the internal OIS InputManager

◆ 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()

static SensorManager* agxSensor::SensorManager::instance ( )
static
Returns
a pointer to the SensorManager singleton.

◆ 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: