Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Enki::LocalInteraction Class Reference
[Core Enki classes]

#include <Interaction.h>

Inheritance diagram for Enki::LocalInteraction:

Enki::AliceCommunication Enki::CircularCam Enki::IRSensor Enki::SbotCam Enki::SbotFeeding List of all members.

Detailed Description

Interacts with another object or wall only up to a certain distance.


Public Member Functions

virtual ~LocalInteraction ()
 Destructor.
virtual void init ()
 Init at each step.
virtual void objectStep (double dt, PhysicalObject *po, World *w)
 Interact with object.
virtual void wallsStep (World *w)
 Interact with walls.
virtual void finalize (double dt)
 Finalize at each step.
double getRange () const
 Return the range of the interaction.

Protected Attributes

double r
 Radius of the local interaction.
Robotowner
 The physical object that owns the interaction.

Friends

class Robot
 Robots can access protected members me.


The documentation for this class was generated from the following file:
Generated on Mon Oct 24 17:33:58 2005 for Enki by  doxygen 1.4.2