ARGoS  3
A parallel, multi-engine simulator for swarm robotics
argos::CFootBotEntity Class Reference

#include <footbot_entity.h>

+ Inheritance diagram for argos::CFootBotEntity:

List of all members.

Public Member Functions

 ENABLE_VTABLE ()
 CFootBotEntity ()
 CFootBotEntity (const std::string &str_id, const std::string &str_controller_id, const CVector3 &c_position=CVector3(), const CQuaternion &c_orientation=CQuaternion(), Real f_rab_range=3.0f, const CRadians &c_aperture=ToRadians(CDegrees(70.0f)))
virtual void Init (TConfigurationNode &t_tree)
 Initializes the state of the entity from the XML configuration tree.
virtual void Reset ()
 Resets the state of the entity to whatever it was after Init() or the standalone constructor was called.
virtual void Destroy ()
 Destroys the entity, undoing whatever was done by Init() or by the standalone constructor.
virtual void UpdateComponents ()
 Calls the Update() method on all the components.
CControllableEntityGetControllableEntity ()
CFootBotDistanceScannerEquippedEntityGetDistanceScannerEquippedEntity ()
CFootBotTurretEntityGetTurretEntity ()
CEmbodiedEntityGetEmbodiedEntity ()
CGripperEquippedEntityGetGripperEquippedEntity ()
CGroundSensorEquippedEntityGetGroundSensorEquippedEntity ()
CLEDEquippedEntityGetLEDEquippedEntity ()
CLightSensorEquippedEntityGetLightSensorEquippedEntity ()
COmnidirectionalCameraEquippedEntityGetOmnidirectionalCameraEquippedEntity ()
CProximitySensorEquippedEntityGetProximitySensorEquippedEntity ()
CRABEquippedEntityGetRABEquippedEntity ()
CWheeledEntityGetWheeledEntity ()
CWiFiEquippedEntityGetWiFiEquippedEntity ()
virtual std::string GetTypeDescription () const
 Returns a string label for this class.

Detailed Description

Definition at line 31 of file footbot_entity.h.


Constructor & Destructor Documentation

argos::CFootBotEntity::CFootBotEntity ( const std::string &  str_id,
const std::string &  str_controller_id,
const CVector3 c_position = CVector3(),
const CQuaternion c_orientation = CQuaternion(),
Real  f_rab_range = 3.0f,
const CRadians c_aperture = ToRadians(CDegrees(70.0f)) 
)

Definition at line 76 of file footbot_entity.cpp.


Member Function Documentation

void argos::CFootBotEntity::Destroy ( ) [virtual]

Destroys the entity, undoing whatever was done by Init() or by the standalone constructor.

The default implementation of this method does nothing.

Reimplemented from argos::CEntity.

Definition at line 359 of file footbot_entity.cpp.

virtual std::string argos::CFootBotEntity::GetTypeDescription ( ) const [inline, virtual]

Returns a string label for this class.

Returns:
A string label for this class.

Reimplemented from argos::CComposableEntity.

Definition at line 106 of file footbot_entity.h.

void argos::CFootBotEntity::Init ( TConfigurationNode t_tree) [virtual]

Initializes the state of the entity from the XML configuration tree.

If the id of the entity has not been set yet, this method sets an id for the entity. If the entity has no parent, this method parses the passed XML tree and looks for the id attribute, setting its value as id. If, instead, this entity has a parent, the id is set as GetParent().GetId() + "." + GetTypeDescription().

Exceptions:
CARGoSExceptionif a parse error occurred

Reimplemented from argos::CEntity.

Definition at line 218 of file footbot_entity.cpp.

void argos::CFootBotEntity::Reset ( ) [virtual]

Resets the state of the entity to whatever it was after Init() or the standalone constructor was called.

Internally calls Reset() for all the component entities.

Reimplemented from argos::CComposableEntity.

Definition at line 349 of file footbot_entity.cpp.

Calls the Update() method on all the components.

See also:
Update()

Reimplemented from argos::CComposableEntity.

Definition at line 368 of file footbot_entity.cpp.


The documentation for this class was generated from the following files: