|
Model Railroad System 2.2.2
|
Double header information. More...
Public Member Functions | |
| Address () | |
| Return address. More... | |
| Available () | |
| Return available flag. More... | |
| Direction () | |
| Return direction. More... | |
| SpeedStepMode () | |
| Return speed step mode. More... | |
| Speed () | |
| Return speed. More... | |
| Address2 () | |
| Return the address of second unit in double header. More... | |
| Function (f) | |
| Return function status. More... | |
| DoubleHeaderInformation (name, a, addr2, avail, dir, ssm, s, f0, f1, f2, f3, f4, f5=0, f6=0, f7=0, f8=0, f9=0, f10=0, f11=0, f12=0) | |
| Constructor. More... | |
Private Attributes | |
| _address | |
| Locomotive address. More... | |
| _available | |
| Locomotive is available. More... | |
| _direction | |
| Locomotive direction. More... | |
| _speedstep | |
| Locomotive speed step mode. More... | |
| _speed | |
| Locomotive speed. More... | |
| _function0 | |
| Function 0. More... | |
| _function1 | |
| Function 1. More... | |
| _function2 | |
| Function 2. More... | |
| _function3 | |
| Function 3. More... | |
| _function4 | |
| Function 4. More... | |
| _function5 | |
| Function 5. More... | |
| _function6 | |
| Function 6. More... | |
| _function7 | |
| Function 7. More... | |
| _function8 | |
| Function 8. More... | |
| _function9 | |
| Function 9. More... | |
| _function10 | |
| Function 10. More... | |
| _function11 | |
| Function 11. More... | |
| _function12 | |
| Function 12. More... | |
| _address2 | |
| Double header address. More... | |
Double header information.
| xpressnet::DoubleHeaderInformation::DoubleHeaderInformation | ( | name | , |
| a | , | ||
| addr2 | , | ||
| avail | , | ||
| dir | , | ||
| ssm | , | ||
| s | , | ||
| f0 | , | ||
| f1 | , | ||
| f2 | , | ||
| f3 | , | ||
| f4 | , | ||
| f5 | = 0, |
||
| f6 | = 0, |
||
| f7 | = 0, |
||
| f8 | = 0, |
||
| f9 | = 0, |
||
| f10 | = 0, |
||
| f11 | = 0, |
||
| f12 | = 0 |
||
| ) |
Constructor.
| a | Locomotive address. |
| addr2 | Double header address. |
| avail | Available flag. |
| dir | Direction. |
| ssm | Speed step mode. |
| s | Locomotive speed. |
| f0 | Function 0 status. |
| f1 | Function 1 status. |
| f2 | Function 2 status. |
| f3 | Function 3 status. |
| f4 | Function 4 status. |
| f5 | Function 5 status. |
| f6 | Function 6 status. |
| f7 | Function 7 status. |
| f8 | Function 8 status. |
| f9 | Function 9 status. |
| f10 | Function 10 status. |
| f11 | Function 11 status. |
| f12 | Function 12 status. |
| xpressnet::DoubleHeaderInformation::Address | ( | ) |
Return address.
| xpressnet::DoubleHeaderInformation::Address2 | ( | ) |
Return the address of second unit in double header.
| xpressnet::DoubleHeaderInformation::Available | ( | ) |
Return available flag.
| xpressnet::DoubleHeaderInformation::Direction | ( | ) |
Return direction.
| xpressnet::DoubleHeaderInformation::Function | ( | f | ) |
Return function status.
| f | Function whose status to return. |
| xpressnet::DoubleHeaderInformation::Speed | ( | ) |
Return speed.
| xpressnet::DoubleHeaderInformation::SpeedStepMode | ( | ) |
Return speed step mode.
|
private |
Locomotive address.
|
private |
Double header address.
|
private |
Locomotive is available.
|
private |
Locomotive direction.
|
private |
Function 0.
|
private |
Function 1.
|
private |
Function 10.
|
private |
Function 11.
|
private |
Function 12.
|
private |
Function 2.
|
private |
Function 3.
|
private |
Function 4.
|
private |
Function 5.
|
private |
Function 6.
|
private |
Function 7.
|
private |
Function 8.
|
private |
Function 9.
|
private |
Locomotive speed.
|
private |
Locomotive speed step mode.