ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
Go to the documentation of this file.
6 class CRABEquippedEntity;
9 #include <argos3/core/simulator/medium/medium.h>
10 #include <argos3/core/simulator/space/positional_indices/positional_index.h>
11 #include <argos3/plugins/robots/generic/control_interface/ci_range_and_bearing_sensor.h>
12 #include <argos3/plugins/simulator/entities/rab_equipped_entity.h>
59 typedef std::map<CRABEquippedEntity*, CSet<CRABEquippedEntity*> > TRoutingTable;
62 TRoutingTable m_tRoutingTable;
CRABMedium()
Class constructor.
virtual void Init(TConfigurationNode &t_tree)
Initialized the medium.
The namespace containing all the ARGoS related code.
virtual ~CRABMedium()
Class destructor.
virtual void Update()
Updates the state of this medium.
virtual void Destroy()
Undoes whatever was done by Init().
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
virtual void PostSpaceInit()
Executes extra initialization activities after the space has been initialized.
const CSet< CRABEquippedEntity * > & GetRABsCommunicatingWith(CRABEquippedEntity &c_entity) const
Returns an immutable vector of RAB entities that can communicated with the given entity.
void AddEntity(CRABEquippedEntity &c_entity)
Adds the specified entity to the list of managed entities.
A data structure that contains positional entities.
void RemoveEntity(CRABEquippedEntity &c_entity)
Removes the specified entity from the list of managed entities.
Defines a very simple double-linked list that stores unique elements.
virtual void Reset()
Resets the resource.