#include <command_chain.h>
Inheritance diagram for command_chain:

Public Member Functions | |
| command_chain (void) | |
| bool | append (const command &) |
| append a command structure. | |
| bool | append (const pose &ipose, foo f, void *d) |
| Append a pose and function. | |
| const command | serve (void) |
| Returns next motion to be executed on list. | |
| command | 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 | |
| command | _command_chain [COMMAND_CHAIN_MAX] |
Friends | |
| class | mission_profile |
|
|
|
|
||||||||||||||||
|
Append a pose and function.
|
|
|
append a command structure.
|
|
|
Resets the list and command execution index.
|
|
|
Returns the current index value.
|
|
|
Accessor operator.
|
|
|
Returns next motion to be executed on list.
|
|
|
Sets the command execution index value.
|
|
|
Returns current size of structure.
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3