TwiceAsNice
2019-02-18
|
Public Member Functions | |
def | __init__ (self, deviceRootName) |
def | getNumOfInputPorts (self) |
def | getNumOfOutputPorts (self) |
def | setOn (self, outputPortIndex) |
def | setOff (self, outputPortIndex) |
def | getOutputPortState (self, outputPortIndex) |
def | getInputPortState (self, inputPortIndex) |
def | getOutputPortDescription (self, outputPortIndex) |
def | getInputPortDescription (self, inputPortIndex) |
def | isReachable (self) |
def | name (self) |
def | turnOffLoggingWhenSettingOutputPort (self, port) |
def | turnOnLoggingWhenSettingOutputPort (self, port) |
def | isLoggingTurnedOnWhenSettingOutputPort (self, port) |
def | __init__ (self, deviceRootName) |
def | getNumOfInputPorts (self) |
def | getNumOfOutputPorts (self) |
def | setOn (self, outputPortIndex) |
def | setOff (self, outputPortIndex) |
def | getOutputPortState (self, outputPortIndex) |
def | getInputPortState (self, inputPortIndex) |
def | getOutputPortDescription (self, outputPortIndex) |
def | getInputPortDescription (self, inputPortIndex) |
def | isReachable (self) |
def | name (self) |
def | turnOffLoggingWhenSettingOutputPort (self, port) |
def | turnOnLoggingWhenSettingOutputPort (self, port) |
def | isLoggingTurnedOnWhenSettingOutputPort (self, port) |
Public Attributes | |
deviceRootName_ | |
inputPorts_ | |
outputPorts_ | |
Static Public Attributes | |
DEBUG_LEVEL_IN_SETTING_OUTPUT_PORT_NAME = \ | |
Private Member Functions | |
def | _loggingEnabledPropertyName (self, port) |
def | _configureLoggingForOutputPortSetting (self, deactivated, port) |
def | _buildInputPorts (self) |
def | _buildOutputPorts (self) |
def | _checkOutputPortIndex (self, outputPortIndex) |
def | _checkInputPortIndex (self, inputPortIndex) |
def | _loggingEnabledPropertyName (self, port) |
def | _configureLoggingForOutputPortSetting (self, deactivated, port) |
def | _buildInputPorts (self) |
def | _buildOutputPorts (self) |
def | _checkOutputPortIndex (self, outputPortIndex) |
def | _checkInputPortIndex (self, inputPortIndex) |
This class represents a I/O switch devices with several input ports and output ports.
def io_switch.IoSwitch.__init__ | ( | self, | |
deviceRootName | |||
) |
Constructs an IoSwitch. @param deviceRootName the root node name of the device in the property tree.
def io_switch.IoSwitch.__init__ | ( | self, | |
deviceRootName | |||
) |
Constructs an IoSwitch. @param deviceRootName the root node name of the device in the property tree.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
def io_switch.IoSwitch.getInputPortDescription | ( | self, | |
inputPortIndex | |||
) |
def io_switch.IoSwitch.getInputPortDescription | ( | self, | |
inputPortIndex | |||
) |
def io_switch.IoSwitch.getInputPortState | ( | self, | |
inputPortIndex | |||
) |
Gets the state of an input port. @param inputPortIndex an port index. @return the port state (element of PORT_STATES)
def io_switch.IoSwitch.getInputPortState | ( | self, | |
inputPortIndex | |||
) |
Gets the state of an input port. @param inputPortIndex an port index. @return the port state (element of PORT_STATES)
def io_switch.IoSwitch.getNumOfInputPorts | ( | self | ) |
def io_switch.IoSwitch.getNumOfInputPorts | ( | self | ) |
def io_switch.IoSwitch.getNumOfOutputPorts | ( | self | ) |
def io_switch.IoSwitch.getNumOfOutputPorts | ( | self | ) |
def io_switch.IoSwitch.getOutputPortDescription | ( | self, | |
outputPortIndex | |||
) |
def io_switch.IoSwitch.getOutputPortDescription | ( | self, | |
outputPortIndex | |||
) |
def io_switch.IoSwitch.getOutputPortState | ( | self, | |
outputPortIndex | |||
) |
Gets the state of an output port. @param outputPortIndex an port index. @return the port state (element of PORT_STATES)
def io_switch.IoSwitch.getOutputPortState | ( | self, | |
outputPortIndex | |||
) |
Gets the state of an output port. @param outputPortIndex an port index. @return the port state (element of PORT_STATES)
def io_switch.IoSwitch.isLoggingTurnedOnWhenSettingOutputPort | ( | self, | |
port | |||
) |
def io_switch.IoSwitch.isLoggingTurnedOnWhenSettingOutputPort | ( | self, | |
port | |||
) |
def io_switch.IoSwitch.isReachable | ( | self | ) |
Checks if the hardware is reachable. @return true if the hardware is reachable.
def io_switch.IoSwitch.isReachable | ( | self | ) |
Checks if the hardware is reachable. @return true if the hardware is reachable.
def io_switch.IoSwitch.name | ( | self | ) |
@return the name of the device
def io_switch.IoSwitch.name | ( | self | ) |
@return the name of the device
def io_switch.IoSwitch.setOff | ( | self, | |
outputPortIndex | |||
) |
Sets on output port to OFF. @param outputPortIndex an port index.
def io_switch.IoSwitch.setOff | ( | self, | |
outputPortIndex | |||
) |
Sets on output port to OFF. @param outputPortIndex an port index.
def io_switch.IoSwitch.setOn | ( | self, | |
outputPortIndex | |||
) |
Sets an output port to ON. @param outputPortIndex an port index.
def io_switch.IoSwitch.setOn | ( | self, | |
outputPortIndex | |||
) |
Sets an output port to ON. @param outputPortIndex an port index.
def io_switch.IoSwitch.turnOffLoggingWhenSettingOutputPort | ( | self, | |
port | |||
) |
def io_switch.IoSwitch.turnOffLoggingWhenSettingOutputPort | ( | self, | |
port | |||
) |
def io_switch.IoSwitch.turnOnLoggingWhenSettingOutputPort | ( | self, | |
port | |||
) |
def io_switch.IoSwitch.turnOnLoggingWhenSettingOutputPort | ( | self, | |
port | |||
) |
|
static |
io_switch.IoSwitch.deviceRootName_ |
io_switch.IoSwitch.inputPorts_ |
io_switch.IoSwitch.outputPorts_ |