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 657 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 672 of file core.py.

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 690 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 683 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 688 of file core.py.

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

◆ quit

visualizer.core.SimulationThread.quit

quit indicator

Definition at line 686 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 685 of file core.py.

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

◆ viz

visualizer.core.SimulationThread.viz

Visualizer object.

Definition at line 681 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: