Loading [MathJax]/extensions/tex2jax.js
iCub-main
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
a
b
c
d
e
h
i
j
l
m
n
p
r
s
t
w
z
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
e
g
i
l
n
p
r
s
t
u
Enumerator
a
b
c
d
e
f
g
i
l
m
p
r
s
t
u
Properties
Related Symbols
a
b
c
g
i
l
o
q
r
s
t
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
x
y
z
Typedefs
Enumerations
Enumerator
_
a
c
d
e
g
j
m
n
p
s
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
icub-main
src
tools
skinManagerGui
main.cpp
Go to the documentation of this file.
1
#include "
mainwindow.h
"
2
3
#include <QApplication>
4
5
int
main
(
int
argc,
char
*argv[])
6
{
7
QApplication a(argc, argv);
8
9
Network
yarp
;
10
ResourceFinder rf;
11
string
guiName;
12
unsigned
int
gXpos, gYpos;
13
14
rf.setDefaultConfigFile(
"skinManGui.ini"
);
//overridden by --from parameter
15
rf.setDefaultContext(
"skinGui"
);
//overridden by --context parameter
16
rf.configure(argc, argv);
17
18
gXpos=10;
19
gYpos=10;
20
if
(rf.check(
"xpos"
)) gXpos=rf.find(
"xpos"
).asInt32();
21
if
(rf.check(
"ypos"
)) gYpos=rf.find(
"ypos"
).asInt32();
22
23
// string driftCompRpcPortName = rf.check("skinManRpcPort", Value("/skinManager/rpc")).asString().c_str();
24
// string driftCompMonitorPortName = rf.check("skinManMonitorPort", Value("/skinManager/monitor:o")).asString().c_str();
25
// string driftCompInfoPortName = rf.check("skinManInfoPort", Value("/skinManager/info:o")).asString().c_str();
26
27
28
MainWindow
w(&rf);
29
w.show();
30
31
return
(a.exec()!=0?1:0);
32
}
5
int
main
(
int
argc,
char
*argv[]) {
…
}
33
34
35
MainWindow
Definition
mainwindow.h:21
main
int main()
Definition
main.cpp:67
yarp
Copyright (C) 2008 RobotCub Consortium.
Definition
DebugInterfaces.h:51
mainwindow.h
Generated on Wed Apr 9 2025 08:53:53 for iCub-main by
1.9.8