Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
ServerCommandLoco.hxx
Go to the documentation of this file.
1
28#ifndef _WITHROTTLE_SERVERCOMMANDLOCO_HXX_
29#define _WITHROTTLE_SERVERCOMMANDLOCO_HXX_
30
32
33namespace withrottle
34{
35
75
76} /* namespace withrottle */
77
78#endif /* _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.
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.
Definition Server.hxx:104
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Removes default copy-constructor and assignment added by C++.
Definition macros.h:171