Main Page   Hardware Class Hierarchy   Hardware API     Mapping Class Hierarchy  Mapping API 

motion Class Reference

A class which describes all commands that are executable (used to be all only motions). More...

#include <motion.h>


Public Member Functions

 motion (void)
 Default constructor.

 motion (int x, int y, atomic_rotation face, MOTION imotion)
 Constructor intialized with components.

 motion (motion const &m)
 Copy constructor.

void update (int x, int y, atomic_rotation face, MOTION imotion)
 Set internal values.


Data Fields

int _x
int _y
 Y coordinate (public for speed).

atomic_rotation _face
 Orientation in degrees (public for speed).

MOTION _motion
 Basic motion or command to perform (public for speed).


Detailed Description

A class which describes all commands that are executable (used to be all only motions).


Constructor & Destructor Documentation

motion void   ) 
 

Default constructor.

motion int  x,
int  y,
atomic_rotation  face,
MOTION  imotion
 

Constructor intialized with components.

motion motion const &  m  ) 
 

Copy constructor.


Member Function Documentation

void update int  x,
int  y,
atomic_rotation  face,
MOTION  imotion
 

Set internal values.


Field Documentation

atomic_rotation _face
 

Orientation in degrees (public for speed).

MOTION _motion
 

Basic motion or command to perform (public for speed).

int _x
 

int _y
 

Y coordinate (public for speed).


Generated on Mon Oct 8 19:32:26 2007 for OOMRM Mapping API by doxygen1.3