Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
smach_viewer.smach_viewer_base.SmachViewerBase Class Reference
Inheritance diagram for smach_viewer.smach_viewer_base.SmachViewerBase:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def kill (self)
 

Public Attributes

 dotstr
 

Private Member Functions

def _status_msg_update (self, msg)
 
def _structure_msg_update (self, msg, server_name)
 
def _update_graph (self)
 
def _update_graph_step (self)
 
def _update_server_list (self)
 

Private Attributes

 _client
 
 _containers
 
 _keep_running
 
 _label_wrapper
 
 _max_depth
 
 _needs_refresh
 
 _needs_zoom
 
 _path
 
 _selected_paths
 
 _server_list_thread
 
 _show_all_transitions
 
 _status_subs
 
 _structure_changed
 
 _structure_subs
 
 _top_containers
 
 _update_cond
 
 _update_graph_thread
 

Static Private Attributes

 _container_class = ContainerNode
 

Detailed Description

Definition at line 301 of file smach_viewer_base.py.

Constructor & Destructor Documentation

◆ __init__()

def smach_viewer.smach_viewer_base.SmachViewerBase.__init__ (   self)

Member Function Documentation

◆ _status_msg_update()

def smach_viewer.smach_viewer_base.SmachViewerBase._status_msg_update (   self,
  msg 
)
private
Process status messages.

Reimplemented in smach_viewer.SmachViewerFrame.

Definition at line 478 of file smach_viewer_base.py.

◆ _structure_msg_update()

def smach_viewer.smach_viewer_base.SmachViewerBase._structure_msg_update (   self,
  msg,
  server_name 
)
private
Update the structure of the SMACH plan (re-generate the dotcode).

Reimplemented in smach_viewer.SmachViewerFrame.

Definition at line 431 of file smach_viewer_base.py.

◆ _update_graph()

def smach_viewer.smach_viewer_base.SmachViewerBase._update_graph (   self)
private
This thread continuously updates the graph when it changes.

The graph gets updated in one of two ways:

  1: The structure of the SMACH plans has changed, or the display
  settings have been changed. In this case, the dotcode needs to be
  regenerated.

  2: The status of the SMACH plans has changed. In this case, we only
  need to change the styles of the graph.

Definition at line 338 of file smach_viewer_base.py.

◆ _update_graph_step()

def smach_viewer.smach_viewer_base.SmachViewerBase._update_graph_step (   self)
private

Reimplemented in smach_viewer.SmachViewerFrame.

Definition at line 354 of file smach_viewer_base.py.

◆ _update_server_list()

def smach_viewer.smach_viewer_base.SmachViewerBase._update_server_list (   self)
private
Update the list of known SMACH introspection servers.

Definition at line 405 of file smach_viewer_base.py.

◆ kill()

def smach_viewer.smach_viewer_base.SmachViewerBase.kill (   self)

Definition at line 498 of file smach_viewer_base.py.

Member Data Documentation

◆ _client

smach_viewer.smach_viewer_base.SmachViewerBase._client
private

Definition at line 314 of file smach_viewer_base.py.

◆ _container_class

smach_viewer.smach_viewer_base.SmachViewerBase._container_class = ContainerNode
staticprivate

Definition at line 303 of file smach_viewer_base.py.

◆ _containers

smach_viewer.smach_viewer_base.SmachViewerBase._containers
private

Definition at line 307 of file smach_viewer_base.py.

◆ _keep_running

smach_viewer.smach_viewer_base.SmachViewerBase._keep_running
private

Definition at line 330 of file smach_viewer_base.py.

◆ _label_wrapper

smach_viewer.smach_viewer_base.SmachViewerBase._label_wrapper
private

Definition at line 327 of file smach_viewer_base.py.

◆ _max_depth

smach_viewer.smach_viewer_base.SmachViewerBase._max_depth
private

Definition at line 325 of file smach_viewer_base.py.

◆ _needs_refresh

smach_viewer.smach_viewer_base.SmachViewerBase._needs_refresh
private

Definition at line 310 of file smach_viewer_base.py.

◆ _needs_zoom

smach_viewer.smach_viewer_base.SmachViewerBase._needs_zoom
private

Definition at line 323 of file smach_viewer_base.py.

◆ _path

smach_viewer.smach_viewer_base.SmachViewerBase._path
private

Definition at line 322 of file smach_viewer_base.py.

◆ _selected_paths

smach_viewer.smach_viewer_base.SmachViewerBase._selected_paths
private

Definition at line 316 of file smach_viewer_base.py.

◆ _server_list_thread

smach_viewer.smach_viewer_base.SmachViewerBase._server_list_thread
private

Definition at line 331 of file smach_viewer_base.py.

◆ _show_all_transitions

smach_viewer.smach_viewer_base.SmachViewerBase._show_all_transitions
private

Definition at line 326 of file smach_viewer_base.py.

◆ _status_subs

smach_viewer.smach_viewer_base.SmachViewerBase._status_subs
private

Definition at line 320 of file smach_viewer_base.py.

◆ _structure_changed

smach_viewer.smach_viewer_base.SmachViewerBase._structure_changed
private

Definition at line 324 of file smach_viewer_base.py.

◆ _structure_subs

smach_viewer.smach_viewer_base.SmachViewerBase._structure_subs
private

Definition at line 319 of file smach_viewer_base.py.

◆ _top_containers

smach_viewer.smach_viewer_base.SmachViewerBase._top_containers
private

Definition at line 308 of file smach_viewer_base.py.

◆ _update_cond

smach_viewer.smach_viewer_base.SmachViewerBase._update_cond
private

Definition at line 309 of file smach_viewer_base.py.

◆ _update_graph_thread

smach_viewer.smach_viewer_base.SmachViewerBase._update_graph_thread
private

Definition at line 335 of file smach_viewer_base.py.

◆ dotstr

smach_viewer.smach_viewer_base.SmachViewerBase.dotstr

Definition at line 311 of file smach_viewer_base.py.


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


smach_viewer
Author(s): Jonathan Bohren
autogenerated on Thu Feb 20 2025 03:09:09