28#ifndef _WITHROTTLE_SERVERCOMMANDLOCO_HXX_
29#define _WITHROTTLE_SERVERCOMMANDLOCO_HXX_
Return type for a state flow callback.
WiThrottle server command handler base object.
ThrottleFlow * throttle
pointer to parent throttle
WiThrottle server command handler base object for multi, primary, and secondary locomotive.
StateFlowBase::Action entry() override
Entry point to the state machine.
StateFlowBase::Action address_long()
Handle a DCC long address sub-command.
~ServerCommandLoco()
Destructor.
StateFlowBase::Action assign_train()
Handle succes or failure of assigning the train, including getting the latest train state.
StateFlowBase::Action load_state()
Update the LCD display with the trains current state.
State flow for handling a throttle instance.
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Removes default copy-constructor and assignment added by C++.