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

Public Member Functions | |
| remote_command_chain (void) | |
| const remote_command | erase (int i) |
| Erase item from list. | |
| remote_command | get (int ip) const |
| return element ip. | |
| void | set (short, int, int, DEGREE, int) |
| Sets the poses x,y,theta, and function number. | |
| bool | append (const remote_command &) |
| append a command structure. | |
| bool | append (const pose &ipose, int fn) |
| Append a pose and function number. | |
| remote_command | operator[] (int) const |
| void | insert (int ip) |
| 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 | |
| remote_command | _remote_command_chain [REMOTE_COMMAND_CHAIN_MAX] |
Friends | |
| class | mission_profile |
Difference with command chain is this contains not a function itsself, but the functin number to execute on the remote target.
|
|
|
|
||||||||||||
|
Append a pose and function number.
|
|
|
append a command structure.
|
|
|
Resets the list and command execution index.
|
|
|
Erase item from list.
|
|
|
Returns the current index value.
|
|
|
return element ip.
|
|
|
|
|
|
Accessor operator add element before element ip. does not define contents of new element. |
|
|
Sets the command execution index value.
|
|
||||||||||||||||||||||||
|
Sets the poses x,y,theta, and function number.
|
|
|
Returns current size of structure.
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3