#include <motion_chain.h>
Inheritance diagram for motion_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) |
| motion & | operator[] (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 |
|
|
default constructor.
|
|
||||||||||||||||||||
|
Append basic a motion with components.
|
|
|
append a motion
|
|
|
Resets the list and command execution index.
|
|
|
Returns the current index value.
|
|
|
Accessor operator.
|
|
|
Print out chain to log file.
|
|
|
Returns next motion to be executed on list.
|
|
|
Sets the command execution index value.
|
|
|
Returns current size of structure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3