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

point_chain Class Reference

A class that represents a list of points. More...

#include <point_chain.h>

Inheritance diagram for point_chain:

chain

Public Member Functions

 point_chain (void)
 default constructor.

bool append (const point &)
 append a motion

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

point operator[] (int) const
 Accessor operator.

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

point _point_chain [POINT_CHAIN_MAX]

Friends

class mission_profile

Detailed Description

A class that represents a list of points.


Constructor & Destructor Documentation

point_chain void   ) 
 

default constructor.


Member Function Documentation

bool append const point  ) 
 

append a motion

void clear void   )  [inherited]
 

Resets the list and command execution index.

int execute  )  const [inherited]
 

Returns the current index value.

point operator[] int   )  const
 

Accessor operator.

const point 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.


Friends And Related Function Documentation

friend class mission_profile [friend, inherited]
 


Field Documentation

int _next [protected, inherited]
 

point _point_chain[POINT_CHAIN_MAX] [private]
 

int _top [protected, inherited]
 


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