MMMPlayerConfigDialog.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 Lesser General Public License as
6* published by the Free Software Foundation; either version 2 of
7* the License, or (at your option) any later version.
8*
9* ArmarX is distributed in the hope that it will be useful, but
10* WITHOUT ANY WARRANTY; without even the implied warranty of
11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12* GNU Lesser General Public License for more details.
13*
14* You should have received a copy of the GNU General Public License
15* along with this program. If not, see <http://www.gnu.org/licenses/>.
16*
17* @package ArmarX::
18* @author Nikolaus Vahrenkamp ( vahrenkamp at kit dot edu)
19* @date 2012
20* @copyright http://www.gnu.org/licenses/gpl.txt
21* GNU General Public License
22*/
23
24#pragma once
25
26#include <QDialog>
27#include <QFileDialog>
28
30
32
33namespace Ui
34{
35 class MMMPlayerConfigDialog;
36}
37
38namespace armarx
39{
40 class MMMPlayerConfigDialog : public QDialog, virtual public ManagedIceObject
41 {
42 Q_OBJECT
43 friend class MMMPlayerWidget;
44
45 public:
46 explicit MMMPlayerConfigDialog(QWidget* parent = 0);
47 ~MMMPlayerConfigDialog() override;
48
49 // inherited from ManagedIceObject
50 std::string
51 getDefaultName() const override
52 {
53 return "MMMPlayerConfigDialog" + uuid;
54 }
55
56 void onInitComponent() override;
57 void onConnectComponent() override;
58 void onExitComponent() override;
59
60 private slots:
61 void verifyConfiguration();
62 void reject() override;
63
64
65 private:
66 Ui::MMMPlayerConfigDialog* ui;
67
68 IceProxyFinderBase* kinematicUnitComponentProxyFinder;
69 IceProxyFinderBase* mmmPlayerComponentProxyFinder;
70 IceProxyFinderBase* trajPlayerComponentProxyFinder;
71
72
73 std::string kinematicTopicName;
74
75 bool needtoCreate;
76
77 std::string uuid;
78 };
79} // namespace armarx
The IceProxyFinderBase class provides a convenient way to query online proxies in the ice network,...
void onInitComponent() override
Pure virtual hook for the subclass.
void onConnectComponent() override
Pure virtual hook for the subclass.
void onExitComponent() override
Hook for subclass.
std::string getDefaultName() const override
Retrieve default name of component.
ManagedIceObject(ManagedIceObject const &other)
ArmarX Headers.
This file offers overloads of toIce() and fromIce() functions for STL container types.