A base class for all movement commands.
More...
|
| MovementComponent (Robot _robot) |
| The constructor.
|
|
virtual string | Request (string value) |
| Request and parse the movement command.
|
|
| Component (Robot _robot) |
| The constructor.
|
|
virtual void | Update () |
| The Update function that manually refreshes the state of a given component (e.g. when AutoUpdate = false)
|
|
|
string | GetParameter (string value) |
| Parse the specific parameter and return its value.
|
|
|
string | report |
| Stores the latest response from the robot. Usefull for commands supporting multiple fields in the response.
|
|
Robot | robot |
| The robot class, accessible by all dervied classes.
|
|
|
bool | AutoUpdate = true |
| Automatic update option for methods requesting more than one piece of information.
|
|
A base class for all movement commands.
Rovio.API.MovementComponent.MovementComponent |
( |
Robot |
_robot | ) |
|
string Rovio.API.MovementComponent.GetParameter |
( |
string |
value | ) |
|
|
protected |
Parse the specific parameter and return its value.
virtual string Rovio.API.MovementComponent.Request |
( |
string |
value | ) |
|
|
virtual |
Request and parse the movement command.
- Parameters
-
- Returns
- response from the robot
string Rovio.API.MovementComponent.report |
|
protected |
Stores the latest response from the robot. Usefull for commands supporting multiple fields in the response.
The documentation for this class was generated from the following file:
- C:/Users/Greg/Documents/GitHub/RoboLib/src/Rovio.cs