Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
withrottle::ThrottleCommand Class Reference

Command from the throttle. More...

#include <Defs.hxx>

Public Types

typedef CommandType id_type
 type of the dispatcher criteria
 

Public Member Functions

id_type id ()
 

Public Attributes

CommandType commandType
 type of command
 
CommandMultiType commandMultiType
 type of multi throttle command
 
CommandSubType commandSubType
 type of throttle command
 
string train
 The train description.
 
string payload
 the command payload
 

Detailed Description

Command from the throttle.

Definition at line 105 of file withrottle/Defs.hxx.

Member Typedef Documentation

◆ id_type

type of the dispatcher criteria

Definition at line 109 of file withrottle/Defs.hxx.

Member Function Documentation

◆ id()

id_type withrottle::ThrottleCommand::id ( )
inline
Returns
the unique identifier of the reply message

Definition at line 118 of file withrottle/Defs.hxx.

Member Data Documentation

◆ commandMultiType

CommandMultiType withrottle::ThrottleCommand::commandMultiType

type of multi throttle command

Definition at line 112 of file withrottle/Defs.hxx.

◆ commandSubType

CommandSubType withrottle::ThrottleCommand::commandSubType

type of throttle command

Definition at line 113 of file withrottle/Defs.hxx.

◆ commandType

CommandType withrottle::ThrottleCommand::commandType

type of command

Definition at line 111 of file withrottle/Defs.hxx.

◆ payload

string withrottle::ThrottleCommand::payload

the command payload

Definition at line 115 of file withrottle/Defs.hxx.

◆ train

string withrottle::ThrottleCommand::train

The train description.

Definition at line 114 of file withrottle/Defs.hxx.


The documentation for this class was generated from the following file: