#include <time_panel.h>
Public Member Functions | |
VisualizationManager * | getManager () |
void | initialize (VisualizationManager *manager) |
TimePanel (QWidget *parent=0) | |
Protected Slots | |
void | reset () |
void | update () |
Protected Member Functions | |
void | fillTimeLabel (QLineEdit *label, double time) |
QLineEdit * | makeTimeLabel () |
Protected Attributes | |
VisualizationManager * | manager_ |
QLineEdit * | ros_elapsed_label_ |
QLineEdit * | ros_time_label_ |
QLineEdit * | wall_elapsed_label_ |
QLineEdit * | wall_time_label_ |
Definition at line 46 of file time_panel.h.
rviz::TimePanel::TimePanel | ( | QWidget * | parent = 0 | ) |
Definition at line 43 of file time_panel.cpp.
void rviz::TimePanel::fillTimeLabel | ( | QLineEdit * | label, |
double | time | ||
) | [protected] |
Fill a single time label with the given time value (in seconds).
Definition at line 88 of file time_panel.cpp.
VisualizationManager* rviz::TimePanel::getManager | ( | ) | [inline] |
Definition at line 54 of file time_panel.h.
void rviz::TimePanel::initialize | ( | VisualizationManager * | manager | ) |
Definition at line 81 of file time_panel.cpp.
QLineEdit * rviz::TimePanel::makeTimeLabel | ( | ) | [protected] |
Create, configure, and return a single label for showing a time value.
Definition at line 74 of file time_panel.cpp.
void rviz::TimePanel::reset | ( | ) | [protected, slot] |
Reset elapsed timers to 0.
Definition at line 101 of file time_panel.cpp.
void rviz::TimePanel::update | ( | ) | [protected, slot] |
Read time values from VisualizationManager and update displays.
Definition at line 93 of file time_panel.cpp.
VisualizationManager* rviz::TimePanel::manager_ [protected] |
Definition at line 70 of file time_panel.h.
QLineEdit* rviz::TimePanel::ros_elapsed_label_ [protected] |
Definition at line 75 of file time_panel.h.
QLineEdit* rviz::TimePanel::ros_time_label_ [protected] |
Definition at line 74 of file time_panel.h.
QLineEdit* rviz::TimePanel::wall_elapsed_label_ [protected] |
Definition at line 73 of file time_panel.h.
QLineEdit* rviz::TimePanel::wall_time_label_ [protected] |
Definition at line 72 of file time_panel.h.