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

#include <footbot_turret_entity.h>

+ Inheritance diagram for argos::CFootBotTurretEntity:

List of all members.

Public Types

enum  EMode { MODE_OFF, MODE_PASSIVE, MODE_SPEED_CONTROL, MODE_POSITION_CONTROL }

Public Member Functions

 ENABLE_VTABLE ()
 CFootBotTurretEntity (CComposableEntity *pc_parent)
 CFootBotTurretEntity (CComposableEntity *pc_parent, const std::string &str_id)
virtual void Reset ()
 Resets the state of the entity to whatever it was after Init() or the standalone constructor was called.
UInt32 GetMode () const
void SetMode (UInt32 un_mode)
const CRadiansGetRotation () const
void SetRotation (const CRadians &c_rotation)
Real GetRotationSpeed () const
void SetRotationSpeed (Real f_speed)
virtual std::string GetTypeDescription () const
 Returns a string label for this class.

Detailed Description

Definition at line 19 of file footbot_turret_entity.h.


Member Enumeration Documentation

Enumerator:
MODE_OFF 
MODE_PASSIVE 
MODE_SPEED_CONTROL 
MODE_POSITION_CONTROL 

Definition at line 25 of file footbot_turret_entity.h.


Constructor & Destructor Documentation

argos::CFootBotTurretEntity::CFootBotTurretEntity ( CComposableEntity pc_parent,
const std::string &  str_id 
)

Definition at line 27 of file footbot_turret_entity.cpp.


Member Function Documentation

Definition at line 41 of file footbot_turret_entity.h.

Definition at line 49 of file footbot_turret_entity.h.

Definition at line 55 of file footbot_turret_entity.h.

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

Returns a string label for this class.

Returns:
A string label for this class.

Reimplemented from argos::CEntity.

Definition at line 63 of file footbot_turret_entity.h.

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

The default implementation of this method does nothing.

Reimplemented from argos::CEntity.

Definition at line 39 of file footbot_turret_entity.cpp.

void argos::CFootBotTurretEntity::SetMode ( UInt32  un_mode) [inline]

Definition at line 45 of file footbot_turret_entity.h.

void argos::CFootBotTurretEntity::SetRotation ( const CRadians c_rotation)

Definition at line 48 of file footbot_turret_entity.cpp.

Definition at line 59 of file footbot_turret_entity.h.


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