|
| | ActionBase (Robot *robot, const char shortcut[4], const char text[20], uint8_t menuLevel=1, BoardId boardsId=ID_ANY) |
| |
|
BoardId | boardsId () |
| |
|
bool | preprocessing () |
| |
|
void | preprocessingEnd () |
| |
|
void | preprocessingStart () |
| |
|
virtual void | performAfter () |
| |
|
virtual void | performBefore () |
| |
|
virtual void | perform ()=0 |
| |
|
|
char | _shortcut [4] |
| |
|
char | _text [19] |
| |
|
uint8_t | _menuLevel |
| |
|
|
BoardId | _boardsId |
| |
|
bool | _preprocessing = true |
| |
|
Robot * | _robot |
| |
◆ ActionBase()
| ActionBase::ActionBase |
( |
Robot * |
robot, |
|
|
const char |
shortcut[4], |
|
|
const char |
text[20], |
|
|
uint8_t |
menuLevel = 1, |
|
|
BoardId |
boardsId = ID_ANY |
|
) |
| |
Constructor
- Parameters
-
| robot | - robot |
| shortcut | - up-to-3-letter word |
| text | - menu entry |
| menuLevel | - all the actions with the same menuLevel are displayed. Permitted values are: 0 (in no menu), 1, 2, 4, 16, 16, 32, 64, and 128. A menu-action changes menuLevel to its own, forcing all the actions with this menuLevel to be displayed. "|" lists action in many menus, for example 1 | 16 | 16. |
| boardId | - menu only for a specific board |
Constructor
- Parameters
-
| robot | - robot |
| shortcut | - up-to-3-letter word |
| text | - menu entry |
| menuLevel | - all the actions with the same menuLevel are displayed. Permitted values are: 0 (in no menu), 1, 2, 4, 8, 16, 32, 64, and 128. A menu-action changes menuLevel to its own, forcing all the actions with this menuLevel to be displayed. "|" lists action in many menus, for example 1 | 8 | 16. |
| boardId | - menu only for a specific board |
The documentation for this class was generated from the following files:
- C:/Users/priba/Documents/PlatformIO/Projects/MRMS/lib/mrm-robot/src/mrm-action.h
- C:/Users/priba/Documents/PlatformIO/Projects/MRMS/lib/mrm-robot/src/mrm-action.cpp