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' ] |
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 42 of file rostop_plugin.py.
def rostop_gui.rostop_plugin.RosTop.__init__ | ( | self, | |
context | |||
) |
Definition at line 57 of file rostop_plugin.py.
def rostop_gui.rostop_plugin.RosTop._kill_node | ( | self | ) | [private] |
Definition at line 137 of file rostop_plugin.py.
def rostop_gui.rostop_plugin.RosTop._tableItemClicked | ( | self, | |
item, | |||
column | |||
) | [private] |
Definition at line 125 of file rostop_plugin.py.
def rostop_gui.rostop_plugin.RosTop.restore_settings | ( | self, | |
plugin_settings, | |||
instance_settings | |||
) |
Definition at line 169 of file rostop_plugin.py.
def rostop_gui.rostop_plugin.RosTop.save_settings | ( | self, | |
plugin_settings, | |||
instance_settings | |||
) |
Definition at line 165 of file rostop_plugin.py.
def rostop_gui.rostop_plugin.RosTop.shutdown_plugin | ( | self | ) |
Definition at line 162 of file rostop_plugin.py.
def rostop_gui.rostop_plugin.RosTop.update_filter | ( | self, | |
args | |||
) |
Definition at line 129 of file rostop_plugin.py.
def rostop_gui.rostop_plugin.RosTop.update_one_item | ( | self, | |
row, | |||
info | |||
) |
Definition at line 140 of file rostop_plugin.py.
def rostop_gui.rostop_plugin.RosTop.update_table | ( | self | ) |
Definition at line 156 of file rostop_plugin.py.
Definition at line 57 of file rostop_plugin.py.
Definition at line 57 of file rostop_plugin.py.
Definition at line 57 of file rostop_plugin.py.
Definition at line 57 of file rostop_plugin.py.
tuple rostop_gui::rostop_plugin.RosTop::_node_info = NodeInfo() [static, private] |
Definition at line 53 of file rostop_plugin.py.
Definition at line 57 of file rostop_plugin.py.
Definition at line 57 of file rostop_plugin.py.
Definition at line 57 of file rostop_plugin.py.
Definition at line 57 of file rostop_plugin.py.
Definition at line 57 of file rostop_plugin.py.
Definition at line 57 of file rostop_plugin.py.
list rostop_gui::rostop_plugin.RosTop::format_strs = ['%s', '%s', '%0.2f', '%0.2f', '%s' ] [static] |
Definition at line 46 of file rostop_plugin.py.
tuple rostop_gui::rostop_plugin.RosTop::name_filter = re.compile('') [static] |
Definition at line 55 of file rostop_plugin.py.
Definition at line 129 of file rostop_plugin.py.
list rostop_gui::rostop_plugin.RosTop::node_fields = [ 'pid', 'get_cpu_percent', 'get_memory_percent', 'get_num_threads'] [static] |
Definition at line 44 of file rostop_plugin.py.
list rostop_gui::rostop_plugin.RosTop::node_labels = ['Node', 'PID', 'CPU %', 'Mem %', 'Num Threads' ] [static] |
Definition at line 47 of file rostop_plugin.py.
list rostop_gui::rostop_plugin.RosTop::out_fields = ['node_name', 'pid', 'cpu_percent', 'memory_percent', 'num_threads' ] [static] |
Definition at line 45 of file rostop_plugin.py.
dictionary rostop_gui::rostop_plugin.RosTop::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 48 of file rostop_plugin.py.