LoveBrains
1.0.0
|
Define the interface of a sensor. More...
#include <i_sensor.h>
Public Member Functions | |
virtual | ~ISensor () |
Destructor. | |
virtual void | Update (IObject *obj, std::list< IObject * > &env)=0 |
Update the object in terms of the environment. More... | |
virtual bool | isValid (IObject *obj)=0 |
Verify if the sensor support the current object. More... | |
Define the interface of a sensor.
|
pure virtual |
Verify if the sensor support the current object.
obj | : Contains the current object. |
Update the object in terms of the environment.
obj | : Contains the object that is involved by the sensor. |
env | : Contains all the objects in the environment. |