COMPASS  5.0.0
End-to-end AO simulation tool using GPU acceleration
shesha.widgets.widget_base.WorkerThread Class Reference
Inheritance diagram for shesha.widgets.widget_base.WorkerThread:
Collaboration diagram for shesha.widgets.widget_base.WorkerThread:

Public Member Functions

None __init__ (self, Callable loopFunc)
 
None run (self)
 
None stop (self)
 
None cleanUp (self)
 

Public Attributes

 loopFunc
 

Detailed Description

Definition at line 400 of file widget_base.py.

Constructor & Destructor Documentation

◆ __init__()

None shesha.widgets.widget_base.WorkerThread.__init__ (   self,
Callable  loopFunc 
)

Definition at line 402 of file widget_base.py.

402  def __init__(self, loopFunc: Callable) -> None:
403  QThread.__init__(self)
404  self.loopFunc = loopFunc
405 

Member Function Documentation

◆ cleanUp()

None shesha.widgets.widget_base.WorkerThread.cleanUp (   self)

Definition at line 412 of file widget_base.py.

412  def cleanUp(self) -> None:
413  pass

◆ run()

None shesha.widgets.widget_base.WorkerThread.run (   self)

Definition at line 406 of file widget_base.py.

406  def run(self) -> None:
407  self.loopFunc()
408 

◆ stop()

None shesha.widgets.widget_base.WorkerThread.stop (   self)

Definition at line 409 of file widget_base.py.

409  def stop(self) -> None:
410  pass
411 
Here is the caller graph for this function:

Member Data Documentation

◆ loopFunc

shesha.widgets.widget_base.WorkerThread.loopFunc

Definition at line 404 of file widget_base.py.


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