Directory: | ./ |
---|---|
File: | src/hpp/constraints_idl/constraints.cc |
Date: | 2024-12-13 15:50:05 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 10 | 10 | 100.0% |
Branches: | 18 | 32 | 56.2% |
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/constraints_idl/constraints.idl | ||
3 | // | ||
4 | |||
5 | #include <hpp/constraints_idl/constraints.hh> | ||
6 | |||
7 | |||
8 | |||
9 | namespace hpp { | ||
10 | namespace corbaServer { | ||
11 | template <> | ||
12 | 16 | std::vector< ServantFactoryBase<hpp::constraints_impl::DifferentiableFunction>* >& objectDowncasts<hpp::constraints_impl::DifferentiableFunction> () | |
13 | { | ||
14 |
3/4✓ Branch 0 taken 8 times.
✓ Branch 1 taken 8 times.
✓ Branch 3 taken 8 times.
✗ Branch 4 not taken.
|
16 | static std::vector< ServantFactoryBase<hpp::constraints_impl::DifferentiableFunction>* > vector; |
15 | 16 | return vector; | |
16 | } | ||
17 | } // namespace corbaServer | ||
18 | } // namespace hpp | ||
19 | |||
20 | namespace hpp { | ||
21 | namespace corbaServer { | ||
22 | template <> | ||
23 | 16 | std::vector< ServantFactoryBase<hpp::constraints_impl::Implicit>* >& objectDowncasts<hpp::constraints_impl::Implicit> () | |
24 | { | ||
25 |
3/4✓ Branch 0 taken 8 times.
✓ Branch 1 taken 8 times.
✓ Branch 3 taken 8 times.
✗ Branch 4 not taken.
|
16 | static std::vector< ServantFactoryBase<hpp::constraints_impl::Implicit>* > vector; |
26 | 16 | return vector; | |
27 | } | ||
28 | } // namespace corbaServer | ||
29 | } // namespace hpp | ||
30 | |||
31 | |||
32 | |||
33 | namespace hpp { | ||
34 | |||
35 | namespace constraints_impl { | ||
36 |
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(DifferentiableFunction, DifferentiableFunction, 0) |
37 | } // namespace constraints_impl | ||
38 | |||
39 | } // namespace hpp | ||
40 | |||
41 | namespace hpp { | ||
42 | |||
43 | namespace constraints_impl { | ||
44 |
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(Implicit, Implicit, 0) |
45 | } // namespace constraints_impl | ||
46 | |||
47 | } // namespace hpp | ||
48 | |||
49 | namespace hpp { | ||
50 | |||
51 | namespace constraints_impl { | ||
52 |
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(LockedJoint, Implicit, 1) |
53 | } // namespace constraints_impl | ||
54 | |||
55 | } // namespace hpp | ||
56 | |||
57 | namespace hpp { | ||
58 | |||
59 | namespace constraints_impl { | ||
60 |
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(ConfigurationConstraint, DifferentiableFunction, 1) |
61 | } // namespace constraints_impl | ||
62 | |||
63 | } // namespace hpp | ||
64 | |||
65 | |||
66 | |||
67 | |||
68 | |||
69 | |||
70 |