TwiceAsNice  2019-02-18
Public Member Functions | Public Attributes | List of all members
io_switch.InputPort Class Reference
Inheritance diagram for io_switch.InputPort:
Inheritance graph
Collaboration diagram for io_switch.InputPort:
Collaboration graph

Public Member Functions

def __init__ (self, deviceName, portIndex)
 
def getState (self)
 
def getDescription (self)
 
def __init__ (self, deviceName, portIndex)
 
def getState (self)
 
def getDescription (self)
 

Public Attributes

 deviceName_
 
 portIndex_
 

Additional Inherited Members

- Static Public Attributes inherited from io_switch.Port
string PROPERTY_DESCRIPTION = "DESCRIPTION"
 

Detailed Description

This class represents an input port.

Constructor & Destructor Documentation

◆ __init__() [1/2]

def io_switch.InputPort.__init__ (   self,
  deviceName,
  portIndex 
)
Constructs an InputPort.

@param deviceName the node name of the input port.
@param portIndex the index of the port

◆ __init__() [2/2]

def io_switch.InputPort.__init__ (   self,
  deviceName,
  portIndex 
)
Constructs an InputPort.

@param deviceName the node name of the input port.
@param portIndex the index of the port

Member Function Documentation

◆ getDescription() [1/2]

def io_switch.InputPort.getDescription (   self)

◆ getDescription() [2/2]

def io_switch.InputPort.getDescription (   self)

◆ getState() [1/2]

def io_switch.InputPort.getState (   self)
Gets the state.

@return the state of the input port (element of PORT_STATES)

◆ getState() [2/2]

def io_switch.InputPort.getState (   self)
Gets the state.

@return the state of the input port (element of PORT_STATES)

Member Data Documentation

◆ deviceName_

io_switch.InputPort.deviceName_

◆ portIndex_

io_switch.InputPort.portIndex_

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