GCC Code Coverage Report


Directory: ./
File: src/hpp/core_idl/path_planners.cc
Date: 2024-12-13 15:50:05
Exec Total Coverage
Lines: 16 16 100.0%
Branches: 20 40 50.0%

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/core_idl/path_planners.idl
3 //
4
5 #include <hpp/core_idl/path_planners.hh>
6
7
8
9 namespace hpp {
10 namespace corbaServer {
11 template <>
12 8 std::vector< ServantFactoryBase<hpp::core_impl::ConnectedComponent>* >& objectDowncasts<hpp::core_impl::ConnectedComponent> ()
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::core_impl::ConnectedComponent>* > vector;
15 8 return vector;
16 }
17 } // namespace corbaServer
18 } // namespace hpp
19
20 namespace hpp {
21 namespace corbaServer {
22 template <>
23 8 std::vector< ServantFactoryBase<hpp::core_impl::Roadmap>* >& objectDowncasts<hpp::core_impl::Roadmap> ()
24 {
25
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::core_impl::Roadmap>* > vector;
26 8 return vector;
27 }
28 } // namespace corbaServer
29 } // namespace hpp
30
31 namespace hpp {
32 namespace corbaServer {
33 template <>
34 8 std::vector< ServantFactoryBase<hpp::core_impl::PathPlanner>* >& objectDowncasts<hpp::core_impl::PathPlanner> ()
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::core_impl::PathPlanner>* > vector;
37 8 return vector;
38 }
39 } // namespace corbaServer
40 } // namespace hpp
41
42 namespace hpp {
43 namespace corbaServer {
44 template <>
45 8 std::vector< ServantFactoryBase<hpp::core_impl::PathOptimizer>* >& objectDowncasts<hpp::core_impl::PathOptimizer> ()
46 {
47
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::core_impl::PathOptimizer>* > vector;
48 8 return vector;
49 }
50 } // namespace corbaServer
51 } // namespace hpp
52
53
54
55 namespace hpp {
56
57 namespace core_impl {
58
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(ConnectedComponent, ConnectedComponent, 0)
59 } // namespace core_impl
60
61 } // namespace hpp
62
63 namespace hpp {
64
65 namespace core_impl {
66
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(Roadmap, Roadmap, 0)
67 } // namespace core_impl
68
69 } // namespace hpp
70
71 namespace hpp {
72
73 namespace core_impl {
74
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(PathPlanner, PathPlanner, 0)
75 } // namespace core_impl
76
77 } // namespace hpp
78
79 namespace hpp {
80
81 namespace core_impl {
82
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(PathOptimizer, PathOptimizer, 0)
83 } // namespace core_impl
84
85 } // namespace hpp
86
87
88
89
90
91
92