EntryGateState
Entry gate state machine states.
Definition EntryGateController.h:14
Entry gate controller with state machine.
Definition EntryGateController.h:37
IGpioInput & getButton()
Get button reference (for debugging/console commands)
Definition EntryGateController.h:78
EntryGateController(const EntryGateController &)=delete
void setupGpioInterrupts()
Setup GPIO interrupts Call this after construction to enable hardware interrupts.
Definition EntryGateController.cpp:46
~EntryGateController()
Definition EntryGateController.cpp:40
IGate & getGate()
Get gate reference (for debugging/console commands)
Definition EntryGateController.h:73
void reset()
Reset controller to initial state Stops timers, resets state to Idle, clears current ticket,...
Definition EntryGateController.cpp:82
EntryGateController & operator=(const EntryGateController &)=delete
EntryGateState getState() const
Get current state.
Definition EntryGateController.h:63
const char * getStateString() const
Get state as string.
Definition EntryGateController.cpp:59