MotionPlanningServerConfigDialog.cpp
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
#include <IceUtil/UUID.h>
25
26
#include "
MotionPlanningServerConfigDialog.h
"
27
28
29
namespace
armarx
30
{
31
MotionPlanningServerConfigDialog::MotionPlanningServerConfigDialog
(QWidget* parent) :
32
QDialog(parent),
33
uuid(
IceUtil
::generateUUID())
34
{
35
ui.setupUi(
this
);
36
finder =
new
armarx::IceProxyFinder<MotionPlanningServerInterfacePrx>
(
this
);
37
finder->setSearchMask(
"*Server"
);
38
ui.horizontalLayout->addWidget(finder);
39
}
40
41
void
MotionPlanningServerConfigDialog::onInitComponent
()
42
{
43
finder->setIceManager(
getIceManager
());
44
}
45
46
void
MotionPlanningServerConfigDialog::onConnectComponent
()
47
{
48
}
49
50
std::string
MotionPlanningServerConfigDialog::getDefaultName
()
const
51
{
52
return
"MotionPlanningServerConfigDialog"
+ uuid;
53
}
54
}
armarx::ManagedIceObject::getIceManager
IceManagerPtr getIceManager() const
Returns the IceManager.
Definition:
ManagedIceObject.cpp:353
MotionPlanningServerConfigDialog.h
IceUtil
Definition:
Instance.h:21
armarx::MotionPlanningServerConfigDialog::MotionPlanningServerConfigDialog
MotionPlanningServerConfigDialog(QWidget *parent=nullptr)
ctor
Definition:
MotionPlanningServerConfigDialog.cpp:31
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
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
RobotComponents
gui-plugins
MotionPlanning
MotionPlanningServer
MotionPlanningServerConfigDialog.cpp
Generated on Sat Oct 12 2024 09:14:12 for armarx_documentation by
1.8.17