karto::SensorManager Class Reference
#include <Karto.h>
List of all members.
Detailed Description
Manages sensors
Definition at line 3360 of file Karto.h.
Constructor & Destructor Documentation
karto::SensorManager::SensorManager |
( |
|
) |
[inline] |
virtual karto::SensorManager::~SensorManager |
( |
|
) |
[inline, virtual] |
Member Function Documentation
SensorVector karto::SensorManager::GetAllSensors |
( |
|
) |
[inline] |
Gets all registered sensors
- Returns:
- vector of all registered sensors
Definition at line 3456 of file Karto.h.
template<class T >
T* karto::SensorManager::GetSensorByName |
( |
const Name & |
rName |
) |
[inline] |
Gets the sensor with the given name
- Parameters:
-
- Returns:
- sensor
Definition at line 3445 of file Karto.h.
Sensor* karto::SensorManager::GetSensorByName |
( |
const Name & |
rName |
) |
[inline] |
Gets the sensor with the given name
- Parameters:
-
- Returns:
- sensor
Definition at line 3429 of file Karto.h.
void karto::SensorManager::RegisterSensor |
( |
Sensor * |
pSensor, |
|
|
kt_bool |
override = false | |
|
) |
| | [inline] |
Registers a sensor by it's name. The Sensor name must be unique, if not sensor is not registered unless override is set to true
- Parameters:
-
| pSensor | sensor to register |
- Returns:
- true if sensor is registered with SensorManager, false if Sensor name is not unique
Definition at line 3390 of file Karto.h.
void karto::SensorManager::UnregisterSensor |
( |
Sensor * |
pSensor |
) |
[inline] |
Unregisters the given sensor
- Parameters:
-
| pSensor | sensor to unregister |
Definition at line 3408 of file Karto.h.
static void karto::SensorManager::Validate |
( |
Sensor * |
pSensor |
) |
[inline, static, protected] |
Checks that given sensor is not NULL and has non-empty name
- Parameters:
-
| pSensor | sensor to validate |
Definition at line 3473 of file Karto.h.
Member Data Documentation
The documentation for this class was generated from the following files: