base_configurable_resource.h
Go to the documentation of this file.
1 
9 #ifndef BASE_CONFIGURABLE_RESOURCE_H
10 #define BASE_CONFIGURABLE_RESOURCE_H
11 
12 namespace argos {
13  class CBaseConfigurableResource;
14 }
15 
16 #include <argos3/core/utility/configuration/argos_configuration.h>
17 
18 namespace argos {
19 
24 
25  public:
26 
31 
37  virtual void Init(TConfigurationNode& t_tree) = 0;
38 
42  virtual void Reset() = 0;
43 
47  virtual void Destroy() = 0;
48 
49  };
50 
51 }
52 
53 #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 Init(TConfigurationNode &t_tree)=0
Initializes the resource.
virtual ~CBaseConfigurableResource()
Class destructor.
virtual void Destroy()=0
Undoes whatever was done by Init().
virtual void Reset()=0
Resets the resource.