define_parameters_widget.h
Go to the documentation of this file.
00001 #ifndef _RQT_MRTA_DEFINE_ROBOTS_PARAMETERS_WIDGET_H_
00002 #define _RQT_MRTA_DEFINE_ROBOTS_PARAMETERS_WIDGET_H_
00003 
00004 #include <QWidget>
00005 
00006 namespace Ui
00007 {
00008 class DefineParametersWidget;
00009 }
00010 
00011 namespace rqt_mrta
00012 {
00013 namespace config
00014 {
00015 namespace application
00016 {
00017 class Robot;
00018 class Robots;
00019 class RqtMrtaApplication;
00020 }
00021 
00022 namespace architecture
00023 {
00024 class RqtMrtaArchitecture;
00025 }
00026 }
00027 
00028 typedef config::application::Robot RobotConfig;
00029 typedef config::application::Robots RobotsConfig;
00030 typedef config::application::RqtMrtaApplication RqtMrtaApplicationConfig;
00031 typedef config::architecture::RqtMrtaArchitecture RqtMrtaArchitectureConfig;
00032 
00033 class DefineParametersWidget : public QWidget
00034 {
00035   friend class DefineParametersWizardPage;
00036   Q_OBJECT
00037 public:
00038   DefineParametersWidget(
00039       QWidget* parent, RqtMrtaApplicationConfig* application_config = NULL,
00040       RqtMrtaArchitectureConfig* architecture_config = NULL);
00041   virtual ~DefineParametersWidget();
00042   RqtMrtaApplicationConfig* getApplicationConfig() const;
00043   RqtMrtaArchitectureConfig* getArchitectureConfig() const;
00044   void setApplicationConfig(RqtMrtaApplicationConfig* config);
00045   void setArchitectureConfig(RqtMrtaArchitectureConfig* config);
00046   QString validate() const;
00047   void loadTabs();
00048 
00049 signals:
00050   void changed();
00051 
00052 private:
00053   Ui::DefineParametersWidget* ui_;
00054   RqtMrtaApplicationConfig* application_config_;
00055   RqtMrtaArchitectureConfig* architecture_config_;
00056 };
00057 }
00058 
00059 #endif // _RQT_MRTA_DEFINE_ROBOTS_PARAMETERS_WIDGET_H_


rqt_mrta
Author(s): Adriano Henrique Rossette Leite
autogenerated on Thu Jun 6 2019 18:50:52