#include <Karto.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Manages sensors
Definition at line 3701 of file Karto.h.
◆ SensorManager()
karto::SensorManager::SensorManager |
( |
| ) |
|
|
inline |
◆ ~SensorManager()
virtual karto::SensorManager::~SensorManager |
( |
| ) |
|
|
inlinevirtual |
◆ GetAllSensors()
Gets all registered sensors
- Returns
- vector of all registered sensors
Definition at line 3800 of file Karto.h.
◆ GetInstance()
◆ GetSensorByName() [1/2]
Sensor* karto::SensorManager::GetSensorByName |
( |
const Name & |
rName | ) |
|
|
inline |
Gets the sensor with the given name
- Parameters
-
- Returns
- sensor
Definition at line 3773 of file Karto.h.
◆ GetSensorByName() [2/2]
template<class T >
T* karto::SensorManager::GetSensorByName |
( |
const Name & |
rName | ) |
|
|
inline |
Gets the sensor with the given name
- Parameters
-
- Returns
- sensor
Definition at line 3789 of file Karto.h.
◆ RegisterSensor()
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 |
override | |
- Returns
- true if sensor is registered with SensorManager, false if Sensor name is not unique
Definition at line 3732 of file Karto.h.
◆ serialize()
template<class Archive >
void karto::SensorManager::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
inlineprotected |
◆ UnregisterSensor()
void karto::SensorManager::UnregisterSensor |
( |
Sensor * |
pSensor | ) |
|
|
inline |
Unregisters the given sensor
- Parameters
-
pSensor | sensor to unregister |
Definition at line 3752 of file Karto.h.
◆ Validate()
static void karto::SensorManager::Validate |
( |
Sensor * |
pSensor | ) |
|
|
inlinestaticprotected |
Checks that given sensor is not NULL and has non-empty name
- Parameters
-
pSensor | sensor to validate |
Definition at line 3817 of file Karto.h.
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ m_Sensors
The documentation for this class was generated from the following files: