Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
rqt_topic.topic_widget.TopicWidget Class Reference

List of all members.

Public Member Functions

def __init__
def handle_header_view_customContextMenuRequested
def on_topics_tree_widget_customContextMenuRequested
def refresh_topics
def set_selected_topics
def set_topic_specifier
def shutdown_plugin
def start
def update_value

Static Public Attributes

int SELECT_BY_MSGTYPE = 1
int SELECT_BY_NAME = 0

Private Member Functions

def _extract_array_info
def _recursive_create_widget_items
def _recursive_delete_widget_items
def _toggle_monitoring
def _update_topics_data

Private Attributes

 _column_index
 _current_topic_list
 _plugin
 _select_topic_type
 _selected_topics
 _timer_refresh_topics
 _topics
 _tree_items

Static Private Attributes

list _column_names = ['topic', 'type', 'bandwidth', 'rate', 'value']

Detailed Description

main class inherits from the ui window class.

You can specify the topics that the topic pane.

TopicWidget.start must be called in order to update topic pane.

Definition at line 47 of file topic_widget.py.


Constructor & Destructor Documentation

def rqt_topic.topic_widget.TopicWidget.__init__ (   self,
  plugin = None,
  selected_topics = None,
  select_topic_type = SELECT_BY_NAME 
)
@type selected_topics: list of tuples.
@param selected_topics: [($NAME_TOPIC$, $TYPE_TOPIC$), ...]
@type select_topic_type: int
@param select_topic_type: Can specify either the name of topics or by
                  the type of topic, to filter the topics to
                  show. If 'select_topic_type' argument is
                  None, this arg shouldn't be meaningful.

Definition at line 61 of file topic_widget.py.


Member Function Documentation

def rqt_topic.topic_widget.TopicWidget._extract_array_info (   self,
  type_str 
) [private]

Definition at line 241 of file topic_widget.py.

def rqt_topic.topic_widget.TopicWidget._recursive_create_widget_items (   self,
  parent,
  topic_name,
  type_name,
  message 
) [private]

Definition at line 253 of file topic_widget.py.

Definition at line 289 of file topic_widget.py.

def rqt_topic.topic_widget.TopicWidget._toggle_monitoring (   self,
  topic_name 
) [private]

Definition at line 282 of file topic_widget.py.

Definition at line 187 of file topic_widget.py.

Definition at line 299 of file topic_widget.py.

Definition at line 315 of file topic_widget.py.

refresh tree view items

Definition at line 112 of file topic_widget.py.

def rqt_topic.topic_widget.TopicWidget.set_selected_topics (   self,
  selected_topics 
)
@param selected_topics: list of tuple. [(topic_name, topic_type)]
@type selected_topics: []

Definition at line 341 of file topic_widget.py.

Definition at line 102 of file topic_widget.py.

Definition at line 336 of file topic_widget.py.

This method needs to be called to start updating topic pane.

Definition at line 105 of file topic_widget.py.

def rqt_topic.topic_widget.TopicWidget.update_value (   self,
  topic_name,
  message 
)

Definition at line 219 of file topic_widget.py.


Member Data Documentation

Definition at line 69 of file topic_widget.py.

list rqt_topic::topic_widget.TopicWidget::_column_names = ['topic', 'type', 'bandwidth', 'rate', 'value'] [static, private]

Definition at line 59 of file topic_widget.py.

Definition at line 69 of file topic_widget.py.

Definition at line 69 of file topic_widget.py.

Definition at line 69 of file topic_widget.py.

Definition at line 69 of file topic_widget.py.

Definition at line 69 of file topic_widget.py.

Definition at line 69 of file topic_widget.py.

Definition at line 69 of file topic_widget.py.

Definition at line 57 of file topic_widget.py.

Definition at line 56 of file topic_widget.py.


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


rqt_topic
Author(s): Dorian Scholz
autogenerated on Mon Oct 6 2014 07:15:42