Directory: | ./ |
---|---|
File: | src/hpp/pinocchio_idl/robots.cc |
Date: | 2024-12-13 15:50:05 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 12 | 12 | 100.0% |
Branches: | 16 | 30 | 53.3% |
Line | Branch | Exec | Source |
---|---|---|---|
1 | // | ||
2 | // Implemention of IDL interfaces in file /root/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-6.0.0/idl/hpp/pinocchio_idl/robots.idl | ||
3 | // | ||
4 | |||
5 | #include <hpp/pinocchio_idl/robots.hh> | ||
6 | |||
7 | |||
8 | |||
9 | namespace hpp { | ||
10 | namespace corbaServer { | ||
11 | template <> | ||
12 | 8 | std::vector< ServantFactoryBase<hpp::pinocchio_impl::CenterOfMassComputation>* >& objectDowncasts<hpp::pinocchio_impl::CenterOfMassComputation> () | |
13 | { | ||
14 |
2/4✓ Branch 0 taken 8 times.
✗ Branch 1 not taken.
✓ Branch 3 taken 8 times.
✗ Branch 4 not taken.
|
8 | static std::vector< ServantFactoryBase<hpp::pinocchio_impl::CenterOfMassComputation>* > vector; |
15 | 8 | return vector; | |
16 | } | ||
17 | } // namespace corbaServer | ||
18 | } // namespace hpp | ||
19 | |||
20 | namespace hpp { | ||
21 | namespace corbaServer { | ||
22 | template <> | ||
23 | 10 | std::vector< ServantFactoryBase<hpp::pinocchio_impl::Device>* >& objectDowncasts<hpp::pinocchio_impl::Device> () | |
24 | { | ||
25 |
3/4✓ Branch 0 taken 8 times.
✓ Branch 1 taken 2 times.
✓ Branch 3 taken 8 times.
✗ Branch 4 not taken.
|
10 | static std::vector< ServantFactoryBase<hpp::pinocchio_impl::Device>* > vector; |
26 | 10 | return vector; | |
27 | } | ||
28 | } // namespace corbaServer | ||
29 | } // namespace hpp | ||
30 | |||
31 | namespace hpp { | ||
32 | namespace corbaServer { | ||
33 | template <> | ||
34 | 8 | std::vector< ServantFactoryBase<hpp::pinocchio_impl::CollisionObject>* >& objectDowncasts<hpp::pinocchio_impl::CollisionObject> () | |
35 | { | ||
36 |
2/4✓ Branch 0 taken 8 times.
✗ Branch 1 not taken.
✓ Branch 3 taken 8 times.
✗ Branch 4 not taken.
|
8 | static std::vector< ServantFactoryBase<hpp::pinocchio_impl::CollisionObject>* > vector; |
37 | 8 | return vector; | |
38 | } | ||
39 | } // namespace corbaServer | ||
40 | } // namespace hpp | ||
41 | |||
42 | |||
43 | |||
44 | namespace hpp { | ||
45 | |||
46 | namespace pinocchio_impl { | ||
47 |
3/6✓ Branch 1 taken 8 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 8 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 8 times.
✗ Branch 8 not taken.
|
8 | HPP_CORBASERVER_ADD_DOWNCAST_OBJECT(CenterOfMassComputation, CenterOfMassComputation, 0) |
48 | } // namespace pinocchio_impl | ||
49 | |||
50 | } // namespace hpp | ||
51 | |||
52 | namespace hpp { | ||
53 | |||
54 | namespace pinocchio_impl { | ||
55 |
3/6✓ Branch 1 taken 8 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 8 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 8 times.
✗ Branch 8 not taken.
|
8 | HPP_CORBASERVER_ADD_DOWNCAST_OBJECT(Device, Device, 0) |
56 | } // namespace pinocchio_impl | ||
57 | |||
58 | } // namespace hpp | ||
59 | |||
60 | namespace hpp { | ||
61 | |||
62 | namespace pinocchio_impl { | ||
63 |
3/6✓ Branch 1 taken 8 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 8 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 8 times.
✗ Branch 8 not taken.
|
8 | HPP_CORBASERVER_ADD_DOWNCAST_OBJECT(CollisionObject, CollisionObject, 0) |
64 | } // namespace pinocchio_impl | ||
65 | |||
66 | } // namespace hpp | ||
67 | |||
68 | |||
69 | |||
70 | |||
71 | |||
72 | |||
73 |