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 restore_settings
def save_settings
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 48 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 62 of file topic_widget.py.


Member Function Documentation

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

Definition at line 249 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 261 of file topic_widget.py.

Definition at line 297 of file topic_widget.py.

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

Definition at line 290 of file topic_widget.py.

Definition at line 195 of file topic_widget.py.

Definition at line 307 of file topic_widget.py.

Definition at line 323 of file topic_widget.py.

refresh tree view items

Definition at line 117 of file topic_widget.py.

def rqt_topic.topic_widget.TopicWidget.restore_settings (   self,
  pluggin_settings,
  instance_settings 
)

Definition at line 363 of file topic_widget.py.

def rqt_topic.topic_widget.TopicWidget.save_settings (   self,
  plugin_settings,
  instance_settings 
)

Definition at line 359 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 349 of file topic_widget.py.

Definition at line 107 of file topic_widget.py.

Definition at line 344 of file topic_widget.py.

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

Definition at line 110 of file topic_widget.py.

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

Definition at line 227 of file topic_widget.py.


Member Data Documentation

Definition at line 70 of file topic_widget.py.

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

Definition at line 60 of file topic_widget.py.

Definition at line 70 of file topic_widget.py.

Definition at line 70 of file topic_widget.py.

Definition at line 70 of file topic_widget.py.

Definition at line 70 of file topic_widget.py.

Definition at line 70 of file topic_widget.py.

Definition at line 70 of file topic_widget.py.

Definition at line 70 of file topic_widget.py.

Definition at line 58 of file topic_widget.py.

Definition at line 57 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 May 1 2017 02:41:14