Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
a
b
c
d
f
g
i
j
l
m
o
p
q
r
s
t
u
v
+
Variables
_
a
b
c
d
e
f
g
i
j
l
m
n
p
r
s
u
v
w
+
Typedefs
c
e
f
i
m
q
r
s
v
Enumerations
Enumerator
+
Classes
Class List
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
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
~
+
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
z
+
Typedefs
b
d
e
f
k
l
m
s
t
v
Enumerations
+
Enumerator
a
b
c
d
e
f
g
i
j
k
m
n
o
p
r
s
t
u
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
+
Functions
b
c
d
e
f
g
i
l
m
o
p
r
s
t
u
Variables
+
Typedefs
c
d
e
f
k
r
s
t
Enumerations
Enumerator
+
Macros
_
a
b
c
d
e
f
i
l
m
n
o
p
r
s
t
v
tests
signal
test_ptrcast.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2010,
3
* François Bleibel,
4
* Olivier Stasse,
5
*
6
* CNRS/AIST
7
*
8
*/
9
10
/* -------------------------------------------------------------------------- */
11
/* --- INCLUDES ------------------------------------------------------------- */
12
/* -------------------------------------------------------------------------- */
13
#include <
dynamic-graph/all-signals.h
>
14
#include <
dynamic-graph/linear-algebra.h
>
15
16
#include <iostream>
17
#include <
sot/core/matrix-geometry.hh
>
18
using namespace
std
;
19
using namespace
dynamicgraph
;
20
using namespace
dynamicgraph::sot
;
21
22
Signal<dynamicgraph::Matrix, int>
base
(
"base"
);
23
Signal<dynamicgraph::Matrix, int>
sig
(
"matrix"
);
24
SignalPtr<dynamicgraph::Matrix, int>
sigptr(&
base
);
25
26
Signal<MatrixRotation, int>
sigMR
(
"matrixRot"
);
27
28
int
main
(
void
) {
29
sigptr.plug(&
sig
);
30
cout <<
"Correctly plugged matrix"
<< endl;
31
// sigptr.plug(&sigMR);
32
// cout << "Correctly plugged matrix rotation" << endl;
33
34
return
0;
35
}
sig
Signal< dynamicgraph::Matrix, int > sig("matrix")
std
dynamicgraph::SignalPtr< dynamicgraph::Matrix, int >
dynamicgraph::Signal< dynamicgraph::Matrix, int >
main
int main(void)
Definition:
test_ptrcast.cpp:28
linear-algebra.h
dynamicgraph::sot
base
Signal< dynamicgraph::Matrix, int > base("base")
Definition:
test_ptrcast.cpp:24
matrix-geometry.hh
sigMR
Signal< MatrixRotation, int > sigMR("matrixRot")
all-signals.h
dynamicgraph
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26