1 from pybindgen import Module, FileCodeSink, param, retval, cppclass |
1 from pybindgen import Module, FileCodeSink, param, retval, cppclass |
2 |
2 |
3 def register_types(module): |
3 def register_types(module): |
4 root_module = module.get_root() |
4 root_module = module.get_root() |
5 |
5 |
|
6 ## rectangle.h: ns3::Rectangle [class] |
|
7 module.add_class('Rectangle') |
|
8 ## rectangle.h: ns3::Rectangle::Side [enumeration] |
|
9 module.add_enum('Side', ['RIGHT', 'LEFT', 'TOP', 'BOTTOM'], outer_class=root_module['ns3::Rectangle']) |
6 ## static-speed-helper.h: ns3::StaticSpeedHelper [class] |
10 ## static-speed-helper.h: ns3::StaticSpeedHelper [class] |
7 module.add_class('StaticSpeedHelper', allow_subclassing=False) |
11 module.add_class('StaticSpeedHelper', allow_subclassing=False) |
8 ## vector.h: ns3::Vector [class] |
12 ## vector.h: ns3::Vector [class] |
9 module.add_class('Vector') |
13 module.add_class('Vector') |
|
14 ## position-allocator.h: ns3::PositionAllocator [class] |
|
15 module.add_class('PositionAllocator', parent=root_module['ns3::Object']) |
|
16 ## position-allocator.h: ns3::RandomDiscPositionAllocator [class] |
|
17 module.add_class('RandomDiscPositionAllocator', parent=root_module['ns3::PositionAllocator']) |
|
18 ## position-allocator.h: ns3::RandomRectanglePositionAllocator [class] |
|
19 module.add_class('RandomRectanglePositionAllocator', parent=root_module['ns3::PositionAllocator']) |
|
20 ## rectangle.h: ns3::RectangleChecker [class] |
|
21 module.add_class('RectangleChecker', parent=root_module['ns3::AttributeChecker']) |
|
22 ## rectangle.h: ns3::RectangleValue [class] |
|
23 module.add_class('RectangleValue', parent=root_module['ns3::AttributeValue']) |
10 ## vector.h: ns3::VectorChecker [class] |
24 ## vector.h: ns3::VectorChecker [class] |
11 module.add_class('VectorChecker', parent=root_module['ns3::AttributeChecker']) |
25 module.add_class('VectorChecker', parent=root_module['ns3::AttributeChecker']) |
12 ## rectangle.h: ns3::RectangleChecker [class] |
26 ## vector.h: ns3::VectorValue [class] |
13 module.add_class('RectangleChecker', parent=root_module['ns3::AttributeChecker']) |
27 module.add_class('VectorValue', parent=root_module['ns3::AttributeValue']) |
14 ## rectangle.h: ns3::Rectangle [class] |
28 ## position-allocator.h: ns3::GridPositionAllocator [class] |
15 module.add_class('Rectangle') |
29 module.add_class('GridPositionAllocator', parent=root_module['ns3::PositionAllocator']) |
16 ## rectangle.h: ns3::Rectangle::Side [enumeration] |
30 ## position-allocator.h: ns3::GridPositionAllocator::LayoutType [enumeration] |
17 module.add_enum('Side', ['RIGHT', 'LEFT', 'TOP', 'BOTTOM'], outer_class=root_module['ns3::Rectangle']) |
31 module.add_enum('LayoutType', ['ROW_FIRST', 'COLUMN_FIRST'], outer_class=root_module['ns3::GridPositionAllocator']) |
18 ## position-allocator.h: ns3::PositionAllocator [class] |
|
19 module.add_class('PositionAllocator', parent=root_module['ns3::Object']) |
|
20 ## position-allocator.h: ns3::ListPositionAllocator [class] |
32 ## position-allocator.h: ns3::ListPositionAllocator [class] |
21 module.add_class('ListPositionAllocator', parent=root_module['ns3::PositionAllocator']) |
33 module.add_class('ListPositionAllocator', parent=root_module['ns3::PositionAllocator']) |
22 ## rectangle.h: ns3::RectangleValue [class] |
|
23 module.add_class('RectangleValue', parent=root_module['ns3::AttributeValue']) |
|
24 ## position-allocator.h: ns3::RandomRectanglePositionAllocator [class] |
|
25 module.add_class('RandomRectanglePositionAllocator', parent=root_module['ns3::PositionAllocator']) |
|
26 ## vector.h: ns3::VectorValue [class] |
|
27 module.add_class('VectorValue', parent=root_module['ns3::AttributeValue']) |
|
28 ## position-allocator.h: ns3::RandomDiscPositionAllocator [class] |
|
29 module.add_class('RandomDiscPositionAllocator', parent=root_module['ns3::PositionAllocator']) |
|
30 ## mobility-model.h: ns3::MobilityModel [class] |
34 ## mobility-model.h: ns3::MobilityModel [class] |
31 module.add_class('MobilityModel', parent=root_module['ns3::Object']) |
35 module.add_class('MobilityModel', parent=root_module['ns3::Object']) |
32 ## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel [class] |
36 ## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel [class] |
33 module.add_class('RandomDirection2dMobilityModel', parent=root_module['ns3::MobilityModel']) |
37 module.add_class('RandomDirection2dMobilityModel', parent=root_module['ns3::MobilityModel']) |
34 ## position-allocator.h: ns3::GridPositionAllocator [class] |
|
35 module.add_class('GridPositionAllocator', parent=root_module['ns3::PositionAllocator']) |
|
36 ## position-allocator.h: ns3::GridPositionAllocator::LayoutType [enumeration] |
|
37 module.add_enum('LayoutType', ['ROW_FIRST', 'COLUMN_FIRST'], outer_class=root_module['ns3::GridPositionAllocator']) |
|
38 ## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel [class] |
|
39 module.add_class('RandomWaypointMobilityModel', parent=root_module['ns3::MobilityModel']) |
|
40 ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel [class] |
38 ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel [class] |
41 module.add_class('RandomWalk2dMobilityModel', parent=root_module['ns3::MobilityModel']) |
39 module.add_class('RandomWalk2dMobilityModel', parent=root_module['ns3::MobilityModel']) |
42 ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::Mode [enumeration] |
40 ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::Mode [enumeration] |
43 module.add_enum('Mode', ['MODE_DISTANCE', 'MODE_TIME'], outer_class=root_module['ns3::RandomWalk2dMobilityModel']) |
41 module.add_enum('Mode', ['MODE_DISTANCE', 'MODE_TIME'], outer_class=root_module['ns3::RandomWalk2dMobilityModel']) |
|
42 ## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel [class] |
|
43 module.add_class('RandomWaypointMobilityModel', parent=root_module['ns3::MobilityModel']) |
|
44 ## static-mobility-model.h: ns3::StaticMobilityModel [class] |
|
45 module.add_class('StaticMobilityModel', parent=root_module['ns3::MobilityModel']) |
44 ## static-speed-mobility-model.h: ns3::StaticSpeedMobilityModel [class] |
46 ## static-speed-mobility-model.h: ns3::StaticSpeedMobilityModel [class] |
45 module.add_class('StaticSpeedMobilityModel', parent=root_module['ns3::MobilityModel']) |
47 module.add_class('StaticSpeedMobilityModel', parent=root_module['ns3::MobilityModel']) |
46 ## hierarchical-mobility-model.h: ns3::HierarchicalMobilityModel [class] |
48 ## hierarchical-mobility-model.h: ns3::HierarchicalMobilityModel [class] |
47 module.add_class('HierarchicalMobilityModel', parent=root_module['ns3::MobilityModel']) |
49 module.add_class('HierarchicalMobilityModel', parent=root_module['ns3::MobilityModel']) |
48 ## static-mobility-model.h: ns3::StaticMobilityModel [class] |
|
49 module.add_class('StaticMobilityModel', parent=root_module['ns3::MobilityModel']) |
|
50 |
50 |
51 ## Register a nested module for the namespace internal |
51 ## Register a nested module for the namespace internal |
52 |
52 |
53 nested_module = module.add_cpp_namespace('internal') |
53 nested_module = module.add_cpp_namespace('internal') |
54 register_types_ns3_internal(nested_module) |
54 register_types_ns3_internal(nested_module) |
87 def register_types_ns3_olsr(module): |
87 def register_types_ns3_olsr(module): |
88 root_module = module.get_root() |
88 root_module = module.get_root() |
89 |
89 |
90 |
90 |
91 def register_methods(root_module): |
91 def register_methods(root_module): |
|
92 register_Ns3Rectangle_methods(root_module, root_module['ns3::Rectangle']) |
92 register_Ns3StaticSpeedHelper_methods(root_module, root_module['ns3::StaticSpeedHelper']) |
93 register_Ns3StaticSpeedHelper_methods(root_module, root_module['ns3::StaticSpeedHelper']) |
93 register_Ns3Vector_methods(root_module, root_module['ns3::Vector']) |
94 register_Ns3Vector_methods(root_module, root_module['ns3::Vector']) |
|
95 register_Ns3PositionAllocator_methods(root_module, root_module['ns3::PositionAllocator']) |
|
96 register_Ns3RandomDiscPositionAllocator_methods(root_module, root_module['ns3::RandomDiscPositionAllocator']) |
|
97 register_Ns3RandomRectanglePositionAllocator_methods(root_module, root_module['ns3::RandomRectanglePositionAllocator']) |
|
98 register_Ns3RectangleChecker_methods(root_module, root_module['ns3::RectangleChecker']) |
|
99 register_Ns3RectangleValue_methods(root_module, root_module['ns3::RectangleValue']) |
94 register_Ns3VectorChecker_methods(root_module, root_module['ns3::VectorChecker']) |
100 register_Ns3VectorChecker_methods(root_module, root_module['ns3::VectorChecker']) |
95 register_Ns3RectangleChecker_methods(root_module, root_module['ns3::RectangleChecker']) |
101 register_Ns3VectorValue_methods(root_module, root_module['ns3::VectorValue']) |
96 register_Ns3Rectangle_methods(root_module, root_module['ns3::Rectangle']) |
102 register_Ns3GridPositionAllocator_methods(root_module, root_module['ns3::GridPositionAllocator']) |
97 register_Ns3PositionAllocator_methods(root_module, root_module['ns3::PositionAllocator']) |
|
98 register_Ns3ListPositionAllocator_methods(root_module, root_module['ns3::ListPositionAllocator']) |
103 register_Ns3ListPositionAllocator_methods(root_module, root_module['ns3::ListPositionAllocator']) |
99 register_Ns3RectangleValue_methods(root_module, root_module['ns3::RectangleValue']) |
|
100 register_Ns3RandomRectanglePositionAllocator_methods(root_module, root_module['ns3::RandomRectanglePositionAllocator']) |
|
101 register_Ns3VectorValue_methods(root_module, root_module['ns3::VectorValue']) |
|
102 register_Ns3RandomDiscPositionAllocator_methods(root_module, root_module['ns3::RandomDiscPositionAllocator']) |
|
103 register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel']) |
104 register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel']) |
104 register_Ns3RandomDirection2dMobilityModel_methods(root_module, root_module['ns3::RandomDirection2dMobilityModel']) |
105 register_Ns3RandomDirection2dMobilityModel_methods(root_module, root_module['ns3::RandomDirection2dMobilityModel']) |
105 register_Ns3GridPositionAllocator_methods(root_module, root_module['ns3::GridPositionAllocator']) |
106 register_Ns3RandomWalk2dMobilityModel_methods(root_module, root_module['ns3::RandomWalk2dMobilityModel']) |
106 register_Ns3RandomWaypointMobilityModel_methods(root_module, root_module['ns3::RandomWaypointMobilityModel']) |
107 register_Ns3RandomWaypointMobilityModel_methods(root_module, root_module['ns3::RandomWaypointMobilityModel']) |
107 register_Ns3RandomWalk2dMobilityModel_methods(root_module, root_module['ns3::RandomWalk2dMobilityModel']) |
108 register_Ns3StaticMobilityModel_methods(root_module, root_module['ns3::StaticMobilityModel']) |
108 register_Ns3StaticSpeedMobilityModel_methods(root_module, root_module['ns3::StaticSpeedMobilityModel']) |
109 register_Ns3StaticSpeedMobilityModel_methods(root_module, root_module['ns3::StaticSpeedMobilityModel']) |
109 register_Ns3HierarchicalMobilityModel_methods(root_module, root_module['ns3::HierarchicalMobilityModel']) |
110 register_Ns3HierarchicalMobilityModel_methods(root_module, root_module['ns3::HierarchicalMobilityModel']) |
110 register_Ns3StaticMobilityModel_methods(root_module, root_module['ns3::StaticMobilityModel']) |
111 return |
111 return |
112 |
112 |
113 def register_Ns3Rectangle_methods(root_module, cls): |
113 def register_Ns3StaticSpeedHelper_methods(root_module, cls): |
|
114 ## static-speed-helper.h: ns3::StaticSpeedHelper::StaticSpeedHelper(ns3::StaticSpeedHelper const & arg0) [copy constructor] |
|
115 cls.add_constructor([param('ns3::StaticSpeedHelper const &', 'arg0')]) |
|
116 ## static-speed-helper.h: ns3::StaticSpeedHelper::StaticSpeedHelper() [constructor] |
|
117 cls.add_constructor([]) |
|
118 ## static-speed-helper.h: ns3::StaticSpeedHelper::StaticSpeedHelper(ns3::Vector const & position) [constructor] |
|
119 cls.add_constructor([param('ns3::Vector const &', 'position')]) |
|
120 ## static-speed-helper.h: ns3::StaticSpeedHelper::StaticSpeedHelper(ns3::Vector const & position, ns3::Vector const & speed) [constructor] |
|
121 cls.add_constructor([param('ns3::Vector const &', 'position'), param('ns3::Vector const &', 'speed')]) |
|
122 ## static-speed-helper.h: void ns3::StaticSpeedHelper::InitializePosition(ns3::Vector const & position) [member function] |
|
123 cls.add_method('InitializePosition', |
|
124 'void', |
|
125 [param('ns3::Vector const &', 'position')]) |
|
126 ## static-speed-helper.h: void ns3::StaticSpeedHelper::Reset(ns3::Vector const & speed) [member function] |
|
127 cls.add_method('Reset', |
|
128 'void', |
|
129 [param('ns3::Vector const &', 'speed')]) |
|
130 ## static-speed-helper.h: ns3::Vector ns3::StaticSpeedHelper::GetCurrentPosition(ns3::Rectangle const & bounds) const [member function] |
|
131 cls.add_method('GetCurrentPosition', |
|
132 'ns3::Vector', |
|
133 [param('ns3::Rectangle const &', 'bounds')], |
|
134 is_const=True) |
|
135 ## static-speed-helper.h: ns3::Vector ns3::StaticSpeedHelper::GetCurrentPosition() const [member function] |
|
136 cls.add_method('GetCurrentPosition', |
|
137 'ns3::Vector', |
|
138 [], |
|
139 is_const=True) |
|
140 ## static-speed-helper.h: ns3::Vector ns3::StaticSpeedHelper::GetVelocity() const [member function] |
|
141 cls.add_method('GetVelocity', |
|
142 'ns3::Vector', |
|
143 [], |
|
144 is_const=True) |
|
145 ## static-speed-helper.h: void ns3::StaticSpeedHelper::SetSpeed(ns3::Vector const & speed) [member function] |
|
146 cls.add_method('SetSpeed', |
|
147 'void', |
|
148 [param('ns3::Vector const &', 'speed')]) |
|
149 ## static-speed-helper.h: void ns3::StaticSpeedHelper::Pause() [member function] |
|
150 cls.add_method('Pause', |
|
151 'void', |
|
152 []) |
|
153 ## static-speed-helper.h: void ns3::StaticSpeedHelper::Unpause() [member function] |
|
154 cls.add_method('Unpause', |
|
155 'void', |
|
156 []) |
|
157 return |
|
158 |
|
159 def register_Ns3Vector_methods(root_module, cls): |
|
160 ## vector.h: ns3::Vector::Vector(ns3::Vector const & arg0) [copy constructor] |
|
161 cls.add_constructor([param('ns3::Vector const &', 'arg0')]) |
|
162 ## vector.h: ns3::Vector::Vector(double _x, double _y, double _z) [constructor] |
|
163 cls.add_constructor([param('double', '_x'), param('double', '_y'), param('double', '_z')]) |
|
164 ## vector.h: ns3::Vector::Vector() [constructor] |
|
165 cls.add_constructor([]) |
|
166 ## vector.h: ns3::Vector::x [variable] |
|
167 cls.add_instance_attribute('x', 'double', is_const=False) |
|
168 ## vector.h: ns3::Vector::y [variable] |
|
169 cls.add_instance_attribute('y', 'double', is_const=False) |
|
170 ## vector.h: ns3::Vector::z [variable] |
|
171 cls.add_instance_attribute('z', 'double', is_const=False) |
|
172 cls.add_output_stream_operator() |
114 cls.add_output_stream_operator() |
173 return |
|
174 |
|
175 def register_Ns3VectorChecker_methods(root_module, cls): |
|
176 ## vector.h: ns3::VectorChecker::VectorChecker(ns3::VectorChecker const & arg0) [copy constructor] |
|
177 cls.add_constructor([param('ns3::VectorChecker const &', 'arg0')]) |
|
178 ## vector.h: ns3::VectorChecker::VectorChecker() [constructor] |
|
179 cls.add_constructor([]) |
|
180 return |
|
181 |
|
182 def register_Ns3RectangleChecker_methods(root_module, cls): |
|
183 ## rectangle.h: ns3::RectangleChecker::RectangleChecker(ns3::RectangleChecker const & arg0) [copy constructor] |
|
184 cls.add_constructor([param('ns3::RectangleChecker const &', 'arg0')]) |
|
185 ## rectangle.h: ns3::RectangleChecker::RectangleChecker() [constructor] |
|
186 cls.add_constructor([]) |
|
187 return |
|
188 |
|
189 def register_Ns3Rectangle_methods(root_module, cls): |
|
190 ## rectangle.h: ns3::Rectangle::Rectangle(ns3::Rectangle const & arg0) [copy constructor] |
115 ## rectangle.h: ns3::Rectangle::Rectangle(ns3::Rectangle const & arg0) [copy constructor] |
191 cls.add_constructor([param('ns3::Rectangle const &', 'arg0')]) |
116 cls.add_constructor([param('ns3::Rectangle const &', 'arg0')]) |
192 ## rectangle.h: ns3::Rectangle::Rectangle(double _xMin, double _xMax, double _yMin, double _yMax) [constructor] |
117 ## rectangle.h: ns3::Rectangle::Rectangle(double _xMin, double _xMax, double _yMin, double _yMax) [constructor] |
193 cls.add_constructor([param('double', '_xMin'), param('double', '_xMax'), param('double', '_yMin'), param('double', '_yMax')]) |
118 cls.add_constructor([param('double', '_xMin'), param('double', '_xMax'), param('double', '_yMin'), param('double', '_yMax')]) |
194 ## rectangle.h: ns3::Rectangle::Rectangle() [constructor] |
119 ## rectangle.h: ns3::Rectangle::Rectangle() [constructor] |
214 cls.add_instance_attribute('xMin', 'double', is_const=False) |
139 cls.add_instance_attribute('xMin', 'double', is_const=False) |
215 ## rectangle.h: ns3::Rectangle::yMax [variable] |
140 ## rectangle.h: ns3::Rectangle::yMax [variable] |
216 cls.add_instance_attribute('yMax', 'double', is_const=False) |
141 cls.add_instance_attribute('yMax', 'double', is_const=False) |
217 ## rectangle.h: ns3::Rectangle::yMin [variable] |
142 ## rectangle.h: ns3::Rectangle::yMin [variable] |
218 cls.add_instance_attribute('yMin', 'double', is_const=False) |
143 cls.add_instance_attribute('yMin', 'double', is_const=False) |
|
144 return |
|
145 |
|
146 def register_Ns3StaticSpeedHelper_methods(root_module, cls): |
|
147 ## static-speed-helper.h: ns3::StaticSpeedHelper::StaticSpeedHelper(ns3::StaticSpeedHelper const & arg0) [copy constructor] |
|
148 cls.add_constructor([param('ns3::StaticSpeedHelper const &', 'arg0')]) |
|
149 ## static-speed-helper.h: ns3::StaticSpeedHelper::StaticSpeedHelper() [constructor] |
|
150 cls.add_constructor([]) |
|
151 ## static-speed-helper.h: ns3::StaticSpeedHelper::StaticSpeedHelper(ns3::Vector const & position) [constructor] |
|
152 cls.add_constructor([param('ns3::Vector const &', 'position')]) |
|
153 ## static-speed-helper.h: ns3::StaticSpeedHelper::StaticSpeedHelper(ns3::Vector const & position, ns3::Vector const & speed) [constructor] |
|
154 cls.add_constructor([param('ns3::Vector const &', 'position'), param('ns3::Vector const &', 'speed')]) |
|
155 ## static-speed-helper.h: void ns3::StaticSpeedHelper::InitializePosition(ns3::Vector const & position) [member function] |
|
156 cls.add_method('InitializePosition', |
|
157 'void', |
|
158 [param('ns3::Vector const &', 'position')]) |
|
159 ## static-speed-helper.h: void ns3::StaticSpeedHelper::Reset(ns3::Vector const & speed) [member function] |
|
160 cls.add_method('Reset', |
|
161 'void', |
|
162 [param('ns3::Vector const &', 'speed')]) |
|
163 ## static-speed-helper.h: ns3::Vector ns3::StaticSpeedHelper::GetCurrentPosition(ns3::Rectangle const & bounds) const [member function] |
|
164 cls.add_method('GetCurrentPosition', |
|
165 'ns3::Vector', |
|
166 [param('ns3::Rectangle const &', 'bounds')], |
|
167 is_const=True) |
|
168 ## static-speed-helper.h: ns3::Vector ns3::StaticSpeedHelper::GetCurrentPosition() const [member function] |
|
169 cls.add_method('GetCurrentPosition', |
|
170 'ns3::Vector', |
|
171 [], |
|
172 is_const=True) |
|
173 ## static-speed-helper.h: ns3::Vector ns3::StaticSpeedHelper::GetVelocity() const [member function] |
|
174 cls.add_method('GetVelocity', |
|
175 'ns3::Vector', |
|
176 [], |
|
177 is_const=True) |
|
178 ## static-speed-helper.h: void ns3::StaticSpeedHelper::SetSpeed(ns3::Vector const & speed) [member function] |
|
179 cls.add_method('SetSpeed', |
|
180 'void', |
|
181 [param('ns3::Vector const &', 'speed')]) |
|
182 ## static-speed-helper.h: void ns3::StaticSpeedHelper::Pause() [member function] |
|
183 cls.add_method('Pause', |
|
184 'void', |
|
185 []) |
|
186 ## static-speed-helper.h: void ns3::StaticSpeedHelper::Unpause() [member function] |
|
187 cls.add_method('Unpause', |
|
188 'void', |
|
189 []) |
|
190 return |
|
191 |
|
192 def register_Ns3Vector_methods(root_module, cls): |
219 cls.add_output_stream_operator() |
193 cls.add_output_stream_operator() |
|
194 ## vector.h: ns3::Vector::Vector(ns3::Vector const & arg0) [copy constructor] |
|
195 cls.add_constructor([param('ns3::Vector const &', 'arg0')]) |
|
196 ## vector.h: ns3::Vector::Vector(double _x, double _y, double _z) [constructor] |
|
197 cls.add_constructor([param('double', '_x'), param('double', '_y'), param('double', '_z')]) |
|
198 ## vector.h: ns3::Vector::Vector() [constructor] |
|
199 cls.add_constructor([]) |
|
200 ## vector.h: ns3::Vector::x [variable] |
|
201 cls.add_instance_attribute('x', 'double', is_const=False) |
|
202 ## vector.h: ns3::Vector::y [variable] |
|
203 cls.add_instance_attribute('y', 'double', is_const=False) |
|
204 ## vector.h: ns3::Vector::z [variable] |
|
205 cls.add_instance_attribute('z', 'double', is_const=False) |
220 return |
206 return |
221 |
207 |
222 def register_Ns3PositionAllocator_methods(root_module, cls): |
208 def register_Ns3PositionAllocator_methods(root_module, cls): |
223 ## position-allocator.h: ns3::PositionAllocator::PositionAllocator(ns3::PositionAllocator const & arg0) [copy constructor] |
209 ## position-allocator.h: ns3::PositionAllocator::PositionAllocator(ns3::PositionAllocator const & arg0) [copy constructor] |
224 cls.add_constructor([param('ns3::PositionAllocator const &', 'arg0')]) |
210 cls.add_constructor([param('ns3::PositionAllocator const &', 'arg0')]) |
234 'ns3::Vector', |
220 'ns3::Vector', |
235 [], |
221 [], |
236 is_pure_virtual=True, is_const=True, is_virtual=True) |
222 is_pure_virtual=True, is_const=True, is_virtual=True) |
237 return |
223 return |
238 |
224 |
239 def register_Ns3ListPositionAllocator_methods(root_module, cls): |
225 def register_Ns3RandomDiscPositionAllocator_methods(root_module, cls): |
240 ## position-allocator.h: ns3::ListPositionAllocator::ListPositionAllocator(ns3::ListPositionAllocator const & arg0) [copy constructor] |
226 ## position-allocator.h: ns3::RandomDiscPositionAllocator::RandomDiscPositionAllocator(ns3::RandomDiscPositionAllocator const & arg0) [copy constructor] |
241 cls.add_constructor([param('ns3::ListPositionAllocator const &', 'arg0')]) |
227 cls.add_constructor([param('ns3::RandomDiscPositionAllocator const &', 'arg0')]) |
242 ## position-allocator.h: static ns3::TypeId ns3::ListPositionAllocator::GetTypeId() [member function] |
228 ## position-allocator.h: static ns3::TypeId ns3::RandomDiscPositionAllocator::GetTypeId() [member function] |
243 cls.add_method('GetTypeId', |
229 cls.add_method('GetTypeId', |
244 'ns3::TypeId', |
230 'ns3::TypeId', |
245 [], |
231 [], |
246 is_static=True) |
232 is_static=True) |
247 ## position-allocator.h: ns3::ListPositionAllocator::ListPositionAllocator() [constructor] |
233 ## position-allocator.h: ns3::RandomDiscPositionAllocator::RandomDiscPositionAllocator() [constructor] |
248 cls.add_constructor([]) |
234 cls.add_constructor([]) |
249 ## position-allocator.h: void ns3::ListPositionAllocator::Add(ns3::Vector v) [member function] |
235 ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetTheta(ns3::RandomVariable theta) [member function] |
250 cls.add_method('Add', |
236 cls.add_method('SetTheta', |
251 'void', |
237 'void', |
252 [param('ns3::Vector', 'v')]) |
238 [param('ns3::RandomVariable', 'theta')]) |
253 ## position-allocator.h: ns3::Vector ns3::ListPositionAllocator::GetNext() const [member function] |
239 ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetRho(ns3::RandomVariable rho) [member function] |
|
240 cls.add_method('SetRho', |
|
241 'void', |
|
242 [param('ns3::RandomVariable', 'rho')]) |
|
243 ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetX(double x) [member function] |
|
244 cls.add_method('SetX', |
|
245 'void', |
|
246 [param('double', 'x')]) |
|
247 ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetY(double y) [member function] |
|
248 cls.add_method('SetY', |
|
249 'void', |
|
250 [param('double', 'y')]) |
|
251 ## position-allocator.h: ns3::Vector ns3::RandomDiscPositionAllocator::GetNext() const [member function] |
254 cls.add_method('GetNext', |
252 cls.add_method('GetNext', |
255 'ns3::Vector', |
253 'ns3::Vector', |
256 [], |
254 [], |
257 is_const=True, is_virtual=True) |
255 is_const=True, is_virtual=True) |
|
256 return |
|
257 |
|
258 def register_Ns3RandomRectanglePositionAllocator_methods(root_module, cls): |
|
259 ## position-allocator.h: ns3::RandomRectanglePositionAllocator::RandomRectanglePositionAllocator(ns3::RandomRectanglePositionAllocator const & arg0) [copy constructor] |
|
260 cls.add_constructor([param('ns3::RandomRectanglePositionAllocator const &', 'arg0')]) |
|
261 ## position-allocator.h: static ns3::TypeId ns3::RandomRectanglePositionAllocator::GetTypeId() [member function] |
|
262 cls.add_method('GetTypeId', |
|
263 'ns3::TypeId', |
|
264 [], |
|
265 is_static=True) |
|
266 ## position-allocator.h: ns3::RandomRectanglePositionAllocator::RandomRectanglePositionAllocator() [constructor] |
|
267 cls.add_constructor([]) |
|
268 ## position-allocator.h: void ns3::RandomRectanglePositionAllocator::SetX(ns3::RandomVariable x) [member function] |
|
269 cls.add_method('SetX', |
|
270 'void', |
|
271 [param('ns3::RandomVariable', 'x')]) |
|
272 ## position-allocator.h: void ns3::RandomRectanglePositionAllocator::SetY(ns3::RandomVariable y) [member function] |
|
273 cls.add_method('SetY', |
|
274 'void', |
|
275 [param('ns3::RandomVariable', 'y')]) |
|
276 ## position-allocator.h: ns3::Vector ns3::RandomRectanglePositionAllocator::GetNext() const [member function] |
|
277 cls.add_method('GetNext', |
|
278 'ns3::Vector', |
|
279 [], |
|
280 is_const=True, is_virtual=True) |
|
281 return |
|
282 |
|
283 def register_Ns3RectangleChecker_methods(root_module, cls): |
|
284 ## rectangle.h: ns3::RectangleChecker::RectangleChecker(ns3::RectangleChecker const & arg0) [copy constructor] |
|
285 cls.add_constructor([param('ns3::RectangleChecker const &', 'arg0')]) |
|
286 ## rectangle.h: ns3::RectangleChecker::RectangleChecker() [constructor] |
|
287 cls.add_constructor([]) |
258 return |
288 return |
259 |
289 |
260 def register_Ns3RectangleValue_methods(root_module, cls): |
290 def register_Ns3RectangleValue_methods(root_module, cls): |
261 ## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::RectangleValue const & arg0) [copy constructor] |
291 ## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::RectangleValue const & arg0) [copy constructor] |
262 cls.add_constructor([param('ns3::RectangleValue const &', 'arg0')]) |
292 cls.add_constructor([param('ns3::RectangleValue const &', 'arg0')]) |
288 'bool', |
318 'bool', |
289 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], |
319 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], |
290 is_virtual=True) |
320 is_virtual=True) |
291 return |
321 return |
292 |
322 |
293 def register_Ns3RandomRectanglePositionAllocator_methods(root_module, cls): |
323 def register_Ns3VectorChecker_methods(root_module, cls): |
294 ## position-allocator.h: ns3::RandomRectanglePositionAllocator::RandomRectanglePositionAllocator(ns3::RandomRectanglePositionAllocator const & arg0) [copy constructor] |
324 ## vector.h: ns3::VectorChecker::VectorChecker(ns3::VectorChecker const & arg0) [copy constructor] |
295 cls.add_constructor([param('ns3::RandomRectanglePositionAllocator const &', 'arg0')]) |
325 cls.add_constructor([param('ns3::VectorChecker const &', 'arg0')]) |
296 ## position-allocator.h: static ns3::TypeId ns3::RandomRectanglePositionAllocator::GetTypeId() [member function] |
326 ## vector.h: ns3::VectorChecker::VectorChecker() [constructor] |
297 cls.add_method('GetTypeId', |
327 cls.add_constructor([]) |
298 'ns3::TypeId', |
|
299 [], |
|
300 is_static=True) |
|
301 ## position-allocator.h: ns3::RandomRectanglePositionAllocator::RandomRectanglePositionAllocator() [constructor] |
|
302 cls.add_constructor([]) |
|
303 ## position-allocator.h: void ns3::RandomRectanglePositionAllocator::SetX(ns3::RandomVariable x) [member function] |
|
304 cls.add_method('SetX', |
|
305 'void', |
|
306 [param('ns3::RandomVariable', 'x')]) |
|
307 ## position-allocator.h: void ns3::RandomRectanglePositionAllocator::SetY(ns3::RandomVariable y) [member function] |
|
308 cls.add_method('SetY', |
|
309 'void', |
|
310 [param('ns3::RandomVariable', 'y')]) |
|
311 ## position-allocator.h: ns3::Vector ns3::RandomRectanglePositionAllocator::GetNext() const [member function] |
|
312 cls.add_method('GetNext', |
|
313 'ns3::Vector', |
|
314 [], |
|
315 is_const=True, is_virtual=True) |
|
316 return |
328 return |
317 |
329 |
318 def register_Ns3VectorValue_methods(root_module, cls): |
330 def register_Ns3VectorValue_methods(root_module, cls): |
319 ## vector.h: ns3::VectorValue::VectorValue(ns3::VectorValue const & arg0) [copy constructor] |
331 ## vector.h: ns3::VectorValue::VectorValue(ns3::VectorValue const & arg0) [copy constructor] |
320 cls.add_constructor([param('ns3::VectorValue const &', 'arg0')]) |
332 cls.add_constructor([param('ns3::VectorValue const &', 'arg0')]) |
346 'bool', |
358 'bool', |
347 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], |
359 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], |
348 is_virtual=True) |
360 is_virtual=True) |
349 return |
361 return |
350 |
362 |
351 def register_Ns3RandomDiscPositionAllocator_methods(root_module, cls): |
363 def register_Ns3GridPositionAllocator_methods(root_module, cls): |
352 ## position-allocator.h: ns3::RandomDiscPositionAllocator::RandomDiscPositionAllocator(ns3::RandomDiscPositionAllocator const & arg0) [copy constructor] |
364 ## position-allocator.h: ns3::GridPositionAllocator::GridPositionAllocator(ns3::GridPositionAllocator const & arg0) [copy constructor] |
353 cls.add_constructor([param('ns3::RandomDiscPositionAllocator const &', 'arg0')]) |
365 cls.add_constructor([param('ns3::GridPositionAllocator const &', 'arg0')]) |
354 ## position-allocator.h: static ns3::TypeId ns3::RandomDiscPositionAllocator::GetTypeId() [member function] |
366 ## position-allocator.h: static ns3::TypeId ns3::GridPositionAllocator::GetTypeId() [member function] |
355 cls.add_method('GetTypeId', |
367 cls.add_method('GetTypeId', |
356 'ns3::TypeId', |
368 'ns3::TypeId', |
357 [], |
369 [], |
358 is_static=True) |
370 is_static=True) |
359 ## position-allocator.h: ns3::RandomDiscPositionAllocator::RandomDiscPositionAllocator() [constructor] |
371 ## position-allocator.h: ns3::GridPositionAllocator::GridPositionAllocator() [constructor] |
360 cls.add_constructor([]) |
372 cls.add_constructor([]) |
361 ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetTheta(ns3::RandomVariable theta) [member function] |
373 ## position-allocator.h: void ns3::GridPositionAllocator::SetMinX(double xMin) [member function] |
362 cls.add_method('SetTheta', |
374 cls.add_method('SetMinX', |
363 'void', |
375 'void', |
364 [param('ns3::RandomVariable', 'theta')]) |
376 [param('double', 'xMin')]) |
365 ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetRho(ns3::RandomVariable rho) [member function] |
377 ## position-allocator.h: void ns3::GridPositionAllocator::SetMinY(double yMin) [member function] |
366 cls.add_method('SetRho', |
378 cls.add_method('SetMinY', |
367 'void', |
379 'void', |
368 [param('ns3::RandomVariable', 'rho')]) |
380 [param('double', 'yMin')]) |
369 ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetX(double x) [member function] |
381 ## position-allocator.h: void ns3::GridPositionAllocator::SetDeltaX(double deltaX) [member function] |
370 cls.add_method('SetX', |
382 cls.add_method('SetDeltaX', |
371 'void', |
383 'void', |
372 [param('double', 'x')]) |
384 [param('double', 'deltaX')]) |
373 ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetY(double y) [member function] |
385 ## position-allocator.h: void ns3::GridPositionAllocator::SetDeltaY(double deltaY) [member function] |
374 cls.add_method('SetY', |
386 cls.add_method('SetDeltaY', |
375 'void', |
387 'void', |
376 [param('double', 'y')]) |
388 [param('double', 'deltaY')]) |
377 ## position-allocator.h: ns3::Vector ns3::RandomDiscPositionAllocator::GetNext() const [member function] |
389 ## position-allocator.h: void ns3::GridPositionAllocator::SetN(uint32_t n) [member function] |
|
390 cls.add_method('SetN', |
|
391 'void', |
|
392 [param('uint32_t', 'n')]) |
|
393 ## position-allocator.h: void ns3::GridPositionAllocator::SetLayoutType(ns3::GridPositionAllocator::LayoutType layoutType) [member function] |
|
394 cls.add_method('SetLayoutType', |
|
395 'void', |
|
396 [param('ns3::GridPositionAllocator::LayoutType', 'layoutType')]) |
|
397 ## position-allocator.h: double ns3::GridPositionAllocator::GetMinX() const [member function] |
|
398 cls.add_method('GetMinX', |
|
399 'double', |
|
400 [], |
|
401 is_const=True) |
|
402 ## position-allocator.h: double ns3::GridPositionAllocator::GetMinY() const [member function] |
|
403 cls.add_method('GetMinY', |
|
404 'double', |
|
405 [], |
|
406 is_const=True) |
|
407 ## position-allocator.h: double ns3::GridPositionAllocator::GetDeltaX() const [member function] |
|
408 cls.add_method('GetDeltaX', |
|
409 'double', |
|
410 [], |
|
411 is_const=True) |
|
412 ## position-allocator.h: double ns3::GridPositionAllocator::GetDeltaY() const [member function] |
|
413 cls.add_method('GetDeltaY', |
|
414 'double', |
|
415 [], |
|
416 is_const=True) |
|
417 ## position-allocator.h: uint32_t ns3::GridPositionAllocator::GetN() const [member function] |
|
418 cls.add_method('GetN', |
|
419 'uint32_t', |
|
420 [], |
|
421 is_const=True) |
|
422 ## position-allocator.h: ns3::GridPositionAllocator::LayoutType ns3::GridPositionAllocator::GetLayoutType() const [member function] |
|
423 cls.add_method('GetLayoutType', |
|
424 'ns3::GridPositionAllocator::LayoutType', |
|
425 [], |
|
426 is_const=True) |
|
427 ## position-allocator.h: ns3::Vector ns3::GridPositionAllocator::GetNext() const [member function] |
|
428 cls.add_method('GetNext', |
|
429 'ns3::Vector', |
|
430 [], |
|
431 is_const=True, is_virtual=True) |
|
432 return |
|
433 |
|
434 def register_Ns3ListPositionAllocator_methods(root_module, cls): |
|
435 ## position-allocator.h: ns3::ListPositionAllocator::ListPositionAllocator(ns3::ListPositionAllocator const & arg0) [copy constructor] |
|
436 cls.add_constructor([param('ns3::ListPositionAllocator const &', 'arg0')]) |
|
437 ## position-allocator.h: static ns3::TypeId ns3::ListPositionAllocator::GetTypeId() [member function] |
|
438 cls.add_method('GetTypeId', |
|
439 'ns3::TypeId', |
|
440 [], |
|
441 is_static=True) |
|
442 ## position-allocator.h: ns3::ListPositionAllocator::ListPositionAllocator() [constructor] |
|
443 cls.add_constructor([]) |
|
444 ## position-allocator.h: void ns3::ListPositionAllocator::Add(ns3::Vector v) [member function] |
|
445 cls.add_method('Add', |
|
446 'void', |
|
447 [param('ns3::Vector', 'v')]) |
|
448 ## position-allocator.h: ns3::Vector ns3::ListPositionAllocator::GetNext() const [member function] |
378 cls.add_method('GetNext', |
449 cls.add_method('GetNext', |
379 'ns3::Vector', |
450 'ns3::Vector', |
380 [], |
451 [], |
381 is_const=True, is_virtual=True) |
452 is_const=True, is_virtual=True) |
382 return |
453 return |
462 'ns3::Vector', |
533 'ns3::Vector', |
463 [], |
534 [], |
464 is_const=True, visibility='private', is_virtual=True) |
535 is_const=True, visibility='private', is_virtual=True) |
465 return |
536 return |
466 |
537 |
467 def register_Ns3GridPositionAllocator_methods(root_module, cls): |
538 def register_Ns3RandomWalk2dMobilityModel_methods(root_module, cls): |
468 ## position-allocator.h: ns3::GridPositionAllocator::GridPositionAllocator(ns3::GridPositionAllocator const & arg0) [copy constructor] |
539 ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel(ns3::RandomWalk2dMobilityModel const & arg0) [copy constructor] |
469 cls.add_constructor([param('ns3::GridPositionAllocator const &', 'arg0')]) |
540 cls.add_constructor([param('ns3::RandomWalk2dMobilityModel const &', 'arg0')]) |
470 ## position-allocator.h: static ns3::TypeId ns3::GridPositionAllocator::GetTypeId() [member function] |
541 ## random-walk-2d-mobility-model.h: static ns3::TypeId ns3::RandomWalk2dMobilityModel::GetTypeId() [member function] |
471 cls.add_method('GetTypeId', |
542 cls.add_method('GetTypeId', |
472 'ns3::TypeId', |
543 'ns3::TypeId', |
473 [], |
544 [], |
474 is_static=True) |
545 is_static=True) |
475 ## position-allocator.h: ns3::GridPositionAllocator::GridPositionAllocator() [constructor] |
546 ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel() [constructor] |
476 cls.add_constructor([]) |
547 cls.add_constructor([]) |
477 ## position-allocator.h: void ns3::GridPositionAllocator::SetMinX(double xMin) [member function] |
548 ## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoDispose() [member function] |
478 cls.add_method('SetMinX', |
549 cls.add_method('DoDispose', |
479 'void', |
550 'void', |
480 [param('double', 'xMin')]) |
551 [], |
481 ## position-allocator.h: void ns3::GridPositionAllocator::SetMinY(double yMin) [member function] |
552 visibility='private', is_virtual=True) |
482 cls.add_method('SetMinY', |
553 ## random-walk-2d-mobility-model.h: ns3::Vector ns3::RandomWalk2dMobilityModel::DoGetPosition() const [member function] |
483 'void', |
554 cls.add_method('DoGetPosition', |
484 [param('double', 'yMin')]) |
555 'ns3::Vector', |
485 ## position-allocator.h: void ns3::GridPositionAllocator::SetDeltaX(double deltaX) [member function] |
556 [], |
486 cls.add_method('SetDeltaX', |
557 is_const=True, visibility='private', is_virtual=True) |
487 'void', |
558 ## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] |
488 [param('double', 'deltaX')]) |
559 cls.add_method('DoSetPosition', |
489 ## position-allocator.h: void ns3::GridPositionAllocator::SetDeltaY(double deltaY) [member function] |
560 'void', |
490 cls.add_method('SetDeltaY', |
561 [param('ns3::Vector const &', 'position')], |
491 'void', |
562 visibility='private', is_virtual=True) |
492 [param('double', 'deltaY')]) |
563 ## random-walk-2d-mobility-model.h: ns3::Vector ns3::RandomWalk2dMobilityModel::DoGetVelocity() const [member function] |
493 ## position-allocator.h: void ns3::GridPositionAllocator::SetN(uint32_t n) [member function] |
564 cls.add_method('DoGetVelocity', |
494 cls.add_method('SetN', |
565 'ns3::Vector', |
495 'void', |
566 [], |
496 [param('uint32_t', 'n')]) |
567 is_const=True, visibility='private', is_virtual=True) |
497 ## position-allocator.h: void ns3::GridPositionAllocator::SetLayoutType(ns3::GridPositionAllocator::LayoutType layoutType) [member function] |
|
498 cls.add_method('SetLayoutType', |
|
499 'void', |
|
500 [param('ns3::GridPositionAllocator::LayoutType', 'layoutType')]) |
|
501 ## position-allocator.h: double ns3::GridPositionAllocator::GetMinX() const [member function] |
|
502 cls.add_method('GetMinX', |
|
503 'double', |
|
504 [], |
|
505 is_const=True) |
|
506 ## position-allocator.h: double ns3::GridPositionAllocator::GetMinY() const [member function] |
|
507 cls.add_method('GetMinY', |
|
508 'double', |
|
509 [], |
|
510 is_const=True) |
|
511 ## position-allocator.h: double ns3::GridPositionAllocator::GetDeltaX() const [member function] |
|
512 cls.add_method('GetDeltaX', |
|
513 'double', |
|
514 [], |
|
515 is_const=True) |
|
516 ## position-allocator.h: double ns3::GridPositionAllocator::GetDeltaY() const [member function] |
|
517 cls.add_method('GetDeltaY', |
|
518 'double', |
|
519 [], |
|
520 is_const=True) |
|
521 ## position-allocator.h: uint32_t ns3::GridPositionAllocator::GetN() const [member function] |
|
522 cls.add_method('GetN', |
|
523 'uint32_t', |
|
524 [], |
|
525 is_const=True) |
|
526 ## position-allocator.h: ns3::GridPositionAllocator::LayoutType ns3::GridPositionAllocator::GetLayoutType() const [member function] |
|
527 cls.add_method('GetLayoutType', |
|
528 'ns3::GridPositionAllocator::LayoutType', |
|
529 [], |
|
530 is_const=True) |
|
531 ## position-allocator.h: ns3::Vector ns3::GridPositionAllocator::GetNext() const [member function] |
|
532 cls.add_method('GetNext', |
|
533 'ns3::Vector', |
|
534 [], |
|
535 is_const=True, is_virtual=True) |
|
536 return |
568 return |
537 |
569 |
538 def register_Ns3RandomWaypointMobilityModel_methods(root_module, cls): |
570 def register_Ns3RandomWaypointMobilityModel_methods(root_module, cls): |
539 ## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel(ns3::RandomWaypointMobilityModel const & arg0) [copy constructor] |
571 ## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel(ns3::RandomWaypointMobilityModel const & arg0) [copy constructor] |
540 cls.add_constructor([param('ns3::RandomWaypointMobilityModel const &', 'arg0')]) |
572 cls.add_constructor([param('ns3::RandomWaypointMobilityModel const &', 'arg0')]) |
560 'ns3::Vector', |
592 'ns3::Vector', |
561 [], |
593 [], |
562 is_const=True, visibility='private', is_virtual=True) |
594 is_const=True, visibility='private', is_virtual=True) |
563 return |
595 return |
564 |
596 |
565 def register_Ns3RandomWalk2dMobilityModel_methods(root_module, cls): |
597 def register_Ns3StaticMobilityModel_methods(root_module, cls): |
566 ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel(ns3::RandomWalk2dMobilityModel const & arg0) [copy constructor] |
598 ## static-mobility-model.h: ns3::StaticMobilityModel::StaticMobilityModel(ns3::StaticMobilityModel const & arg0) [copy constructor] |
567 cls.add_constructor([param('ns3::RandomWalk2dMobilityModel const &', 'arg0')]) |
599 cls.add_constructor([param('ns3::StaticMobilityModel const &', 'arg0')]) |
568 ## random-walk-2d-mobility-model.h: static ns3::TypeId ns3::RandomWalk2dMobilityModel::GetTypeId() [member function] |
600 ## static-mobility-model.h: static ns3::TypeId ns3::StaticMobilityModel::GetTypeId() [member function] |
569 cls.add_method('GetTypeId', |
601 cls.add_method('GetTypeId', |
570 'ns3::TypeId', |
602 'ns3::TypeId', |
571 [], |
603 [], |
572 is_static=True) |
604 is_static=True) |
573 ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel() [constructor] |
605 ## static-mobility-model.h: ns3::StaticMobilityModel::StaticMobilityModel() [constructor] |
574 cls.add_constructor([]) |
606 cls.add_constructor([]) |
575 ## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoDispose() [member function] |
607 ## static-mobility-model.h: ns3::Vector ns3::StaticMobilityModel::DoGetPosition() const [member function] |
576 cls.add_method('DoDispose', |
608 cls.add_method('DoGetPosition', |
577 'void', |
609 'ns3::Vector', |
578 [], |
610 [], |
|
611 is_const=True, visibility='private', is_virtual=True) |
|
612 ## static-mobility-model.h: void ns3::StaticMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] |
|
613 cls.add_method('DoSetPosition', |
|
614 'void', |
|
615 [param('ns3::Vector const &', 'position')], |
579 visibility='private', is_virtual=True) |
616 visibility='private', is_virtual=True) |
580 ## random-walk-2d-mobility-model.h: ns3::Vector ns3::RandomWalk2dMobilityModel::DoGetPosition() const [member function] |
617 ## static-mobility-model.h: ns3::Vector ns3::StaticMobilityModel::DoGetVelocity() const [member function] |
581 cls.add_method('DoGetPosition', |
|
582 'ns3::Vector', |
|
583 [], |
|
584 is_const=True, visibility='private', is_virtual=True) |
|
585 ## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] |
|
586 cls.add_method('DoSetPosition', |
|
587 'void', |
|
588 [param('ns3::Vector const &', 'position')], |
|
589 visibility='private', is_virtual=True) |
|
590 ## random-walk-2d-mobility-model.h: ns3::Vector ns3::RandomWalk2dMobilityModel::DoGetVelocity() const [member function] |
|
591 cls.add_method('DoGetVelocity', |
618 cls.add_method('DoGetVelocity', |
592 'ns3::Vector', |
619 'ns3::Vector', |
593 [], |
620 [], |
594 is_const=True, visibility='private', is_virtual=True) |
621 is_const=True, visibility='private', is_virtual=True) |
595 return |
622 return |
654 cls.add_method('DoSetPosition', |
681 cls.add_method('DoSetPosition', |
655 'void', |
682 'void', |
656 [param('ns3::Vector const &', 'position')], |
683 [param('ns3::Vector const &', 'position')], |
657 visibility='private', is_virtual=True) |
684 visibility='private', is_virtual=True) |
658 ## hierarchical-mobility-model.h: ns3::Vector ns3::HierarchicalMobilityModel::DoGetVelocity() const [member function] |
685 ## hierarchical-mobility-model.h: ns3::Vector ns3::HierarchicalMobilityModel::DoGetVelocity() const [member function] |
659 cls.add_method('DoGetVelocity', |
|
660 'ns3::Vector', |
|
661 [], |
|
662 is_const=True, visibility='private', is_virtual=True) |
|
663 return |
|
664 |
|
665 def register_Ns3StaticMobilityModel_methods(root_module, cls): |
|
666 ## static-mobility-model.h: ns3::StaticMobilityModel::StaticMobilityModel(ns3::StaticMobilityModel const & arg0) [copy constructor] |
|
667 cls.add_constructor([param('ns3::StaticMobilityModel const &', 'arg0')]) |
|
668 ## static-mobility-model.h: static ns3::TypeId ns3::StaticMobilityModel::GetTypeId() [member function] |
|
669 cls.add_method('GetTypeId', |
|
670 'ns3::TypeId', |
|
671 [], |
|
672 is_static=True) |
|
673 ## static-mobility-model.h: ns3::StaticMobilityModel::StaticMobilityModel() [constructor] |
|
674 cls.add_constructor([]) |
|
675 ## static-mobility-model.h: ns3::Vector ns3::StaticMobilityModel::DoGetPosition() const [member function] |
|
676 cls.add_method('DoGetPosition', |
|
677 'ns3::Vector', |
|
678 [], |
|
679 is_const=True, visibility='private', is_virtual=True) |
|
680 ## static-mobility-model.h: void ns3::StaticMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] |
|
681 cls.add_method('DoSetPosition', |
|
682 'void', |
|
683 [param('ns3::Vector const &', 'position')], |
|
684 visibility='private', is_virtual=True) |
|
685 ## static-mobility-model.h: ns3::Vector ns3::StaticMobilityModel::DoGetVelocity() const [member function] |
|
686 cls.add_method('DoGetVelocity', |
686 cls.add_method('DoGetVelocity', |
687 'ns3::Vector', |
687 'ns3::Vector', |
688 [], |
688 [], |
689 is_const=True, visibility='private', is_virtual=True) |
689 is_const=True, visibility='private', is_virtual=True) |
690 return |
690 return |
693 module = root_module |
693 module = root_module |
694 ## rectangle.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeRectangleChecker() [free function] |
694 ## rectangle.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeRectangleChecker() [free function] |
695 module.add_function('MakeRectangleChecker', |
695 module.add_function('MakeRectangleChecker', |
696 'ns3::Ptr< ns3::AttributeChecker const >', |
696 'ns3::Ptr< ns3::AttributeChecker const >', |
697 []) |
697 []) |
|
698 ## vector.h: extern double ns3::CalculateDistance(ns3::Vector const & a, ns3::Vector const & b) [free function] |
|
699 module.add_function('CalculateDistance', |
|
700 'double', |
|
701 [param('ns3::Vector const &', 'a'), param('ns3::Vector const &', 'b')]) |
698 ## vector.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeVectorChecker() [free function] |
702 ## vector.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeVectorChecker() [free function] |
699 module.add_function('MakeVectorChecker', |
703 module.add_function('MakeVectorChecker', |
700 'ns3::Ptr< ns3::AttributeChecker const >', |
704 'ns3::Ptr< ns3::AttributeChecker const >', |
701 []) |
705 []) |
702 ## vector.h: extern double ns3::CalculateDistance(ns3::Vector const & a, ns3::Vector const & b) [free function] |
|
703 module.add_function('CalculateDistance', |
|
704 'double', |
|
705 [param('ns3::Vector const &', 'a'), param('ns3::Vector const &', 'b')]) |
|
706 register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
706 register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
707 register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) |
707 register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) |
708 register_functions_ns3_Config(module.get_submodule('Config'), root_module) |
708 register_functions_ns3_Config(module.get_submodule('Config'), root_module) |
709 register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) |
709 register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) |
710 return |
710 return |