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

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


Detailed Description

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

Definition at line 48 of file

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

Member Function Documentation

def rqt_robot_monitor.time_pane.TimelinePane._pause (   self,
) [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

: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

Definition at line 119 of file

:type event: QMouseEvent

Definition at line 100 of file

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

:type evt: QMouseEvent

Definition at line 151 of file

Definition at line 211 of file

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

Member Data Documentation

Definition at line 72 of file

Definition at line 72 of file

Definition at line 72 of file

Definition at line 64 of file

Definition at line 72 of file

Definition at line 72 of file

Definition at line 72 of file

Definition at line 72 of file

Definition at line 72 of file

Definition at line 54 of file

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

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