WriteToDebugObserverGuiPluginWidgetController.h
Go to the documentation of this file.
1 /*
2  * This file is part of ArmarX.
3  *
4  * ArmarX is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * ArmarX is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * @package ArmarXGui::gui-plugins::WriteToDebugObserverGuiPluginWidgetController
17  * @author Raphael Grimm ( raphael dot grimm at kit dot edu )
18  * @date 2020
19  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20  * GNU General Public License
21  */
22 #pragma once
23 
25 #include <ArmarXCore/interface/observers/ObserverInterface.h>
26 
27 #include <ArmarXGui/gui-plugins/WriteToDebugObserverGuiPlugin/ui_WriteToDebugObserverGuiPluginWidget.h>
31 
32 namespace armarx
33 {
34  /**
35  \page ArmarXGui-GuiPlugins-WriteToDebugObserverGuiPlugin WriteToDebugObserverGuiPlugin
36  \brief The WriteToDebugObserverGuiPlugin allows visualizing ...
37 
38  \image html WriteToDebugObserverGuiPlugin.png
39  The user can
40 
41  API Documentation \ref WriteToDebugObserverGuiPluginWidgetController
42 
43  \see WriteToDebugObserverGuiPluginGuiPlugin
44  */
45 
46  /**
47  * \class WriteToDebugObserverGuiPluginWidgetController
48  * \brief WriteToDebugObserverGuiPluginWidgetController brief one line description
49  *
50  * Detailed description
51  */
54  WriteToDebugObserverGuiPluginWidgetController>
55  {
56  Q_OBJECT
57 
58  public:
59  /**
60  * Controller Constructor
61  */
63 
64  /**
65  * Controller destructor
66  */
68 
69  /**
70  * @see ArmarXWidgetController::loadSettings()
71  */
72  void loadSettings(QSettings* settings) override;
73 
74  /**
75  * @see ArmarXWidgetController::saveSettings()
76  */
77  void saveSettings(QSettings* settings) override;
78 
79  /**
80  * Returns the Widget name displayed in the ArmarXGui to create an
81  * instance of this class.
82  */
83  static QString
85  {
86  return "WriteToDebugObserverGuiPlugin";
87  }
88 
89  /**
90  * \see armarx::Component::onInitComponent()
91  */
92  void onInitComponent() override;
93 
94  /**
95  * \see armarx::Component::onConnectComponent()
96  */
97  void onConnectComponent() override;
98 
99  QPointer<QDialog> getConfigDialog(QWidget* parent = 0) override;
100  void configured() override;
101 
102  public slots:
103  /* QT slot declarations */
104 
105  signals:
106  /* QT signal declarations */
107 
108  private slots:
109  void on_pushButtonSend_clicked();
110 
111  private:
112  /**
113  * Widget Form
114  */
115  Ui::WriteToDebugObserverGuiPluginWidget _widget;
116  std::string _debugObserverName;
117  DebugObserverInterfacePrx _debugObserver;
118  QPointer<SimpleConfigDialog> _dialog;
119  };
120 } // namespace armarx
armarx::ArmarXComponentWidgetControllerTemplate
Definition: ArmarXComponentWidgetController.h:69
SimpleConfigDialog.h
ArmarXGuiPlugin.h
ArmarXComponentWidgetController.h
ARMARXCOMPONENT_IMPORT_EXPORT
#define ARMARXCOMPONENT_IMPORT_EXPORT
Definition: ImportExportComponent.h:38
armarx::WriteToDebugObserverGuiPluginWidgetController
WriteToDebugObserverGuiPluginWidgetController brief one line description.
Definition: WriteToDebugObserverGuiPluginWidgetController.h:52
armarx::WriteToDebugObserverGuiPluginWidgetController::GetWidgetName
static QString GetWidgetName()
Returns the Widget name displayed in the ArmarXGui to create an instance of this class.
Definition: WriteToDebugObserverGuiPluginWidgetController.h:84
IceInternal::ProxyHandle<::IceProxy::armarx::DebugObserverInterface >
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:27
ImportExportComponent.h