ArMemMemoryViewerWidgetController.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 RobotAPI::gui-plugins::ArMemMemoryViewerWidgetController
17  * @author Rainer Kartmann ( rainer dot kartmann 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 
24 #include <memory>
25 
27 
31 
34 
35 #include <RobotAPI/gui-plugins/ArMemMemoryViewer/ui_ArMemMemoryViewerWidget.h>
36 
37 
38 namespace armarx
39 {
40  /**
41  * @page RobotAPI-GuiPlugins-ArMemMemoryViewer ArMemMemoryViewer
42  * @brief The ArMemMemoryViewer allows visualizing ...
43  * @image html ArMemMemoryViewer.png
44  * The user can
45  *
46  * API Documentation @ref ArMemMemoryViewerWidgetController
47  *
48  * @see ArMemMemoryViewerGuiPlugin
49  */
50 
51  /**
52  * @class ArMemMemoryViewerGuiPlugin
53  * @ingroup ArmarXGuiPlugins
54  * @brief ArMemMemoryViewerGuiPlugin brief description
55  *
56  * Detailed description
57  */
58 
59  /**
60  * @class ArMemMemoryViewerWidgetController
61  * @brief ArMemMemoryViewerWidgetController brief one line description
62  *
63  * Detailed description
64  */
67  public armarx::ArmarXComponentWidgetControllerTemplate < ArMemMemoryViewerWidgetController >
68  {
69  Q_OBJECT
72 
73  public:
74 
75  static QString GetWidgetName();
76  static QIcon GetWidgetIcon();
77 
79  virtual ~ArMemMemoryViewerWidgetController() override;
80 
81 
82  void loadSettings(QSettings* settings) override;
83  void saveSettings(QSettings* settings) override;
84 
85  QPointer<QDialog> getConfigDialog(QWidget* parent) override;
86  void configured() override;
87 
88 
89  void onInitComponent() override;
90  void onConnectComponent() override;
91  void onDisconnectComponent() override;
92 
93 
94  public slots:
95 
96  signals:
97 
98 
99  private slots:
100 
101  signals:
102 
103 
104  private:
105 
106  /// Widget Form
107  Ui::ArMemMemoryViewerWidget widget;
108  armarx::gui::LifecycleServer lifecycleServer;
109 
110  QPointer<SimpleConfigDialog> configDialog;
111 
112  std::unique_ptr<MemoryViewer> viewer;
113 
114  };
115 }
116 
117 
armarx::gui::LifecycleServer
Definition: lifecycle.h:35
armarx::ArmarXComponentWidgetControllerTemplate
Definition: ArmarXComponentWidgetController.h:69
SimpleConfigDialog.h
MemoryViewer.h
ArmarXGuiPlugin.h
ArmarXComponentWidgetController.h
ARMARXCOMPONENT_IMPORT_EXPORT
#define ARMARXCOMPONENT_IMPORT_EXPORT
Definition: ImportExportComponent.h:38
armarx::armem::gui::MemoryViewer
Definition: MemoryViewer.h:40
armarx::ArMemMemoryViewerWidgetController
ArMemMemoryViewerWidgetController brief one line description.
Definition: ArMemMemoryViewerWidgetController.h:65
lifecycle.h
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
ImportExportComponent.h