argos::CRangeAndBearingDefaultActuator Class Reference

#include <range_and_bearing_default_actuator.h>

Inheritance diagram for argos::CRangeAndBearingDefaultActuator:
Collaboration diagram for argos::CRangeAndBearingDefaultActuator:

Public Member Functions

 CRangeAndBearingDefaultActuator ()
 
virtual ~CRangeAndBearingDefaultActuator ()
 
virtual void SetRobot (CComposableEntity &c_entity)
 Sets the entity associated to this actuator. More...
 
virtual void Update ()
 Updates the state of the entity associated to this actuator. More...
 
virtual void Reset ()
 Resets the actuator to the state it had just after Init(). More...
 
- Public Member Functions inherited from argos::CSimulatedActuator
virtual ~CSimulatedActuator ()
 Class destructor. More...
 
- Public Member Functions inherited from argos::CCI_RangeAndBearingActuator
virtual ~CCI_RangeAndBearingActuator ()
 
size_t GetSize () const
 
void SetData (const CByteArray &c_data)
 
void SetData (size_t un_idx, UInt8 un_value)
 
void ClearData ()
 
- Public Member Functions inherited from argos::CCI_Actuator
virtual ~CCI_Actuator ()
 Class destructor. More...
 
virtual void Init (TConfigurationNode &t_node)
 Initializes the actuator from the XML configuration tree. More...
 
virtual void Destroy ()
 Destroys the actuator. More...
 
- Public Member Functions inherited from argos::CBaseConfigurableResource
virtual ~CBaseConfigurableResource ()
 Class destructor. More...
 

Additional Inherited Members

- Public Types inherited from argos::CCI_Actuator
typedef std::map< std::string, CCI_Actuator *, std::less< std::string > > TMap
 
- Protected Attributes inherited from argos::CCI_RangeAndBearingActuator
CByteArray m_cData
 

Detailed Description

Definition at line 23 of file range_and_bearing_default_actuator.h.

Constructor & Destructor Documentation

argos::CRangeAndBearingDefaultActuator::CRangeAndBearingDefaultActuator ( )
inline

Definition at line 28 of file range_and_bearing_default_actuator.h.

virtual argos::CRangeAndBearingDefaultActuator::~CRangeAndBearingDefaultActuator ( )
inlinevirtual

Definition at line 29 of file range_and_bearing_default_actuator.h.

Member Function Documentation

void argos::CRangeAndBearingDefaultActuator::Reset ( )
virtual

Resets the actuator to the state it had just after Init().

The default implementation of this method does nothing.

See also
Init()
Destroy()

Reimplemented from argos::CCI_Actuator.

Definition at line 32 of file range_and_bearing_default_actuator.cpp.

void argos::CRangeAndBearingDefaultActuator::SetRobot ( CComposableEntity c_entity)
virtual

Sets the entity associated to this actuator.

When a controller is created, all the sensors and actuators are created, too. This function is called right before the Init() method of the actuator is called.

Parameters
c_entityThe entity to associate to this actuator.
See also
CComposableEntity
CControllableEntity::SetController()
CCI_Actuator::Init()

Implements argos::CSimulatedActuator.

Definition at line 16 of file range_and_bearing_default_actuator.cpp.

void argos::CRangeAndBearingDefaultActuator::Update ( )
virtual

Updates the state of the entity associated to this actuator.

Implements argos::CSimulatedActuator.

Definition at line 25 of file range_and_bearing_default_actuator.cpp.