Module device :: Class DeviceThread
[hide private]
[frames] | no frames]

type DeviceThread

source code

        object --+        
                 |        
threading._Verbose --+    
                     |    
      threading.Thread --+
                         |
                        DeviceThread

Class that implements the device's worker thread.

Instance Methods [hide private]
 
__init__(self, device)
Constructor.
source code
 
run(self)
Method representing the thread's activity.
source code

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, is_alive, join, setDaemon, setName, start

Inherited from threading.Thread (private): _reset_internal_locks, _set_daemon, _set_ident

Inherited from threading._Verbose (private): _note

Properties [hide private]

Inherited from threading.Thread: daemon, ident, name

Inherited from threading.Thread (private): _block

Method Details [hide private]

__init__(self, device)
(Constructor)

source code 

Constructor.

Parameters:
  • device (Device) - the device which owns this thread
Overrides: threading._Verbose.__init__

run(self)

source code 

Method representing the thread's activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object's constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

Overrides: threading.Thread.run
(inherited documentation)