16 for(CCI_Actuator::TMap::iterator itActuators =
m_mapActuators.begin();
19 delete itActuators->second;
24 for(CCI_Sensor::TMap::iterator itSensors =
m_mapSensors.begin();
27 delete itSensors->second;
36 CCI_Actuator::TMap::const_iterator it =
m_mapActuators.find(str_actuator_type);
44 CCI_Sensor::TMap::const_iterator it =
m_mapSensors.find(str_sensor_type);
CCI_Sensor::TMap m_mapSensors
A map containing all the sensors associated to this controller.
virtual ~CCI_Controller()
Class destructor.
bool HasActuator(const std::string &str_actuator_type) const
Returns true if an actuator with the passed type is associated to this controller.
CCI_Actuator::TMap m_mapActuators
A map containing all the actuators associated to this controller.
bool HasSensor(const std::string &str_sensor_type) const
Returns true if an sensor with the passed type is associated to this controller.
The namespace containing all the ARGoS related code.