Go to the source code of this file.
◆ CHECK_STATES
Value: if (!current) return false; \
if (!next) return false; \
int indy = state_index(current); \
if (
negative(state_index(next)))
return false
bool negative(const type &a)
negative returns true if "a" is less than zero.
Definition at line 51 of file state_machine.cpp.
◆ CHECK_VALID
Value: if (!m._current) return false; \
if (!m._last) return false
Definition at line 46 of file state_machine.cpp.
◆ FIND_STATE
◆ LOG
◆ MOVE_STATE
#define MOVE_STATE |
( |
|
m, |
|
|
|
next, |
|
|
|
type, |
|
|
|
trigger |
|
) |
| |
Value: m._last = m._current; \
m._current = next; \
m._type = type; \
m._trig = trigger; \
m._start->reset()
Definition at line 59 of file state_machine.cpp.