Public Member Functions | Public Attributes | Private Member Functions
rcommander.rcommander.RCommander Class Reference

List of all members.

Public Member Functions

def __init__
def add_cb
def add_mode
def add_to_library_cb
def add_tools
 Should only be called once during initialization.
def check_current_document
def connect_node
 Graph tools.
def connectable_nodes
def connection_changed
def current_children_of
def dclick_cb
def dclick_container_cb
def delete_cb
def deselect_tool_buttons
def disable_buttons
def draw
def edge_cb
def edit_mode
def empty_container
def empty_properties_box
 Restore property tab's vbox.
def enable_buttons
def get_selected_tool
def new_sm_cb
def node_cb
def nothing_cb
 Graph Callbacks (called back from GraphModel)
def notify_activated
 All callbacks.
def notify_deselected_button
def open_sm_cb
def outputs_of_type
def quit_cb
def reset_cb
def run_cb
def run_sm_cb
def run_state_machine
def save_as_sm_cb
def save_cb
def save_sm_cb
def set_robot
def set_selected_edge
def set_selected_node
def set_selected_tool
def setup
 Drawing code.
def start_state_cb
def status_bar_check
def stop_sm_cb

Public Attributes

 app
 button_group_tab
 fsm_stack
 recreate the old node with this new model as a child each node need a function that lets you recreate it what to call this? recreate? update? input: old node output: new node Recreate replaces the old subtree with the current one being edited.
 graph_model
 graph_view
 robot
 selected_edge
 selected_graph_tool
 selected_node
 selected_tool
 status_bar_msg
 tabs
 tf_listener
 tool_dict
 ui

Private Member Functions

def _create_tab
 GUI logic.
def _set_model
def _state_machine_status_cb

Detailed Description

Definition at line 39 of file rcommander.py.


Constructor & Destructor Documentation

def rcommander.rcommander.RCommander.__init__ (   self,
  app 
)

Definition at line 41 of file rcommander.py.


Member Function Documentation

def rcommander.rcommander.RCommander._create_tab (   self,
  tab_name 
) [private]

GUI logic.

Definition at line 136 of file rcommander.py.

def rcommander.rcommander.RCommander._set_model (   self,
  model,
  view = None 
) [private]

Definition at line 636 of file rcommander.py.

def rcommander.rcommander.RCommander._state_machine_status_cb (   self,
  message 
) [private]

Definition at line 211 of file rcommander.py.

Definition at line 345 of file rcommander.py.

Definition at line 265 of file rcommander.py.

Definition at line 422 of file rcommander.py.

def rcommander.rcommander.RCommander.add_tools (   self,
  tools_list 
)

Should only be called once during initialization.

Parameters:
listof [tab-name, tool-object] pairs

Definition at line 148 of file rcommander.py.

Definition at line 215 of file rcommander.py.

Graph tools.

def _reconnect_states(self): for k in self.graph_model.states_dict: if hasattr(self.graph_model.get_state(k), 'set_robot'): self.graph_model.get_state(k).set_robot(self.robot)

Definition at line 301 of file rcommander.py.

def rcommander.rcommander.RCommander.connectable_nodes (   self,
  node_name,
  outcome 
)

Definition at line 313 of file rcommander.py.

def rcommander.rcommander.RCommander.connection_changed (   self,
  node_name,
  outcome_name,
  new_outcome 
)

Definition at line 305 of file rcommander.py.

Definition at line 310 of file rcommander.py.

def rcommander.rcommander.RCommander.dclick_cb (   self,
  node 
)

Definition at line 598 of file rcommander.py.

def rcommander.rcommander.RCommander.dclick_container_cb (   self,
  fsm_stack_element 
)

Definition at line 607 of file rcommander.py.

Definition at line 426 of file rcommander.py.

Definition at line 251 of file rcommander.py.

Definition at line 232 of file rcommander.py.

def rcommander.rcommander.RCommander.draw (   self,
  properties_dict 
)

Definition at line 659 of file rcommander.py.

def rcommander.rcommander.RCommander.edge_cb (   self,
  edge 
)

Definition at line 592 of file rcommander.py.

Definition at line 261 of file rcommander.py.

Definition at line 174 of file rcommander.py.

Restore property tab's vbox.

Definition at line 269 of file rcommander.py.

Definition at line 238 of file rcommander.py.

Definition at line 195 of file rcommander.py.

Definition at line 465 of file rcommander.py.

def rcommander.rcommander.RCommander.node_cb (   self,
  node 
)

Definition at line 562 of file rcommander.py.

Graph Callbacks (called back from GraphModel)

Definition at line 553 of file rcommander.py.

All callbacks.

Definition at line 331 of file rcommander.py.

Definition at line 245 of file rcommander.py.

Definition at line 517 of file rcommander.py.

def rcommander.rcommander.RCommander.outputs_of_type (   self,
  class_filter 
)

Definition at line 316 of file rcommander.py.

Definition at line 671 of file rcommander.py.

Definition at line 387 of file rcommander.py.

Definition at line 334 of file rcommander.py.

def rcommander.rcommander.RCommander.run_sm_cb (   self,
  checked 
)

Definition at line 445 of file rcommander.py.

def rcommander.rcommander.RCommander.run_state_machine (   self,
  sm,
  graph_model 
)

Definition at line 198 of file rcommander.py.

Definition at line 482 of file rcommander.py.

Definition at line 393 of file rcommander.py.

Definition at line 474 of file rcommander.py.

def rcommander.rcommander.RCommander.set_robot (   self,
  robot,
  tf_listener 
)

Definition at line 95 of file rcommander.py.

def rcommander.rcommander.RCommander.set_selected_edge (   self,
  n1,
  n2,
  label 
)

Definition at line 322 of file rcommander.py.

Definition at line 319 of file rcommander.py.

def rcommander.rcommander.RCommander.set_selected_tool (   self,
  tool_name 
)

Definition at line 192 of file rcommander.py.

Drawing code.

Definition at line 653 of file rcommander.py.

Definition at line 415 of file rcommander.py.

Definition at line 99 of file rcommander.py.

Definition at line 457 of file rcommander.py.


Member Data Documentation

Definition at line 41 of file rcommander.py.

Definition at line 148 of file rcommander.py.

recreate the old node with this new model as a child each node need a function that lets you recreate it what to call this? recreate? update? input: old node output: new node Recreate replaces the old subtree with the current one being edited.

Definition at line 41 of file rcommander.py.

Definition at line 636 of file rcommander.py.

Definition at line 636 of file rcommander.py.

Definition at line 95 of file rcommander.py.

Definition at line 41 of file rcommander.py.

Definition at line 41 of file rcommander.py.

Definition at line 41 of file rcommander.py.

Definition at line 41 of file rcommander.py.

Definition at line 41 of file rcommander.py.

Definition at line 41 of file rcommander.py.

Definition at line 95 of file rcommander.py.

Definition at line 41 of file rcommander.py.

Definition at line 41 of file rcommander.py.


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


rcommander
Author(s): Hai Nguyen (haidai@gmail.com)
autogenerated on Thu Nov 28 2013 11:46:34