#include <failed_panel.h>
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 | |
VisualizationManager * | vis_manager_ |
Definition at line 38 of file failed_panel.h.
rviz::FailedPanel::FailedPanel | ( | const QString & | desired_class_id, |
const QString & | error_message | ||
) |
Definition at line 39 of file failed_panel.cpp.
|
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.
|
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.
|
private |
Definition at line 53 of file failed_panel.h.
|
private |
Definition at line 52 of file failed_panel.h.