Public Member Functions | |
__init__ (self, viz) | |
Initializer function. | |
run (self) | |
Initializer function. | |
set_nodes_of_interest (self, nodes) | |
Set nodes of interest function. | |
Public Attributes | |
go = threading.Event() | |
thread event | |
lock = threading.Lock() | |
thread lock | |
list | pause_messages = [] |
pause messages | |
bool | quit = False |
quit indicator | |
sim_helper = ns.PyViz() | |
helper function | |
int | target_time = 0 |
in seconds | |
viz = viz | |
Visualizer object. | |
visualizer.core.SimulationThread.__init__ | ( | self, | |
viz ) |
Initializer function.
self | class object. |
viz | class object. |
Definition at line 666 of file core.py.
References __init__().
Referenced by __init__().
visualizer.core.SimulationThread.run | ( | self | ) |
Initializer function.
self | class object. |
Definition at line 698 of file core.py.
References go, ns3::Simulator.IsFinished(), lock, pause_messages, quit, sim_helper, target_time, and viz.
visualizer.core.SimulationThread.set_nodes_of_interest | ( | self, | |
nodes ) |
Set nodes of interest function.
self | class object. |
nodes | class object. |
Definition at line 684 of file core.py.
References lock, and sim_helper.
visualizer.core.SimulationThread.go = threading.Event() |
visualizer.core.SimulationThread.lock = threading.Lock() |
thread lock
Definition at line 676 of file core.py.
Referenced by run(), and set_nodes_of_interest().
list visualizer.core.SimulationThread.pause_messages = [] |
bool visualizer.core.SimulationThread.quit = False |
visualizer.core.SimulationThread.sim_helper = ns.PyViz() |
helper function
Definition at line 681 of file core.py.
Referenced by run(), and set_nodes_of_interest().
visualizer.core.SimulationThread.target_time = 0 |
visualizer.core.SimulationThread.viz = viz |
Visualizer object.
Definition at line 675 of file core.py.
Referenced by run(), and visualizer.hud.Axes.update_view().