Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
rviz::TimePanel Class Reference

#include <time_panel.h>

Inheritance diagram for rviz::TimePanel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void onInitialize ()
 TimePanel (QWidget *parent=0)

Protected Slots

void experimentalToggled (bool checked)
virtual void load (const Config &config)
 Override to load configuration data. This version loads the name of the panel.
void onDisplayAdded (rviz::Display *display)
void onDisplayRemoved (rviz::Display *display)
void onTimeSignal (rviz::Display *display, ros::Time time)
void pauseToggled (bool checked)
virtual void save (Config config) const
 Override to save configuration data. This version saves the name and class ID of the panel.
void syncModeSelected (int index)
void syncSourceSelected (int index)
void update ()

Protected Member Functions

void fillTimeLabel (QLineEdit *label, double time)
QLineEdit * makeTimeLabel ()

Protected Attributes

QString config_sync_source_
QCheckBox * experimental_cb_
QWidget * experimental_widget_
QWidget * old_widget_
QPushButton * pause_button_
QLineEdit * ros_elapsed_label_
QLineEdit * ros_time_label_
QComboBox * sync_mode_selector_
QComboBox * sync_source_selector_
QLineEdit * wall_elapsed_label_
QLineEdit * wall_time_label_

Detailed Description

Definition at line 53 of file time_panel.h.


Constructor & Destructor Documentation

rviz::TimePanel::TimePanel ( QWidget *  parent = 0)

Definition at line 50 of file time_panel.cpp.


Member Function Documentation

void rviz::TimePanel::experimentalToggled ( bool  checked) [protected, slot]

Definition at line 236 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 218 of file time_panel.cpp.

void rviz::TimePanel::load ( const Config config) [protected, virtual, slot]

Override to load configuration data. This version loads the name of the panel.

Reimplemented from rviz::Panel.

Definition at line 128 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 211 of file time_panel.cpp.

void rviz::TimePanel::onDisplayAdded ( rviz::Display display) [protected, slot]

Definition at line 152 of file time_panel.cpp.

void rviz::TimePanel::onDisplayRemoved ( rviz::Display display) [protected, slot]

Definition at line 172 of file time_panel.cpp.

void rviz::TimePanel::onInitialize ( ) [virtual]

Override to do initialization which depends on the VisualizationManager being available. This base implementation does nothing.

Reimplemented from rviz::Panel.

Definition at line 117 of file time_panel.cpp.

void rviz::TimePanel::onTimeSignal ( rviz::Display display,
ros::Time  time 
) [protected, slot]

Definition at line 182 of file time_panel.cpp.

void rviz::TimePanel::pauseToggled ( bool  checked) [protected, slot]

Definition at line 231 of file time_panel.cpp.

void rviz::TimePanel::save ( Config  config) const [protected, virtual, slot]

Override to save configuration data. This version saves the name and class ID of the panel.

Reimplemented from rviz::Panel.

Definition at line 144 of file time_panel.cpp.

void rviz::TimePanel::syncModeSelected ( int  index) [protected, slot]

Definition at line 262 of file time_panel.cpp.

void rviz::TimePanel::syncSourceSelected ( int  index) [protected, slot]

Definition at line 255 of file time_panel.cpp.

void rviz::TimePanel::update ( ) [protected, slot]

Read time values from VisualizationManager and update displays.

Definition at line 223 of file time_panel.cpp.


Member Data Documentation

Definition at line 90 of file time_panel.h.

QCheckBox* rviz::TimePanel::experimental_cb_ [protected]

Definition at line 92 of file time_panel.h.

Definition at line 88 of file time_panel.h.

QWidget* rviz::TimePanel::old_widget_ [protected]

Definition at line 87 of file time_panel.h.

QPushButton* rviz::TimePanel::pause_button_ [protected]

Definition at line 94 of file time_panel.h.

QLineEdit* rviz::TimePanel::ros_elapsed_label_ [protected]

Definition at line 99 of file time_panel.h.

QLineEdit* rviz::TimePanel::ros_time_label_ [protected]

Definition at line 98 of file time_panel.h.

QComboBox* rviz::TimePanel::sync_mode_selector_ [protected]

Definition at line 96 of file time_panel.h.

Definition at line 95 of file time_panel.h.

QLineEdit* rviz::TimePanel::wall_elapsed_label_ [protected]

Definition at line 101 of file time_panel.h.

QLineEdit* rviz::TimePanel::wall_time_label_ [protected]

Definition at line 100 of file time_panel.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Thu Jun 6 2019 18:02:17