|
Model Railroad System 2.2.2
|
Accessory decoder information. More...
Public Member Functions | |
| AccessoryDecoderInformation (name, count,...) | |
| Constructor. More... | |
| NumberOfFeedbackElements () | |
| Return the number of feedback elements. More... | |
| Address (index) | |
| Return address. More... | |
| Completed (index) | |
| Return completed flag. More... | |
| AccessoryType (index) | |
| Return accessory type. More... | |
| Nibble (index) | |
| Return nibble code. More... | |
| TurnoutStatus (index, nibble) | |
| Return turnout status. More... | |
Private Attributes | |
| _numberOfFeedbackElements | |
| Number of Accessory Decoder feedback elements. More... | |
| _address | |
| Address value. More... | |
| _completed | |
| Completion flag. More... | |
| _accessory_type | |
| Accessory type. More... | |
| _nibble | |
| Nibble value. More... | |
| _t1 | |
| Lower nibble turnout status. More... | |
| _t2 | |
| Upper nibble turnout status. More... | |
Accessory decoder information.
| xpressnet::AccessoryDecoderInformation::AccessoryDecoderInformation | ( | name | , |
| count | , | ||
| ... | |||
| ) |
Constructor.
| count | Number of Accessory Decoder feedback elements (1 through 7). |
| args | Address and data bytes. |
| xpressnet::AccessoryDecoderInformation::AccessoryType | ( | index | ) |
Return accessory type.
| index | Element index. |
| xpressnet::AccessoryDecoderInformation::Address | ( | index | ) |
Return address.
| index | Element index. |
| xpressnet::AccessoryDecoderInformation::Completed | ( | index | ) |
Return completed flag.
| index | Element index. |
| xpressnet::AccessoryDecoderInformation::Nibble | ( | index | ) |
Return nibble code.
| index | Element index. |
| xpressnet::AccessoryDecoderInformation::NumberOfFeedbackElements | ( | ) |
Return the number of feedback elements.
| xpressnet::AccessoryDecoderInformation::TurnoutStatus | ( | index | , |
| nibble | |||
| ) |
Return turnout status.
| index | Element index. |
| nibble | Which turnout? |
|
private |
Accessory type.
|
private |
Address value.
|
private |
Completion flag.
|
private |
Nibble value.
|
private |
Number of Accessory Decoder feedback elements.
|
private |
Lower nibble turnout status.
|
private |
Upper nibble turnout status.