1 from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
3 def register_types(module):
4 root_module = module.get_root()
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 ## high-precision-128.h: ns3::HighPrecision [class]
11 module.add_class('HighPrecision')
12 ## simulator.h: ns3::Simulator [class]
13 module.add_class('Simulator', is_singleton=True)
14 ## nstime.h: ns3::TimeUnit<-1> [class]
15 module.add_class('TimeInvert')
16 ## nstime.h: ns3::TimeUnit<0> [class]
17 module.add_class('Scalar')
18 ## nstime.h: ns3::TimeUnit<1> [class]
19 module.add_class('Time')
20 ## nstime.h: ns3::TimeUnit<2> [class]
21 module.add_class('TimeSquare')
22 ## timer.h: ns3::Timer [class]
23 module.add_class('Timer')
24 ## timer.h: ns3::Timer::DestroyPolicy [enumeration]
25 module.add_enum('DestroyPolicy', ['CANCEL_ON_DESTROY', 'REMOVE_ON_DESTROY', 'CHECK_ON_DESTROY'], outer_class=root_module['ns3::Timer'])
26 ## timer.h: ns3::Timer::State [enumeration]
27 module.add_enum('State', ['RUNNING', 'EXPIRED', 'SUSPENDED'], outer_class=root_module['ns3::Timer'])
28 ## timer-impl.h: ns3::TimerImpl [class]
29 module.add_class('TimerImpl', allow_subclassing=True)
30 ## watchdog.h: ns3::Watchdog [class]
31 module.add_class('Watchdog')
32 ## scheduler.h: ns3::Scheduler [class]
33 module.add_class('Scheduler', parent=root_module['ns3::Object'])
34 ## scheduler.h: ns3::Scheduler::Event [struct]
35 module.add_class('Event', outer_class=root_module['ns3::Scheduler'])
36 ## scheduler.h: ns3::Scheduler::EventKey [struct]
37 module.add_class('EventKey', outer_class=root_module['ns3::Scheduler'])
38 ## simulator-impl.h: ns3::SimulatorImpl [class]
39 module.add_class('SimulatorImpl', parent=root_module['ns3::Object'])
40 ## synchronizer.h: ns3::Synchronizer [class]
41 module.add_class('Synchronizer', parent=root_module['ns3::Object'])
42 ## nstime.h: ns3::TimeChecker [class]
43 module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker'])
44 ## nstime.h: ns3::TimeValue [class]
45 module.add_class('TimeValue', parent=root_module['ns3::AttributeValue'])
46 ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer [class]
47 module.add_class('WallClockSynchronizer', parent=root_module['ns3::Synchronizer'])
48 ## calendar-scheduler.h: ns3::CalendarScheduler [class]
49 module.add_class('CalendarScheduler', parent=root_module['ns3::Scheduler'])
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'])
58 ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler [class]
59 module.add_class('Ns2CalendarScheduler', parent=root_module['ns3::Scheduler'])
60 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl [class]
61 module.add_class('RealtimeSimulatorImpl', parent=root_module['ns3::SimulatorImpl'])
62 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode [enumeration]
63 module.add_enum('SynchronizationMode', ['SYNC_BEST_EFFORT', 'SYNC_HARD_LIMIT'], outer_class=root_module['ns3::RealtimeSimulatorImpl'])
64 typehandlers.add_type_alias('ns3::TimeUnit< 2 >', 'ns3::TimeSquare')
65 typehandlers.add_type_alias('ns3::TimeUnit< - 1 >', 'ns3::TimeInvert')
66 typehandlers.add_type_alias('ns3::TimeUnit< 0 >', 'ns3::Scalar')
67 typehandlers.add_type_alias('ns3::TimeUnit< 1 >', 'ns3::Time')
69 ## Register a nested module for the namespace Config
71 nested_module = module.add_cpp_namespace('Config')
72 register_types_ns3_Config(nested_module)
75 ## Register a nested module for the namespace TimeStepPrecision
77 nested_module = module.add_cpp_namespace('TimeStepPrecision')
78 register_types_ns3_TimeStepPrecision(nested_module)
81 ## Register a nested module for the namespace addressUtils
83 nested_module = module.add_cpp_namespace('addressUtils')
84 register_types_ns3_addressUtils(nested_module)
87 ## Register a nested module for the namespace internal
89 nested_module = module.add_cpp_namespace('internal')
90 register_types_ns3_internal(nested_module)
93 ## Register a nested module for the namespace olsr
95 nested_module = module.add_cpp_namespace('olsr')
96 register_types_ns3_olsr(nested_module)
99 def register_types_ns3_Config(module):
100 root_module = module.get_root()
103 def register_types_ns3_TimeStepPrecision(module):
104 root_module = module.get_root()
106 ## nstime.h: ns3::TimeStepPrecision::precision_t [enumeration]
107 module.add_enum('precision_t', ['S', 'MS', 'US', 'NS', 'PS', 'FS'])
109 def register_types_ns3_addressUtils(module):
110 root_module = module.get_root()
113 def register_types_ns3_internal(module):
114 root_module = module.get_root()
117 def register_types_ns3_olsr(module):
118 root_module = module.get_root()
121 def register_methods(root_module):
122 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
123 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
124 register_Ns3HighPrecision_methods(root_module, root_module['ns3::HighPrecision'])
125 register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
126 register_Ns3TimeInvert_methods(root_module, root_module['ns3::TimeInvert'])
127 register_Ns3Scalar_methods(root_module, root_module['ns3::Scalar'])
128 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
129 register_Ns3TimeSquare_methods(root_module, root_module['ns3::TimeSquare'])
130 register_Ns3Timer_methods(root_module, root_module['ns3::Timer'])
131 register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl'])
132 register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog'])
133 register_Ns3Scheduler_methods(root_module, root_module['ns3::Scheduler'])
134 register_Ns3SchedulerEvent_methods(root_module, root_module['ns3::Scheduler::Event'])
135 register_Ns3SchedulerEventKey_methods(root_module, root_module['ns3::Scheduler::EventKey'])
136 register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl'])
137 register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer'])
138 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
139 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
140 register_Ns3WallClockSynchronizer_methods(root_module, root_module['ns3::WallClockSynchronizer'])
141 register_Ns3CalendarScheduler_methods(root_module, root_module['ns3::CalendarScheduler'])
142 register_Ns3DefaultSimulatorImpl_methods(root_module, root_module['ns3::DefaultSimulatorImpl'])
143 register_Ns3HeapScheduler_methods(root_module, root_module['ns3::HeapScheduler'])
144 register_Ns3ListScheduler_methods(root_module, root_module['ns3::ListScheduler'])
145 register_Ns3MapScheduler_methods(root_module, root_module['ns3::MapScheduler'])
146 register_Ns3Ns2CalendarScheduler_methods(root_module, root_module['ns3::Ns2CalendarScheduler'])
147 register_Ns3RealtimeSimulatorImpl_methods(root_module, root_module['ns3::RealtimeSimulatorImpl'])
150 def register_Ns3EventId_methods(root_module, cls):
151 cls.add_binary_comparison_operator('!=')
152 cls.add_binary_comparison_operator('==')
153 ## event-id.h: ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
154 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
155 ## event-id.h: ns3::EventId::EventId() [constructor]
156 cls.add_constructor([])
157 ## event-id.h: ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t uid) [constructor]
158 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'uid')])
159 ## event-id.h: void ns3::EventId::Cancel() [member function]
160 cls.add_method('Cancel',
163 ## event-id.h: uint64_t ns3::EventId::GetTs() const [member function]
164 cls.add_method('GetTs',
168 ## event-id.h: uint32_t ns3::EventId::GetUid() const [member function]
169 cls.add_method('GetUid',
173 ## event-id.h: bool ns3::EventId::IsExpired() const [member function]
174 cls.add_method('IsExpired',
178 ## event-id.h: bool ns3::EventId::IsRunning() const [member function]
179 cls.add_method('IsRunning',
183 ## event-id.h: ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
184 cls.add_method('PeekEventImpl',
190 def register_Ns3EventImpl_methods(root_module, cls):
191 ## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
192 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
193 ## event-impl.h: ns3::EventImpl::EventImpl() [constructor]
194 cls.add_constructor([])
195 ## event-impl.h: void ns3::EventImpl::Ref() const [member function]
196 cls.add_method('Ref',
200 ## event-impl.h: void ns3::EventImpl::Unref() const [member function]
201 cls.add_method('Unref',
205 ## event-impl.h: void ns3::EventImpl::Invoke() [member function]
206 cls.add_method('Invoke',
209 ## event-impl.h: void ns3::EventImpl::Cancel() [member function]
210 cls.add_method('Cancel',
213 ## event-impl.h: bool ns3::EventImpl::IsCancelled() [member function]
214 cls.add_method('IsCancelled',
217 ## event-impl.h: void ns3::EventImpl::Notify() [member function]
218 cls.add_method('Notify',
221 is_pure_virtual=True, visibility='protected', is_virtual=True)
224 def register_Ns3HighPrecision_methods(root_module, cls):
225 ## high-precision-128.h: ns3::HighPrecision::HighPrecision(ns3::HighPrecision const & arg0) [copy constructor]
226 cls.add_constructor([param('ns3::HighPrecision const &', 'arg0')])
227 ## high-precision-128.h: ns3::HighPrecision::HighPrecision() [constructor]
228 cls.add_constructor([])
229 ## high-precision-128.h: ns3::HighPrecision::HighPrecision(int64_t value, bool dummy) [constructor]
230 cls.add_constructor([param('int64_t', 'value'), param('bool', 'dummy')])
231 ## high-precision-128.h: ns3::HighPrecision::HighPrecision(double value) [constructor]
232 cls.add_constructor([param('double', 'value')])
233 ## high-precision-128.h: static void ns3::HighPrecision::PrintStats() [member function]
234 cls.add_method('PrintStats',
238 ## high-precision-128.h: int64_t ns3::HighPrecision::GetInteger() const [member function]
239 cls.add_method('GetInteger',
243 ## high-precision-128.h: double ns3::HighPrecision::GetDouble() const [member function]
244 cls.add_method('GetDouble',
248 ## high-precision-128.h: bool ns3::HighPrecision::Add(ns3::HighPrecision const & o) [member function]
249 cls.add_method('Add',
251 [param('ns3::HighPrecision const &', 'o')])
252 ## high-precision-128.h: bool ns3::HighPrecision::Sub(ns3::HighPrecision const & o) [member function]
253 cls.add_method('Sub',
255 [param('ns3::HighPrecision const &', 'o')])
256 ## high-precision-128.h: bool ns3::HighPrecision::Mul(ns3::HighPrecision const & o) [member function]
257 cls.add_method('Mul',
259 [param('ns3::HighPrecision const &', 'o')])
260 ## high-precision-128.h: bool ns3::HighPrecision::Div(ns3::HighPrecision const & o) [member function]
261 cls.add_method('Div',
263 [param('ns3::HighPrecision const &', 'o')])
264 ## high-precision-128.h: int ns3::HighPrecision::Compare(ns3::HighPrecision const & o) const [member function]
265 cls.add_method('Compare',
267 [param('ns3::HighPrecision const &', 'o')],
269 ## high-precision-128.h: static ns3::HighPrecision ns3::HighPrecision::Zero() [member function]
270 cls.add_method('Zero',
271 'ns3::HighPrecision',
276 def register_Ns3Simulator_methods(root_module, cls):
277 ## simulator.h: ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor]
278 cls.add_constructor([param('ns3::Simulator const &', 'arg0')])
279 ## simulator.h: static void ns3::Simulator::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function]
280 cls.add_method('SetImplementation',
282 [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')],
284 ## simulator.h: static ns3::Ptr<ns3::SimulatorImpl> ns3::Simulator::GetImplementation() [member function]
285 cls.add_method('GetImplementation',
286 'ns3::Ptr< ns3::SimulatorImpl >',
289 ## simulator.h: static void ns3::Simulator::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
290 cls.add_method('SetScheduler',
292 [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')],
294 ## simulator.h: static void ns3::Simulator::Destroy() [member function]
295 cls.add_method('Destroy',
299 ## simulator.h: static bool ns3::Simulator::IsFinished() [member function]
300 cls.add_method('IsFinished',
304 ## simulator.h: static ns3::Time ns3::Simulator::Next() [member function]
305 cls.add_method('Next',
309 ## simulator.h: static void ns3::Simulator::RunOneEvent() [member function]
310 cls.add_method('RunOneEvent',
314 ## simulator.h: static void ns3::Simulator::Stop() [member function]
315 cls.add_method('Stop',
319 ## simulator.h: static void ns3::Simulator::Stop(ns3::Time const & time) [member function]
320 cls.add_method('Stop',
322 [param('ns3::Time const &', 'time')],
324 ## simulator.h: static void ns3::Simulator::Remove(ns3::EventId const & id) [member function]
325 cls.add_method('Remove',
327 [param('ns3::EventId const &', 'id')],
329 ## simulator.h: static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function]
330 cls.add_method('Cancel',
332 [param('ns3::EventId const &', 'id')],
334 ## simulator.h: static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function]
335 cls.add_method('IsExpired',
337 [param('ns3::EventId const &', 'id')],
339 ## simulator.h: static ns3::Time ns3::Simulator::Now() [member function]
340 cls.add_method('Now',
344 ## simulator.h: static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function]
345 cls.add_method('GetDelayLeft',
347 [param('ns3::EventId const &', 'id')],
349 ## simulator.h: static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function]
350 cls.add_method('GetMaximumSimulationTime',
356 def register_Ns3TimeInvert_methods(root_module, cls):
357 ## nstime.h: ns3::TimeUnit<-1>::TimeUnit() [constructor]
358 cls.add_constructor([])
359 ## nstime.h: ns3::TimeUnit<-1>::TimeUnit(ns3::TimeUnit<-1> const & o) [copy constructor]
360 cls.add_constructor([param('ns3::TimeUnit< - 1 > const &', 'o')])
361 ## nstime.h: ns3::TimeUnit<-1>::TimeUnit(ns3::HighPrecision data) [constructor]
362 cls.add_constructor([param('ns3::HighPrecision', 'data')])
363 ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<-1>::GetHighPrecision() const [member function]
364 cls.add_method('GetHighPrecision',
365 'ns3::HighPrecision const &',
368 ## nstime.h: bool ns3::TimeUnit<-1>::IsNegative() const [member function]
369 cls.add_method('IsNegative',
373 ## nstime.h: bool ns3::TimeUnit<-1>::IsPositive() const [member function]
374 cls.add_method('IsPositive',
378 ## nstime.h: bool ns3::TimeUnit<-1>::IsStrictlyNegative() const [member function]
379 cls.add_method('IsStrictlyNegative',
383 ## nstime.h: bool ns3::TimeUnit<-1>::IsStrictlyPositive() const [member function]
384 cls.add_method('IsStrictlyPositive',
388 ## nstime.h: bool ns3::TimeUnit<-1>::IsZero() const [member function]
389 cls.add_method('IsZero',
393 ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<-1>::PeekHighPrecision() [member function]
394 cls.add_method('PeekHighPrecision',
395 'ns3::HighPrecision *',
399 def register_Ns3Scalar_methods(root_module, cls):
400 cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Scalar'], root_module['ns3::Time'])
401 cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::Time'], root_module['ns3::Scalar'])
402 cls.add_binary_numeric_operator('/', root_module['ns3::TimeInvert'], root_module['ns3::Scalar'], root_module['ns3::Time'])
403 ## nstime.h: ns3::TimeUnit<0>::TimeUnit(double scalar) [constructor]
404 cls.add_constructor([param('double', 'scalar')])
405 ## nstime.h: ns3::TimeUnit<0>::TimeUnit() [constructor]
406 cls.add_constructor([])
407 ## nstime.h: ns3::TimeUnit<0>::TimeUnit(ns3::TimeUnit<0> const & o) [copy constructor]
408 cls.add_constructor([param('ns3::TimeUnit< 0 > const &', 'o')])
409 ## nstime.h: ns3::TimeUnit<0>::TimeUnit(ns3::HighPrecision data) [constructor]
410 cls.add_constructor([param('ns3::HighPrecision', 'data')])
411 ## nstime.h: double ns3::TimeUnit<0>::GetDouble() const [member function]
412 cls.add_method('GetDouble',
416 ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<0>::GetHighPrecision() const [member function]
417 cls.add_method('GetHighPrecision',
418 'ns3::HighPrecision const &',
421 ## nstime.h: bool ns3::TimeUnit<0>::IsNegative() const [member function]
422 cls.add_method('IsNegative',
426 ## nstime.h: bool ns3::TimeUnit<0>::IsPositive() const [member function]
427 cls.add_method('IsPositive',
431 ## nstime.h: bool ns3::TimeUnit<0>::IsStrictlyNegative() const [member function]
432 cls.add_method('IsStrictlyNegative',
436 ## nstime.h: bool ns3::TimeUnit<0>::IsStrictlyPositive() const [member function]
437 cls.add_method('IsStrictlyPositive',
441 ## nstime.h: bool ns3::TimeUnit<0>::IsZero() const [member function]
442 cls.add_method('IsZero',
446 ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<0>::PeekHighPrecision() [member function]
447 cls.add_method('PeekHighPrecision',
448 'ns3::HighPrecision *',
452 def register_Ns3Time_methods(root_module, cls):
453 cls.add_binary_comparison_operator('!=')
454 cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Scalar'], root_module['ns3::Time'])
455 cls.add_binary_numeric_operator('*', root_module['ns3::TimeSquare'], root_module['ns3::Time'], root_module['ns3::Time'])
456 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], root_module['ns3::Time'])
457 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], root_module['ns3::Time'])
458 cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::Time'], root_module['ns3::Scalar'])
459 cls.add_binary_numeric_operator('/', root_module['ns3::TimeInvert'], root_module['ns3::Scalar'], root_module['ns3::Time'])
460 cls.add_binary_numeric_operator('/', root_module['ns3::Scalar'], root_module['ns3::Time'], root_module['ns3::Time'])
461 cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::TimeSquare'], root_module['ns3::Time'])
462 cls.add_binary_comparison_operator('<')
463 cls.add_binary_comparison_operator('>')
464 cls.add_output_stream_operator()
465 cls.add_binary_comparison_operator('<=')
466 cls.add_binary_comparison_operator('==')
467 cls.add_binary_comparison_operator('>=')
468 ## nstime.h: ns3::TimeUnit<1>::TimeUnit(std::string const & s) [constructor]
469 cls.add_constructor([param('std::string const &', 's')])
470 ## nstime.h: ns3::TimeUnit<1>::TimeUnit() [constructor]
471 cls.add_constructor([])
472 ## nstime.h: ns3::TimeUnit<1>::TimeUnit(ns3::TimeUnit<1> const & o) [copy constructor]
473 cls.add_constructor([param('ns3::TimeUnit< 1 > const &', 'o')])
474 ## nstime.h: ns3::TimeUnit<1>::TimeUnit(ns3::HighPrecision data) [constructor]
475 cls.add_constructor([param('ns3::HighPrecision', 'data')])
476 ## nstime.h: int64_t ns3::TimeUnit<1>::GetFemtoSeconds() const [member function]
477 cls.add_method('GetFemtoSeconds',
481 ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<1>::GetHighPrecision() const [member function]
482 cls.add_method('GetHighPrecision',
483 'ns3::HighPrecision const &',
486 ## nstime.h: int64_t ns3::TimeUnit<1>::GetMicroSeconds() const [member function]
487 cls.add_method('GetMicroSeconds',
491 ## nstime.h: int64_t ns3::TimeUnit<1>::GetMilliSeconds() const [member function]
492 cls.add_method('GetMilliSeconds',
496 ## nstime.h: int64_t ns3::TimeUnit<1>::GetNanoSeconds() const [member function]
497 cls.add_method('GetNanoSeconds',
501 ## nstime.h: int64_t ns3::TimeUnit<1>::GetPicoSeconds() const [member function]
502 cls.add_method('GetPicoSeconds',
506 ## nstime.h: double ns3::TimeUnit<1>::GetSeconds() const [member function]
507 cls.add_method('GetSeconds',
511 ## nstime.h: int64_t ns3::TimeUnit<1>::GetTimeStep() const [member function]
512 cls.add_method('GetTimeStep',
516 ## nstime.h: bool ns3::TimeUnit<1>::IsNegative() const [member function]
517 cls.add_method('IsNegative',
521 ## nstime.h: bool ns3::TimeUnit<1>::IsPositive() const [member function]
522 cls.add_method('IsPositive',
526 ## nstime.h: bool ns3::TimeUnit<1>::IsStrictlyNegative() const [member function]
527 cls.add_method('IsStrictlyNegative',
531 ## nstime.h: bool ns3::TimeUnit<1>::IsStrictlyPositive() const [member function]
532 cls.add_method('IsStrictlyPositive',
536 ## nstime.h: bool ns3::TimeUnit<1>::IsZero() const [member function]
537 cls.add_method('IsZero',
541 ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<1>::PeekHighPrecision() [member function]
542 cls.add_method('PeekHighPrecision',
543 'ns3::HighPrecision *',
545 ## nstime.h: static uint64_t ns3::TimeUnit<1>::UnitsToTimestep(uint64_t unitValue, uint64_t unitFactor) [member function]
546 cls.add_method('UnitsToTimestep',
548 [param('uint64_t', 'unitValue'), param('uint64_t', 'unitFactor')],
552 def register_Ns3TimeSquare_methods(root_module, cls):
553 cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::TimeSquare'], root_module['ns3::Time'])
554 ## nstime.h: ns3::TimeUnit<2>::TimeUnit() [constructor]
555 cls.add_constructor([])
556 ## nstime.h: ns3::TimeUnit<2>::TimeUnit(ns3::TimeUnit<2> const & o) [copy constructor]
557 cls.add_constructor([param('ns3::TimeUnit< 2 > const &', 'o')])
558 ## nstime.h: ns3::TimeUnit<2>::TimeUnit(ns3::HighPrecision data) [constructor]
559 cls.add_constructor([param('ns3::HighPrecision', 'data')])
560 ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<2>::GetHighPrecision() const [member function]
561 cls.add_method('GetHighPrecision',
562 'ns3::HighPrecision const &',
565 ## nstime.h: bool ns3::TimeUnit<2>::IsNegative() const [member function]
566 cls.add_method('IsNegative',
570 ## nstime.h: bool ns3::TimeUnit<2>::IsPositive() const [member function]
571 cls.add_method('IsPositive',
575 ## nstime.h: bool ns3::TimeUnit<2>::IsStrictlyNegative() const [member function]
576 cls.add_method('IsStrictlyNegative',
580 ## nstime.h: bool ns3::TimeUnit<2>::IsStrictlyPositive() const [member function]
581 cls.add_method('IsStrictlyPositive',
585 ## nstime.h: bool ns3::TimeUnit<2>::IsZero() const [member function]
586 cls.add_method('IsZero',
590 ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<2>::PeekHighPrecision() [member function]
591 cls.add_method('PeekHighPrecision',
592 'ns3::HighPrecision *',
596 def register_Ns3Timer_methods(root_module, cls):
597 ## timer.h: ns3::Timer::Timer(ns3::Timer const & arg0) [copy constructor]
598 cls.add_constructor([param('ns3::Timer const &', 'arg0')])
599 ## timer.h: ns3::Timer::Timer() [constructor]
600 cls.add_constructor([])
601 ## timer.h: ns3::Timer::Timer(ns3::Timer::DestroyPolicy destroyPolicy) [constructor]
602 cls.add_constructor([param('ns3::Timer::DestroyPolicy', 'destroyPolicy')])
603 ## timer.h: void ns3::Timer::SetDelay(ns3::Time const & delay) [member function]
604 cls.add_method('SetDelay',
606 [param('ns3::Time const &', 'delay')])
607 ## timer.h: ns3::Time ns3::Timer::GetDelay() const [member function]
608 cls.add_method('GetDelay',
612 ## timer.h: ns3::Time ns3::Timer::GetDelayLeft() const [member function]
613 cls.add_method('GetDelayLeft',
617 ## timer.h: void ns3::Timer::Cancel() [member function]
618 cls.add_method('Cancel',
621 ## timer.h: void ns3::Timer::Remove() [member function]
622 cls.add_method('Remove',
625 ## timer.h: bool ns3::Timer::IsExpired() const [member function]
626 cls.add_method('IsExpired',
630 ## timer.h: bool ns3::Timer::IsRunning() const [member function]
631 cls.add_method('IsRunning',
635 ## timer.h: bool ns3::Timer::IsSuspended() const [member function]
636 cls.add_method('IsSuspended',
640 ## timer.h: ns3::Timer::State ns3::Timer::GetState() const [member function]
641 cls.add_method('GetState',
645 ## timer.h: void ns3::Timer::Schedule() [member function]
646 cls.add_method('Schedule',
649 ## timer.h: void ns3::Timer::Schedule(ns3::Time delay) [member function]
650 cls.add_method('Schedule',
652 [param('ns3::Time', 'delay')])
653 ## timer.h: void ns3::Timer::Suspend() [member function]
654 cls.add_method('Suspend',
657 ## timer.h: void ns3::Timer::Resume() [member function]
658 cls.add_method('Resume',
663 def register_Ns3TimerImpl_methods(root_module, cls):
664 ## timer-impl.h: ns3::TimerImpl::TimerImpl(ns3::TimerImpl const & arg0) [copy constructor]
665 cls.add_constructor([param('ns3::TimerImpl const &', 'arg0')])
666 ## timer-impl.h: ns3::TimerImpl::TimerImpl() [constructor]
667 cls.add_constructor([])
668 ## timer-impl.h: ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function]
669 cls.add_method('Schedule',
671 [param('ns3::Time const &', 'delay')],
672 is_pure_virtual=True, is_virtual=True)
673 ## timer-impl.h: void ns3::TimerImpl::Invoke() [member function]
674 cls.add_method('Invoke',
677 is_pure_virtual=True, is_virtual=True)
680 def register_Ns3Watchdog_methods(root_module, cls):
681 ## watchdog.h: ns3::Watchdog::Watchdog(ns3::Watchdog const & arg0) [copy constructor]
682 cls.add_constructor([param('ns3::Watchdog const &', 'arg0')])
683 ## watchdog.h: ns3::Watchdog::Watchdog() [constructor]
684 cls.add_constructor([])
685 ## watchdog.h: void ns3::Watchdog::Ping(ns3::Time delay) [member function]
686 cls.add_method('Ping',
688 [param('ns3::Time', 'delay')])
691 def register_Ns3Scheduler_methods(root_module, cls):
692 ## scheduler.h: ns3::Scheduler::Scheduler(ns3::Scheduler const & arg0) [copy constructor]
693 cls.add_constructor([param('ns3::Scheduler const &', 'arg0')])
694 ## scheduler.h: ns3::Scheduler::Scheduler() [constructor]
695 cls.add_constructor([])
696 ## scheduler.h: static ns3::TypeId ns3::Scheduler::GetTypeId() [member function]
697 cls.add_method('GetTypeId',
701 ## scheduler.h: void ns3::Scheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
702 cls.add_method('Insert',
704 [param('ns3::Scheduler::Event const &', 'ev')],
705 is_pure_virtual=True, is_virtual=True)
706 ## scheduler.h: bool ns3::Scheduler::IsEmpty() const [member function]
707 cls.add_method('IsEmpty',
710 is_pure_virtual=True, is_const=True, is_virtual=True)
711 ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::PeekNext() const [member function]
712 cls.add_method('PeekNext',
713 'ns3::Scheduler::Event',
715 is_pure_virtual=True, is_const=True, is_virtual=True)
716 ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::RemoveNext() [member function]
717 cls.add_method('RemoveNext',
718 'ns3::Scheduler::Event',
720 is_pure_virtual=True, is_virtual=True)
721 ## scheduler.h: void ns3::Scheduler::Remove(ns3::Scheduler::Event const & ev) [member function]
722 cls.add_method('Remove',
724 [param('ns3::Scheduler::Event const &', 'ev')],
725 is_pure_virtual=True, is_virtual=True)
728 def register_Ns3SchedulerEvent_methods(root_module, cls):
729 cls.add_binary_comparison_operator('<')
730 ## scheduler.h: ns3::Scheduler::Event::Event() [constructor]
731 cls.add_constructor([])
732 ## scheduler.h: ns3::Scheduler::Event::Event(ns3::Scheduler::Event const & arg0) [copy constructor]
733 cls.add_constructor([param('ns3::Scheduler::Event const &', 'arg0')])
734 ## scheduler.h: ns3::Scheduler::Event::impl [variable]
735 cls.add_instance_attribute('impl', 'ns3::EventImpl *', is_const=False)
736 ## scheduler.h: ns3::Scheduler::Event::key [variable]
737 cls.add_instance_attribute('key', 'ns3::Scheduler::EventKey', is_const=False)
740 def register_Ns3SchedulerEventKey_methods(root_module, cls):
741 cls.add_binary_comparison_operator('!=')
742 cls.add_binary_comparison_operator('<')
743 cls.add_binary_comparison_operator('>')
744 ## scheduler.h: ns3::Scheduler::EventKey::EventKey() [constructor]
745 cls.add_constructor([])
746 ## scheduler.h: ns3::Scheduler::EventKey::EventKey(ns3::Scheduler::EventKey const & arg0) [copy constructor]
747 cls.add_constructor([param('ns3::Scheduler::EventKey const &', 'arg0')])
748 ## scheduler.h: ns3::Scheduler::EventKey::m_ts [variable]
749 cls.add_instance_attribute('m_ts', 'uint64_t', is_const=False)
750 ## scheduler.h: ns3::Scheduler::EventKey::m_uid [variable]
751 cls.add_instance_attribute('m_uid', 'uint32_t', is_const=False)
754 def register_Ns3SimulatorImpl_methods(root_module, cls):
755 ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl(ns3::SimulatorImpl const & arg0) [copy constructor]
756 cls.add_constructor([param('ns3::SimulatorImpl const &', 'arg0')])
757 ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl() [constructor]
758 cls.add_constructor([])
759 ## simulator-impl.h: void ns3::SimulatorImpl::Destroy() [member function]
760 cls.add_method('Destroy',
763 is_pure_virtual=True, is_virtual=True)
764 ## simulator-impl.h: bool ns3::SimulatorImpl::IsFinished() const [member function]
765 cls.add_method('IsFinished',
768 is_pure_virtual=True, is_const=True, is_virtual=True)
769 ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Next() const [member function]
770 cls.add_method('Next',
773 is_pure_virtual=True, is_const=True, is_virtual=True)
774 ## simulator-impl.h: void ns3::SimulatorImpl::Stop() [member function]
775 cls.add_method('Stop',
778 is_pure_virtual=True, is_virtual=True)
779 ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function]
780 cls.add_method('Schedule',
782 [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')],
783 is_pure_virtual=True, is_virtual=True)
784 ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function]
785 cls.add_method('ScheduleNow',
787 [param('ns3::EventImpl *', 'event')],
788 is_pure_virtual=True, is_virtual=True)
789 ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function]
790 cls.add_method('ScheduleDestroy',
792 [param('ns3::EventImpl *', 'event')],
793 is_pure_virtual=True, is_virtual=True)
794 ## simulator-impl.h: void ns3::SimulatorImpl::Remove(ns3::EventId const & ev) [member function]
795 cls.add_method('Remove',
797 [param('ns3::EventId const &', 'ev')],
798 is_pure_virtual=True, is_virtual=True)
799 ## simulator-impl.h: void ns3::SimulatorImpl::Cancel(ns3::EventId const & ev) [member function]
800 cls.add_method('Cancel',
802 [param('ns3::EventId const &', 'ev')],
803 is_pure_virtual=True, is_virtual=True)
804 ## simulator-impl.h: bool ns3::SimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function]
805 cls.add_method('IsExpired',
807 [param('ns3::EventId const &', 'ev')],
808 is_pure_virtual=True, is_const=True, is_virtual=True)
809 ## simulator-impl.h: void ns3::SimulatorImpl::Run() [member function]
810 cls.add_method('Run',
813 is_pure_virtual=True, is_virtual=True)
814 ## simulator-impl.h: void ns3::SimulatorImpl::RunOneEvent() [member function]
815 cls.add_method('RunOneEvent',
818 is_pure_virtual=True, is_virtual=True)
819 ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Now() const [member function]
820 cls.add_method('Now',
823 is_pure_virtual=True, is_const=True, is_virtual=True)
824 ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function]
825 cls.add_method('GetDelayLeft',
827 [param('ns3::EventId const &', 'id')],
828 is_pure_virtual=True, is_const=True, is_virtual=True)
829 ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetMaximumSimulationTime() const [member function]
830 cls.add_method('GetMaximumSimulationTime',
833 is_pure_virtual=True, is_const=True, is_virtual=True)
834 ## simulator-impl.h: void ns3::SimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
835 cls.add_method('SetScheduler',
837 [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')],
838 is_pure_virtual=True, is_virtual=True)
841 def register_Ns3Synchronizer_methods(root_module, cls):
842 ## synchronizer.h: ns3::Synchronizer::Synchronizer(ns3::Synchronizer const & arg0) [copy constructor]
843 cls.add_constructor([param('ns3::Synchronizer const &', 'arg0')])
844 ## synchronizer.h: static ns3::TypeId ns3::Synchronizer::GetTypeId() [member function]
845 cls.add_method('GetTypeId',
849 ## synchronizer.h: ns3::Synchronizer::Synchronizer() [constructor]
850 cls.add_constructor([])
851 ## synchronizer.h: bool ns3::Synchronizer::Realtime() [member function]
852 cls.add_method('Realtime',
855 ## synchronizer.h: uint64_t ns3::Synchronizer::GetCurrentRealtime() [member function]
856 cls.add_method('GetCurrentRealtime',
859 ## synchronizer.h: void ns3::Synchronizer::SetOrigin(uint64_t ts) [member function]
860 cls.add_method('SetOrigin',
862 [param('uint64_t', 'ts')])
863 ## synchronizer.h: uint64_t ns3::Synchronizer::GetOrigin() [member function]
864 cls.add_method('GetOrigin',
867 ## synchronizer.h: int64_t ns3::Synchronizer::GetDrift(uint64_t ts) [member function]
868 cls.add_method('GetDrift',
870 [param('uint64_t', 'ts')])
871 ## synchronizer.h: bool ns3::Synchronizer::Synchronize(uint64_t tsCurrent, uint64_t tsDelay) [member function]
872 cls.add_method('Synchronize',
874 [param('uint64_t', 'tsCurrent'), param('uint64_t', 'tsDelay')])
875 ## synchronizer.h: void ns3::Synchronizer::Signal() [member function]
876 cls.add_method('Signal',
879 ## synchronizer.h: void ns3::Synchronizer::SetCondition(bool arg0) [member function]
880 cls.add_method('SetCondition',
882 [param('bool', 'arg0')])
883 ## synchronizer.h: void ns3::Synchronizer::EventStart() [member function]
884 cls.add_method('EventStart',
887 ## synchronizer.h: uint64_t ns3::Synchronizer::EventEnd() [member function]
888 cls.add_method('EventEnd',
891 ## synchronizer.h: void ns3::Synchronizer::DoSetOrigin(uint64_t ns) [member function]
892 cls.add_method('DoSetOrigin',
894 [param('uint64_t', 'ns')],
895 is_pure_virtual=True, visibility='protected', is_virtual=True)
896 ## synchronizer.h: bool ns3::Synchronizer::DoRealtime() [member function]
897 cls.add_method('DoRealtime',
900 is_pure_virtual=True, visibility='protected', is_virtual=True)
901 ## synchronizer.h: uint64_t ns3::Synchronizer::DoGetCurrentRealtime() [member function]
902 cls.add_method('DoGetCurrentRealtime',
905 is_pure_virtual=True, visibility='protected', is_virtual=True)
906 ## synchronizer.h: bool ns3::Synchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function]
907 cls.add_method('DoSynchronize',
909 [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')],
910 is_pure_virtual=True, visibility='protected', is_virtual=True)
911 ## synchronizer.h: void ns3::Synchronizer::DoSignal() [member function]
912 cls.add_method('DoSignal',
915 is_pure_virtual=True, visibility='protected', is_virtual=True)
916 ## synchronizer.h: void ns3::Synchronizer::DoSetCondition(bool arg0) [member function]
917 cls.add_method('DoSetCondition',
919 [param('bool', 'arg0')],
920 is_pure_virtual=True, visibility='protected', is_virtual=True)
921 ## synchronizer.h: int64_t ns3::Synchronizer::DoGetDrift(uint64_t ns) [member function]
922 cls.add_method('DoGetDrift',
924 [param('uint64_t', 'ns')],
925 is_pure_virtual=True, visibility='protected', is_virtual=True)
926 ## synchronizer.h: void ns3::Synchronizer::DoEventStart() [member function]
927 cls.add_method('DoEventStart',
930 is_pure_virtual=True, visibility='protected', is_virtual=True)
931 ## synchronizer.h: uint64_t ns3::Synchronizer::DoEventEnd() [member function]
932 cls.add_method('DoEventEnd',
935 is_pure_virtual=True, visibility='protected', is_virtual=True)
938 def register_Ns3TimeChecker_methods(root_module, cls):
939 ## nstime.h: ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
940 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
941 ## nstime.h: ns3::TimeChecker::TimeChecker() [constructor]
942 cls.add_constructor([])
945 def register_Ns3TimeValue_methods(root_module, cls):
946 ## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
947 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
948 ## nstime.h: ns3::TimeValue::TimeValue() [constructor]
949 cls.add_constructor([])
950 ## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
951 cls.add_constructor([param('ns3::Time const &', 'value')])
952 ## nstime.h: void ns3::TimeValue::Set(ns3::Time const & value) [member function]
953 cls.add_method('Set',
955 [param('ns3::Time const &', 'value')])
956 ## nstime.h: ns3::Time ns3::TimeValue::Get() const [member function]
957 cls.add_method('Get',
961 ## nstime.h: ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
962 cls.add_method('Copy',
963 'ns3::Ptr< ns3::AttributeValue >',
965 is_const=True, is_virtual=True)
966 ## nstime.h: std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
967 cls.add_method('SerializeToString',
969 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
970 is_const=True, is_virtual=True)
971 ## nstime.h: bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
972 cls.add_method('DeserializeFromString',
974 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
978 def register_Ns3WallClockSynchronizer_methods(root_module, cls):
979 ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_NS [variable]
980 cls.add_static_attribute('US_PER_NS', 'uint64_t const', is_const=True)
981 ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_SEC [variable]
982 cls.add_static_attribute('US_PER_SEC', 'uint64_t const', is_const=True)
983 ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::NS_PER_SEC [variable]
984 cls.add_static_attribute('NS_PER_SEC', 'uint64_t const', is_const=True)
985 ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer(ns3::WallClockSynchronizer const & arg0) [copy constructor]
986 cls.add_constructor([param('ns3::WallClockSynchronizer const &', 'arg0')])
987 ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer() [constructor]
988 cls.add_constructor([])
989 ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoRealtime() [member function]
990 cls.add_method('DoRealtime',
993 visibility='protected', is_virtual=True)
994 ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoGetCurrentRealtime() [member function]
995 cls.add_method('DoGetCurrentRealtime',
998 visibility='protected', is_virtual=True)
999 ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetOrigin(uint64_t ns) [member function]
1000 cls.add_method('DoSetOrigin',
1002 [param('uint64_t', 'ns')],
1003 visibility='protected', is_virtual=True)
1004 ## wall-clock-synchronizer.h: int64_t ns3::WallClockSynchronizer::DoGetDrift(uint64_t ns) [member function]
1005 cls.add_method('DoGetDrift',
1007 [param('uint64_t', 'ns')],
1008 visibility='protected', is_virtual=True)
1009 ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function]
1010 cls.add_method('DoSynchronize',
1012 [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')],
1013 visibility='protected', is_virtual=True)
1014 ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSignal() [member function]
1015 cls.add_method('DoSignal',
1018 visibility='protected', is_virtual=True)
1019 ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetCondition(bool cond) [member function]
1020 cls.add_method('DoSetCondition',
1022 [param('bool', 'cond')],
1023 visibility='protected', is_virtual=True)
1024 ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoEventStart() [member function]
1025 cls.add_method('DoEventStart',
1028 visibility='protected', is_virtual=True)
1029 ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoEventEnd() [member function]
1030 cls.add_method('DoEventEnd',
1033 visibility='protected', is_virtual=True)
1034 ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SpinWait(uint64_t arg0) [member function]
1035 cls.add_method('SpinWait',
1037 [param('uint64_t', 'arg0')],
1038 visibility='protected')
1039 ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SleepWait(uint64_t arg0) [member function]
1040 cls.add_method('SleepWait',
1042 [param('uint64_t', 'arg0')],
1043 visibility='protected')
1044 ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DriftCorrect(uint64_t nsNow, uint64_t nsDelay) [member function]
1045 cls.add_method('DriftCorrect',
1047 [param('uint64_t', 'nsNow'), param('uint64_t', 'nsDelay')],
1048 visibility='protected')
1049 ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetRealtime() [member function]
1050 cls.add_method('GetRealtime',
1053 visibility='protected')
1054 ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetNormalizedRealtime() [member function]
1055 cls.add_method('GetNormalizedRealtime',
1058 visibility='protected')
1059 ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::NsToTimeval(int64_t ns, timeval * tv) [member function]
1060 cls.add_method('NsToTimeval',
1062 [param('int64_t', 'ns'), param('timeval *', 'tv')],
1063 visibility='protected')
1064 ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::TimevalToNs(timeval * tv) [member function]
1065 cls.add_method('TimevalToNs',
1067 [param('timeval *', 'tv')],
1068 visibility='protected')
1069 ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::TimevalAdd(timeval * tv1, timeval * tv2, timeval * result) [member function]
1070 cls.add_method('TimevalAdd',
1072 [param('timeval *', 'tv1'), param('timeval *', 'tv2'), param('timeval *', 'result')],
1073 visibility='protected')
1076 def register_Ns3CalendarScheduler_methods(root_module, cls):
1077 ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler(ns3::CalendarScheduler const & arg0) [copy constructor]
1078 cls.add_constructor([param('ns3::CalendarScheduler const &', 'arg0')])
1079 ## calendar-scheduler.h: static ns3::TypeId ns3::CalendarScheduler::GetTypeId() [member function]
1080 cls.add_method('GetTypeId',
1084 ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler() [constructor]
1085 cls.add_constructor([])
1086 ## calendar-scheduler.h: void ns3::CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
1087 cls.add_method('Insert',
1089 [param('ns3::Scheduler::Event const &', 'ev')],
1091 ## calendar-scheduler.h: bool ns3::CalendarScheduler::IsEmpty() const [member function]
1092 cls.add_method('IsEmpty',
1095 is_const=True, is_virtual=True)
1096 ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::PeekNext() const [member function]
1097 cls.add_method('PeekNext',
1098 'ns3::Scheduler::Event',
1100 is_const=True, is_virtual=True)
1101 ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::RemoveNext() [member function]
1102 cls.add_method('RemoveNext',
1103 'ns3::Scheduler::Event',
1106 ## calendar-scheduler.h: void ns3::CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function]
1107 cls.add_method('Remove',
1109 [param('ns3::Scheduler::Event const &', 'ev')],
1113 def register_Ns3DefaultSimulatorImpl_methods(root_module, cls):
1114 ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl(ns3::DefaultSimulatorImpl const & arg0) [copy constructor]
1115 cls.add_constructor([param('ns3::DefaultSimulatorImpl const &', 'arg0')])
1116 ## default-simulator-impl.h: static ns3::TypeId ns3::DefaultSimulatorImpl::GetTypeId() [member function]
1117 cls.add_method('GetTypeId',
1121 ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl() [constructor]
1122 cls.add_constructor([])
1123 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Destroy() [member function]
1124 cls.add_method('Destroy',
1128 ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsFinished() const [member function]
1129 cls.add_method('IsFinished',
1132 is_const=True, is_virtual=True)
1133 ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Next() const [member function]
1134 cls.add_method('Next',
1137 is_const=True, is_virtual=True)
1138 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop() [member function]
1139 cls.add_method('Stop',
1143 ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function]
1144 cls.add_method('Schedule',
1146 [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')],
1148 ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function]
1149 cls.add_method('ScheduleNow',
1151 [param('ns3::EventImpl *', 'event')],
1153 ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function]
1154 cls.add_method('ScheduleDestroy',
1156 [param('ns3::EventImpl *', 'event')],
1158 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Remove(ns3::EventId const & ev) [member function]
1159 cls.add_method('Remove',
1161 [param('ns3::EventId const &', 'ev')],
1163 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Cancel(ns3::EventId const & ev) [member function]
1164 cls.add_method('Cancel',
1166 [param('ns3::EventId const &', 'ev')],
1168 ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function]
1169 cls.add_method('IsExpired',
1171 [param('ns3::EventId const &', 'ev')],
1172 is_const=True, is_virtual=True)
1173 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Run() [member function]
1174 cls.add_method('Run',
1178 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::RunOneEvent() [member function]
1179 cls.add_method('RunOneEvent',
1183 ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Now() const [member function]
1184 cls.add_method('Now',
1187 is_const=True, is_virtual=True)
1188 ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function]
1189 cls.add_method('GetDelayLeft',
1191 [param('ns3::EventId const &', 'id')],
1192 is_const=True, is_virtual=True)
1193 ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetMaximumSimulationTime() const [member function]
1194 cls.add_method('GetMaximumSimulationTime',
1197 is_const=True, is_virtual=True)
1198 ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
1199 cls.add_method('SetScheduler',
1201 [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')],
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: static ns3::TypeId ns3::HeapScheduler::GetTypeId() [member function]
1209 cls.add_method('GetTypeId',
1213 ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler() [constructor]
1214 cls.add_constructor([])
1215 ## heap-scheduler.h: void ns3::HeapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
1216 cls.add_method('Insert',
1218 [param('ns3::Scheduler::Event const &', 'ev')],
1220 ## heap-scheduler.h: bool ns3::HeapScheduler::IsEmpty() const [member function]
1221 cls.add_method('IsEmpty',
1224 is_const=True, is_virtual=True)
1225 ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::PeekNext() const [member function]
1226 cls.add_method('PeekNext',
1227 'ns3::Scheduler::Event',
1229 is_const=True, is_virtual=True)
1230 ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::RemoveNext() [member function]
1231 cls.add_method('RemoveNext',
1232 'ns3::Scheduler::Event',
1235 ## heap-scheduler.h: void ns3::HeapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function]
1236 cls.add_method('Remove',
1238 [param('ns3::Scheduler::Event const &', 'ev')],
1242 def register_Ns3ListScheduler_methods(root_module, cls):
1243 ## list-scheduler.h: ns3::ListScheduler::ListScheduler(ns3::ListScheduler const & arg0) [copy constructor]
1244 cls.add_constructor([param('ns3::ListScheduler const &', 'arg0')])
1245 ## list-scheduler.h: static ns3::TypeId ns3::ListScheduler::GetTypeId() [member function]
1246 cls.add_method('GetTypeId',
1250 ## list-scheduler.h: ns3::ListScheduler::ListScheduler() [constructor]
1251 cls.add_constructor([])
1252 ## list-scheduler.h: void ns3::ListScheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
1253 cls.add_method('Insert',
1255 [param('ns3::Scheduler::Event const &', 'ev')],
1257 ## list-scheduler.h: bool ns3::ListScheduler::IsEmpty() const [member function]
1258 cls.add_method('IsEmpty',
1261 is_const=True, is_virtual=True)
1262 ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::PeekNext() const [member function]
1263 cls.add_method('PeekNext',
1264 'ns3::Scheduler::Event',
1266 is_const=True, is_virtual=True)
1267 ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::RemoveNext() [member function]
1268 cls.add_method('RemoveNext',
1269 'ns3::Scheduler::Event',
1272 ## list-scheduler.h: void ns3::ListScheduler::Remove(ns3::Scheduler::Event const & ev) [member function]
1273 cls.add_method('Remove',
1275 [param('ns3::Scheduler::Event const &', 'ev')],
1279 def register_Ns3MapScheduler_methods(root_module, cls):
1280 ## map-scheduler.h: ns3::MapScheduler::MapScheduler(ns3::MapScheduler const & arg0) [copy constructor]
1281 cls.add_constructor([param('ns3::MapScheduler const &', 'arg0')])
1282 ## map-scheduler.h: static ns3::TypeId ns3::MapScheduler::GetTypeId() [member function]
1283 cls.add_method('GetTypeId',
1287 ## map-scheduler.h: ns3::MapScheduler::MapScheduler() [constructor]
1288 cls.add_constructor([])
1289 ## map-scheduler.h: void ns3::MapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
1290 cls.add_method('Insert',
1292 [param('ns3::Scheduler::Event const &', 'ev')],
1294 ## map-scheduler.h: bool ns3::MapScheduler::IsEmpty() const [member function]
1295 cls.add_method('IsEmpty',
1298 is_const=True, is_virtual=True)
1299 ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::PeekNext() const [member function]
1300 cls.add_method('PeekNext',
1301 'ns3::Scheduler::Event',
1303 is_const=True, is_virtual=True)
1304 ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::RemoveNext() [member function]
1305 cls.add_method('RemoveNext',
1306 'ns3::Scheduler::Event',
1309 ## map-scheduler.h: void ns3::MapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function]
1310 cls.add_method('Remove',
1312 [param('ns3::Scheduler::Event const &', 'ev')],
1316 def register_Ns3Ns2CalendarScheduler_methods(root_module, cls):
1317 ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler(ns3::Ns2CalendarScheduler const & arg0) [copy constructor]
1318 cls.add_constructor([param('ns3::Ns2CalendarScheduler const &', 'arg0')])
1319 ## ns2-calendar-scheduler.h: static ns3::TypeId ns3::Ns2CalendarScheduler::GetTypeId() [member function]
1320 cls.add_method('GetTypeId',
1324 ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler() [constructor]
1325 cls.add_constructor([])
1326 ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
1327 cls.add_method('Insert',
1329 [param('ns3::Scheduler::Event const &', 'ev')],
1331 ## ns2-calendar-scheduler.h: bool ns3::Ns2CalendarScheduler::IsEmpty() const [member function]
1332 cls.add_method('IsEmpty',
1335 is_const=True, is_virtual=True)
1336 ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::PeekNext() const [member function]
1337 cls.add_method('PeekNext',
1338 'ns3::Scheduler::Event',
1340 is_const=True, is_virtual=True)
1341 ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::RemoveNext() [member function]
1342 cls.add_method('RemoveNext',
1343 'ns3::Scheduler::Event',
1346 ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function]
1347 cls.add_method('Remove',
1349 [param('ns3::Scheduler::Event const &', 'ev')],
1353 def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls):
1354 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl(ns3::RealtimeSimulatorImpl const & arg0) [copy constructor]
1355 cls.add_constructor([param('ns3::RealtimeSimulatorImpl const &', 'arg0')])
1356 ## realtime-simulator-impl.h: static ns3::TypeId ns3::RealtimeSimulatorImpl::GetTypeId() [member function]
1357 cls.add_method('GetTypeId',
1361 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl() [constructor]
1362 cls.add_constructor([])
1363 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Destroy() [member function]
1364 cls.add_method('Destroy',
1368 ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsFinished() const [member function]
1369 cls.add_method('IsFinished',
1372 is_const=True, is_virtual=True)
1373 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Next() const [member function]
1374 cls.add_method('Next',
1377 is_const=True, is_virtual=True)
1378 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop() [member function]
1379 cls.add_method('Stop',
1383 ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function]
1384 cls.add_method('Schedule',
1386 [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')],
1388 ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function]
1389 cls.add_method('ScheduleNow',
1391 [param('ns3::EventImpl *', 'event')],
1393 ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function]
1394 cls.add_method('ScheduleDestroy',
1396 [param('ns3::EventImpl *', 'event')],
1398 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Remove(ns3::EventId const & ev) [member function]
1399 cls.add_method('Remove',
1401 [param('ns3::EventId const &', 'ev')],
1403 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Cancel(ns3::EventId const & ev) [member function]
1404 cls.add_method('Cancel',
1406 [param('ns3::EventId const &', 'ev')],
1408 ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function]
1409 cls.add_method('IsExpired',
1411 [param('ns3::EventId const &', 'ev')],
1412 is_const=True, is_virtual=True)
1413 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Run() [member function]
1414 cls.add_method('Run',
1418 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::RunOneEvent() [member function]
1419 cls.add_method('RunOneEvent',
1423 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Now() const [member function]
1424 cls.add_method('Now',
1427 is_const=True, is_virtual=True)
1428 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function]
1429 cls.add_method('GetDelayLeft',
1431 [param('ns3::EventId const &', 'id')],
1432 is_const=True, is_virtual=True)
1433 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetMaximumSimulationTime() const [member function]
1434 cls.add_method('GetMaximumSimulationTime',
1437 is_const=True, is_virtual=True)
1438 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
1439 cls.add_method('SetScheduler',
1441 [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')],
1443 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtime(ns3::Time const & time, ns3::EventImpl * event) [member function]
1444 cls.add_method('ScheduleRealtime',
1446 [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')])
1447 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNow(ns3::EventImpl * event) [member function]
1448 cls.add_method('ScheduleRealtimeNow',
1450 [param('ns3::EventImpl *', 'event')])
1451 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::RealtimeNow() const [member function]
1452 cls.add_method('RealtimeNow',
1456 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetSynchronizationMode(ns3::RealtimeSimulatorImpl::SynchronizationMode mode) [member function]
1457 cls.add_method('SetSynchronizationMode',
1459 [param('ns3::RealtimeSimulatorImpl::SynchronizationMode', 'mode')])
1460 ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode ns3::RealtimeSimulatorImpl::GetSynchronizationMode() const [member function]
1461 cls.add_method('GetSynchronizationMode',
1462 'ns3::RealtimeSimulatorImpl::SynchronizationMode',
1465 ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetHardLimit(ns3::Time limit) [member function]
1466 cls.add_method('SetHardLimit',
1468 [param('ns3::Time', 'limit')])
1469 ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetHardLimit() const [member function]
1470 cls.add_method('GetHardLimit',
1476 def register_functions(root_module):
1477 module = root_module
1478 ## high-precision.h: extern ns3::HighPrecision ns3::Abs(ns3::HighPrecision const & value) [free function]
1479 module.add_function('Abs',
1480 'ns3::HighPrecision',
1481 [param('ns3::HighPrecision const &', 'value')])
1482 ## nstime.h: extern ns3::Time ns3::FemtoSeconds(uint64_t fs) [free function]
1483 module.add_function('FemtoSeconds',
1485 [param('uint64_t', 'fs')])
1486 ## make-event.h: extern ns3::EventImpl * ns3::MakeEvent(void (*)( ) * f) [free function]
1487 module.add_function('MakeEvent',
1489 [param('void ( * ) ( ) *', 'f')])
1490 ## nstime.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeTimeChecker() [free function]
1491 module.add_function('MakeTimeChecker',
1492 'ns3::Ptr< ns3::AttributeChecker const >',
1494 ## high-precision.h: extern ns3::HighPrecision ns3::Max(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function]
1495 module.add_function('Max',
1496 'ns3::HighPrecision',
1497 [param('ns3::HighPrecision const &', 'a'), param('ns3::HighPrecision const &', 'b')])
1498 ## nstime.h: extern ns3::Time ns3::MicroSeconds(uint64_t us) [free function]
1499 module.add_function('MicroSeconds',
1501 [param('uint64_t', 'us')])
1502 ## nstime.h: extern ns3::Time ns3::MilliSeconds(uint64_t ms) [free function]
1503 module.add_function('MilliSeconds',
1505 [param('uint64_t', 'ms')])
1506 ## high-precision.h: extern ns3::HighPrecision ns3::Min(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function]
1507 module.add_function('Min',
1508 'ns3::HighPrecision',
1509 [param('ns3::HighPrecision const &', 'a'), param('ns3::HighPrecision const &', 'b')])
1510 ## nstime.h: extern ns3::Time ns3::NanoSeconds(uint64_t ns) [free function]
1511 module.add_function('NanoSeconds',
1513 [param('uint64_t', 'ns')])
1514 ## simulator.h: extern ns3::Time ns3::Now() [free function]
1515 module.add_function('Now',
1518 ## nstime.h: extern ns3::Time ns3::PicoSeconds(uint64_t ps) [free function]
1519 module.add_function('PicoSeconds',
1521 [param('uint64_t', 'ps')])
1522 ## nstime.h: extern ns3::Time ns3::Seconds(double seconds) [free function]
1523 module.add_function('Seconds',
1525 [param('double', 'seconds')])
1526 ## nstime.h: extern ns3::Time ns3::TimeStep(uint64_t ts) [free function]
1527 module.add_function('TimeStep',
1529 [param('uint64_t', 'ts')])
1530 register_functions_ns3_Config(module.get_submodule('Config'), root_module)
1531 register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
1532 register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
1533 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
1534 register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
1537 def register_functions_ns3_Config(module, root_module):
1540 def register_functions_ns3_TimeStepPrecision(module, root_module):
1541 ## nstime.h: extern ns3::TimeStepPrecision::precision_t ns3::TimeStepPrecision::Get() [free function]
1542 module.add_function('Get',
1543 'ns3::TimeStepPrecision::precision_t',
1545 ## nstime.h: extern void ns3::TimeStepPrecision::Set(ns3::TimeStepPrecision::precision_t precision) [free function]
1546 module.add_function('Set',
1548 [param('ns3::TimeStepPrecision::precision_t', 'precision')])
1551 def register_functions_ns3_addressUtils(module, root_module):
1554 def register_functions_ns3_internal(module, root_module):
1557 def register_functions_ns3_olsr(module, root_module):