CIRCT 24.0.0git
Loading...
Searching...
No Matches
simulator.SimProcess Class Reference
Collaboration diagram for simulator.SimProcess:

Public Member Functions

 __init__ (self, subprocess.Popen proc, int port, Optional[List[threading.Thread]] threads=None, bool gui=False)
 force_stop (self)

Public Attributes

 proc = proc
 port = port
List[threading.Thread] threads = threads or []
 gui = gui

Detailed Description

Definition at line 161 of file simulator.py.

Constructor & Destructor Documentation

◆ __init__()

simulator.SimProcess.__init__ ( self,
subprocess.Popen proc,
int port,
Optional[List[threading.Thread]] threads = None,
bool gui = False )

Definition at line 163 of file simulator.py.

Member Function Documentation

◆ force_stop()

simulator.SimProcess.force_stop ( self)
Make sure to stop the simulation no matter what.

Definition at line 173 of file simulator.py.

References proc, and threads.

Member Data Documentation

◆ gui

simulator.SimProcess.gui = gui

Definition at line 171 of file simulator.py.

◆ port

simulator.SimProcess.port = port

Definition at line 169 of file simulator.py.

◆ proc

simulator.SimProcess.proc = proc

Definition at line 168 of file simulator.py.

Referenced by force_stop().

◆ threads

List[threading.Thread] simulator.SimProcess.threads = threads or []

Definition at line 170 of file simulator.py.

Referenced by force_stop().


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