ci_camera_sensor_algorithm.h
Go to the documentation of this file.
1 
7 #ifndef CI_CAMERAS_SENSOR_ALGORITHM_H
8 #define CI_CAMERAS_SENSOR_ALGORITHM_H
9 
10 namespace argos {
11  class CCI_CameraSensorAlgorithm;
12 }
13 
14 #include <argos3/core/utility/configuration/argos_configuration.h>
15 #include <argos3/core/utility/configuration/base_configurable_resource.h>
16 
17 #include <map>
18 #include <string>
19 
20 #ifdef ARGOS_WITH_LUA
21 extern "C" {
22 #include <lua.h>
23 #include <lualib.h>
24 #include <lauxlib.h>
25 }
26 #endif
27 
28 namespace argos {
29 
31 
32  public:
33 
35 
36  virtual void Init(TConfigurationNode& t_node) {}
37 
38  virtual void Reset() {}
39 
40  virtual void Destroy() {}
41 
42 #ifdef ARGOS_WITH_LUA
43  virtual void CreateLuaState(lua_State* pt_lua_state) = 0;
44 
45  virtual void ReadingsToLuaState(lua_State* pt_lua_state) = 0;
46 
47  virtual const std::string& GetId() = 0;
48 #endif
49 
50  };
51 
52 }
53 
54 #endif
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
This class is the base of all XML-configurable ARGoS interface.
virtual void Reset()
Resets the resource.
virtual void Destroy()
Undoes whatever was done by Init().
virtual void Init(TConfigurationNode &t_node)
Initializes the resource.