4 #include <mrm-ref-can.h>
10 bool _preprocessing =
true;
26 ActionBase(
Robot* robot,
const char shortcut[4],
const char text[20], uint8_t menuLevel = 1, BoardId boardsId = ID_ANY);
28 BoardId boardsId() {
return _boardsId; }
30 bool preprocessing() {
return _preprocessing; }
32 void preprocessingEnd() { _preprocessing =
false; }
34 void preprocessingStart() { _preprocessing =
true; }
36 virtual void performAfter() {};
38 virtual void performBefore() {};
40 virtual void perform() = 0;
Definition: mrm-action.h:43
Definition: mrm-action.h:7
ActionBase(Robot *robot, const char shortcut[4], const char text[20], uint8_t menuLevel=1, BoardId boardsId=ID_ANY)
Definition: mrm-action.cpp:23
Definition: mrm-action.h:49
Definition: mrm-action.h:55
Definition: mrm-action.h:61
Definition: mrm-action.h:67
Definition: mrm-action.h:73
Definition: mrm-action.h:79
Definition: mrm-action.h:85
Definition: mrm-action.h:91
Definition: mrm-action.h:97
Definition: mrm-action.h:103
Definition: mrm-action.h:109
Definition: mrm-action.h:115
Definition: mrm-action.h:121
Definition: mrm-action.h:127
Definition: mrm-action.h:133
Definition: mrm-action.h:139
Definition: mrm-action.h:151
Definition: mrm-action.h:145
Definition: mrm-action.h:157
Definition: mrm-action.h:163
Definition: mrm-action.h:169
Definition: mrm-action.h:193
Definition: mrm-action.h:187
Definition: mrm-action.h:181
Definition: mrm-action.h:175
Definition: mrm-action.h:199
Definition: mrm-action.h:205
Definition: mrm-action.h:211
Definition: mrm-action.h:217
Definition: mrm-action.h:235
Definition: mrm-action.h:253
Definition: mrm-action.h:265
Definition: mrm-action.h:259
Definition: mrm-action.h:283
Definition: mrm-action.h:295
Definition: mrm-action.h:301
Definition: mrm-action.h:289
Definition: mrm-action.h:313
Definition: mrm-action.h:307
Definition: mrm-action.h:277
Definition: mrm-action.h:319
Definition: mrm-action.h:331
Definition: mrm-action.h:325
Definition: mrm-robot.h:42