|
def | __init__ (self, context) |
|
def | restore_settings (self, plugin_settings, instance_settings) |
|
def | save_settings (self, plugin_settings, instance_settings) |
|
def | shutdown_plugin (self) |
|
def | update_filter (self, *args) |
|
def | update_one_item (self, row, info) |
|
def | update_table (self) |
|
def | __init__ (self, context) |
|
def | restore_settings (self, plugin_settings, instance_settings) |
|
def | save_settings (self, plugin_settings, instance_settings) |
|
def | shutdown_plugin (self) |
|
|
list | FORMAT_STRS = ['%s', '%s', '%0.2f', '%0.2f', '%s' ] |
|
| 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 |
|
Definition at line 53 of file top_plugin.py.
◆ __init__()
def rqt_top.top_plugin.Top.__init__ |
( |
|
self, |
|
|
|
context |
|
) |
| |
◆ _kill_node()
def rqt_top.top_plugin.Top._kill_node |
( |
|
self | ) |
|
|
private |
◆ _tableItemClicked()
def rqt_top.top_plugin.Top._tableItemClicked |
( |
|
self, |
|
|
|
item, |
|
|
|
column |
|
) |
| |
|
private |
◆ restore_settings()
def rqt_top.top_plugin.Top.restore_settings |
( |
|
self, |
|
|
|
plugin_settings, |
|
|
|
instance_settings |
|
) |
| |
◆ save_settings()
def rqt_top.top_plugin.Top.save_settings |
( |
|
self, |
|
|
|
plugin_settings, |
|
|
|
instance_settings |
|
) |
| |
◆ shutdown_plugin()
def rqt_top.top_plugin.Top.shutdown_plugin |
( |
|
self | ) |
|
◆ update_filter()
def rqt_top.top_plugin.Top.update_filter |
( |
|
self, |
|
|
* |
args |
|
) |
| |
◆ update_one_item()
def rqt_top.top_plugin.Top.update_one_item |
( |
|
self, |
|
|
|
row, |
|
|
|
info |
|
) |
| |
◆ update_table()
def rqt_top.top_plugin.Top.update_table |
( |
|
self | ) |
|
◆ _container
rqt_top.top_plugin.Top._container |
|
private |
◆ _filter_box
rqt_top.top_plugin.Top._filter_box |
|
private |
◆ _kill_button
rqt_top.top_plugin.Top._kill_button |
|
private |
◆ _layout
rqt_top.top_plugin.Top._layout |
|
private |
◆ _node_info
rqt_top.top_plugin.Top._node_info = NodeInfo() |
|
staticprivate |
◆ _regex_box
rqt_top.top_plugin.Top._regex_box |
|
private |
◆ _selected_node
rqt_top.top_plugin.Top._selected_node |
|
private |
◆ _selected_node_lock
rqt_top.top_plugin.Top._selected_node_lock |
|
private |
◆ _table_widget
rqt_top.top_plugin.Top._table_widget |
|
private |
◆ _toolbar
rqt_top.top_plugin.Top._toolbar |
|
private |
◆ _update_timer
rqt_top.top_plugin.Top._update_timer |
|
private |
◆ FORMAT_STRS
list rqt_top.top_plugin.Top.FORMAT_STRS = ['%s', '%s', '%0.2f', '%0.2f', '%s' ] |
|
static |
◆ name_filter
rqt_top.top_plugin.Top.name_filter = re.compile('') |
|
static |
◆ NODE_FIELDS
list rqt_top.top_plugin.Top.NODE_FIELDS = [ 'pid', 'get_cpu_percent', 'get_memory_percent', 'get_num_threads'] |
|
static |
◆ NODE_LABELS
list rqt_top.top_plugin.Top.NODE_LABELS = ['Node', 'PID', 'CPU %', 'Mem %', 'Num Threads' ] |
|
static |
◆ OUT_FIELDS
list rqt_top.top_plugin.Top.OUT_FIELDS = ['node_name', 'pid', 'cpu_percent', 'memory_percent', 'num_threads' ] |
|
static |
◆ SORT_TYPE
list rqt_top.top_plugin.Top.SORT_TYPE = [str, str, float, float, float ] |
|
static |
◆ TOOLTIPS
dictionary rqt_top.top_plugin.Top.TOOLTIPS |
|
static |
Initial value:= {
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.
The documentation for this class was generated from the following file: