Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
rqt_robot_monitor.time_pane.TimelinePane Class Reference
Inheritance diagram for rqt_robot_monitor.time_pane.TimelinePane:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def get_diagnostic_queue
def get_worst
def mouse_release
def new_diagnostic
def on_slider_scroll
def redraw
def set_timeline_data

Static Public Attributes

tuple sig_update = Signal()

Private Member Functions

def _pause

Private Attributes

 _last_msg
 _last_sec_marker_at
 _len_timeline
 _parent
 _pause_callback
 _paused
 _queue_diagnostic
 _scene
 _tracking_latest

Detailed Description

This class defines the pane where timeline and its related components
are displayed.

Definition at line 48 of file time_pane.py.


Constructor & Destructor Documentation

Because this class is intended to be instantiated via Qt's .ui file,
taking argument other than parent widget is not possible, which is
ported to set_timeline_data method. That said, set_timeline_data must
be called (soon) after an object of this is instantiated.

:param color_callback: Not directly used within this class. Instead,
this will be passed and used in TimelineView class.

Definition at line 56 of file time_pane.py.


Member Function Documentation

def rqt_robot_monitor.time_pane.TimelinePane._pause (   self,
  paused 
) [private]
Should be the only interface for pausing timeline pane and timeline
itself (which is not as of now..).

:type paused: bool

Definition at line 126 of file time_pane.py.


:return: a queue that contains either DiagnosticArray or
 DiagnosticsStatus. Depends on the parent class -
 if RobotMonitorWidget is the parent, the former type is
 returned. if InspectorWidget the latter.

Definition at line 214 of file time_pane.py.

Definition at line 119 of file time_pane.py.

:type event: QMouseEvent

Definition at line 100 of file time_pane.py.

Callback for new msg for TimelinePane class.

Puts new msg into a queue, update the length of timeline. Also emits
a signal to notify another callbacks.
This ignores new msg if timeline is paused.

:type msg: Either DiagnosticArray or DiagnosticsStatus. Can be
   determined by __init__'s arg "msg_callback".

Definition at line 176 of file time_pane.py.


:type evt: QMouseEvent

Definition at line 151 of file time_pane.py.

Definition at line 211 of file time_pane.py.

def rqt_robot_monitor.time_pane.TimelinePane.set_timeline_data (   self,
  len_timeline = None,
  color_callback = None,
  pause_callback = None 
)

Definition at line 72 of file time_pane.py.


Member Data Documentation

Definition at line 72 of file time_pane.py.

Definition at line 72 of file time_pane.py.

Definition at line 72 of file time_pane.py.

Definition at line 64 of file time_pane.py.

Definition at line 72 of file time_pane.py.

Definition at line 72 of file time_pane.py.

Definition at line 72 of file time_pane.py.

Definition at line 72 of file time_pane.py.

Definition at line 72 of file time_pane.py.

Definition at line 54 of file time_pane.py.


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


rqt_robot_monitor
Author(s): Isaac Saito, Ze'ev Klapow, Kevin Watts, Josh Faust
autogenerated on Mon Oct 6 2014 07:16:09