GCC Code Coverage Report


Directory: ./
File: python/doxygen_autodoc/coal/broadphase/broadphase_collision_manager.h
Date: 2025-04-01 09:23:31
Exec Total Coverage
Lines: 46 58 79.3%
Branches: 39 102 38.2%

Line Branch Exec Source
1 #ifndef DOXYGEN_AUTODOC_COAL_BROADPHASE_BROADPHASE_COLLISION_MANAGER_H
2 #define DOXYGEN_AUTODOC_COAL_BROADPHASE_BROADPHASE_COLLISION_MANAGER_H
3
4 #include "/root/robotpkg/path/py-coal/work/coal-3.0.1/doc/python/doxygen.hh"
5
6 #include <coal/broadphase/broadphase_collision_manager.h>
7
8 namespace doxygen {
9
10 template <>
11 struct class_doc_impl< coal::BroadPhaseCollisionManager >
12 {
13 static inline const char* run ()
14 {
15 return "Base class for broad phase collision. It helps to accelerate the collision/distance between N objects. Also support self collision, self distance and collision/distance with another M objects. ";
16 }
17 static inline const char* attribute (const char* attrib)
18 {
19 (void)attrib; // turn off unused parameter warning.
20 return "";
21 }
22 };
23
24 template <>
25 struct constructor_0_impl< coal::BroadPhaseCollisionManager >
26 {
27 static inline const char* doc ()
28 {
29 return "";
30 }
31 static inline boost::python::detail::keywords<0+1> args ()
32 {
33 return (boost::python::arg("self"));
34 }
35 };
36
37 template <>
38 struct destructor_doc_impl < coal::BroadPhaseCollisionManager >
39 {
40 static inline const char* run ()
41 {
42 return "";
43 }
44 };
45
46 10 inline const char* member_func_doc (void (coal::BroadPhaseCollisionManager::*function_ptr) (const std::vector< coal::CollisionObject * > &))
47 {
48
3/6
✓ Branch 0 taken 5 times.
✓ Branch 1 taken 5 times.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
10 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) (const std::vector< coal::CollisionObject * > &)>(&coal::BroadPhaseCollisionManager::registerObjects))
49 5 return "add objects to the manager ";
50
2/6
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
5 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) (const std::vector< coal::CollisionObject * > &)>(&coal::BroadPhaseCollisionManager::update))
51 5 return "update the manager by explicitly given the set of objects update ";
52 return "";
53 }
54
55 inline boost::python::detail::keywords<2> member_func_args (void (coal::BroadPhaseCollisionManager::*function_ptr) (const std::vector< coal::CollisionObject * > &))
56 {
57 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) (const std::vector< coal::CollisionObject * > &)>(&coal::BroadPhaseCollisionManager::registerObjects))
58 return (boost::python::arg("self"), boost::python::arg("other_objs"));
59 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) (const std::vector< coal::CollisionObject * > &)>(&coal::BroadPhaseCollisionManager::update))
60 return (boost::python::arg("self"), boost::python::arg("updated_objs"));
61 return (boost::python::arg("self"), boost::python::arg("arg0"));
62 }
63
64 15 inline const char* member_func_doc (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::CollisionObject *))
65 {
66
3/6
✓ Branch 0 taken 5 times.
✓ Branch 1 taken 10 times.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
15 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::CollisionObject *)>(&coal::BroadPhaseCollisionManager::registerObject))
67 5 return "add one object to the manager ";
68
3/6
✓ Branch 0 taken 5 times.
✓ Branch 1 taken 5 times.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
10 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::CollisionObject *)>(&coal::BroadPhaseCollisionManager::unregisterObject))
69 5 return "remove one object from the manager ";
70
2/6
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
5 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::CollisionObject *)>(&coal::BroadPhaseCollisionManager::update))
71 5 return "update the manager by explicitly given the object updated ";
72 return "";
73 }
74
75 inline boost::python::detail::keywords<2> member_func_args (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::CollisionObject *))
76 {
77 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::CollisionObject *)>(&coal::BroadPhaseCollisionManager::registerObject))
78 return (boost::python::arg("self"), boost::python::arg("obj"));
79 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::CollisionObject *)>(&coal::BroadPhaseCollisionManager::unregisterObject))
80 return (boost::python::arg("self"), boost::python::arg("obj"));
81 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::CollisionObject *)>(&coal::BroadPhaseCollisionManager::update))
82 return (boost::python::arg("self"), boost::python::arg("updated_obj"));
83 return (boost::python::arg("self"), boost::python::arg("arg0"));
84 }
85
86 15 inline const char* member_func_doc (void (coal::BroadPhaseCollisionManager::*function_ptr) ())
87 {
88
3/6
✓ Branch 0 taken 5 times.
✓ Branch 1 taken 10 times.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
15 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ()>(&coal::BroadPhaseCollisionManager::setup))
89 5 return "initialize the manager, related with the specific type of manager ";
90
3/6
✓ Branch 0 taken 5 times.
✓ Branch 1 taken 5 times.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
10 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ()>(&coal::BroadPhaseCollisionManager::update))
91 5 return "update the condition of manager ";
92
2/6
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
5 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ()>(&coal::BroadPhaseCollisionManager::clear))
93 5 return "clear the manager ";
94 return "";
95 }
96
97 inline boost::python::detail::keywords<1> member_func_args (void (coal::BroadPhaseCollisionManager::*function_ptr) ())
98 {
99 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ()>(&coal::BroadPhaseCollisionManager::setup))
100 return (boost::python::arg("self"));
101 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ()>(&coal::BroadPhaseCollisionManager::update))
102 return (boost::python::arg("self"));
103 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ()>(&coal::BroadPhaseCollisionManager::clear))
104 return (boost::python::arg("self"));
105 return (boost::python::arg("self"));
106 }
107
108 inline const char* member_func_doc (void (coal::BroadPhaseCollisionManager::*function_ptr) (std::vector< coal::CollisionObject * > &) const)
109 {
110 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) (std::vector< coal::CollisionObject * > &) const>(&coal::BroadPhaseCollisionManager::getObjects))
111 return "return the objects managed by the manager ";
112 return "";
113 }
114
115 inline boost::python::detail::keywords<2> member_func_args (void (coal::BroadPhaseCollisionManager::*function_ptr) (std::vector< coal::CollisionObject * > &) const)
116 {
117 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) (std::vector< coal::CollisionObject * > &) const>(&coal::BroadPhaseCollisionManager::getObjects))
118 return (boost::python::arg("self"), boost::python::arg("objs"));
119 return (boost::python::arg("self"), boost::python::arg("arg0"));
120 }
121
122 5 inline const char* member_func_doc (std::vector< coal::CollisionObject * > (coal::BroadPhaseCollisionManager::*function_ptr) () const)
123 {
124
2/6
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
5 if (function_ptr == static_cast<std::vector< coal::CollisionObject * > (coal::BroadPhaseCollisionManager::*) () const>(&coal::BroadPhaseCollisionManager::getObjects))
125 5 return "return the objects managed by the manager ";
126 return "";
127 }
128
129 inline boost::python::detail::keywords<1> member_func_args (std::vector< coal::CollisionObject * > (coal::BroadPhaseCollisionManager::*function_ptr) () const)
130 {
131 if (function_ptr == static_cast<std::vector< coal::CollisionObject * > (coal::BroadPhaseCollisionManager::*) () const>(&coal::BroadPhaseCollisionManager::getObjects))
132 return (boost::python::arg("self"));
133 return (boost::python::arg("self"));
134 }
135
136 5 inline const char* member_func_doc (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::CollisionObject *, coal::CollisionCallBackBase *) const)
137 {
138
2/6
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
5 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::CollisionObject *, coal::CollisionCallBackBase *) const>(&coal::BroadPhaseCollisionManager::collide))
139 5 return "perform collision test between one object and all the objects belonging to the manager ";
140 return "";
141 }
142
143 inline boost::python::detail::keywords<3> member_func_args (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::CollisionObject *, coal::CollisionCallBackBase *) const)
144 {
145 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::CollisionObject *, coal::CollisionCallBackBase *) const>(&coal::BroadPhaseCollisionManager::collide))
146 return (boost::python::arg("self"), boost::python::arg("obj"), boost::python::arg("callback"));
147 return (boost::python::arg("self"), boost::python::arg("arg0"), boost::python::arg("arg1"));
148 }
149
150 5 inline const char* member_func_doc (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::CollisionObject *, coal::DistanceCallBackBase *) const)
151 {
152
2/6
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
5 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::CollisionObject *, coal::DistanceCallBackBase *) const>(&coal::BroadPhaseCollisionManager::distance))
153 5 return "perform distance computation between one object and all the objects belonging to the manager ";
154 return "";
155 }
156
157 inline boost::python::detail::keywords<3> member_func_args (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::CollisionObject *, coal::DistanceCallBackBase *) const)
158 {
159 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::CollisionObject *, coal::DistanceCallBackBase *) const>(&coal::BroadPhaseCollisionManager::distance))
160 return (boost::python::arg("self"), boost::python::arg("obj"), boost::python::arg("callback"));
161 return (boost::python::arg("self"), boost::python::arg("arg0"), boost::python::arg("arg1"));
162 }
163
164 5 inline const char* member_func_doc (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::CollisionCallBackBase *) const)
165 {
166
2/6
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
5 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::CollisionCallBackBase *) const>(&coal::BroadPhaseCollisionManager::collide))
167 5 return "perform collision test for the objects belonging to the manager (i.e., N^2 self collision) ";
168 return "";
169 }
170
171 inline boost::python::detail::keywords<2> member_func_args (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::CollisionCallBackBase *) const)
172 {
173 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::CollisionCallBackBase *) const>(&coal::BroadPhaseCollisionManager::collide))
174 return (boost::python::arg("self"), boost::python::arg("callback"));
175 return (boost::python::arg("self"), boost::python::arg("arg0"));
176 }
177
178 5 inline const char* member_func_doc (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::DistanceCallBackBase *) const)
179 {
180
2/6
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
5 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::DistanceCallBackBase *) const>(&coal::BroadPhaseCollisionManager::distance))
181 5 return "perform distance test for the objects belonging to the manager (i.e., N^2 self distance) ";
182 return "";
183 }
184
185 inline boost::python::detail::keywords<2> member_func_args (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::DistanceCallBackBase *) const)
186 {
187 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::DistanceCallBackBase *) const>(&coal::BroadPhaseCollisionManager::distance))
188 return (boost::python::arg("self"), boost::python::arg("callback"));
189 return (boost::python::arg("self"), boost::python::arg("arg0"));
190 }
191
192 5 inline const char* member_func_doc (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::BroadPhaseCollisionManager *, coal::CollisionCallBackBase *) const)
193 {
194
2/6
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
5 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::BroadPhaseCollisionManager *, coal::CollisionCallBackBase *) const>(&coal::BroadPhaseCollisionManager::collide))
195 5 return "perform collision test with objects belonging to another manager ";
196 return "";
197 }
198
199 inline boost::python::detail::keywords<3> member_func_args (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::BroadPhaseCollisionManager *, coal::CollisionCallBackBase *) const)
200 {
201 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::BroadPhaseCollisionManager *, coal::CollisionCallBackBase *) const>(&coal::BroadPhaseCollisionManager::collide))
202 return (boost::python::arg("self"), boost::python::arg("other_manager"), boost::python::arg("callback"));
203 return (boost::python::arg("self"), boost::python::arg("arg0"), boost::python::arg("arg1"));
204 }
205
206 5 inline const char* member_func_doc (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::BroadPhaseCollisionManager *, coal::DistanceCallBackBase *) const)
207 {
208
2/6
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
5 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::BroadPhaseCollisionManager *, coal::DistanceCallBackBase *) const>(&coal::BroadPhaseCollisionManager::distance))
209 5 return "perform distance test with objects belonging to another manager ";
210 return "";
211 }
212
213 inline boost::python::detail::keywords<3> member_func_args (void (coal::BroadPhaseCollisionManager::*function_ptr) ( coal::BroadPhaseCollisionManager *, coal::DistanceCallBackBase *) const)
214 {
215 if (function_ptr == static_cast<void (coal::BroadPhaseCollisionManager::*) ( coal::BroadPhaseCollisionManager *, coal::DistanceCallBackBase *) const>(&coal::BroadPhaseCollisionManager::distance))
216 return (boost::python::arg("self"), boost::python::arg("other_manager"), boost::python::arg("callback"));
217 return (boost::python::arg("self"), boost::python::arg("arg0"), boost::python::arg("arg1"));
218 }
219
220 5 inline const char* member_func_doc (bool (coal::BroadPhaseCollisionManager::*function_ptr) () const)
221 {
222
2/6
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
5 if (function_ptr == static_cast<bool (coal::BroadPhaseCollisionManager::*) () const>(&coal::BroadPhaseCollisionManager::empty))
223 5 return "whether the manager is empty ";
224 return "";
225 }
226
227 inline boost::python::detail::keywords<1> member_func_args (bool (coal::BroadPhaseCollisionManager::*function_ptr) () const)
228 {
229 if (function_ptr == static_cast<bool (coal::BroadPhaseCollisionManager::*) () const>(&coal::BroadPhaseCollisionManager::empty))
230 return (boost::python::arg("self"));
231 return (boost::python::arg("self"));
232 }
233
234 5 inline const char* member_func_doc (size_t (coal::BroadPhaseCollisionManager::*function_ptr) () const)
235 {
236
2/6
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
5 if (function_ptr == static_cast<size_t (coal::BroadPhaseCollisionManager::*) () const>(&coal::BroadPhaseCollisionManager::size))
237 5 return "the number of objects managed by the manager ";
238 return "";
239 }
240
241 inline boost::python::detail::keywords<1> member_func_args (size_t (coal::BroadPhaseCollisionManager::*function_ptr) () const)
242 {
243 if (function_ptr == static_cast<size_t (coal::BroadPhaseCollisionManager::*) () const>(&coal::BroadPhaseCollisionManager::size))
244 return (boost::python::arg("self"));
245 return (boost::python::arg("self"));
246 }
247 } // namespace doxygen
248
249 #endif // DOXYGEN_AUTODOC_COAL_BROADPHASE_BROADPHASE_COLLISION_MANAGER_H
250
251