Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
ServerCommand.hxx
Go to the documentation of this file.
1
28#ifndef _WITHROTTLE_SERVERCOMMAND_HXX_
29#define _WITHROTTLE_SERVERCOMMAND_HXX_
30
33#include "withrottle/Defs.hxx"
34
35namespace withrottle
36{
37
38/* forward declaration */
39class ThrottleFlow;
40
43class ServerCommandBase : public StateFlow<Buffer<ThrottleCommand>, QList<1>>
44{
45protected:
51
55
58
59private:
61};
62
63} /* namespace withrottle */
64
65#endif /* _WITHROTTLE_SERVERCOMMAND_HXX_ */
State flow with a given typed input queue.
WiThrottle server command handler base object.
ThrottleFlow * throttle
pointer to parent throttle
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
CommandType
type of command.