ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
Go to the documentation of this file.
14 #include <argos3/core/utility/configuration/base_configurable_resource.h>
15 #include <argos3/core/utility/configuration/argos_configuration.h>
16 #include <argos3/core/utility/datatypes/datatypes.h>
17 #include <argos3/core/utility/plugins/factory.h>
26 typedef std::map<std::string, CMedium*>
TMap;
75 inline const std::string&
GetId()
const {
83 void SetId(
const std::string& str_id) {
96 #define REGISTER_MEDIUM(CLASSNAME, \
103 REGISTER_SYMBOL(CMedium, \
This class is the base of all XML-configurable ARGoS interface.
The namespace containing all the ARGoS related code.
virtual void Update()=0
Updates the state of this medium.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
std::map< std::string, CMedium * > TMap
std::vector< CMedium * > TVector
virtual void Destroy()
Undoes whatever was done by Init().
virtual void Init(TConfigurationNode &t_tree)
Initialized the medium.
void SetId(const std::string &str_id)
Sets the id of this medium.
virtual void PostSpaceInit()
Executes extra initialization activities after the space has been initialized.
virtual void Reset()
Resets the resource.
const std::string & GetId() const
Returns the id of this medium.