Package barobo :: Module _comms :: Class PhysicalLayer_TTY
[hide private]
[frames] | no frames]

Class PhysicalLayer_TTY

source code

                  object --+            
                           |            
serial.serialutil.SerialBase --+        
                               |        
  serial.serialposix.PosixSerial --+    
                                   |    
              object --+           |    
                       |           |    
             _io._IOBase --+       |    
                           |       |    
              _io._RawIOBase --+   |    
                               |   |    
              object --+       |   |    
                       |       |   |    
             _io._IOBase --+   |   |    
                           |   |   |    
                   io.IOBase --+   |    
                               |   |    
                    io.RawIOBase --+    
                                   |    
           serial.serialposix.Serial --+
                                       |
                                      PhysicalLayer_TTY

Nested Classes [hide private]

Inherited from io.IOBase: __metaclass__

Instance Methods [hide private]
 
__init__(self, ttyfilename)
Initialize comm port object.
source code
 
disconnect(self) source code

Inherited from serial.serialposix.PosixSerial: close, drainOutput, fileno, flowControl, flush, flushInput, flushOutput, getCD, getCTS, getDSR, getRI, inWaiting, makeDeviceName, nonblocking, open, read, sendBreak, setBreak, setDTR, setRTS, write

Inherited from serial.serialposix.PosixSerial (private): _reconfigurePort

Inherited from serial.serialutil.SerialBase: __repr__, applySettingsDict, getBaudrate, getByteSize, getDsrDtr, getInterCharTimeout, getParity, getPort, getRtsCts, getSettingsDict, getStopbits, getSupportedBaudrates, getSupportedByteSizes, getSupportedParities, getSupportedStopbits, getTimeout, getWriteTimeout, getXonXoff, isOpen, readable, readinto, seekable, setBaudrate, setByteSize, setDsrDtr, setInterCharTimeout, setParity, setPort, setRtsCts, setStopbits, setTimeout, setWriteTimeout, setXonXoff, writable

Inherited from _io._RawIOBase: readall

Inherited from _io._IOBase: __enter__, __exit__, __iter__, __new__, isatty, next, readline, readlines, seek, tell, truncate, writelines

Inherited from _io._IOBase (private): _checkClosed, _checkReadable, _checkSeekable, _checkWritable

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from serial.serialposix.Serial (private): _abc_negative_cache, _abc_negative_cache_version, _abc_registry

Inherited from serial.serialutil.SerialBase: BAUDRATES, BYTESIZES, PARITIES, STOPBITS

Inherited from serial.serialutil.SerialBase (private): _SETTINGS

Inherited from io.IOBase: __abstractmethods__

Inherited from io.IOBase (private): _abc_cache

Properties [hide private]

Inherited from serial.serialutil.SerialBase: baudrate, bytesize, dsrdtr, interCharTimeout, parity, port, rtscts, stopbits, timeout, writeTimeout, xonxoff

Inherited from _io._IOBase: closed

Inherited from object: __class__

Method Details [hide private]

__init__(self, ttyfilename)
(Constructor)

source code 

Initialize comm port object. If a port is given, then the port will be opened immediately. Otherwise a Serial port object in closed state is returned.

Overrides: object.__init__
(inherited documentation)