MotionPlanningServerConfigDialog.h
Go to the documentation of this file.
1 /*
2  * This file is part of ArmarX.
3  *
4  * Copyright (C) 2011-2016, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5  *
6  * ArmarX is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  * ArmarX is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  *
18  * @package RobotComponents
19  * @author Raphael Grimm ( raphael dot grimm at kit dot edu )
20  * @date 2015
21  * @copyright http://www.gnu.org/licenses/gpl.txt
22  * GNU General Public License
23  */
24 #pragma once
25 
26 #include <QDialog>
27 
29 
31 
32 #include <RobotComponents/gui-plugins/MotionPlanning/MotionPlanningServer/ui_MotionPlanningServerConfigDialog.h>
33 
34 namespace armarx
35 {
36  /**
37  * @brief The config dialog of the palnning server gui.
38  * It has a proxy finder for a planning server
39  */
41  public QDialog,
42  virtual public armarx::ManagedIceObject
43  {
44  Q_OBJECT
45 
46  public:
47  /**
48  * @brief ctor
49  * @param parent the dialog's parent
50  */
51  explicit MotionPlanningServerConfigDialog(QWidget* parent = nullptr);
52  /**
53  * @brief dtor
54  */
55  ~MotionPlanningServerConfigDialog() override = default;
56 
57  private:
58  /**
59  * @brief Proxy finder for a PlanningServerInterfacePrx
60  */
62  /**
63  * @brief The internal ui.
64  */
65  Ui::MotionPlanningServerConfigDialog ui;
66  /**
67  * @brief The used uuid.
68  */
69  std::string uuid;
70 
72 
73  // ManagedIceObject interface
74  protected:
75  /**
76  * @brief Initializes the proxy finder
77  */
78  void onInitComponent() override;
79  /**
80  * @brief noop
81  */
82  void onConnectComponent() override;
83  /**
84  * @brief Returns the dialog's default name.
85  * @return The dialog's default name.
86  */
87  std::string getDefaultName() const override;
88  };
89 }
armarx::MotionPlanningServerConfigDialog
The config dialog of the palnning server gui.
Definition: MotionPlanningServerConfigDialog.h:40
armarx::MotionPlanningServerConfigDialog::~MotionPlanningServerConfigDialog
~MotionPlanningServerConfigDialog() override=default
dtor
armarx::MotionPlanningServerConfigDialog::MotionPlanningServerConfigDialog
MotionPlanningServerConfigDialog(QWidget *parent=nullptr)
ctor
Definition: MotionPlanningServerConfigDialog.cpp:31
MotionPlanningServer.h
armarx::MotionPlanningServerConfigDialog::onInitComponent
void onInitComponent() override
Initializes the proxy finder.
Definition: MotionPlanningServerConfigDialog.cpp:41
armarx::MotionPlanningServerConfigDialog::getDefaultName
std::string getDefaultName() const override
Returns the dialog's default name.
Definition: MotionPlanningServerConfigDialog.cpp:50
IceProxyFinder.h
armarx::MotionPlanningServerWidgetController
Definition: MotionPlanningServerWidgetController.h:56
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition: ManagedIceObject.h:163
armarx::IceProxyFinder< MotionPlanningServerInterfacePrx >
armarx::MotionPlanningServerConfigDialog::onConnectComponent
void onConnectComponent() override
noop
Definition: MotionPlanningServerConfigDialog.cpp:46
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28