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

motion_chain Class Reference

A class that represents a list of motion commands designed to fed sequentially into the Geometry_Driver. More...

#include <motion_chain.h>

Inheritance diagram for motion_chain:

chain

Public Member Functions

 motion_chain (void)
 default constructor.

bool append (const motion &)
 append a motion

bool append (int x, int y, atomic_rotation face, MOTION imotion)
 Append basic a motion with components.

const motion serve (void)
 Returns next motion to be executed on list.

void transform_real (void)
motionoperator[] (int)
 Accessor operator.

void print (void)
 Print out chain to log file.

void clear (void)
 Resets the list and command execution index.

void set (int)
 Sets the command execution index value.

int size () const
 Returns current size of structure.

int execute () const
 Returns the current index value.


Protected Attributes

int _top
int _next

Private Attributes

motion _motion_chain [MOTION_CHAIN_MAX]

Friends

class mission_profile

Detailed Description

A class that represents a list of motion commands designed to fed sequentially into the Geometry_Driver.


Constructor & Destructor Documentation

motion_chain void   ) 
 

default constructor.


Member Function Documentation

bool append int  x,
int  y,
atomic_rotation  face,
MOTION  imotion
 

Append basic a motion with components.

bool append const motion  ) 
 

append a motion

void clear void   )  [inherited]
 

Resets the list and command execution index.

int execute  )  const [inherited]
 

Returns the current index value.

motion& operator[] int   ) 
 

Accessor operator.

void print void   ) 
 

Print out chain to log file.

const motion serve void   ) 
 

Returns next motion to be executed on list.

void set int   )  [inherited]
 

Sets the command execution index value.

int size  )  const [inherited]
 

Returns current size of structure.

void transform_real void   ) 
 


Friends And Related Function Documentation

friend class mission_profile [friend, inherited]
 


Field Documentation

motion _motion_chain[MOTION_CHAIN_MAX] [private]
 

int _next [protected, inherited]
 

int _top [protected, inherited]
 


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