
Public Member Functions | |
| def | __init__ |
| def | restore_settings |
| def | save_settings |
| def | shutdown_plugin |
| def | update_filter |
| def | update_one_item |
| def | update_table |
Public Attributes | |
| name_filter | |
Static Public Attributes | |
| list | FORMAT_STRS = ['%s', '%s', '%0.2f', '%0.2f', '%s' ] |
| tuple | name_filter = re.compile('') |
| list | NODE_FIELDS = [ 'pid', 'get_cpu_percent', 'get_memory_percent', 'get_num_threads'] |
| list | NODE_LABELS = ['Node', 'PID', 'CPU %', 'Mem %', 'Num Threads' ] |
| list | OUT_FIELDS = ['node_name', 'pid', 'cpu_percent', 'memory_percent', 'num_threads' ] |
| list | SORT_TYPE = [str, str, float, float, float ] |
| dictionary | TOOLTIPS |
Private Member Functions | |
| def | _kill_node |
| def | _tableItemClicked |
Private Attributes | |
| _container | |
| _filter_box | |
| _kill_button | |
| _layout | |
| _regex_box | |
| _selected_node | |
| _selected_node_lock | |
| _table_widget | |
| _toolbar | |
| _update_timer | |
Static Private Attributes | |
| tuple | _node_info = NodeInfo() |
Definition at line 52 of file top_plugin.py.
| def rqt_top.top_plugin.Top.__init__ | ( | self, | |
| context | |||
| ) |
Definition at line 68 of file top_plugin.py.
| def rqt_top.top_plugin.Top._kill_node | ( | self | ) | [private] |
Definition at line 149 of file top_plugin.py.
| def rqt_top.top_plugin.Top._tableItemClicked | ( | self, | |
| item, | |||
| column | |||
| ) | [private] |
Definition at line 137 of file top_plugin.py.
| def rqt_top.top_plugin.Top.restore_settings | ( | self, | |
| plugin_settings, | |||
| instance_settings | |||
| ) |
Definition at line 181 of file top_plugin.py.
| def rqt_top.top_plugin.Top.save_settings | ( | self, | |
| plugin_settings, | |||
| instance_settings | |||
| ) |
Definition at line 177 of file top_plugin.py.
| def rqt_top.top_plugin.Top.shutdown_plugin | ( | self | ) |
Definition at line 174 of file top_plugin.py.
| def rqt_top.top_plugin.Top.update_filter | ( | self, | |
| args | |||
| ) |
Definition at line 141 of file top_plugin.py.
| def rqt_top.top_plugin.Top.update_one_item | ( | self, | |
| row, | |||
| info | |||
| ) |
Definition at line 152 of file top_plugin.py.
| def rqt_top.top_plugin.Top.update_table | ( | self | ) |
Definition at line 168 of file top_plugin.py.
rqt_top::top_plugin.Top::_container [private] |
Definition at line 68 of file top_plugin.py.
rqt_top::top_plugin.Top::_filter_box [private] |
Definition at line 68 of file top_plugin.py.
rqt_top::top_plugin.Top::_kill_button [private] |
Definition at line 68 of file top_plugin.py.
rqt_top::top_plugin.Top::_layout [private] |
Definition at line 68 of file top_plugin.py.
tuple rqt_top::top_plugin.Top::_node_info = NodeInfo() [static, private] |
Definition at line 64 of file top_plugin.py.
rqt_top::top_plugin.Top::_regex_box [private] |
Definition at line 68 of file top_plugin.py.
rqt_top::top_plugin.Top::_selected_node [private] |
Definition at line 68 of file top_plugin.py.
Definition at line 68 of file top_plugin.py.
rqt_top::top_plugin.Top::_table_widget [private] |
Definition at line 68 of file top_plugin.py.
rqt_top::top_plugin.Top::_toolbar [private] |
Definition at line 68 of file top_plugin.py.
rqt_top::top_plugin.Top::_update_timer [private] |
Definition at line 68 of file top_plugin.py.
list rqt_top::top_plugin.Top::FORMAT_STRS = ['%s', '%s', '%0.2f', '%0.2f', '%s' ] [static] |
Definition at line 56 of file top_plugin.py.
tuple rqt_top::top_plugin.Top::name_filter = re.compile('') [static] |
Definition at line 66 of file top_plugin.py.
Definition at line 141 of file top_plugin.py.
list rqt_top::top_plugin.Top::NODE_FIELDS = [ 'pid', 'get_cpu_percent', 'get_memory_percent', 'get_num_threads'] [static] |
Definition at line 54 of file top_plugin.py.
list rqt_top::top_plugin.Top::NODE_LABELS = ['Node', 'PID', 'CPU %', 'Mem %', 'Num Threads' ] [static] |
Definition at line 57 of file top_plugin.py.
list rqt_top::top_plugin.Top::OUT_FIELDS = ['node_name', 'pid', 'cpu_percent', 'memory_percent', 'num_threads' ] [static] |
Definition at line 55 of file top_plugin.py.
list rqt_top::top_plugin.Top::SORT_TYPE = [str, str, float, float, float ] [static] |
Definition at line 58 of file top_plugin.py.
dictionary rqt_top::top_plugin.Top::TOOLTIPS [static] |
{
0: ('cmdline', lambda x: '\n'.join(textwrap.wrap(' '.join(x)))),
3: ('memory_info', lambda x: ('Resident: %0.2f MiB, Virtual: %0.2f MiB' % (x[0]/2**20, x[1]/2**20)))
}
Definition at line 59 of file top_plugin.py.