|
Nyx Node
|
Enumerations used by NyxNode. More...
Classes | |
| class | nyx.indi.enums.NyxState |
| Vector state hint. More... | |
| class | nyx.indi.enums.NyxPerm |
| Vector permission hint. More... | |
| class | nyx.indi.enums.NyxRule |
| Switch vector rule hint. More... | |
| class | nyx.indi.enums.NyxOnOff |
| Switch state. More... | |
Enumerations used by NyxNode.
| class nyx::indi::enums::NyxState |
Vector state hint.
| Symbol | Value | Description |
|---|---|---|
| NyxState.IDLE | 400 | State is idle. |
| NyxState.OK | 401 | State is ok. |
| NyxState.BUSY | 402 | State is busy. |
| NyxState.ALERT | 403 | State is alert. |


Static Public Member Functions | |
| int | to_int (NyxState|int|str value) |
| Converts a NyxState value as an integer. | |
| str | to_str (NyxState|int|str value) |
| Converts a NyxState value as a string. | |
|
static |
| class nyx::indi::enums::NyxPerm |
Vector permission hint.
| Symbol | Value | Description |
|---|---|---|
| NyxPerm.RO | 500 | Read only. |
| NyxPerm.WO | 501 | Write only. |
| NyxPerm.RW | 502 | Read & write. |


Static Public Member Functions | |
| int | to_int (NyxPerm|int|str value) |
| Converts a NyxPerm value as an integer. | |
| str | to_str (NyxPerm|int|str value) |
| Converts a NyxPerm value as a string. | |
|
static |
| class nyx::indi::enums::NyxRule |
Switch vector rule hint.
| Symbol | Value | Description |
|---|---|---|
| NyxRule.ONE_OF_MANY | 600 | Only one switch of many can be ON (e.g., radio buttons). |
| NyxRule.AT_MOST_ONE | 601 | At most one switch can be ON, but all switches can be off. |
| NyxRule.ANY_OF_MANY | 602 | Any number of switches can be ON (e.g., check boxes). |


Static Public Member Functions | |
| int | nyx_rule_int (NyxRule|int|str value) |
| Converts a NyxRule value as an integer. | |
| str | nyx_rule_str (NyxRule|int|str value) |
| Converts a NyxRule value as a string. | |
|
static |
| class nyx::indi::enums::NyxOnOff |
Switch state.
| Symbol | Value | Description |
|---|---|---|
| NyxOnOff.ON | 700 | Switch is ON. |
| NyxOnOff.OFF | 701 | Switch is OFF. |


Static Public Member Functions | |
| int | to_int (NyxOnOff|int|str|bool value) |
| Converts a NyxOnOff value as an integer. | |
| str | to_str (NyxOnOff|int|str|bool value) |
| Converts a NyxOnOff value as a string. | |
|
static |