2022-04-19 19:23:30 -04:00
|
|
|
Table Table::inst;
|
2012-08-14 18:00:48 -04:00
|
|
|
|
2022-04-19 19:23:30 -04:00
|
|
|
Q_STATE_DEF(Table, initial) {
|
2012-08-14 18:00:48 -04:00
|
|
|
|
2022-04-19 19:23:30 -04:00
|
|
|
QS_OBJ_DICTIONARY(&Table::inst);
|
2013-10-10 20:01:51 -04:00
|
|
|
QS_FUN_DICTIONARY(&QP::QHsm::top);
|
|
|
|
QS_FUN_DICTIONARY(&Table::initial);
|
|
|
|
QS_FUN_DICTIONARY(&Table::active);
|
|
|
|
QS_FUN_DICTIONARY(&Table::serving);
|
|
|
|
QS_FUN_DICTIONARY(&Table::paused);
|
2012-08-14 18:00:48 -04:00
|
|
|
|
2022-04-19 19:23:30 -04:00
|
|
|
QS_SIG_DICTIONARY(DONE_SIG, nullptr); // global signals
|
|
|
|
QS_SIG_DICTIONARY(EAT_SIG, nullptr);
|
|
|
|
QS_SIG_DICTIONARY(PAUSE_SIG, nullptr);
|
|
|
|
QS_SIG_DICTIONARY(TERMINATE_SIG, nullptr);
|
2012-08-14 18:00:48 -04:00
|
|
|
|
2022-04-19 19:23:30 -04:00
|
|
|
QS_SIG_DICTIONARY(HUNGRY_SIG, this); // signal just for Table
|
2013-10-10 20:01:51 -04:00
|
|
|
|
|
|
|
. . .
|
2012-08-14 18:00:48 -04:00
|
|
|
}
|