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

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
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 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)
protectedslot

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)
protectedvirtualslot

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)
protectedslot

Definition at line 152 of file time_panel.cpp.

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

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 
)
protectedslot

Definition at line 182 of file time_panel.cpp.

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

Definition at line 231 of file time_panel.cpp.

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

Definition at line 144 of file time_panel.cpp.

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

Definition at line 262 of file time_panel.cpp.

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

Definition at line 255 of file time_panel.cpp.

void rviz::TimePanel::update ( )
protectedslot

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_
protected

Definition at line 90 of file time_panel.h.

QCheckBox* rviz::TimePanel::experimental_cb_
protected

Definition at line 92 of file time_panel.h.

QWidget* rviz::TimePanel::experimental_widget_
protected

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.

QComboBox* rviz::TimePanel::sync_source_selector_
protected

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 Sat Apr 27 2019 02:33:44