url.hh
Go to the documentation of this file.
1
// Copyright (c) 2015-2018, LAAS-CNRS
2
// Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
3
//
4
// This file is part of gepetto-viewer-corba.
5
// gepetto-viewer-corba is free software: you can redistribute it
6
// and/or modify it under the terms of the GNU Lesser General Public
7
// License as published by the Free Software Foundation, either version
8
// 3 of the License, or (at your option) any later version.
9
//
10
// gepetto-viewer-corba is distributed in the hope that it will be
11
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
12
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
// General Lesser Public License for more details. You should have
14
// received a copy of the GNU Lesser General Public License along with
15
// gepetto-viewer-corba. If not, see <http://www.gnu.org/licenses/>.
16
17
#ifndef GEPETTO_GUI_OMNIORB_URL_HH
18
#define GEPETTO_GUI_OMNIORB_URL_HH
19
20
#include <QString>
21
#include <gepetto/viewer/corba/deprecated.hh>
22
#warning "This file will be deleted in the future."
23
24
namespace
gepetto
{
25
namespace
gui
{
26
namespace
omniOrb {
27
static
inline
QString IIOPurl (
const
QString& host =
"localhost"
,
28
const
QString& port =
"2809"
) GEPETTO_VIEWER_CORBA_DEPRECATED;
29
30
static
inline
QString IIOPurl (
const
QString& host,
31
const
QString& port)
32
{
33
return
QString (
"corbaloc:iiop:%1:%2"
).arg(host).arg(port);
34
}
35
}
// namespace omniOrb
36
}
// namespace gui
37
}
// namespace gepetto
38
39
#endif // GEPETTO_GUI_OMNIORB_URL_HH
gepetto::viewer::corba::gui
corbaserver::GraphicalInterface_var & gui()
Get a client to the GUI.
gepetto
include
gepetto
gui
omniorb
url.hh
Generated by
1.8.13