Public Member Functions | Private Attributes | List of all members
rviz::FailedPanel Class Reference

#include <failed_panel.h>

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

Public Member Functions

 FailedPanel (const QString &desired_class_id, const QString &error_message)
 
void load (const Config &config) override
 Store the given Config data for later, so we can return it with save() when someone writes this back to a file. More...
 
void save (Config config) const override
 Copy Config data into config equivalent to the last which was sent to load(). More...
 
- 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 onInitialize ()
 
 Panel (QWidget *parent=nullptr)
 
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
 

Private Attributes

QString error_message_
 
Config saved_config_
 

Additional Inherited Members

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

Detailed Description

Definition at line 38 of file failed_panel.h.

Constructor & Destructor Documentation

◆ FailedPanel()

rviz::FailedPanel::FailedPanel ( const QString &  desired_class_id,
const QString &  error_message 
)

Definition at line 39 of file failed_panel.cpp.

Member Function Documentation

◆ load()

void rviz::FailedPanel::load ( const Config config)
overridevirtual

Store the given Config data for later, so we can return it with save() when someone writes this back to a file.

Reimplemented from rviz::Panel.

Definition at line 53 of file failed_panel.cpp.

◆ save()

void rviz::FailedPanel::save ( Config  config) const
overridevirtual

Copy Config data into config equivalent to the last which was sent to load().

Reimplemented from rviz::Panel.

Definition at line 59 of file failed_panel.cpp.

Member Data Documentation

◆ error_message_

QString rviz::FailedPanel::error_message_
private

Definition at line 53 of file failed_panel.h.

◆ saved_config_

Config rviz::FailedPanel::saved_config_
private

Definition at line 52 of file failed_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:25