7 #ifndef DIRECTIONAL_LED_MEDIUM_H
8 #define DIRECTIONAL_LED_MEDIUM_H
11 class CDirectionalLEDMedium;
12 class CDirectionalLEDEntity;
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/directional_led_entity.h>
29 m_pcDirectionalLEDEntityIndex(nullptr),
30 m_pcDirectionalLEDEntityGridUpdateOperation(nullptr) {}
60 return *m_pcDirectionalLEDEntityIndex;
The namespace containing all the ARGoS related code.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
A data structure that contains positional entities.
virtual void PostSpaceInit()
Executes extra initialization activities after the space has been initialized.
CPositionalIndex< CDirectionalLEDEntity > & GetIndex()
Returns the directional LED positional index.
virtual void Reset()
Resets the resource.
void RemoveEntity(CDirectionalLEDEntity &c_entity)
Removes the specified entity from the list of managed entities.
virtual void Init(TConfigurationNode &t_tree)
Initialized the medium.
virtual void Destroy()
Undoes whatever was done by Init().
CDirectionalLEDMedium()
Class constructor.
virtual ~CDirectionalLEDMedium()
Class destructor.
virtual void Update()
Updates the state of this medium.
void AddEntity(CDirectionalLEDEntity &c_entity)
Adds the specified entity to the list of managed entities.