HandUnitConfigDialog.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 ArmarX::
17 * @author Nikolaus Vahrenkamp ( vahrenkamp at kit dot edu)
18 * @date 2012
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22 
23 #pragma once
24 
25 #include <QDialog>
26 
29 
31 
32 namespace Ui
33 {
34  class HandUnitConfigDialog;
35 }
36 
37 namespace armarx
38 {
39  class HandUnitConfigDialog : public QDialog, virtual public ManagedIceObject
40  {
41  Q_OBJECT
42 
43  public:
44  explicit HandUnitConfigDialog(QWidget* parent = 0);
45  ~HandUnitConfigDialog() override;
46 
47  protected:
48  // ManagedIceObject interface
49  std::string
50  getDefaultName() const override
51  {
52  return "HandUnitConfigDialog" + uuid;
53  }
54 
55  void onInitComponent() override;
56  void onConnectComponent() override;
57 
58  private:
59  Ui::HandUnitConfigDialog* ui;
60 
61  IceProxyFinderBase* proxyFinderLeftHand;
62  IceProxyFinderBase* proxyFinderRightHand;
63  std::string uuid;
64 
65  friend class HandUnitWidget;
66  };
67 } // namespace armarx
armarx::HandUnitConfigDialog::getDefaultName
std::string getDefaultName() const override
Retrieve default name of component.
Definition: HandUnitConfigDialog.h:50
armarx::HandUnitConfigDialog::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: HandUnitConfigDialog.cpp:60
armarx::IceProxyFinderBase
The IceProxyFinderBase class provides a convenient way to query online proxies in the ice network,...
Definition: IceProxyFinder.h:52
armarx::HandUnitWidget
Definition: HandUnitGuiPlugin.h:78
armarx::HandUnitConfigDialog::HandUnitConfigDialog
HandUnitConfigDialog(QWidget *parent=0)
Definition: HandUnitConfigDialog.cpp:30
armarx::HandUnitConfigDialog::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: HandUnitConfigDialog.cpp:53
Ui
ArmarX Headers.
Definition: ArmarXMainWindow.h:54
ManagedIceObject.h
IceProxyFinder.h
IceManager.h
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition: ManagedIceObject.h:162
armarx::HandUnitConfigDialog
Definition: HandUnitConfigDialog.h:39
armarx::HandUnitConfigDialog::~HandUnitConfigDialog
~HandUnitConfigDialog() override
Definition: HandUnitConfigDialog.cpp:47
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:27