Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
rostop_gui.rostop_plugin.RosTop Class Reference
Inheritance diagram for rostop_gui.rostop_plugin.RosTop:
Inheritance graph
[legend]

List of all members.

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()

Detailed Description

Definition at line 42 of file rostop_plugin.py.


Constructor & Destructor Documentation

def rostop_gui.rostop_plugin.RosTop.__init__ (   self,
  context 
)

Definition at line 57 of file rostop_plugin.py.


Member Function Documentation

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.

Definition at line 162 of file rostop_plugin.py.

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.

Definition at line 156 of file rostop_plugin.py.


Member Data Documentation

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 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.

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 48 of file rostop_plugin.py.


The documentation for this class was generated from the following file:


rostop_gui
Author(s): Dan Lazewatsky
autogenerated on Mon Oct 6 2014 07:12:09