![]() |
NimbRo ROS Soccer Package
|
Implements a manager of a particular group of sensors. More...
#include <behaviour_sensors.h>
Inherited by behaviourcontroltest::MyL1SM, behaviourcontroltest::MyL2SM, and behaviourcontroltest::RosILSM.
Public Member Functions | |
SensorManager (BehaviourLayer *LBase) | |
Default constructor. | |
virtual | ~SensorManager () |
Sensor manager object destructor. | |
virtual void | writeExternalData () |
Interface layer specific callback that is intended to be overridden by the user to write any available data externally, as required (e.g. to other ROS nodes). | |
SensorManager * | getBasePtr () |
Return a pointer to the underlying SensorManager class object in the case of a derived sensor manager class. | |
Public Attributes | |
BehaviourManager *const | MBase |
Pointer to the parent behaviour manager. | |
BehaviourLayer *const | LBase |
Pointer to the parent behaviour layer. | |
Static Public Attributes | |
static const index_t | DEF_SLIST_CAPACITY = 32 |
Default capacity of the list that stores the child sensors of the sensor manager. | |
Protected Member Functions | |
virtual ret_t | init () |
Initialisation callback for the sensor manager. This function is called from BehaviourLayer::initAll() , and is intended to be overridden for the purpose of initialising the derived sensor manager object. | |
Friends | |
class | BehaviourManager |
class | BehaviourLayer |
class | SensorBase |
Implements a manager of a particular group of sensors.
This class is the base class of all sensor managers that are used in an architecture.