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 
29 
31 #include <ArmarXGui/gui-plugins/WriteToDebugObserverGuiPlugin/ui_WriteToDebugObserverGuiPluginWidget.h>
32 
33 namespace armarx
34 {
35  /**
36  \page ArmarXGui-GuiPlugins-WriteToDebugObserverGuiPlugin WriteToDebugObserverGuiPlugin
37  \brief The WriteToDebugObserverGuiPlugin allows visualizing ...
38 
39  \image html WriteToDebugObserverGuiPlugin.png
40  The user can
41 
42  API Documentation \ref WriteToDebugObserverGuiPluginWidgetController
43 
44  \see WriteToDebugObserverGuiPluginGuiPlugin
45  */
46 
47  /**
48  * \class WriteToDebugObserverGuiPluginWidgetController
49  * \brief WriteToDebugObserverGuiPluginWidgetController brief one line description
50  *
51  * Detailed description
52  */
55  public armarx::ArmarXComponentWidgetControllerTemplate < WriteToDebugObserverGuiPluginWidgetController >
56  {
57  Q_OBJECT
58 
59  public:
60  /**
61  * Controller Constructor
62  */
64 
65  /**
66  * Controller destructor
67  */
69 
70  /**
71  * @see ArmarXWidgetController::loadSettings()
72  */
73  void loadSettings(QSettings* settings) override;
74 
75  /**
76  * @see ArmarXWidgetController::saveSettings()
77  */
78  void saveSettings(QSettings* settings) override;
79 
80  /**
81  * Returns the Widget name displayed in the ArmarXGui to create an
82  * instance of this class.
83  */
84  static QString GetWidgetName()
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 }
121 
122 
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:53
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:28
ImportExportComponent.h