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
31
#include "
executor/Dispatcher.hxx
"
32
#include "
executor/StateFlow.hxx
"
33
#include "
withrottle/Defs.hxx
"
34
35
namespace
withrottle
36
{
37
38
/* forward declaration */
39
class
ThrottleFlow;
40
43
class
ServerCommandBase
:
public
StateFlow
<Buffer<ThrottleCommand>, QList<1>>
44
{
45
protected
:
50
ServerCommandBase
(
ThrottleFlow
*
throttle
,
CommandType
type);
51
54
~ServerCommandBase
();
55
57
ThrottleFlow
*
throttle
;
58
59
private
:
60
DISALLOW_COPY_AND_ASSIGN
(
ServerCommandBase
);
61
};
62
63
}
/* namespace withrottle */
64
65
#endif
/* _WITHROTTLE_SERVERCOMMAND_HXX_ */
Dispatcher.hxx
StateFlow.hxx
StateFlow
State flow with a given typed input queue.
Definition
StateFlow.hxx:1374
withrottle::ServerCommandBase
WiThrottle server command handler base object.
Definition
ServerCommand.hxx:44
withrottle::ServerCommandBase::throttle
ThrottleFlow * throttle
pointer to parent throttle
Definition
ServerCommand.hxx:57
withrottle::ServerCommandBase::~ServerCommandBase
~ServerCommandBase()
Destructor.
Definition
ServerCommand.cxx:48
withrottle::ThrottleFlow
State flow for handling a throttle instance.
Definition
Server.hxx:104
DISALLOW_COPY_AND_ASSIGN
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Removes default copy-constructor and assignment added by C++.
Definition
macros.h:171
Defs.hxx
withrottle::CommandType
CommandType
type of command.
Definition
withrottle/Defs.hxx:57
src
withrottle
ServerCommand.hxx
Generated on Sun Feb 2 2025 21:18:14 for Open Model Railroad Network (OpenMRN) by
1.9.8