Package node_manager_fkie :: Package editor :: Module graph_view :: Class GraphThread
[frames] | no frames]

Class GraphThread

source code

python_qt_binding.QtCore.QObject --+
                                   |
                  object --+       |
                           |       |
          threading._Verbose --+   |
                               |   |
                threading.Thread --+
                                   |
                                  GraphThread

A thread to parse file for includes

Instance Methods
 
__init__(self, current_path, root_path)
:param root_path: the open root file :type root_path: str :param current_path: current shown file :type current_path: str
source code
 
run(self)
Method representing the thread's activity.
source code

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

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

Instance Variables
  graph = Signal(list, list)
graph is a signal, which emit two list for files include the current path and a list with included files.
Properties

Inherited from object: __class__

Method Details

__init__(self, current_path, root_path)
(Constructor)

source code 

:param root_path: the open root file :type root_path: str :param current_path: current shown file :type current_path: str

Overrides: object.__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

Instance Variable Details

graph

graph is a signal, which emit two list for files include the current path and a list with included files. Each entry is a tuple of the line number and path.
Value:
Signal(list, list)