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 unordered_map<ssize_t, CSet<CRABEquippedEntity*,SEntityComparator> > TRoutingTable;
62 TRoutingTable m_tRoutingTable;
71 bool m_bCheckOcclusions;
The namespace containing all the ARGoS related code.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
A data structure that contains positional entities.
Defines a very simple double-linked list that stores unique elements.
virtual void Update()
Updates the state of this medium.
void AddEntity(CRABEquippedEntity &c_entity)
Adds the specified entity to the list of managed entities.
virtual void Destroy()
Undoes whatever was done by Init().
const CSet< CRABEquippedEntity *, SEntityComparator > & GetRABsCommunicatingWith(CRABEquippedEntity &c_entity) const
Returns an immutable vector of RAB entities that can communicated with the given entity.
CRABMedium()
Class constructor.
virtual void PostSpaceInit()
Executes extra initialization activities after the space has been initialized.
void RemoveEntity(CRABEquippedEntity &c_entity)
Removes the specified entity from the list of managed entities.
virtual ~CRABMedium()
Class destructor.
virtual void Reset()
Resets the resource.
virtual void Init(TConfigurationNode &t_tree)
Initialized the medium.