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
[legend]

Public Member Functions

void onInitialize () override
 
 TimePanel (QWidget *parent=nullptr)
 
- 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=nullptr)
 
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)
 
 ~Panel () override
 

Protected Slots

void experimentalToggled (bool checked)
 
void load (const Config &config) override
 
void onDisplayAdded (rviz::Display *display)
 
void onDisplayRemoved (rviz::Display *display)
 
void onTimeSignal (ros::Time time)
 
void pauseToggled (bool checked)
 
void save (Config config) const override
 
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
VisualizationManagervis_manager_
 

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 52 of file time_panel.h.

Constructor & Destructor Documentation

◆ TimePanel()

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

Definition at line 49 of file time_panel.cpp.

Member Function Documentation

◆ experimentalToggled

void rviz::TimePanel::experimentalToggled ( bool  checked)
protectedslot

Definition at line 241 of file time_panel.cpp.

◆ fillTimeLabel()

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

Fill a single time label with the given time value (in seconds).

Definition at line 223 of file time_panel.cpp.

◆ load

void rviz::TimePanel::load ( const Config config)
overrideprotectedslot

Definition at line 127 of file time_panel.cpp.

◆ makeTimeLabel()

QLineEdit * rviz::TimePanel::makeTimeLabel ( )
protected

Create, configure, and return a single label for showing a time value.

Definition at line 216 of file time_panel.cpp.

◆ onDisplayAdded

void rviz::TimePanel::onDisplayAdded ( rviz::Display display)
protectedslot

Definition at line 151 of file time_panel.cpp.

◆ onDisplayRemoved

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

Definition at line 173 of file time_panel.cpp.

◆ onInitialize()

void rviz::TimePanel::onInitialize ( )
overridevirtual

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

Reimplemented from rviz::Panel.

Definition at line 116 of file time_panel.cpp.

◆ onTimeSignal

void rviz::TimePanel::onTimeSignal ( ros::Time  time)
protectedslot

Definition at line 183 of file time_panel.cpp.

◆ pauseToggled

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

Definition at line 236 of file time_panel.cpp.

◆ save

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

Definition at line 143 of file time_panel.cpp.

◆ syncModeSelected

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

Definition at line 267 of file time_panel.cpp.

◆ syncSourceSelected

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

Definition at line 260 of file time_panel.cpp.

◆ update

void rviz::TimePanel::update ( )
protectedslot

Read time values from VisualizationManager and update displays.

Definition at line 228 of file time_panel.cpp.

Member Data Documentation

◆ config_sync_source_

QString rviz::TimePanel::config_sync_source_
protected

Definition at line 88 of file time_panel.h.

◆ experimental_cb_

QCheckBox* rviz::TimePanel::experimental_cb_
protected

Definition at line 90 of file time_panel.h.

◆ experimental_widget_

QWidget* rviz::TimePanel::experimental_widget_
protected

Definition at line 86 of file time_panel.h.

◆ old_widget_

QWidget* rviz::TimePanel::old_widget_
protected

Definition at line 85 of file time_panel.h.

◆ pause_button_

QPushButton* rviz::TimePanel::pause_button_
protected

Definition at line 92 of file time_panel.h.

◆ ros_elapsed_label_

QLineEdit* rviz::TimePanel::ros_elapsed_label_
protected

Definition at line 97 of file time_panel.h.

◆ ros_time_label_

QLineEdit* rviz::TimePanel::ros_time_label_
protected

Definition at line 96 of file time_panel.h.

◆ sync_mode_selector_

QComboBox* rviz::TimePanel::sync_mode_selector_
protected

Definition at line 94 of file time_panel.h.

◆ sync_source_selector_

QComboBox* rviz::TimePanel::sync_source_selector_
protected

Definition at line 93 of file time_panel.h.

◆ wall_elapsed_label_

QLineEdit* rviz::TimePanel::wall_elapsed_label_
protected

Definition at line 99 of file time_panel.h.

◆ wall_time_label_

QLineEdit* rviz::TimePanel::wall_time_label_
protected

Definition at line 98 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 Sat May 27 2023 02:06:26