A Discrete-Event Network Simulator
API
visualizer.core.SimulationThread Class Reference

SimulationThread. More...

+ Inheritance diagram for visualizer.core.SimulationThread:
+ Collaboration diagram for visualizer.core.SimulationThread:

Public Member Functions

def __init__ (self, viz)
 Initializer function. More...
 
def run (self)
 Initializer function. More...
 
def set_nodes_of_interest (self, nodes)
 Set nodes of interest function. More...
 

Public Attributes

 go
 thread event More...
 
 lock
 thread lock More...
 
 pause_messages
 pause messages More...
 
 quit
 quit indicator More...
 
 sim_helper
 helper function More...
 
 target_time
 in seconds More...
 
 viz
 Visualizer object. More...
 

Detailed Description

SimulationThread.

Definition at line 597 of file core.py.

Constructor & Destructor Documentation

◆ __init__()

def visualizer.core.SimulationThread.__init__ (   self,
  viz 
)

Initializer function.

Parameters
selfclass object.
vizclass object.

Definition at line 612 of file core.py.

References visualizer.core.SimulationThread.__init__().

Referenced by visualizer.core.SimulationThread.__init__().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ run()

◆ set_nodes_of_interest()

def visualizer.core.SimulationThread.set_nodes_of_interest (   self,
  nodes 
)

Set nodes of interest function.

Parameters
selfclass object.
nodesclass object.
Returns

Definition at line 630 of file core.py.

References visualizer.core.SimulationThread.lock, conf.release, and visualizer.core.SimulationThread.sim_helper.

Member Data Documentation

◆ go

visualizer.core.SimulationThread.go

thread event

Definition at line 623 of file core.py.

Referenced by visualizer.core.SimulationThread.run().

◆ lock

visualizer.core.SimulationThread.lock

◆ pause_messages

visualizer.core.SimulationThread.pause_messages

pause messages

Definition at line 628 of file core.py.

Referenced by visualizer.core.SimulationThread.run().

◆ quit

visualizer.core.SimulationThread.quit

quit indicator

Definition at line 626 of file core.py.

Referenced by visualizer.core.SimulationThread.run().

◆ sim_helper

visualizer.core.SimulationThread.sim_helper

◆ target_time

visualizer.core.SimulationThread.target_time

in seconds

Definition at line 625 of file core.py.

Referenced by visualizer.core.SimulationThread.run().

◆ viz

visualizer.core.SimulationThread.viz

Visualizer object.

Definition at line 621 of file core.py.

Referenced by visualizer.core.SimulationThread.run(), and visualizer.hud.Axes.update_view().


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