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#include <RobotComponents/gui-plugins/MotionPlanning/MotionPlanningServer/ui_MotionPlanningServerConfigDialog.h>
32
33namespace armarx
34{
35 /**
36 * @brief The config dialog of the palnning server gui.
37 * It has a proxy finder for a planning server
38 */
39 class MotionPlanningServerConfigDialog : public QDialog, virtual public armarx::ManagedIceObject
40 {
41 Q_OBJECT
42
43 public:
44 /**
45 * @brief ctor
46 * @param parent the dialog's parent
47 */
48 explicit MotionPlanningServerConfigDialog(QWidget* parent = nullptr);
49 /**
50 * @brief dtor
51 */
53
54 private:
55 /**
56 * @brief Proxy finder for a PlanningServerInterfacePrx
57 */
59 /**
60 * @brief The internal ui.
61 */
62 Ui::MotionPlanningServerConfigDialog ui;
63 /**
64 * @brief The used uuid.
65 */
66 std::string uuid;
67
69
70 // ManagedIceObject interface
71 protected:
72 /**
73 * @brief Initializes the proxy finder
74 */
75 void onInitComponent() override;
76 /**
77 * @brief noop
78 */
79 void onConnectComponent() override;
80 /**
81 * @brief Returns the dialog's default name.
82 * @return The dialog's default name.
83 */
84 std::string getDefaultName() const override;
85 };
86} // namespace armarx
Widget to conveniently retrieve a proxy instance name of a specific interface type (the template para...
The ManagedIceObject is the base class for all ArmarX objects.
void onInitComponent() override
Initializes the proxy finder.
~MotionPlanningServerConfigDialog() override=default
dtor
std::string getDefaultName() const override
Returns the dialog's default name.
This file offers overloads of toIce() and fromIce() functions for STL container types.