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 ## event-id.h: ns3::EventId [class] |
|
7 module.add_class('EventId') |
|
8 ## event-impl.h: ns3::EventImpl [class] |
|
9 module.add_class('EventImpl', allow_subclassing=True) |
|
10 ## event-impl.h: ns3::EventLock [class] |
|
11 module.add_class('EventLock', allow_subclassing=True) |
|
12 ## high-precision-128.h: ns3::HighPrecision [class] |
|
13 module.add_class('HighPrecision') |
|
14 ## realtime-simulator-impl.h: ns3::RealtimeEventLock [class] |
|
15 module.add_class('RealtimeEventLock', parent=root_module['ns3::EventLock']) |
|
16 ## simulator.h: ns3::Simulator [class] |
|
17 module.add_class('Simulator', is_singleton=True) |
|
18 ## nstime.h: ns3::TimeUnit<-1> [class] |
|
19 module.add_class('TimeInvert') |
|
20 ## nstime.h: ns3::TimeUnit<0> [class] |
|
21 module.add_class('Scalar') |
|
22 ## nstime.h: ns3::TimeUnit<1> [class] |
|
23 module.add_class('Time') |
|
24 ## nstime.h: ns3::TimeUnit<2> [class] |
|
25 module.add_class('TimeSquare') |
6 ## timer.h: ns3::Timer [class] |
26 ## timer.h: ns3::Timer [class] |
7 module.add_class('Timer') |
27 module.add_class('Timer') |
8 ## timer.h: ns3::Timer::DestroyPolicy [enumeration] |
28 ## timer.h: ns3::Timer::DestroyPolicy [enumeration] |
9 module.add_enum('DestroyPolicy', ['CANCEL_ON_DESTROY', 'REMOVE_ON_DESTROY', 'CHECK_ON_DESTROY'], outer_class=root_module['ns3::Timer']) |
29 module.add_enum('DestroyPolicy', ['CANCEL_ON_DESTROY', 'REMOVE_ON_DESTROY', 'CHECK_ON_DESTROY'], outer_class=root_module['ns3::Timer']) |
10 ## timer.h: ns3::Timer::State [enumeration] |
30 ## timer.h: ns3::Timer::State [enumeration] |
11 module.add_enum('State', ['RUNNING', 'EXPIRED', 'SUSPENDED'], outer_class=root_module['ns3::Timer']) |
31 module.add_enum('State', ['RUNNING', 'EXPIRED', 'SUSPENDED'], outer_class=root_module['ns3::Timer']) |
12 ## event-impl.h: ns3::EventImpl [class] |
|
13 module.add_class('EventImpl', allow_subclassing=True) |
|
14 ## timer-impl.h: ns3::TimerImpl [class] |
32 ## timer-impl.h: ns3::TimerImpl [class] |
15 module.add_class('TimerImpl', allow_subclassing=True) |
33 module.add_class('TimerImpl', allow_subclassing=True) |
16 ## nstime.h: ns3::TimeUnit<1> [class] |
|
17 module.add_class('Time') |
|
18 ## nstime.h: ns3::TimeUnit<0> [class] |
|
19 module.add_class('Scalar') |
|
20 ## watchdog.h: ns3::Watchdog [class] |
34 ## watchdog.h: ns3::Watchdog [class] |
21 module.add_class('Watchdog') |
35 module.add_class('Watchdog') |
22 ## simulator.h: ns3::Simulator [class] |
|
23 module.add_class('Simulator', is_singleton=True) |
|
24 ## event-impl.h: ns3::EventLock [class] |
|
25 module.add_class('EventLock', allow_subclassing=True) |
|
26 ## event-id.h: ns3::EventId [class] |
|
27 module.add_class('EventId') |
|
28 ## realtime-simulator-impl.h: ns3::RealtimeEventLock [class] |
|
29 module.add_class('RealtimeEventLock', parent=root_module['ns3::EventLock']) |
|
30 ## high-precision-128.h: ns3::HighPrecision [class] |
|
31 module.add_class('HighPrecision') |
|
32 ## nstime.h: ns3::TimeChecker [class] |
|
33 module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker']) |
|
34 ## scheduler.h: ns3::Scheduler [class] |
36 ## scheduler.h: ns3::Scheduler [class] |
35 module.add_class('Scheduler', parent=root_module['ns3::Object']) |
37 module.add_class('Scheduler', parent=root_module['ns3::Object']) |
36 ## scheduler.h: ns3::Scheduler::EventKey [struct] |
38 ## scheduler.h: ns3::Scheduler::EventKey [struct] |
37 module.add_class('EventKey', outer_class=root_module['ns3::Scheduler']) |
39 module.add_class('EventKey', outer_class=root_module['ns3::Scheduler']) |
|
40 ## simulator-impl.h: ns3::SimulatorImpl [class] |
|
41 module.add_class('SimulatorImpl', parent=root_module['ns3::Object']) |
|
42 ## synchronizer.h: ns3::Synchronizer [class] |
|
43 module.add_class('Synchronizer', parent=root_module['ns3::Object']) |
|
44 ## nstime.h: ns3::TimeChecker [class] |
|
45 module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker']) |
38 ## nstime.h: ns3::TimeValue [class] |
46 ## nstime.h: ns3::TimeValue [class] |
39 module.add_class('TimeValue', parent=root_module['ns3::AttributeValue']) |
47 module.add_class('TimeValue', parent=root_module['ns3::AttributeValue']) |
40 ## simulator-impl.h: ns3::SimulatorImpl [class] |
48 ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer [class] |
41 module.add_class('SimulatorImpl', parent=root_module['ns3::Object']) |
49 module.add_class('WallClockSynchronizer', parent=root_module['ns3::Synchronizer']) |
|
50 ## default-simulator-impl.h: ns3::DefaultSimulatorImpl [class] |
|
51 module.add_class('DefaultSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) |
|
52 ## heap-scheduler.h: ns3::HeapScheduler [class] |
|
53 module.add_class('HeapScheduler', parent=root_module['ns3::Scheduler']) |
|
54 ## list-scheduler.h: ns3::ListScheduler [class] |
|
55 module.add_class('ListScheduler', parent=root_module['ns3::Scheduler']) |
|
56 ## map-scheduler.h: ns3::MapScheduler [class] |
|
57 module.add_class('MapScheduler', parent=root_module['ns3::Scheduler']) |
42 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl [class] |
58 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl [class] |
43 module.add_class('RealtimeSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) |
59 module.add_class('RealtimeSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) |
44 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode [enumeration] |
60 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode [enumeration] |
45 module.add_enum('SynchronizationMode', ['SYNC_BEST_EFFORT', 'SYNC_HARD_LIMIT'], outer_class=root_module['ns3::RealtimeSimulatorImpl']) |
61 module.add_enum('SynchronizationMode', ['SYNC_BEST_EFFORT', 'SYNC_HARD_LIMIT'], outer_class=root_module['ns3::RealtimeSimulatorImpl']) |
46 ## default-simulator-impl.h: ns3::DefaultSimulatorImpl [class] |
|
47 module.add_class('DefaultSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) |
|
48 ## synchronizer.h: ns3::Synchronizer [class] |
|
49 module.add_class('Synchronizer', parent=root_module['ns3::Object']) |
|
50 ## list-scheduler.h: ns3::ListScheduler [class] |
|
51 module.add_class('ListScheduler', parent=root_module['ns3::Scheduler']) |
|
52 ## heap-scheduler.h: ns3::HeapScheduler [class] |
|
53 module.add_class('HeapScheduler', parent=root_module['ns3::Scheduler']) |
|
54 ## map-scheduler.h: ns3::MapScheduler [class] |
|
55 module.add_class('MapScheduler', parent=root_module['ns3::Scheduler']) |
|
56 ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer [class] |
|
57 module.add_class('WallClockSynchronizer', parent=root_module['ns3::Synchronizer']) |
|
58 |
62 |
59 ## Register a nested module for the namespace internal |
63 ## Register a nested module for the namespace internal |
60 |
64 |
61 nested_module = module.add_cpp_namespace('internal') |
65 nested_module = module.add_cpp_namespace('internal') |
62 register_types_ns3_internal(nested_module) |
66 register_types_ns3_internal(nested_module) |
97 def register_types_ns3_olsr(module): |
101 def register_types_ns3_olsr(module): |
98 root_module = module.get_root() |
102 root_module = module.get_root() |
99 |
103 |
100 |
104 |
101 def register_methods(root_module): |
105 def register_methods(root_module): |
|
106 register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) |
|
107 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) |
|
108 register_Ns3EventLock_methods(root_module, root_module['ns3::EventLock']) |
|
109 register_Ns3HighPrecision_methods(root_module, root_module['ns3::HighPrecision']) |
|
110 register_Ns3RealtimeEventLock_methods(root_module, root_module['ns3::RealtimeEventLock']) |
|
111 register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) |
|
112 register_Ns3TimeInvert_methods(root_module, root_module['ns3::TimeInvert']) |
|
113 register_Ns3Scalar_methods(root_module, root_module['ns3::Scalar']) |
|
114 register_Ns3Time_methods(root_module, root_module['ns3::Time']) |
|
115 register_Ns3TimeSquare_methods(root_module, root_module['ns3::TimeSquare']) |
102 register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) |
116 register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) |
103 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) |
|
104 register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) |
117 register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) |
105 register_Ns3Time_methods(root_module, root_module['ns3::Time']) |
|
106 register_Ns3Scalar_methods(root_module, root_module['ns3::Scalar']) |
|
107 register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog']) |
118 register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog']) |
108 register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) |
|
109 register_Ns3EventLock_methods(root_module, root_module['ns3::EventLock']) |
|
110 register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) |
|
111 register_Ns3RealtimeEventLock_methods(root_module, root_module['ns3::RealtimeEventLock']) |
|
112 register_Ns3HighPrecision_methods(root_module, root_module['ns3::HighPrecision']) |
|
113 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) |
|
114 register_Ns3Scheduler_methods(root_module, root_module['ns3::Scheduler']) |
119 register_Ns3Scheduler_methods(root_module, root_module['ns3::Scheduler']) |
115 register_Ns3SchedulerEventKey_methods(root_module, root_module['ns3::Scheduler::EventKey']) |
120 register_Ns3SchedulerEventKey_methods(root_module, root_module['ns3::Scheduler::EventKey']) |
|
121 register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) |
|
122 register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer']) |
|
123 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) |
116 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) |
124 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) |
117 register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) |
125 register_Ns3WallClockSynchronizer_methods(root_module, root_module['ns3::WallClockSynchronizer']) |
|
126 register_Ns3DefaultSimulatorImpl_methods(root_module, root_module['ns3::DefaultSimulatorImpl']) |
|
127 register_Ns3HeapScheduler_methods(root_module, root_module['ns3::HeapScheduler']) |
|
128 register_Ns3ListScheduler_methods(root_module, root_module['ns3::ListScheduler']) |
|
129 register_Ns3MapScheduler_methods(root_module, root_module['ns3::MapScheduler']) |
118 register_Ns3RealtimeSimulatorImpl_methods(root_module, root_module['ns3::RealtimeSimulatorImpl']) |
130 register_Ns3RealtimeSimulatorImpl_methods(root_module, root_module['ns3::RealtimeSimulatorImpl']) |
119 register_Ns3DefaultSimulatorImpl_methods(root_module, root_module['ns3::DefaultSimulatorImpl']) |
131 return |
120 register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer']) |
132 |
121 register_Ns3ListScheduler_methods(root_module, root_module['ns3::ListScheduler']) |
133 def register_Ns3EventId_methods(root_module, cls): |
122 register_Ns3HeapScheduler_methods(root_module, root_module['ns3::HeapScheduler']) |
134 cls.add_binary_comparison_operator('!=') |
123 register_Ns3MapScheduler_methods(root_module, root_module['ns3::MapScheduler']) |
135 cls.add_binary_comparison_operator('==') |
124 register_Ns3WallClockSynchronizer_methods(root_module, root_module['ns3::WallClockSynchronizer']) |
136 ## event-id.h: ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor] |
125 return |
137 cls.add_constructor([param('ns3::EventId const &', 'arg0')]) |
126 |
138 ## event-id.h: ns3::EventId::EventId() [constructor] |
127 def register_Ns3Timer_methods(root_module, cls): |
139 cls.add_constructor([]) |
128 ## timer.h: ns3::Timer::Timer(ns3::Timer const & arg0) [copy constructor] |
140 ## event-id.h: ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t uid) [constructor] |
129 cls.add_constructor([param('ns3::Timer const &', 'arg0')]) |
141 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'uid')]) |
130 ## timer.h: ns3::Timer::Timer() [constructor] |
142 ## event-id.h: void ns3::EventId::Cancel() [member function] |
131 cls.add_constructor([]) |
|
132 ## timer.h: ns3::Timer::Timer(ns3::Timer::DestroyPolicy destroyPolicy) [constructor] |
|
133 cls.add_constructor([param('ns3::Timer::DestroyPolicy', 'destroyPolicy')]) |
|
134 ## timer.h: void ns3::Timer::SetDelay(ns3::Time const & delay) [member function] |
|
135 cls.add_method('SetDelay', |
|
136 'void', |
|
137 [param('ns3::Time const &', 'delay')]) |
|
138 ## timer.h: ns3::Time ns3::Timer::GetDelay() const [member function] |
|
139 cls.add_method('GetDelay', |
|
140 'ns3::Time', |
|
141 [], |
|
142 is_const=True) |
|
143 ## timer.h: ns3::Time ns3::Timer::GetDelayLeft() const [member function] |
|
144 cls.add_method('GetDelayLeft', |
|
145 'ns3::Time', |
|
146 [], |
|
147 is_const=True) |
|
148 ## timer.h: void ns3::Timer::Cancel() [member function] |
|
149 cls.add_method('Cancel', |
143 cls.add_method('Cancel', |
150 'void', |
144 'void', |
151 []) |
145 []) |
152 ## timer.h: void ns3::Timer::Remove() [member function] |
146 ## event-id.h: uint64_t ns3::EventId::GetTs() const [member function] |
153 cls.add_method('Remove', |
147 cls.add_method('GetTs', |
154 'void', |
148 'uint64_t', |
155 []) |
149 [], |
156 ## timer.h: bool ns3::Timer::IsExpired() const [member function] |
150 is_const=True) |
|
151 ## event-id.h: uint32_t ns3::EventId::GetUid() const [member function] |
|
152 cls.add_method('GetUid', |
|
153 'uint32_t', |
|
154 [], |
|
155 is_const=True) |
|
156 ## event-id.h: bool ns3::EventId::IsExpired() const [member function] |
157 cls.add_method('IsExpired', |
157 cls.add_method('IsExpired', |
158 'bool', |
158 'bool', |
159 [], |
159 [], |
160 is_const=True) |
160 is_const=True) |
161 ## timer.h: bool ns3::Timer::IsRunning() const [member function] |
161 ## event-id.h: bool ns3::EventId::IsRunning() const [member function] |
162 cls.add_method('IsRunning', |
162 cls.add_method('IsRunning', |
163 'bool', |
163 'bool', |
164 [], |
164 [], |
165 is_const=True) |
165 is_const=True) |
166 ## timer.h: bool ns3::Timer::IsSuspended() const [member function] |
166 ## event-id.h: ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function] |
167 cls.add_method('IsSuspended', |
167 cls.add_method('PeekEventImpl', |
168 'bool', |
168 'ns3::EventImpl *', |
169 [], |
169 [], |
170 is_const=True) |
170 is_const=True) |
171 ## timer.h: ns3::Timer::State ns3::Timer::GetState() const [member function] |
|
172 cls.add_method('GetState', |
|
173 'ns3::Timer::State', |
|
174 [], |
|
175 is_const=True) |
|
176 ## timer.h: void ns3::Timer::Schedule() [member function] |
|
177 cls.add_method('Schedule', |
|
178 'void', |
|
179 []) |
|
180 ## timer.h: void ns3::Timer::Schedule(ns3::Time delay) [member function] |
|
181 cls.add_method('Schedule', |
|
182 'void', |
|
183 [param('ns3::Time', 'delay')]) |
|
184 ## timer.h: void ns3::Timer::Suspend() [member function] |
|
185 cls.add_method('Suspend', |
|
186 'void', |
|
187 []) |
|
188 ## timer.h: void ns3::Timer::Resume() [member function] |
|
189 cls.add_method('Resume', |
|
190 'void', |
|
191 []) |
|
192 return |
171 return |
193 |
172 |
194 def register_Ns3EventImpl_methods(root_module, cls): |
173 def register_Ns3EventImpl_methods(root_module, cls): |
195 ## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] |
174 ## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] |
196 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) |
175 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) |
233 'void', |
212 'void', |
234 [], |
213 [], |
235 is_pure_virtual=True, visibility='protected', is_virtual=True) |
214 is_pure_virtual=True, visibility='protected', is_virtual=True) |
236 return |
215 return |
237 |
216 |
238 def register_Ns3TimerImpl_methods(root_module, cls): |
|
239 ## timer-impl.h: ns3::TimerImpl::TimerImpl(ns3::TimerImpl const & arg0) [copy constructor] |
|
240 cls.add_constructor([param('ns3::TimerImpl const &', 'arg0')]) |
|
241 ## timer-impl.h: ns3::TimerImpl::TimerImpl() [constructor] |
|
242 cls.add_constructor([]) |
|
243 ## timer-impl.h: ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function] |
|
244 cls.add_method('Schedule', |
|
245 'ns3::EventId', |
|
246 [param('ns3::Time const &', 'delay')], |
|
247 is_pure_virtual=True, is_virtual=True) |
|
248 ## timer-impl.h: void ns3::TimerImpl::Invoke() [member function] |
|
249 cls.add_method('Invoke', |
|
250 'void', |
|
251 [], |
|
252 is_pure_virtual=True, is_virtual=True) |
|
253 return |
|
254 |
|
255 def register_Ns3Time_methods(root_module, cls): |
|
256 ## nstime.h: ns3::TimeUnit<1>::TimeUnit(std::string const & s) [constructor] |
|
257 cls.add_constructor([param('std::string const &', 's')]) |
|
258 ## nstime.h: ns3::TimeUnit<1>::TimeUnit() [constructor] |
|
259 cls.add_constructor([]) |
|
260 ## nstime.h: ns3::TimeUnit<1>::TimeUnit(ns3::TimeUnit<1> const & o) [copy constructor] |
|
261 cls.add_constructor([param('ns3::TimeUnit< 1 >', 'o')]) |
|
262 ## nstime.h: ns3::TimeUnit<1>::TimeUnit(ns3::HighPrecision data) [constructor] |
|
263 cls.add_constructor([param('ns3::HighPrecision', 'data')]) |
|
264 ## nstime.h: int64_t ns3::TimeUnit<1>::GetFemtoSeconds() const [member function] |
|
265 cls.add_method('GetFemtoSeconds', |
|
266 'int64_t', |
|
267 [], |
|
268 is_const=True) |
|
269 ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<1>::GetHighPrecision() const [member function] |
|
270 cls.add_method('GetHighPrecision', |
|
271 'ns3::HighPrecision const &', |
|
272 [], |
|
273 is_const=True) |
|
274 ## nstime.h: int64_t ns3::TimeUnit<1>::GetMicroSeconds() const [member function] |
|
275 cls.add_method('GetMicroSeconds', |
|
276 'int64_t', |
|
277 [], |
|
278 is_const=True) |
|
279 ## nstime.h: int64_t ns3::TimeUnit<1>::GetMilliSeconds() const [member function] |
|
280 cls.add_method('GetMilliSeconds', |
|
281 'int64_t', |
|
282 [], |
|
283 is_const=True) |
|
284 ## nstime.h: int64_t ns3::TimeUnit<1>::GetNanoSeconds() const [member function] |
|
285 cls.add_method('GetNanoSeconds', |
|
286 'int64_t', |
|
287 [], |
|
288 is_const=True) |
|
289 ## nstime.h: int64_t ns3::TimeUnit<1>::GetPicoSeconds() const [member function] |
|
290 cls.add_method('GetPicoSeconds', |
|
291 'int64_t', |
|
292 [], |
|
293 is_const=True) |
|
294 ## nstime.h: double ns3::TimeUnit<1>::GetSeconds() const [member function] |
|
295 cls.add_method('GetSeconds', |
|
296 'double', |
|
297 [], |
|
298 is_const=True) |
|
299 ## nstime.h: int64_t ns3::TimeUnit<1>::GetTimeStep() const [member function] |
|
300 cls.add_method('GetTimeStep', |
|
301 'int64_t', |
|
302 [], |
|
303 is_const=True) |
|
304 ## nstime.h: bool ns3::TimeUnit<1>::IsNegative() const [member function] |
|
305 cls.add_method('IsNegative', |
|
306 'bool', |
|
307 [], |
|
308 is_const=True) |
|
309 ## nstime.h: bool ns3::TimeUnit<1>::IsPositive() const [member function] |
|
310 cls.add_method('IsPositive', |
|
311 'bool', |
|
312 [], |
|
313 is_const=True) |
|
314 ## nstime.h: bool ns3::TimeUnit<1>::IsStrictlyNegative() const [member function] |
|
315 cls.add_method('IsStrictlyNegative', |
|
316 'bool', |
|
317 [], |
|
318 is_const=True) |
|
319 ## nstime.h: bool ns3::TimeUnit<1>::IsStrictlyPositive() const [member function] |
|
320 cls.add_method('IsStrictlyPositive', |
|
321 'bool', |
|
322 [], |
|
323 is_const=True) |
|
324 ## nstime.h: bool ns3::TimeUnit<1>::IsZero() const [member function] |
|
325 cls.add_method('IsZero', |
|
326 'bool', |
|
327 [], |
|
328 is_const=True) |
|
329 ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<1>::PeekHighPrecision() [member function] |
|
330 cls.add_method('PeekHighPrecision', |
|
331 'ns3::HighPrecision *', |
|
332 []) |
|
333 ## nstime.h: static uint64_t ns3::TimeUnit<1>::UnitsToTimestep(uint64_t unitValue, uint64_t unitFactor) [member function] |
|
334 cls.add_method('UnitsToTimestep', |
|
335 'uint64_t', |
|
336 [param('uint64_t', 'unitValue'), param('uint64_t', 'unitFactor')], |
|
337 is_static=True) |
|
338 cls.add_copy_constructor() |
|
339 cls.add_output_stream_operator() |
|
340 return |
|
341 |
|
342 def register_Ns3Scalar_methods(root_module, cls): |
|
343 ## nstime.h: ns3::TimeUnit<0>::TimeUnit(double scalar) [constructor] |
|
344 cls.add_constructor([param('double', 'scalar')]) |
|
345 ## nstime.h: ns3::TimeUnit<0>::TimeUnit() [constructor] |
|
346 cls.add_constructor([]) |
|
347 ## nstime.h: ns3::TimeUnit<0>::TimeUnit(ns3::TimeUnit<0> const & o) [copy constructor] |
|
348 cls.add_constructor([param('ns3::TimeUnit< 0 >', 'o')]) |
|
349 ## nstime.h: ns3::TimeUnit<0>::TimeUnit(ns3::HighPrecision data) [constructor] |
|
350 cls.add_constructor([param('ns3::HighPrecision', 'data')]) |
|
351 ## nstime.h: double ns3::TimeUnit<0>::GetDouble() const [member function] |
|
352 cls.add_method('GetDouble', |
|
353 'double', |
|
354 [], |
|
355 is_const=True) |
|
356 ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<0>::GetHighPrecision() const [member function] |
|
357 cls.add_method('GetHighPrecision', |
|
358 'ns3::HighPrecision const &', |
|
359 [], |
|
360 is_const=True) |
|
361 ## nstime.h: bool ns3::TimeUnit<0>::IsNegative() const [member function] |
|
362 cls.add_method('IsNegative', |
|
363 'bool', |
|
364 [], |
|
365 is_const=True) |
|
366 ## nstime.h: bool ns3::TimeUnit<0>::IsPositive() const [member function] |
|
367 cls.add_method('IsPositive', |
|
368 'bool', |
|
369 [], |
|
370 is_const=True) |
|
371 ## nstime.h: bool ns3::TimeUnit<0>::IsStrictlyNegative() const [member function] |
|
372 cls.add_method('IsStrictlyNegative', |
|
373 'bool', |
|
374 [], |
|
375 is_const=True) |
|
376 ## nstime.h: bool ns3::TimeUnit<0>::IsStrictlyPositive() const [member function] |
|
377 cls.add_method('IsStrictlyPositive', |
|
378 'bool', |
|
379 [], |
|
380 is_const=True) |
|
381 ## nstime.h: bool ns3::TimeUnit<0>::IsZero() const [member function] |
|
382 cls.add_method('IsZero', |
|
383 'bool', |
|
384 [], |
|
385 is_const=True) |
|
386 ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<0>::PeekHighPrecision() [member function] |
|
387 cls.add_method('PeekHighPrecision', |
|
388 'ns3::HighPrecision *', |
|
389 []) |
|
390 cls.add_copy_constructor() |
|
391 return |
|
392 |
|
393 def register_Ns3Watchdog_methods(root_module, cls): |
|
394 ## watchdog.h: ns3::Watchdog::Watchdog(ns3::Watchdog const & arg0) [copy constructor] |
|
395 cls.add_constructor([param('ns3::Watchdog const &', 'arg0')]) |
|
396 ## watchdog.h: ns3::Watchdog::Watchdog() [constructor] |
|
397 cls.add_constructor([]) |
|
398 ## watchdog.h: void ns3::Watchdog::Ping(ns3::Time delay) [member function] |
|
399 cls.add_method('Ping', |
|
400 'void', |
|
401 [param('ns3::Time', 'delay')]) |
|
402 return |
|
403 |
|
404 def register_Ns3Simulator_methods(root_module, cls): |
|
405 ## simulator.h: ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] |
|
406 cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) |
|
407 ## simulator.h: static void ns3::Simulator::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function] |
|
408 cls.add_method('SetImplementation', |
|
409 'void', |
|
410 [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], |
|
411 is_static=True) |
|
412 ## simulator.h: static void ns3::Simulator::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function] |
|
413 cls.add_method('SetScheduler', |
|
414 'void', |
|
415 [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')], |
|
416 is_static=True) |
|
417 ## simulator.h: static void ns3::Simulator::EnableLogTo(char const * filename) [member function] |
|
418 cls.add_method('EnableLogTo', |
|
419 'void', |
|
420 [param('char const *', 'filename')], |
|
421 is_static=True, deprecated=True) |
|
422 ## simulator.h: static void ns3::Simulator::Destroy() [member function] |
|
423 cls.add_method('Destroy', |
|
424 'void', |
|
425 [], |
|
426 is_static=True) |
|
427 ## simulator.h: static bool ns3::Simulator::IsFinished() [member function] |
|
428 cls.add_method('IsFinished', |
|
429 'bool', |
|
430 [], |
|
431 is_static=True) |
|
432 ## simulator.h: static ns3::Time ns3::Simulator::Next() [member function] |
|
433 cls.add_method('Next', |
|
434 'ns3::Time', |
|
435 [], |
|
436 is_static=True) |
|
437 ## simulator.h: static void ns3::Simulator::Run() [member function] |
|
438 cls.add_method('Run', |
|
439 'void', |
|
440 [], |
|
441 is_static=True, unblock_threads=True) |
|
442 ## simulator.h: static void ns3::Simulator::RunOneEvent() [member function] |
|
443 cls.add_method('RunOneEvent', |
|
444 'void', |
|
445 [], |
|
446 is_static=True) |
|
447 ## simulator.h: static void ns3::Simulator::Stop() [member function] |
|
448 cls.add_method('Stop', |
|
449 'void', |
|
450 [], |
|
451 is_static=True) |
|
452 ## simulator.h: static void ns3::Simulator::Stop(ns3::Time const & time) [member function] |
|
453 cls.add_method('Stop', |
|
454 'void', |
|
455 [param('ns3::Time const &', 'time')], |
|
456 is_static=True) |
|
457 ## simulator.h: static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] |
|
458 cls.add_method('Remove', |
|
459 'void', |
|
460 [param('ns3::EventId const &', 'id')], |
|
461 is_static=True) |
|
462 ## simulator.h: static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] |
|
463 cls.add_method('Cancel', |
|
464 'void', |
|
465 [param('ns3::EventId const &', 'id')], |
|
466 is_static=True) |
|
467 ## simulator.h: static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] |
|
468 cls.add_method('IsExpired', |
|
469 'bool', |
|
470 [param('ns3::EventId const &', 'id')], |
|
471 is_static=True) |
|
472 ## simulator.h: static ns3::Time ns3::Simulator::Now() [member function] |
|
473 cls.add_method('Now', |
|
474 'ns3::Time', |
|
475 [], |
|
476 is_static=True) |
|
477 ## simulator.h: static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] |
|
478 cls.add_method('GetDelayLeft', |
|
479 'ns3::Time', |
|
480 [param('ns3::EventId const &', 'id')], |
|
481 is_static=True) |
|
482 ## simulator.h: static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] |
|
483 cls.add_method('GetMaximumSimulationTime', |
|
484 'ns3::Time', |
|
485 [], |
|
486 is_static=True) |
|
487 return |
|
488 |
|
489 def register_Ns3EventLock_methods(root_module, cls): |
217 def register_Ns3EventLock_methods(root_module, cls): |
490 ## event-impl.h: ns3::EventLock::EventLock(ns3::EventLock const & arg0) [copy constructor] |
218 ## event-impl.h: ns3::EventLock::EventLock(ns3::EventLock const & arg0) [copy constructor] |
491 cls.add_constructor([param('ns3::EventLock const &', 'arg0')]) |
219 cls.add_constructor([param('ns3::EventLock const &', 'arg0')]) |
492 ## event-impl.h: ns3::EventLock::EventLock() [constructor] |
220 ## event-impl.h: ns3::EventLock::EventLock() [constructor] |
493 cls.add_constructor([]) |
221 cls.add_constructor([]) |
608 'ns3::HighPrecision', |
281 'ns3::HighPrecision', |
609 [], |
282 [], |
610 is_static=True) |
283 is_static=True) |
611 return |
284 return |
612 |
285 |
613 def register_Ns3TimeChecker_methods(root_module, cls): |
286 def register_Ns3RealtimeEventLock_methods(root_module, cls): |
614 ## nstime.h: ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor] |
287 ## realtime-simulator-impl.h: ns3::RealtimeEventLock::RealtimeEventLock(ns3::RealtimeEventLock const & arg0) [copy constructor] |
615 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')]) |
288 cls.add_constructor([param('ns3::RealtimeEventLock const &', 'arg0')]) |
616 ## nstime.h: ns3::TimeChecker::TimeChecker() [constructor] |
289 ## realtime-simulator-impl.h: ns3::RealtimeEventLock::RealtimeEventLock() [constructor] |
617 cls.add_constructor([]) |
290 cls.add_constructor([]) |
|
291 ## realtime-simulator-impl.h: void ns3::RealtimeEventLock::Lock() [member function] |
|
292 cls.add_method('Lock', |
|
293 'void', |
|
294 [], |
|
295 is_virtual=True) |
|
296 ## realtime-simulator-impl.h: void ns3::RealtimeEventLock::Unlock() [member function] |
|
297 cls.add_method('Unlock', |
|
298 'void', |
|
299 [], |
|
300 is_virtual=True) |
|
301 return |
|
302 |
|
303 def register_Ns3Simulator_methods(root_module, cls): |
|
304 ## simulator.h: ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] |
|
305 cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) |
|
306 ## simulator.h: static void ns3::Simulator::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function] |
|
307 cls.add_method('SetImplementation', |
|
308 'void', |
|
309 [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], |
|
310 is_static=True) |
|
311 ## simulator.h: static void ns3::Simulator::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function] |
|
312 cls.add_method('SetScheduler', |
|
313 'void', |
|
314 [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')], |
|
315 is_static=True) |
|
316 ## simulator.h: static void ns3::Simulator::EnableLogTo(char const * filename) [member function] |
|
317 cls.add_method('EnableLogTo', |
|
318 'void', |
|
319 [param('char const *', 'filename')], |
|
320 is_static=True, deprecated=True) |
|
321 ## simulator.h: static void ns3::Simulator::Destroy() [member function] |
|
322 cls.add_method('Destroy', |
|
323 'void', |
|
324 [], |
|
325 is_static=True) |
|
326 ## simulator.h: static bool ns3::Simulator::IsFinished() [member function] |
|
327 cls.add_method('IsFinished', |
|
328 'bool', |
|
329 [], |
|
330 is_static=True) |
|
331 ## simulator.h: static ns3::Time ns3::Simulator::Next() [member function] |
|
332 cls.add_method('Next', |
|
333 'ns3::Time', |
|
334 [], |
|
335 is_static=True) |
|
336 ## simulator.h: static void ns3::Simulator::Run() [member function] |
|
337 cls.add_method('Run', |
|
338 'void', |
|
339 [], |
|
340 is_static=True, unblock_threads=True) |
|
341 ## simulator.h: static void ns3::Simulator::RunOneEvent() [member function] |
|
342 cls.add_method('RunOneEvent', |
|
343 'void', |
|
344 [], |
|
345 is_static=True) |
|
346 ## simulator.h: static void ns3::Simulator::Stop() [member function] |
|
347 cls.add_method('Stop', |
|
348 'void', |
|
349 [], |
|
350 is_static=True) |
|
351 ## simulator.h: static void ns3::Simulator::Stop(ns3::Time const & time) [member function] |
|
352 cls.add_method('Stop', |
|
353 'void', |
|
354 [param('ns3::Time const &', 'time')], |
|
355 is_static=True) |
|
356 ## simulator.h: static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] |
|
357 cls.add_method('Remove', |
|
358 'void', |
|
359 [param('ns3::EventId const &', 'id')], |
|
360 is_static=True) |
|
361 ## simulator.h: static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] |
|
362 cls.add_method('Cancel', |
|
363 'void', |
|
364 [param('ns3::EventId const &', 'id')], |
|
365 is_static=True) |
|
366 ## simulator.h: static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] |
|
367 cls.add_method('IsExpired', |
|
368 'bool', |
|
369 [param('ns3::EventId const &', 'id')], |
|
370 is_static=True) |
|
371 ## simulator.h: static ns3::Time ns3::Simulator::Now() [member function] |
|
372 cls.add_method('Now', |
|
373 'ns3::Time', |
|
374 [], |
|
375 is_static=True) |
|
376 ## simulator.h: static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] |
|
377 cls.add_method('GetDelayLeft', |
|
378 'ns3::Time', |
|
379 [param('ns3::EventId const &', 'id')], |
|
380 is_static=True) |
|
381 ## simulator.h: static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] |
|
382 cls.add_method('GetMaximumSimulationTime', |
|
383 'ns3::Time', |
|
384 [], |
|
385 is_static=True) |
|
386 return |
|
387 |
|
388 def register_Ns3TimeInvert_methods(root_module, cls): |
|
389 ## nstime.h: ns3::TimeUnit<-1>::TimeUnit() [constructor] |
|
390 cls.add_constructor([]) |
|
391 ## nstime.h: ns3::TimeUnit<-1>::TimeUnit(ns3::TimeUnit<-1> const & o) [copy constructor] |
|
392 cls.add_constructor([param('ns3::TimeUnit< - 1 > const &', 'o')]) |
|
393 ## nstime.h: ns3::TimeUnit<-1>::TimeUnit(ns3::HighPrecision data) [constructor] |
|
394 cls.add_constructor([param('ns3::HighPrecision', 'data')]) |
|
395 ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<-1>::GetHighPrecision() const [member function] |
|
396 cls.add_method('GetHighPrecision', |
|
397 'ns3::HighPrecision const &', |
|
398 [], |
|
399 is_const=True) |
|
400 ## nstime.h: bool ns3::TimeUnit<-1>::IsNegative() const [member function] |
|
401 cls.add_method('IsNegative', |
|
402 'bool', |
|
403 [], |
|
404 is_const=True) |
|
405 ## nstime.h: bool ns3::TimeUnit<-1>::IsPositive() const [member function] |
|
406 cls.add_method('IsPositive', |
|
407 'bool', |
|
408 [], |
|
409 is_const=True) |
|
410 ## nstime.h: bool ns3::TimeUnit<-1>::IsStrictlyNegative() const [member function] |
|
411 cls.add_method('IsStrictlyNegative', |
|
412 'bool', |
|
413 [], |
|
414 is_const=True) |
|
415 ## nstime.h: bool ns3::TimeUnit<-1>::IsStrictlyPositive() const [member function] |
|
416 cls.add_method('IsStrictlyPositive', |
|
417 'bool', |
|
418 [], |
|
419 is_const=True) |
|
420 ## nstime.h: bool ns3::TimeUnit<-1>::IsZero() const [member function] |
|
421 cls.add_method('IsZero', |
|
422 'bool', |
|
423 [], |
|
424 is_const=True) |
|
425 ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<-1>::PeekHighPrecision() [member function] |
|
426 cls.add_method('PeekHighPrecision', |
|
427 'ns3::HighPrecision *', |
|
428 []) |
|
429 return |
|
430 |
|
431 def register_Ns3Scalar_methods(root_module, cls): |
|
432 cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Scalar'], root_module['ns3::Time']) |
|
433 cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::Time'], root_module['ns3::Scalar']) |
|
434 cls.add_binary_numeric_operator('/', root_module['ns3::TimeInvert'], root_module['ns3::Scalar'], root_module['ns3::Time']) |
|
435 ## nstime.h: ns3::TimeUnit<0>::TimeUnit(double scalar) [constructor] |
|
436 cls.add_constructor([param('double', 'scalar')]) |
|
437 ## nstime.h: ns3::TimeUnit<0>::TimeUnit() [constructor] |
|
438 cls.add_constructor([]) |
|
439 ## nstime.h: ns3::TimeUnit<0>::TimeUnit(ns3::TimeUnit<0> const & o) [copy constructor] |
|
440 cls.add_constructor([param('ns3::TimeUnit< 0 > const &', 'o')]) |
|
441 ## nstime.h: ns3::TimeUnit<0>::TimeUnit(ns3::HighPrecision data) [constructor] |
|
442 cls.add_constructor([param('ns3::HighPrecision', 'data')]) |
|
443 ## nstime.h: double ns3::TimeUnit<0>::GetDouble() const [member function] |
|
444 cls.add_method('GetDouble', |
|
445 'double', |
|
446 [], |
|
447 is_const=True) |
|
448 ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<0>::GetHighPrecision() const [member function] |
|
449 cls.add_method('GetHighPrecision', |
|
450 'ns3::HighPrecision const &', |
|
451 [], |
|
452 is_const=True) |
|
453 ## nstime.h: bool ns3::TimeUnit<0>::IsNegative() const [member function] |
|
454 cls.add_method('IsNegative', |
|
455 'bool', |
|
456 [], |
|
457 is_const=True) |
|
458 ## nstime.h: bool ns3::TimeUnit<0>::IsPositive() const [member function] |
|
459 cls.add_method('IsPositive', |
|
460 'bool', |
|
461 [], |
|
462 is_const=True) |
|
463 ## nstime.h: bool ns3::TimeUnit<0>::IsStrictlyNegative() const [member function] |
|
464 cls.add_method('IsStrictlyNegative', |
|
465 'bool', |
|
466 [], |
|
467 is_const=True) |
|
468 ## nstime.h: bool ns3::TimeUnit<0>::IsStrictlyPositive() const [member function] |
|
469 cls.add_method('IsStrictlyPositive', |
|
470 'bool', |
|
471 [], |
|
472 is_const=True) |
|
473 ## nstime.h: bool ns3::TimeUnit<0>::IsZero() const [member function] |
|
474 cls.add_method('IsZero', |
|
475 'bool', |
|
476 [], |
|
477 is_const=True) |
|
478 ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<0>::PeekHighPrecision() [member function] |
|
479 cls.add_method('PeekHighPrecision', |
|
480 'ns3::HighPrecision *', |
|
481 []) |
|
482 return |
|
483 |
|
484 def register_Ns3Time_methods(root_module, cls): |
|
485 cls.add_binary_comparison_operator('!=') |
|
486 cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Scalar'], root_module['ns3::Time']) |
|
487 cls.add_binary_numeric_operator('*', root_module['ns3::TimeSquare'], root_module['ns3::Time'], root_module['ns3::Time']) |
|
488 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], root_module['ns3::Time']) |
|
489 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], root_module['ns3::Time']) |
|
490 cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::Time'], root_module['ns3::Scalar']) |
|
491 cls.add_binary_numeric_operator('/', root_module['ns3::TimeInvert'], root_module['ns3::Scalar'], root_module['ns3::Time']) |
|
492 cls.add_binary_numeric_operator('/', root_module['ns3::Scalar'], root_module['ns3::Time'], root_module['ns3::Time']) |
|
493 cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::TimeSquare'], root_module['ns3::Time']) |
|
494 cls.add_binary_comparison_operator('<') |
|
495 cls.add_binary_comparison_operator('>') |
|
496 cls.add_output_stream_operator() |
|
497 cls.add_binary_comparison_operator('<=') |
|
498 cls.add_binary_comparison_operator('==') |
|
499 cls.add_binary_comparison_operator('>=') |
|
500 ## nstime.h: ns3::TimeUnit<1>::TimeUnit(std::string const & s) [constructor] |
|
501 cls.add_constructor([param('std::string const &', 's')]) |
|
502 ## nstime.h: ns3::TimeUnit<1>::TimeUnit() [constructor] |
|
503 cls.add_constructor([]) |
|
504 ## nstime.h: ns3::TimeUnit<1>::TimeUnit(ns3::TimeUnit<1> const & o) [copy constructor] |
|
505 cls.add_constructor([param('ns3::TimeUnit< 1 > const &', 'o')]) |
|
506 ## nstime.h: ns3::TimeUnit<1>::TimeUnit(ns3::HighPrecision data) [constructor] |
|
507 cls.add_constructor([param('ns3::HighPrecision', 'data')]) |
|
508 ## nstime.h: int64_t ns3::TimeUnit<1>::GetFemtoSeconds() const [member function] |
|
509 cls.add_method('GetFemtoSeconds', |
|
510 'int64_t', |
|
511 [], |
|
512 is_const=True) |
|
513 ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<1>::GetHighPrecision() const [member function] |
|
514 cls.add_method('GetHighPrecision', |
|
515 'ns3::HighPrecision const &', |
|
516 [], |
|
517 is_const=True) |
|
518 ## nstime.h: int64_t ns3::TimeUnit<1>::GetMicroSeconds() const [member function] |
|
519 cls.add_method('GetMicroSeconds', |
|
520 'int64_t', |
|
521 [], |
|
522 is_const=True) |
|
523 ## nstime.h: int64_t ns3::TimeUnit<1>::GetMilliSeconds() const [member function] |
|
524 cls.add_method('GetMilliSeconds', |
|
525 'int64_t', |
|
526 [], |
|
527 is_const=True) |
|
528 ## nstime.h: int64_t ns3::TimeUnit<1>::GetNanoSeconds() const [member function] |
|
529 cls.add_method('GetNanoSeconds', |
|
530 'int64_t', |
|
531 [], |
|
532 is_const=True) |
|
533 ## nstime.h: int64_t ns3::TimeUnit<1>::GetPicoSeconds() const [member function] |
|
534 cls.add_method('GetPicoSeconds', |
|
535 'int64_t', |
|
536 [], |
|
537 is_const=True) |
|
538 ## nstime.h: double ns3::TimeUnit<1>::GetSeconds() const [member function] |
|
539 cls.add_method('GetSeconds', |
|
540 'double', |
|
541 [], |
|
542 is_const=True) |
|
543 ## nstime.h: int64_t ns3::TimeUnit<1>::GetTimeStep() const [member function] |
|
544 cls.add_method('GetTimeStep', |
|
545 'int64_t', |
|
546 [], |
|
547 is_const=True) |
|
548 ## nstime.h: bool ns3::TimeUnit<1>::IsNegative() const [member function] |
|
549 cls.add_method('IsNegative', |
|
550 'bool', |
|
551 [], |
|
552 is_const=True) |
|
553 ## nstime.h: bool ns3::TimeUnit<1>::IsPositive() const [member function] |
|
554 cls.add_method('IsPositive', |
|
555 'bool', |
|
556 [], |
|
557 is_const=True) |
|
558 ## nstime.h: bool ns3::TimeUnit<1>::IsStrictlyNegative() const [member function] |
|
559 cls.add_method('IsStrictlyNegative', |
|
560 'bool', |
|
561 [], |
|
562 is_const=True) |
|
563 ## nstime.h: bool ns3::TimeUnit<1>::IsStrictlyPositive() const [member function] |
|
564 cls.add_method('IsStrictlyPositive', |
|
565 'bool', |
|
566 [], |
|
567 is_const=True) |
|
568 ## nstime.h: bool ns3::TimeUnit<1>::IsZero() const [member function] |
|
569 cls.add_method('IsZero', |
|
570 'bool', |
|
571 [], |
|
572 is_const=True) |
|
573 ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<1>::PeekHighPrecision() [member function] |
|
574 cls.add_method('PeekHighPrecision', |
|
575 'ns3::HighPrecision *', |
|
576 []) |
|
577 ## nstime.h: static uint64_t ns3::TimeUnit<1>::UnitsToTimestep(uint64_t unitValue, uint64_t unitFactor) [member function] |
|
578 cls.add_method('UnitsToTimestep', |
|
579 'uint64_t', |
|
580 [param('uint64_t', 'unitValue'), param('uint64_t', 'unitFactor')], |
|
581 is_static=True) |
|
582 return |
|
583 |
|
584 def register_Ns3TimeSquare_methods(root_module, cls): |
|
585 cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::TimeSquare'], root_module['ns3::Time']) |
|
586 ## nstime.h: ns3::TimeUnit<2>::TimeUnit() [constructor] |
|
587 cls.add_constructor([]) |
|
588 ## nstime.h: ns3::TimeUnit<2>::TimeUnit(ns3::TimeUnit<2> const & o) [copy constructor] |
|
589 cls.add_constructor([param('ns3::TimeUnit< 2 > const &', 'o')]) |
|
590 ## nstime.h: ns3::TimeUnit<2>::TimeUnit(ns3::HighPrecision data) [constructor] |
|
591 cls.add_constructor([param('ns3::HighPrecision', 'data')]) |
|
592 ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<2>::GetHighPrecision() const [member function] |
|
593 cls.add_method('GetHighPrecision', |
|
594 'ns3::HighPrecision const &', |
|
595 [], |
|
596 is_const=True) |
|
597 ## nstime.h: bool ns3::TimeUnit<2>::IsNegative() const [member function] |
|
598 cls.add_method('IsNegative', |
|
599 'bool', |
|
600 [], |
|
601 is_const=True) |
|
602 ## nstime.h: bool ns3::TimeUnit<2>::IsPositive() const [member function] |
|
603 cls.add_method('IsPositive', |
|
604 'bool', |
|
605 [], |
|
606 is_const=True) |
|
607 ## nstime.h: bool ns3::TimeUnit<2>::IsStrictlyNegative() const [member function] |
|
608 cls.add_method('IsStrictlyNegative', |
|
609 'bool', |
|
610 [], |
|
611 is_const=True) |
|
612 ## nstime.h: bool ns3::TimeUnit<2>::IsStrictlyPositive() const [member function] |
|
613 cls.add_method('IsStrictlyPositive', |
|
614 'bool', |
|
615 [], |
|
616 is_const=True) |
|
617 ## nstime.h: bool ns3::TimeUnit<2>::IsZero() const [member function] |
|
618 cls.add_method('IsZero', |
|
619 'bool', |
|
620 [], |
|
621 is_const=True) |
|
622 ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<2>::PeekHighPrecision() [member function] |
|
623 cls.add_method('PeekHighPrecision', |
|
624 'ns3::HighPrecision *', |
|
625 []) |
|
626 return |
|
627 |
|
628 def register_Ns3Timer_methods(root_module, cls): |
|
629 ## timer.h: ns3::Timer::Timer(ns3::Timer const & arg0) [copy constructor] |
|
630 cls.add_constructor([param('ns3::Timer const &', 'arg0')]) |
|
631 ## timer.h: ns3::Timer::Timer() [constructor] |
|
632 cls.add_constructor([]) |
|
633 ## timer.h: ns3::Timer::Timer(ns3::Timer::DestroyPolicy destroyPolicy) [constructor] |
|
634 cls.add_constructor([param('ns3::Timer::DestroyPolicy', 'destroyPolicy')]) |
|
635 ## timer.h: void ns3::Timer::SetDelay(ns3::Time const & delay) [member function] |
|
636 cls.add_method('SetDelay', |
|
637 'void', |
|
638 [param('ns3::Time const &', 'delay')]) |
|
639 ## timer.h: ns3::Time ns3::Timer::GetDelay() const [member function] |
|
640 cls.add_method('GetDelay', |
|
641 'ns3::Time', |
|
642 [], |
|
643 is_const=True) |
|
644 ## timer.h: ns3::Time ns3::Timer::GetDelayLeft() const [member function] |
|
645 cls.add_method('GetDelayLeft', |
|
646 'ns3::Time', |
|
647 [], |
|
648 is_const=True) |
|
649 ## timer.h: void ns3::Timer::Cancel() [member function] |
|
650 cls.add_method('Cancel', |
|
651 'void', |
|
652 []) |
|
653 ## timer.h: void ns3::Timer::Remove() [member function] |
|
654 cls.add_method('Remove', |
|
655 'void', |
|
656 []) |
|
657 ## timer.h: bool ns3::Timer::IsExpired() const [member function] |
|
658 cls.add_method('IsExpired', |
|
659 'bool', |
|
660 [], |
|
661 is_const=True) |
|
662 ## timer.h: bool ns3::Timer::IsRunning() const [member function] |
|
663 cls.add_method('IsRunning', |
|
664 'bool', |
|
665 [], |
|
666 is_const=True) |
|
667 ## timer.h: bool ns3::Timer::IsSuspended() const [member function] |
|
668 cls.add_method('IsSuspended', |
|
669 'bool', |
|
670 [], |
|
671 is_const=True) |
|
672 ## timer.h: ns3::Timer::State ns3::Timer::GetState() const [member function] |
|
673 cls.add_method('GetState', |
|
674 'ns3::Timer::State', |
|
675 [], |
|
676 is_const=True) |
|
677 ## timer.h: void ns3::Timer::Schedule() [member function] |
|
678 cls.add_method('Schedule', |
|
679 'void', |
|
680 []) |
|
681 ## timer.h: void ns3::Timer::Schedule(ns3::Time delay) [member function] |
|
682 cls.add_method('Schedule', |
|
683 'void', |
|
684 [param('ns3::Time', 'delay')]) |
|
685 ## timer.h: void ns3::Timer::Suspend() [member function] |
|
686 cls.add_method('Suspend', |
|
687 'void', |
|
688 []) |
|
689 ## timer.h: void ns3::Timer::Resume() [member function] |
|
690 cls.add_method('Resume', |
|
691 'void', |
|
692 []) |
|
693 return |
|
694 |
|
695 def register_Ns3TimerImpl_methods(root_module, cls): |
|
696 ## timer-impl.h: ns3::TimerImpl::TimerImpl(ns3::TimerImpl const & arg0) [copy constructor] |
|
697 cls.add_constructor([param('ns3::TimerImpl const &', 'arg0')]) |
|
698 ## timer-impl.h: ns3::TimerImpl::TimerImpl() [constructor] |
|
699 cls.add_constructor([]) |
|
700 ## timer-impl.h: ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function] |
|
701 cls.add_method('Schedule', |
|
702 'ns3::EventId', |
|
703 [param('ns3::Time const &', 'delay')], |
|
704 is_pure_virtual=True, is_virtual=True) |
|
705 ## timer-impl.h: void ns3::TimerImpl::Invoke() [member function] |
|
706 cls.add_method('Invoke', |
|
707 'void', |
|
708 [], |
|
709 is_pure_virtual=True, is_virtual=True) |
|
710 return |
|
711 |
|
712 def register_Ns3Watchdog_methods(root_module, cls): |
|
713 ## watchdog.h: ns3::Watchdog::Watchdog(ns3::Watchdog const & arg0) [copy constructor] |
|
714 cls.add_constructor([param('ns3::Watchdog const &', 'arg0')]) |
|
715 ## watchdog.h: ns3::Watchdog::Watchdog() [constructor] |
|
716 cls.add_constructor([]) |
|
717 ## watchdog.h: void ns3::Watchdog::Ping(ns3::Time delay) [member function] |
|
718 cls.add_method('Ping', |
|
719 'void', |
|
720 [param('ns3::Time', 'delay')]) |
618 return |
721 return |
619 |
722 |
620 def register_Ns3Scheduler_methods(root_module, cls): |
723 def register_Ns3Scheduler_methods(root_module, cls): |
621 ## scheduler.h: ns3::Scheduler::Scheduler(ns3::Scheduler const & arg0) [copy constructor] |
724 ## scheduler.h: ns3::Scheduler::Scheduler(ns3::Scheduler const & arg0) [copy constructor] |
622 cls.add_constructor([param('ns3::Scheduler const &', 'arg0')]) |
725 cls.add_constructor([param('ns3::Scheduler const &', 'arg0')]) |
791 ## simulator-impl.h: ns3::Ptr<ns3::Scheduler> ns3::SimulatorImpl::GetScheduler() const [member function] |
861 ## simulator-impl.h: ns3::Ptr<ns3::Scheduler> ns3::SimulatorImpl::GetScheduler() const [member function] |
792 cls.add_method('GetScheduler', |
862 cls.add_method('GetScheduler', |
793 'ns3::Ptr< ns3::Scheduler >', |
863 'ns3::Ptr< ns3::Scheduler >', |
794 [], |
864 [], |
795 is_pure_virtual=True, is_const=True, is_virtual=True) |
865 is_pure_virtual=True, is_const=True, is_virtual=True) |
796 return |
|
797 |
|
798 def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls): |
|
799 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl(ns3::RealtimeSimulatorImpl const & arg0) [copy constructor] |
|
800 cls.add_constructor([param('ns3::RealtimeSimulatorImpl const &', 'arg0')]) |
|
801 ## realtime-simulator-impl.h: static ns3::TypeId ns3::RealtimeSimulatorImpl::GetTypeId() [member function] |
|
802 cls.add_method('GetTypeId', |
|
803 'ns3::TypeId', |
|
804 [], |
|
805 is_static=True) |
|
806 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl() [constructor] |
|
807 cls.add_constructor([]) |
|
808 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Destroy() [member function] |
|
809 cls.add_method('Destroy', |
|
810 'void', |
|
811 [], |
|
812 is_virtual=True) |
|
813 ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsFinished() const [member function] |
|
814 cls.add_method('IsFinished', |
|
815 'bool', |
|
816 [], |
|
817 is_const=True, is_virtual=True) |
|
818 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Next() const [member function] |
|
819 cls.add_method('Next', |
|
820 'ns3::Time', |
|
821 [], |
|
822 is_const=True, is_virtual=True) |
|
823 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop() [member function] |
|
824 cls.add_method('Stop', |
|
825 'void', |
|
826 [], |
|
827 is_virtual=True) |
|
828 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop(ns3::Time const & time) [member function] |
|
829 cls.add_method('Stop', |
|
830 'void', |
|
831 [param('ns3::Time const &', 'time')], |
|
832 is_virtual=True) |
|
833 ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::Schedule(ns3::Time const & time, ns3::Ptr<ns3::EventImpl> const & event) [member function] |
|
834 cls.add_method('Schedule', |
|
835 'ns3::EventId', |
|
836 [param('ns3::Time const &', 'time'), param('ns3::Ptr< ns3::EventImpl >', 'event')], |
|
837 is_virtual=True) |
|
838 ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleNow(ns3::Ptr<ns3::EventImpl> const & event) [member function] |
|
839 cls.add_method('ScheduleNow', |
|
840 'ns3::EventId', |
|
841 [param('ns3::Ptr< ns3::EventImpl >', 'event')], |
|
842 is_virtual=True) |
|
843 ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleDestroy(ns3::Ptr<ns3::EventImpl> const & event) [member function] |
|
844 cls.add_method('ScheduleDestroy', |
|
845 'ns3::EventId', |
|
846 [param('ns3::Ptr< ns3::EventImpl >', 'event')], |
|
847 is_virtual=True) |
|
848 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Remove(ns3::EventId const & ev) [member function] |
|
849 cls.add_method('Remove', |
|
850 'void', |
|
851 [param('ns3::EventId const &', 'ev')], |
|
852 is_virtual=True) |
|
853 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] |
|
854 cls.add_method('Cancel', |
|
855 'void', |
|
856 [param('ns3::EventId const &', 'ev')], |
|
857 is_virtual=True) |
|
858 ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] |
|
859 cls.add_method('IsExpired', |
|
860 'bool', |
|
861 [param('ns3::EventId const &', 'ev')], |
|
862 is_const=True, is_virtual=True) |
|
863 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::RunOneEvent() [member function] |
|
864 cls.add_method('RunOneEvent', |
|
865 'void', |
|
866 [], |
|
867 is_virtual=True) |
|
868 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Run() [member function] |
|
869 cls.add_method('Run', |
|
870 'void', |
|
871 [], |
|
872 is_virtual=True) |
|
873 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Now() const [member function] |
|
874 cls.add_method('Now', |
|
875 'ns3::Time', |
|
876 [], |
|
877 is_const=True, is_virtual=True) |
|
878 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] |
|
879 cls.add_method('GetDelayLeft', |
|
880 'ns3::Time', |
|
881 [param('ns3::EventId const &', 'id')], |
|
882 is_const=True, is_virtual=True) |
|
883 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetMaximumSimulationTime() const [member function] |
|
884 cls.add_method('GetMaximumSimulationTime', |
|
885 'ns3::Time', |
|
886 [], |
|
887 is_const=True, is_virtual=True) |
|
888 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function] |
|
889 cls.add_method('SetScheduler', |
|
890 'void', |
|
891 [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')], |
|
892 is_virtual=True) |
|
893 ## realtime-simulator-impl.h: ns3::Ptr<ns3::Scheduler> ns3::RealtimeSimulatorImpl::GetScheduler() const [member function] |
|
894 cls.add_method('GetScheduler', |
|
895 'ns3::Ptr< ns3::Scheduler >', |
|
896 [], |
|
897 is_const=True, is_virtual=True) |
|
898 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetSynchronizationMode(ns3::RealtimeSimulatorImpl::SynchronizationMode mode) [member function] |
|
899 cls.add_method('SetSynchronizationMode', |
|
900 'void', |
|
901 [param('ns3::RealtimeSimulatorImpl::SynchronizationMode', 'mode')]) |
|
902 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode ns3::RealtimeSimulatorImpl::GetSynchronizationMode() const [member function] |
|
903 cls.add_method('GetSynchronizationMode', |
|
904 'ns3::RealtimeSimulatorImpl::SynchronizationMode', |
|
905 [], |
|
906 is_const=True) |
|
907 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetHardLimit(ns3::Time limit) [member function] |
|
908 cls.add_method('SetHardLimit', |
|
909 'void', |
|
910 [param('ns3::Time', 'limit')]) |
|
911 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetHardLimit() const [member function] |
|
912 cls.add_method('GetHardLimit', |
|
913 'ns3::Time', |
|
914 [], |
|
915 is_const=True) |
|
916 return |
|
917 |
|
918 def register_Ns3DefaultSimulatorImpl_methods(root_module, cls): |
|
919 ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl(ns3::DefaultSimulatorImpl const & arg0) [copy constructor] |
|
920 cls.add_constructor([param('ns3::DefaultSimulatorImpl const &', 'arg0')]) |
|
921 ## default-simulator-impl.h: static ns3::TypeId ns3::DefaultSimulatorImpl::GetTypeId() [member function] |
|
922 cls.add_method('GetTypeId', |
|
923 'ns3::TypeId', |
|
924 [], |
|
925 is_static=True) |
|
926 ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl() [constructor] |
|
927 cls.add_constructor([]) |
|
928 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Destroy() [member function] |
|
929 cls.add_method('Destroy', |
|
930 'void', |
|
931 [], |
|
932 is_virtual=True) |
|
933 ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsFinished() const [member function] |
|
934 cls.add_method('IsFinished', |
|
935 'bool', |
|
936 [], |
|
937 is_const=True, is_virtual=True) |
|
938 ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Next() const [member function] |
|
939 cls.add_method('Next', |
|
940 'ns3::Time', |
|
941 [], |
|
942 is_const=True, is_virtual=True) |
|
943 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop() [member function] |
|
944 cls.add_method('Stop', |
|
945 'void', |
|
946 [], |
|
947 is_virtual=True) |
|
948 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop(ns3::Time const & time) [member function] |
|
949 cls.add_method('Stop', |
|
950 'void', |
|
951 [param('ns3::Time const &', 'time')], |
|
952 is_virtual=True) |
|
953 ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::Schedule(ns3::Time const & time, ns3::Ptr<ns3::EventImpl> const & event) [member function] |
|
954 cls.add_method('Schedule', |
|
955 'ns3::EventId', |
|
956 [param('ns3::Time const &', 'time'), param('ns3::Ptr< ns3::EventImpl >', 'event')], |
|
957 is_virtual=True) |
|
958 ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleNow(ns3::Ptr<ns3::EventImpl> const & event) [member function] |
|
959 cls.add_method('ScheduleNow', |
|
960 'ns3::EventId', |
|
961 [param('ns3::Ptr< ns3::EventImpl >', 'event')], |
|
962 is_virtual=True) |
|
963 ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleDestroy(ns3::Ptr<ns3::EventImpl> const & event) [member function] |
|
964 cls.add_method('ScheduleDestroy', |
|
965 'ns3::EventId', |
|
966 [param('ns3::Ptr< ns3::EventImpl >', 'event')], |
|
967 is_virtual=True) |
|
968 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Remove(ns3::EventId const & ev) [member function] |
|
969 cls.add_method('Remove', |
|
970 'void', |
|
971 [param('ns3::EventId const &', 'ev')], |
|
972 is_virtual=True) |
|
973 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] |
|
974 cls.add_method('Cancel', |
|
975 'void', |
|
976 [param('ns3::EventId const &', 'ev')], |
|
977 is_virtual=True) |
|
978 ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] |
|
979 cls.add_method('IsExpired', |
|
980 'bool', |
|
981 [param('ns3::EventId const &', 'ev')], |
|
982 is_const=True, is_virtual=True) |
|
983 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Run() [member function] |
|
984 cls.add_method('Run', |
|
985 'void', |
|
986 [], |
|
987 is_virtual=True) |
|
988 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::RunOneEvent() [member function] |
|
989 cls.add_method('RunOneEvent', |
|
990 'void', |
|
991 [], |
|
992 is_virtual=True) |
|
993 ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Now() const [member function] |
|
994 cls.add_method('Now', |
|
995 'ns3::Time', |
|
996 [], |
|
997 is_const=True, is_virtual=True) |
|
998 ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] |
|
999 cls.add_method('GetDelayLeft', |
|
1000 'ns3::Time', |
|
1001 [param('ns3::EventId const &', 'id')], |
|
1002 is_const=True, is_virtual=True) |
|
1003 ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetMaximumSimulationTime() const [member function] |
|
1004 cls.add_method('GetMaximumSimulationTime', |
|
1005 'ns3::Time', |
|
1006 [], |
|
1007 is_const=True, is_virtual=True) |
|
1008 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function] |
|
1009 cls.add_method('SetScheduler', |
|
1010 'void', |
|
1011 [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')], |
|
1012 is_virtual=True) |
|
1013 ## default-simulator-impl.h: ns3::Ptr<ns3::Scheduler> ns3::DefaultSimulatorImpl::GetScheduler() const [member function] |
|
1014 cls.add_method('GetScheduler', |
|
1015 'ns3::Ptr< ns3::Scheduler >', |
|
1016 [], |
|
1017 is_const=True, is_virtual=True) |
|
1018 return |
866 return |
1019 |
867 |
1020 def register_Ns3Synchronizer_methods(root_module, cls): |
868 def register_Ns3Synchronizer_methods(root_module, cls): |
1021 ## synchronizer.h: ns3::Synchronizer::Synchronizer(ns3::Synchronizer const & arg0) [copy constructor] |
869 ## synchronizer.h: ns3::Synchronizer::Synchronizer(ns3::Synchronizer const & arg0) [copy constructor] |
1022 cls.add_constructor([param('ns3::Synchronizer const &', 'arg0')]) |
870 cls.add_constructor([param('ns3::Synchronizer const &', 'arg0')]) |
1112 'uint64_t', |
960 'uint64_t', |
1113 [], |
961 [], |
1114 is_pure_virtual=True, visibility='protected', is_virtual=True) |
962 is_pure_virtual=True, visibility='protected', is_virtual=True) |
1115 return |
963 return |
1116 |
964 |
1117 def register_Ns3ListScheduler_methods(root_module, cls): |
965 def register_Ns3TimeChecker_methods(root_module, cls): |
1118 ## list-scheduler.h: ns3::ListScheduler::ListScheduler(ns3::ListScheduler const & arg0) [copy constructor] |
966 ## nstime.h: ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor] |
1119 cls.add_constructor([param('ns3::ListScheduler const &', 'arg0')]) |
967 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')]) |
1120 ## list-scheduler.h: ns3::ListScheduler::ListScheduler() [constructor] |
968 ## nstime.h: ns3::TimeChecker::TimeChecker() [constructor] |
1121 cls.add_constructor([]) |
969 cls.add_constructor([]) |
1122 ## list-scheduler.h: void ns3::ListScheduler::Insert(ns3::EventId const & id) [member function] |
970 return |
1123 cls.add_method('Insert', |
971 |
1124 'void', |
972 def register_Ns3TimeValue_methods(root_module, cls): |
1125 [param('ns3::EventId const &', 'id')], |
973 ## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor] |
1126 is_virtual=True) |
974 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')]) |
1127 ## list-scheduler.h: bool ns3::ListScheduler::IsEmpty() const [member function] |
975 ## nstime.h: ns3::TimeValue::TimeValue() [constructor] |
1128 cls.add_method('IsEmpty', |
976 cls.add_constructor([]) |
1129 'bool', |
977 ## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor] |
1130 [], |
978 cls.add_constructor([param('ns3::Time const &', 'value')]) |
1131 is_const=True, is_virtual=True) |
979 ## nstime.h: void ns3::TimeValue::Set(ns3::Time const & value) [member function] |
1132 ## list-scheduler.h: ns3::EventId ns3::ListScheduler::PeekNext() const [member function] |
980 cls.add_method('Set', |
1133 cls.add_method('PeekNext', |
981 'void', |
1134 'ns3::EventId', |
982 [param('ns3::Time const &', 'value')]) |
1135 [], |
983 ## nstime.h: ns3::Time ns3::TimeValue::Get() const [member function] |
1136 is_const=True, is_virtual=True) |
984 cls.add_method('Get', |
1137 ## list-scheduler.h: ns3::EventId ns3::ListScheduler::RemoveNext() [member function] |
985 'ns3::Time', |
1138 cls.add_method('RemoveNext', |
986 [], |
1139 'ns3::EventId', |
987 is_const=True) |
1140 [], |
988 ## nstime.h: ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function] |
1141 is_virtual=True) |
989 cls.add_method('Copy', |
1142 ## list-scheduler.h: bool ns3::ListScheduler::Remove(ns3::EventId const & ev) [member function] |
990 'ns3::Ptr< ns3::AttributeValue >', |
1143 cls.add_method('Remove', |
991 [], |
1144 'bool', |
992 is_const=True, is_virtual=True) |
1145 [param('ns3::EventId const &', 'ev')], |
993 ## nstime.h: std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function] |
1146 is_virtual=True) |
994 cls.add_method('SerializeToString', |
1147 return |
995 'std::string', |
1148 |
996 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], |
1149 def register_Ns3HeapScheduler_methods(root_module, cls): |
997 is_const=True, is_virtual=True) |
1150 ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler(ns3::HeapScheduler const & arg0) [copy constructor] |
998 ## nstime.h: bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function] |
1151 cls.add_constructor([param('ns3::HeapScheduler const &', 'arg0')]) |
999 cls.add_method('DeserializeFromString', |
1152 ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler() [constructor] |
1000 'bool', |
1153 cls.add_constructor([]) |
1001 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], |
1154 ## heap-scheduler.h: void ns3::HeapScheduler::Insert(ns3::EventId const & id) [member function] |
|
1155 cls.add_method('Insert', |
|
1156 'void', |
|
1157 [param('ns3::EventId const &', 'id')], |
|
1158 is_virtual=True) |
|
1159 ## heap-scheduler.h: bool ns3::HeapScheduler::IsEmpty() const [member function] |
|
1160 cls.add_method('IsEmpty', |
|
1161 'bool', |
|
1162 [], |
|
1163 is_const=True, is_virtual=True) |
|
1164 ## heap-scheduler.h: ns3::EventId ns3::HeapScheduler::PeekNext() const [member function] |
|
1165 cls.add_method('PeekNext', |
|
1166 'ns3::EventId', |
|
1167 [], |
|
1168 is_const=True, is_virtual=True) |
|
1169 ## heap-scheduler.h: ns3::EventId ns3::HeapScheduler::RemoveNext() [member function] |
|
1170 cls.add_method('RemoveNext', |
|
1171 'ns3::EventId', |
|
1172 [], |
|
1173 is_virtual=True) |
|
1174 ## heap-scheduler.h: bool ns3::HeapScheduler::Remove(ns3::EventId const & ev) [member function] |
|
1175 cls.add_method('Remove', |
|
1176 'bool', |
|
1177 [param('ns3::EventId const &', 'ev')], |
|
1178 is_virtual=True) |
|
1179 return |
|
1180 |
|
1181 def register_Ns3MapScheduler_methods(root_module, cls): |
|
1182 ## map-scheduler.h: ns3::MapScheduler::MapScheduler(ns3::MapScheduler const & arg0) [copy constructor] |
|
1183 cls.add_constructor([param('ns3::MapScheduler const &', 'arg0')]) |
|
1184 ## map-scheduler.h: ns3::MapScheduler::MapScheduler() [constructor] |
|
1185 cls.add_constructor([]) |
|
1186 ## map-scheduler.h: void ns3::MapScheduler::Insert(ns3::EventId const & id) [member function] |
|
1187 cls.add_method('Insert', |
|
1188 'void', |
|
1189 [param('ns3::EventId const &', 'id')], |
|
1190 is_virtual=True) |
|
1191 ## map-scheduler.h: bool ns3::MapScheduler::IsEmpty() const [member function] |
|
1192 cls.add_method('IsEmpty', |
|
1193 'bool', |
|
1194 [], |
|
1195 is_const=True, is_virtual=True) |
|
1196 ## map-scheduler.h: ns3::EventId ns3::MapScheduler::PeekNext() const [member function] |
|
1197 cls.add_method('PeekNext', |
|
1198 'ns3::EventId', |
|
1199 [], |
|
1200 is_const=True, is_virtual=True) |
|
1201 ## map-scheduler.h: ns3::EventId ns3::MapScheduler::RemoveNext() [member function] |
|
1202 cls.add_method('RemoveNext', |
|
1203 'ns3::EventId', |
|
1204 [], |
|
1205 is_virtual=True) |
|
1206 ## map-scheduler.h: bool ns3::MapScheduler::Remove(ns3::EventId const & ev) [member function] |
|
1207 cls.add_method('Remove', |
|
1208 'bool', |
|
1209 [param('ns3::EventId const &', 'ev')], |
|
1210 is_virtual=True) |
1002 is_virtual=True) |
1211 return |
1003 return |
1212 |
1004 |
1213 def register_Ns3WallClockSynchronizer_methods(root_module, cls): |
1005 def register_Ns3WallClockSynchronizer_methods(root_module, cls): |
1214 ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_NS [variable] |
1006 ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_NS [variable] |
1289 ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetNormalizedRealtime() [member function] |
1081 ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetNormalizedRealtime() [member function] |
1290 cls.add_method('GetNormalizedRealtime', |
1082 cls.add_method('GetNormalizedRealtime', |
1291 'uint64_t', |
1083 'uint64_t', |
1292 [], |
1084 [], |
1293 visibility='protected') |
1085 visibility='protected') |
1294 ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::NsToTimespec(int64_t ns, timespec * ts) [member function] |
|
1295 cls.add_method('NsToTimespec', |
|
1296 'void', |
|
1297 [param('int64_t', 'ns'), param('timespec *', 'ts')], |
|
1298 visibility='protected') |
|
1299 ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::NsToTimeval(int64_t ns, timeval * tv) [member function] |
1086 ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::NsToTimeval(int64_t ns, timeval * tv) [member function] |
1300 cls.add_method('NsToTimeval', |
1087 cls.add_method('NsToTimeval', |
1301 'void', |
1088 'void', |
1302 [param('int64_t', 'ns'), param('timeval *', 'tv')], |
1089 [param('int64_t', 'ns'), param('timeval *', 'tv')], |
1303 visibility='protected') |
|
1304 ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::TimespecToNs(timespec * ts) [member function] |
|
1305 cls.add_method('TimespecToNs', |
|
1306 'uint64_t', |
|
1307 [param('timespec *', 'ts')], |
|
1308 visibility='protected') |
1090 visibility='protected') |
1309 ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::TimevalToNs(timeval * tv) [member function] |
1091 ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::TimevalToNs(timeval * tv) [member function] |
1310 cls.add_method('TimevalToNs', |
1092 cls.add_method('TimevalToNs', |
1311 'uint64_t', |
1093 'uint64_t', |
1312 [param('timeval *', 'tv')], |
1094 [param('timeval *', 'tv')], |
1313 visibility='protected') |
1095 visibility='protected') |
1314 ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::TimespecAdd(timespec * ts1, timespec * ts2, timespec * result) [member function] |
|
1315 cls.add_method('TimespecAdd', |
|
1316 'void', |
|
1317 [param('timespec *', 'ts1'), param('timespec *', 'ts2'), param('timespec *', 'result')], |
|
1318 visibility='protected') |
|
1319 ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::TimevalAdd(timeval * tv1, timeval * tv2, timeval * result) [member function] |
1096 ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::TimevalAdd(timeval * tv1, timeval * tv2, timeval * result) [member function] |
1320 cls.add_method('TimevalAdd', |
1097 cls.add_method('TimevalAdd', |
1321 'void', |
1098 'void', |
1322 [param('timeval *', 'tv1'), param('timeval *', 'tv2'), param('timeval *', 'result')], |
1099 [param('timeval *', 'tv1'), param('timeval *', 'tv2'), param('timeval *', 'result')], |
1323 visibility='protected') |
1100 visibility='protected') |
|
1101 return |
|
1102 |
|
1103 def register_Ns3DefaultSimulatorImpl_methods(root_module, cls): |
|
1104 ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl(ns3::DefaultSimulatorImpl const & arg0) [copy constructor] |
|
1105 cls.add_constructor([param('ns3::DefaultSimulatorImpl const &', 'arg0')]) |
|
1106 ## default-simulator-impl.h: static ns3::TypeId ns3::DefaultSimulatorImpl::GetTypeId() [member function] |
|
1107 cls.add_method('GetTypeId', |
|
1108 'ns3::TypeId', |
|
1109 [], |
|
1110 is_static=True) |
|
1111 ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl() [constructor] |
|
1112 cls.add_constructor([]) |
|
1113 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Destroy() [member function] |
|
1114 cls.add_method('Destroy', |
|
1115 'void', |
|
1116 [], |
|
1117 is_virtual=True) |
|
1118 ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsFinished() const [member function] |
|
1119 cls.add_method('IsFinished', |
|
1120 'bool', |
|
1121 [], |
|
1122 is_const=True, is_virtual=True) |
|
1123 ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Next() const [member function] |
|
1124 cls.add_method('Next', |
|
1125 'ns3::Time', |
|
1126 [], |
|
1127 is_const=True, is_virtual=True) |
|
1128 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop() [member function] |
|
1129 cls.add_method('Stop', |
|
1130 'void', |
|
1131 [], |
|
1132 is_virtual=True) |
|
1133 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop(ns3::Time const & time) [member function] |
|
1134 cls.add_method('Stop', |
|
1135 'void', |
|
1136 [param('ns3::Time const &', 'time')], |
|
1137 is_virtual=True) |
|
1138 ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::Schedule(ns3::Time const & time, ns3::Ptr<ns3::EventImpl> const & event) [member function] |
|
1139 cls.add_method('Schedule', |
|
1140 'ns3::EventId', |
|
1141 [param('ns3::Time const &', 'time'), param('ns3::Ptr< ns3::EventImpl > const &', 'event')], |
|
1142 is_virtual=True) |
|
1143 ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleNow(ns3::Ptr<ns3::EventImpl> const & event) [member function] |
|
1144 cls.add_method('ScheduleNow', |
|
1145 'ns3::EventId', |
|
1146 [param('ns3::Ptr< ns3::EventImpl > const &', 'event')], |
|
1147 is_virtual=True) |
|
1148 ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleDestroy(ns3::Ptr<ns3::EventImpl> const & event) [member function] |
|
1149 cls.add_method('ScheduleDestroy', |
|
1150 'ns3::EventId', |
|
1151 [param('ns3::Ptr< ns3::EventImpl > const &', 'event')], |
|
1152 is_virtual=True) |
|
1153 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Remove(ns3::EventId const & ev) [member function] |
|
1154 cls.add_method('Remove', |
|
1155 'void', |
|
1156 [param('ns3::EventId const &', 'ev')], |
|
1157 is_virtual=True) |
|
1158 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] |
|
1159 cls.add_method('Cancel', |
|
1160 'void', |
|
1161 [param('ns3::EventId const &', 'ev')], |
|
1162 is_virtual=True) |
|
1163 ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] |
|
1164 cls.add_method('IsExpired', |
|
1165 'bool', |
|
1166 [param('ns3::EventId const &', 'ev')], |
|
1167 is_const=True, is_virtual=True) |
|
1168 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Run() [member function] |
|
1169 cls.add_method('Run', |
|
1170 'void', |
|
1171 [], |
|
1172 is_virtual=True) |
|
1173 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::RunOneEvent() [member function] |
|
1174 cls.add_method('RunOneEvent', |
|
1175 'void', |
|
1176 [], |
|
1177 is_virtual=True) |
|
1178 ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Now() const [member function] |
|
1179 cls.add_method('Now', |
|
1180 'ns3::Time', |
|
1181 [], |
|
1182 is_const=True, is_virtual=True) |
|
1183 ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] |
|
1184 cls.add_method('GetDelayLeft', |
|
1185 'ns3::Time', |
|
1186 [param('ns3::EventId const &', 'id')], |
|
1187 is_const=True, is_virtual=True) |
|
1188 ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetMaximumSimulationTime() const [member function] |
|
1189 cls.add_method('GetMaximumSimulationTime', |
|
1190 'ns3::Time', |
|
1191 [], |
|
1192 is_const=True, is_virtual=True) |
|
1193 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function] |
|
1194 cls.add_method('SetScheduler', |
|
1195 'void', |
|
1196 [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')], |
|
1197 is_virtual=True) |
|
1198 ## default-simulator-impl.h: ns3::Ptr<ns3::Scheduler> ns3::DefaultSimulatorImpl::GetScheduler() const [member function] |
|
1199 cls.add_method('GetScheduler', |
|
1200 'ns3::Ptr< ns3::Scheduler >', |
|
1201 [], |
|
1202 is_const=True, is_virtual=True) |
|
1203 return |
|
1204 |
|
1205 def register_Ns3HeapScheduler_methods(root_module, cls): |
|
1206 ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler(ns3::HeapScheduler const & arg0) [copy constructor] |
|
1207 cls.add_constructor([param('ns3::HeapScheduler const &', 'arg0')]) |
|
1208 ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler() [constructor] |
|
1209 cls.add_constructor([]) |
|
1210 ## heap-scheduler.h: void ns3::HeapScheduler::Insert(ns3::EventId const & id) [member function] |
|
1211 cls.add_method('Insert', |
|
1212 'void', |
|
1213 [param('ns3::EventId const &', 'id')], |
|
1214 is_virtual=True) |
|
1215 ## heap-scheduler.h: bool ns3::HeapScheduler::IsEmpty() const [member function] |
|
1216 cls.add_method('IsEmpty', |
|
1217 'bool', |
|
1218 [], |
|
1219 is_const=True, is_virtual=True) |
|
1220 ## heap-scheduler.h: ns3::EventId ns3::HeapScheduler::PeekNext() const [member function] |
|
1221 cls.add_method('PeekNext', |
|
1222 'ns3::EventId', |
|
1223 [], |
|
1224 is_const=True, is_virtual=True) |
|
1225 ## heap-scheduler.h: ns3::EventId ns3::HeapScheduler::RemoveNext() [member function] |
|
1226 cls.add_method('RemoveNext', |
|
1227 'ns3::EventId', |
|
1228 [], |
|
1229 is_virtual=True) |
|
1230 ## heap-scheduler.h: bool ns3::HeapScheduler::Remove(ns3::EventId const & ev) [member function] |
|
1231 cls.add_method('Remove', |
|
1232 'bool', |
|
1233 [param('ns3::EventId const &', 'ev')], |
|
1234 is_virtual=True) |
|
1235 return |
|
1236 |
|
1237 def register_Ns3ListScheduler_methods(root_module, cls): |
|
1238 ## list-scheduler.h: ns3::ListScheduler::ListScheduler(ns3::ListScheduler const & arg0) [copy constructor] |
|
1239 cls.add_constructor([param('ns3::ListScheduler const &', 'arg0')]) |
|
1240 ## list-scheduler.h: ns3::ListScheduler::ListScheduler() [constructor] |
|
1241 cls.add_constructor([]) |
|
1242 ## list-scheduler.h: void ns3::ListScheduler::Insert(ns3::EventId const & id) [member function] |
|
1243 cls.add_method('Insert', |
|
1244 'void', |
|
1245 [param('ns3::EventId const &', 'id')], |
|
1246 is_virtual=True) |
|
1247 ## list-scheduler.h: bool ns3::ListScheduler::IsEmpty() const [member function] |
|
1248 cls.add_method('IsEmpty', |
|
1249 'bool', |
|
1250 [], |
|
1251 is_const=True, is_virtual=True) |
|
1252 ## list-scheduler.h: ns3::EventId ns3::ListScheduler::PeekNext() const [member function] |
|
1253 cls.add_method('PeekNext', |
|
1254 'ns3::EventId', |
|
1255 [], |
|
1256 is_const=True, is_virtual=True) |
|
1257 ## list-scheduler.h: ns3::EventId ns3::ListScheduler::RemoveNext() [member function] |
|
1258 cls.add_method('RemoveNext', |
|
1259 'ns3::EventId', |
|
1260 [], |
|
1261 is_virtual=True) |
|
1262 ## list-scheduler.h: bool ns3::ListScheduler::Remove(ns3::EventId const & ev) [member function] |
|
1263 cls.add_method('Remove', |
|
1264 'bool', |
|
1265 [param('ns3::EventId const &', 'ev')], |
|
1266 is_virtual=True) |
|
1267 return |
|
1268 |
|
1269 def register_Ns3MapScheduler_methods(root_module, cls): |
|
1270 ## map-scheduler.h: ns3::MapScheduler::MapScheduler(ns3::MapScheduler const & arg0) [copy constructor] |
|
1271 cls.add_constructor([param('ns3::MapScheduler const &', 'arg0')]) |
|
1272 ## map-scheduler.h: ns3::MapScheduler::MapScheduler() [constructor] |
|
1273 cls.add_constructor([]) |
|
1274 ## map-scheduler.h: void ns3::MapScheduler::Insert(ns3::EventId const & id) [member function] |
|
1275 cls.add_method('Insert', |
|
1276 'void', |
|
1277 [param('ns3::EventId const &', 'id')], |
|
1278 is_virtual=True) |
|
1279 ## map-scheduler.h: bool ns3::MapScheduler::IsEmpty() const [member function] |
|
1280 cls.add_method('IsEmpty', |
|
1281 'bool', |
|
1282 [], |
|
1283 is_const=True, is_virtual=True) |
|
1284 ## map-scheduler.h: ns3::EventId ns3::MapScheduler::PeekNext() const [member function] |
|
1285 cls.add_method('PeekNext', |
|
1286 'ns3::EventId', |
|
1287 [], |
|
1288 is_const=True, is_virtual=True) |
|
1289 ## map-scheduler.h: ns3::EventId ns3::MapScheduler::RemoveNext() [member function] |
|
1290 cls.add_method('RemoveNext', |
|
1291 'ns3::EventId', |
|
1292 [], |
|
1293 is_virtual=True) |
|
1294 ## map-scheduler.h: bool ns3::MapScheduler::Remove(ns3::EventId const & ev) [member function] |
|
1295 cls.add_method('Remove', |
|
1296 'bool', |
|
1297 [param('ns3::EventId const &', 'ev')], |
|
1298 is_virtual=True) |
|
1299 return |
|
1300 |
|
1301 def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls): |
|
1302 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl(ns3::RealtimeSimulatorImpl const & arg0) [copy constructor] |
|
1303 cls.add_constructor([param('ns3::RealtimeSimulatorImpl const &', 'arg0')]) |
|
1304 ## realtime-simulator-impl.h: static ns3::TypeId ns3::RealtimeSimulatorImpl::GetTypeId() [member function] |
|
1305 cls.add_method('GetTypeId', |
|
1306 'ns3::TypeId', |
|
1307 [], |
|
1308 is_static=True) |
|
1309 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl() [constructor] |
|
1310 cls.add_constructor([]) |
|
1311 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Destroy() [member function] |
|
1312 cls.add_method('Destroy', |
|
1313 'void', |
|
1314 [], |
|
1315 is_virtual=True) |
|
1316 ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsFinished() const [member function] |
|
1317 cls.add_method('IsFinished', |
|
1318 'bool', |
|
1319 [], |
|
1320 is_const=True, is_virtual=True) |
|
1321 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Next() const [member function] |
|
1322 cls.add_method('Next', |
|
1323 'ns3::Time', |
|
1324 [], |
|
1325 is_const=True, is_virtual=True) |
|
1326 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop() [member function] |
|
1327 cls.add_method('Stop', |
|
1328 'void', |
|
1329 [], |
|
1330 is_virtual=True) |
|
1331 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop(ns3::Time const & time) [member function] |
|
1332 cls.add_method('Stop', |
|
1333 'void', |
|
1334 [param('ns3::Time const &', 'time')], |
|
1335 is_virtual=True) |
|
1336 ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::Schedule(ns3::Time const & time, ns3::Ptr<ns3::EventImpl> const & event) [member function] |
|
1337 cls.add_method('Schedule', |
|
1338 'ns3::EventId', |
|
1339 [param('ns3::Time const &', 'time'), param('ns3::Ptr< ns3::EventImpl > const &', 'event')], |
|
1340 is_virtual=True) |
|
1341 ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleNow(ns3::Ptr<ns3::EventImpl> const & event) [member function] |
|
1342 cls.add_method('ScheduleNow', |
|
1343 'ns3::EventId', |
|
1344 [param('ns3::Ptr< ns3::EventImpl > const &', 'event')], |
|
1345 is_virtual=True) |
|
1346 ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleDestroy(ns3::Ptr<ns3::EventImpl> const & event) [member function] |
|
1347 cls.add_method('ScheduleDestroy', |
|
1348 'ns3::EventId', |
|
1349 [param('ns3::Ptr< ns3::EventImpl > const &', 'event')], |
|
1350 is_virtual=True) |
|
1351 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Remove(ns3::EventId const & ev) [member function] |
|
1352 cls.add_method('Remove', |
|
1353 'void', |
|
1354 [param('ns3::EventId const &', 'ev')], |
|
1355 is_virtual=True) |
|
1356 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] |
|
1357 cls.add_method('Cancel', |
|
1358 'void', |
|
1359 [param('ns3::EventId const &', 'ev')], |
|
1360 is_virtual=True) |
|
1361 ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] |
|
1362 cls.add_method('IsExpired', |
|
1363 'bool', |
|
1364 [param('ns3::EventId const &', 'ev')], |
|
1365 is_const=True, is_virtual=True) |
|
1366 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::RunOneEvent() [member function] |
|
1367 cls.add_method('RunOneEvent', |
|
1368 'void', |
|
1369 [], |
|
1370 is_virtual=True) |
|
1371 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Run() [member function] |
|
1372 cls.add_method('Run', |
|
1373 'void', |
|
1374 [], |
|
1375 is_virtual=True) |
|
1376 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Now() const [member function] |
|
1377 cls.add_method('Now', |
|
1378 'ns3::Time', |
|
1379 [], |
|
1380 is_const=True, is_virtual=True) |
|
1381 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] |
|
1382 cls.add_method('GetDelayLeft', |
|
1383 'ns3::Time', |
|
1384 [param('ns3::EventId const &', 'id')], |
|
1385 is_const=True, is_virtual=True) |
|
1386 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetMaximumSimulationTime() const [member function] |
|
1387 cls.add_method('GetMaximumSimulationTime', |
|
1388 'ns3::Time', |
|
1389 [], |
|
1390 is_const=True, is_virtual=True) |
|
1391 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function] |
|
1392 cls.add_method('SetScheduler', |
|
1393 'void', |
|
1394 [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')], |
|
1395 is_virtual=True) |
|
1396 ## realtime-simulator-impl.h: ns3::Ptr<ns3::Scheduler> ns3::RealtimeSimulatorImpl::GetScheduler() const [member function] |
|
1397 cls.add_method('GetScheduler', |
|
1398 'ns3::Ptr< ns3::Scheduler >', |
|
1399 [], |
|
1400 is_const=True, is_virtual=True) |
|
1401 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetSynchronizationMode(ns3::RealtimeSimulatorImpl::SynchronizationMode mode) [member function] |
|
1402 cls.add_method('SetSynchronizationMode', |
|
1403 'void', |
|
1404 [param('ns3::RealtimeSimulatorImpl::SynchronizationMode', 'mode')]) |
|
1405 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode ns3::RealtimeSimulatorImpl::GetSynchronizationMode() const [member function] |
|
1406 cls.add_method('GetSynchronizationMode', |
|
1407 'ns3::RealtimeSimulatorImpl::SynchronizationMode', |
|
1408 [], |
|
1409 is_const=True) |
|
1410 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetHardLimit(ns3::Time limit) [member function] |
|
1411 cls.add_method('SetHardLimit', |
|
1412 'void', |
|
1413 [param('ns3::Time', 'limit')]) |
|
1414 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetHardLimit() const [member function] |
|
1415 cls.add_method('GetHardLimit', |
|
1416 'ns3::Time', |
|
1417 [], |
|
1418 is_const=True) |
1324 return |
1419 return |
1325 |
1420 |
1326 def register_functions(root_module): |
1421 def register_functions(root_module): |
1327 module = root_module |
1422 module = root_module |
1328 ## high-precision.h: extern ns3::HighPrecision ns3::Max(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function] |
1423 ## high-precision.h: extern ns3::HighPrecision ns3::Max(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function] |