Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
rviz::TimePanel Class Reference

#include <time_panel.h>

Inheritance diagram for rviz::TimePanel:
Inheritance graph

Public Member Functions

virtual void onInitialize ()
 TimePanel (QWidget *parent=0)
- Public Member Functions inherited from rviz::Panel
virtual QString getClassId () const
 Return the class identifier which was used to create this instance. This version just returns whatever was set with setClassId(). More...
virtual QString getDescription () const
 Return a description of this Panel. More...
virtual QString getName () const
void initialize (VisualizationManager *manager)
virtual void load (const Config &config)
 Override to load configuration data. This version loads the name of the panel. More...
 Panel (QWidget *parent=0)
virtual void save (Config config) const
 Override to save configuration data. This version saves the name and class ID of the panel. More...
virtual void setClassId (const QString &class_id)
 Set the class identifier used to create this instance. Typically this will be set by the factory object which created it. More...
virtual void setDescription (const QString &description)
 Set a description of this Panel. Called by the factory which creates it. More...
virtual void setName (const QString &name)
virtual ~Panel ()

Protected Slots

void experimentalToggled (bool checked)
virtual void load (const Config &config)
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
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_
- Protected Attributes inherited from rviz::Panel

Additional Inherited Members

- Signals inherited from rviz::Panel
void configChanged ()
 Subclasses must emit this whenever a configuration change happens. More...

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)

Definition at line 236 of file time_panel.cpp.

void rviz::TimePanel::fillTimeLabel ( QLineEdit *  label,
double  time 

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)

Definition at line 128 of file time_panel.cpp.

QLineEdit * rviz::TimePanel::makeTimeLabel ( )

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)

Definition at line 152 of file time_panel.cpp.

void rviz::TimePanel::onDisplayRemoved ( rviz::Display display)

Definition at line 172 of file time_panel.cpp.

void rviz::TimePanel::onInitialize ( )

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 

Definition at line 182 of file time_panel.cpp.

void rviz::TimePanel::pauseToggled ( bool  checked)

Definition at line 231 of file time_panel.cpp.

void rviz::TimePanel::save ( Config  config) const

Definition at line 144 of file time_panel.cpp.

void rviz::TimePanel::syncModeSelected ( int  index)

Definition at line 262 of file time_panel.cpp.

void rviz::TimePanel::syncSourceSelected ( int  index)

Definition at line 255 of file time_panel.cpp.

void rviz::TimePanel::update ( )

Read time values from VisualizationManager and update displays.

Definition at line 223 of file time_panel.cpp.

Member Data Documentation

QString rviz::TimePanel::config_sync_source_

Definition at line 90 of file time_panel.h.

QCheckBox* rviz::TimePanel::experimental_cb_

Definition at line 92 of file time_panel.h.

QWidget* rviz::TimePanel::experimental_widget_

Definition at line 88 of file time_panel.h.

QWidget* rviz::TimePanel::old_widget_

Definition at line 87 of file time_panel.h.

QPushButton* rviz::TimePanel::pause_button_

Definition at line 94 of file time_panel.h.

QLineEdit* rviz::TimePanel::ros_elapsed_label_

Definition at line 99 of file time_panel.h.

QLineEdit* rviz::TimePanel::ros_time_label_

Definition at line 98 of file time_panel.h.

QComboBox* rviz::TimePanel::sync_mode_selector_

Definition at line 96 of file time_panel.h.

QComboBox* rviz::TimePanel::sync_source_selector_

Definition at line 95 of file time_panel.h.

QLineEdit* rviz::TimePanel::wall_elapsed_label_

Definition at line 101 of file time_panel.h.

QLineEdit* rviz::TimePanel::wall_time_label_

Definition at line 100 of file time_panel.h.

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

Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Wed Aug 28 2019 04:01:54