7 #ifndef RAB_EQUIPPED_ENTITY_H
8 #define RAB_EQUIPPED_ENTITY_H
11 class CRABEquippedEntity;
13 class CEmbodiedEntity;
17 #include <argos3/core/utility/datatypes/byte_array.h>
18 #include <argos3/core/utility/datatypes/set.h>
19 #include <argos3/core/simulator/entity/positional_entity.h>
20 #include <argos3/core/utility/math/vector3.h>
21 #include <argos3/core/simulator/space/positional_indices/space_hash.h>
22 #include <argos3/core/simulator/space/positional_indices/grid.h>
32 typedef std::vector<CRABEquippedEntity*>
TVector;
40 const std::string& str_id,
122 SInt32 m_nCenterI, m_nCenterJ, m_nCenterK;
signed int SInt32
32-bit signed integer.
float Real
Collects all ARGoS code.
The namespace containing all the ARGoS related code.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
Basic class for an entity that contains other entities.
This entity is a link to a body in the physics engine.
An anchor related to the body of an entity.
The abstract definition of a space hash.
Defines the basic cell updater of the space hash.
Byte array utility class.
size_t Size() const
Returns the current size of the byte array.
Defines a very simple double-linked list that stores unique elements.
void SetMedium(CRABMedium &c_medium)
const SAnchor & GetAnchor() const
void SetData(const CByteArray &c_data)
virtual void Update()
Updates the state of this entity.
CRABEquippedEntity(CComposableEntity *pc_parent)
virtual void SetEnabled(bool b_enabled)
Enables or disables an entity.
virtual ~CRABEquippedEntity()
size_t GetMsgSize() const
void SetRange(Real f_range)
virtual std::string GetTypeDescription() const
Returns a string label for this class.
virtual void Reset()
Resets the state of the entity to whatever it was after Init() or the standalone constructor was call...
CEmbodiedEntity * m_pcEntityBody
CSet< CRABEquippedEntity * > TSet
CEmbodiedEntity & GetEntityBody()
std::vector< CRABEquippedEntity * > TVector
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
virtual void operator()(CAbstractSpaceHash< CRABEquippedEntity > &c_space_hash, CRABEquippedEntity &c_element)
Updates the necessary cells of a space hash.
void SetEntity(CRABEquippedEntity &c_entity)
virtual bool operator()(SInt32 n_i, SInt32 n_j, SInt32 n_k, CGrid< CRABEquippedEntity >::SCell &s_cell)
CRABEquippedEntityGridCellUpdater(CGrid< CRABEquippedEntity > &c_grid)
CRABEquippedEntityGridEntityUpdater(CGrid< CRABEquippedEntity > &c_grid)
virtual bool operator()(CRABEquippedEntity &c_entity)