Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
smach_viewer.SmachViewerFrame Class Reference

List of all members.

Public Member Functions

def __init__
def add_to_tree
def append_tree
def on_set_initial_state
def OnExit
def OnIdle
def OnQuit
def SaveDotGraph
def select_cb
def selection_changed
def set_depth
def set_dotcode
def set_filter
def set_label_width
def set_path
def ShowControlsDialog
def toggle_all_transitions
def toggle_auto_focus
def update_graph

Public Attributes

 content_splitter
 depth_spinner
 dotstr
 is_button
 path_combo
 path_input
 statusbar
 tree
 ud_gs
 ud_txt
 ud_win
 widget
 width_spinner

Private Member Functions

def _set_max_depth
def _set_path
def _status_msg_update
def _structure_msg_update
def _update_graph
def _update_server_list
def _update_tree

Private Attributes

 _auto_focus
 _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
 _tree_nodes
 _update_cond
 _update_graph_thread
 _update_tree_thread

Detailed Description

This class provides a GUI application for viewing SMACH plans.

Definition at line 459 of file smach_viewer.py.


Constructor & Destructor Documentation

Definition at line 463 of file smach_viewer.py.


Member Function Documentation

def smach_viewer.SmachViewerFrame._set_max_depth (   self,
  max_depth 
) [private]

Definition at line 679 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame._set_path (   self,
  path 
) [private]

Definition at line 667 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame._status_msg_update (   self,
  msg 
) [private]
Process status messages.

Definition at line 823 of file smach_viewer.py.

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

Definition at line 774 of file smach_viewer.py.

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 853 of file smach_viewer.py.

Update the list of known SMACH introspection servers.

Definition at line 980 of file smach_viewer.py.

Update the tree view.

Definition at line 941 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame.add_to_tree (   self,
  path,
  parent 
)
Add a path to the tree view.

Definition at line 951 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame.append_tree (   self,
  container,
  parent = None 
)
Append an item to the tree view.

Definition at line 966 of file smach_viewer.py.

Event: Change the initial state of the server.

Definition at line 652 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame.OnExit (   self,
  event 
)

Definition at line 1030 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame.OnIdle (   self,
  event 
)
Event: On Idle, refresh the display if necessary, then un-set the flag.

Definition at line 973 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame.OnQuit (   self,
  event 
)
Quit Event: kill threads and wait for join.

Definition at line 635 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame.SaveDotGraph (   self,
  event 
)

Definition at line 1020 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame.select_cb (   self,
  item,
  event 
)
Event: Click to select a graph node to display user data and update the graph.

Definition at line 707 of file smach_viewer.py.

Event: Selection dropdown changed.

Definition at line 726 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame.set_depth (   self,
  event 
)
Event: Change the maximum depth and update the graph.

Definition at line 673 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame.set_dotcode (   self,
  dotcode,
  zoom = True 
)
Set the xdot view's dotcode and refresh the display.

Definition at line 928 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame.set_filter (   self,
  filter 
)

Definition at line 1033 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame.set_label_width (   self,
  event 
)
Event: Change the label wrapper width and update the graph.

Definition at line 685 of file smach_viewer.py.

def smach_viewer.SmachViewerFrame.set_path (   self,
  event 
)
Event: Change the viewable path and update the graph.

Definition at line 661 of file smach_viewer.py.

Definition at line 1014 of file smach_viewer.py.

Event: Change whether automatic transitions are hidden and update the graph.

Definition at line 691 of file smach_viewer.py.

Event: Enable/Disable automatically focusing

Definition at line 697 of file smach_viewer.py.

Notify all that the graph needs to be updated.

Definition at line 647 of file smach_viewer.py.


Member Data Documentation

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 941 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.

Definition at line 463 of file smach_viewer.py.


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


smach_viewer
Author(s): Jonathan Bohren
autogenerated on Thu Jun 6 2019 17:28:28