15 #include <argos3/core/simulator/medium/medium.h>
16 #include <argos3/core/simulator/space/positional_indices/positional_index.h>
17 #include <argos3/plugins/simulator/entities/tag_entity.h>
29 m_pcTagEntityIndex(nullptr),
30 m_pcTagEntityGridUpdateOperation(nullptr) {}
60 return *m_pcTagEntityIndex;
void AddEntity(CTagEntity &c_entity)
Adds the specified entity to the list of managed entities.
CTagMedium()
Class constructor.
A data structure that contains positional entities.
void RemoveEntity(CTagEntity &c_entity)
Removes the specified entity from the list of managed entities.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
virtual ~CTagMedium()
Class destructor.
CPositionalIndex< CTagEntity > & GetIndex()
Returns the tag positional index.
virtual void Update()
Updates the state of this medium.
virtual void Reset()
Resets the resource.
virtual void PostSpaceInit()
Executes extra initialization activities after the space has been initialized.
The namespace containing all the ARGoS related code.
virtual void Init(TConfigurationNode &t_tree)
Initialized the medium.
virtual void Destroy()
Undoes whatever was done by Init().