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'] |
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.
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 63 of file topic_widget.py.
def rqt_topic.topic_widget.TopicWidget._extract_array_info | ( | self, | |
type_str | |||
) | [private] |
Definition at line 267 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 279 of file topic_widget.py.
def rqt_topic.topic_widget.TopicWidget._recursive_delete_widget_items | ( | self, | |
item | |||
) | [private] |
Definition at line 317 of file topic_widget.py.
def rqt_topic.topic_widget.TopicWidget._toggle_monitoring | ( | self, | |
topic_name | |||
) | [private] |
Definition at line 310 of file topic_widget.py.
def rqt_topic.topic_widget.TopicWidget._update_topics_data | ( | self | ) | [private] |
Definition at line 203 of file topic_widget.py.
Definition at line 327 of file topic_widget.py.
def rqt_topic.topic_widget.TopicWidget.on_topics_tree_widget_customContextMenuRequested | ( | self, | |
pos | |||
) |
Definition at line 349 of file topic_widget.py.
refresh tree view items
Definition at line 119 of file topic_widget.py.
def rqt_topic.topic_widget.TopicWidget.restore_settings | ( | self, | |
pluggin_settings, | |||
instance_settings | |||
) |
Definition at line 388 of file topic_widget.py.
def rqt_topic.topic_widget.TopicWidget.save_settings | ( | self, | |
plugin_settings, | |||
instance_settings | |||
) |
Definition at line 384 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 375 of file topic_widget.py.
def rqt_topic.topic_widget.TopicWidget.set_topic_specifier | ( | self, | |
specifier | |||
) |
Definition at line 109 of file topic_widget.py.
Definition at line 370 of file topic_widget.py.
def rqt_topic.topic_widget.TopicWidget.start | ( | self | ) |
This method needs to be called to start updating topic pane.
Definition at line 112 of file topic_widget.py.
def rqt_topic.topic_widget.TopicWidget.update_value | ( | self, | |
topic_name, | |||
message | |||
) |
Definition at line 240 of file topic_widget.py.
Definition at line 71 of file topic_widget.py.
list rqt_topic::topic_widget.TopicWidget::_column_names = ['topic', 'type', 'bandwidth', 'rate', 'value'] [static, private] |
Definition at line 61 of file topic_widget.py.
Definition at line 71 of file topic_widget.py.
Definition at line 71 of file topic_widget.py.
Definition at line 71 of file topic_widget.py.
Definition at line 71 of file topic_widget.py.
Definition at line 71 of file topic_widget.py.
Definition at line 71 of file topic_widget.py.
Definition at line 71 of file topic_widget.py.
int rqt_topic::topic_widget.TopicWidget::SELECT_BY_MSGTYPE = 1 [static] |
Definition at line 59 of file topic_widget.py.
int rqt_topic::topic_widget.TopicWidget::SELECT_BY_NAME = 0 [static] |
Definition at line 58 of file topic_widget.py.