bindings/python/ns3_module_simulator.py
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sat, 04 Jul 2009 08:15:48 +0200
changeset 4654 2eaebe77d66b
parent 4474 19e2b7ff3482
permissions -rw-r--r--
Added tag ns-3.5 for changeset c975274c9707
tomh@4474
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
gjc@3408
     2
gjc@3408
     3
def register_types(module):
gjc@3408
     4
    root_module = module.get_root()
gjc@3408
     5
    
gjc@3731
     6
    ## event-id.h: ns3::EventId [class]
gjc@3731
     7
    module.add_class('EventId')
gjc@3731
     8
    ## event-impl.h: ns3::EventImpl [class]
gjc@3731
     9
    module.add_class('EventImpl', allow_subclassing=True)
gjc@3731
    10
    ## high-precision-128.h: ns3::HighPrecision [class]
gjc@3731
    11
    module.add_class('HighPrecision')
gjc@3731
    12
    ## simulator.h: ns3::Simulator [class]
gjc@3731
    13
    module.add_class('Simulator', is_singleton=True)
gjc@3731
    14
    ## nstime.h: ns3::TimeUnit<-1> [class]
gjc@3731
    15
    module.add_class('TimeInvert')
gjc@3731
    16
    ## nstime.h: ns3::TimeUnit<0> [class]
gjc@3731
    17
    module.add_class('Scalar')
gjc@3731
    18
    ## nstime.h: ns3::TimeUnit<1> [class]
gjc@3731
    19
    module.add_class('Time')
gjc@3731
    20
    ## nstime.h: ns3::TimeUnit<2> [class]
gjc@3731
    21
    module.add_class('TimeSquare')
gjc@3408
    22
    ## timer.h: ns3::Timer [class]
gjc@3408
    23
    module.add_class('Timer')
gjc@3408
    24
    ## timer.h: ns3::Timer::DestroyPolicy [enumeration]
gjc@3408
    25
    module.add_enum('DestroyPolicy', ['CANCEL_ON_DESTROY', 'REMOVE_ON_DESTROY', 'CHECK_ON_DESTROY'], outer_class=root_module['ns3::Timer'])
gjc@3408
    26
    ## timer.h: ns3::Timer::State [enumeration]
gjc@3408
    27
    module.add_enum('State', ['RUNNING', 'EXPIRED', 'SUSPENDED'], outer_class=root_module['ns3::Timer'])
gjc@3408
    28
    ## timer-impl.h: ns3::TimerImpl [class]
gjc@3408
    29
    module.add_class('TimerImpl', allow_subclassing=True)
gjc@3408
    30
    ## watchdog.h: ns3::Watchdog [class]
gjc@3408
    31
    module.add_class('Watchdog')
gjc@3408
    32
    ## scheduler.h: ns3::Scheduler [class]
gjc@3457
    33
    module.add_class('Scheduler', parent=root_module['ns3::Object'])
mathieu@3813
    34
    ## scheduler.h: ns3::Scheduler::Event [struct]
mathieu@3813
    35
    module.add_class('Event', outer_class=root_module['ns3::Scheduler'])
gjc@3408
    36
    ## scheduler.h: ns3::Scheduler::EventKey [struct]
gjc@3408
    37
    module.add_class('EventKey', outer_class=root_module['ns3::Scheduler'])
gjc@3731
    38
    ## simulator-impl.h: ns3::SimulatorImpl [class]
gjc@3731
    39
    module.add_class('SimulatorImpl', parent=root_module['ns3::Object'])
gjc@3731
    40
    ## synchronizer.h: ns3::Synchronizer [class]
gjc@3731
    41
    module.add_class('Synchronizer', parent=root_module['ns3::Object'])
gjc@3731
    42
    ## nstime.h: ns3::TimeChecker [class]
gjc@3731
    43
    module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker'])
gjc@3408
    44
    ## nstime.h: ns3::TimeValue [class]
gjc@3457
    45
    module.add_class('TimeValue', parent=root_module['ns3::AttributeValue'])
gjc@3731
    46
    ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer [class]
gjc@3731
    47
    module.add_class('WallClockSynchronizer', parent=root_module['ns3::Synchronizer'])
mathieu@4060
    48
    ## calendar-scheduler.h: ns3::CalendarScheduler [class]
mathieu@4060
    49
    module.add_class('CalendarScheduler', parent=root_module['ns3::Scheduler'])
gjc@3731
    50
    ## default-simulator-impl.h: ns3::DefaultSimulatorImpl [class]
gjc@3731
    51
    module.add_class('DefaultSimulatorImpl', parent=root_module['ns3::SimulatorImpl'])
gjc@3731
    52
    ## heap-scheduler.h: ns3::HeapScheduler [class]
gjc@3731
    53
    module.add_class('HeapScheduler', parent=root_module['ns3::Scheduler'])
gjc@3731
    54
    ## list-scheduler.h: ns3::ListScheduler [class]
gjc@3731
    55
    module.add_class('ListScheduler', parent=root_module['ns3::Scheduler'])
gjc@3731
    56
    ## map-scheduler.h: ns3::MapScheduler [class]
gjc@3731
    57
    module.add_class('MapScheduler', parent=root_module['ns3::Scheduler'])
gjc@4204
    58
    ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler [class]
gjc@4204
    59
    module.add_class('Ns2CalendarScheduler', parent=root_module['ns3::Scheduler'])
gjc@3567
    60
    ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl [class]
gjc@3567
    61
    module.add_class('RealtimeSimulatorImpl', parent=root_module['ns3::SimulatorImpl'])
gjc@3567
    62
    ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode [enumeration]
gjc@3567
    63
    module.add_enum('SynchronizationMode', ['SYNC_BEST_EFFORT', 'SYNC_HARD_LIMIT'], outer_class=root_module['ns3::RealtimeSimulatorImpl'])
tomh@4474
    64
    typehandlers.add_type_alias('ns3::TimeUnit< 2 >', 'ns3::TimeSquare')
tomh@4474
    65
    typehandlers.add_type_alias('ns3::TimeUnit< - 1 >', 'ns3::TimeInvert')
tomh@4474
    66
    typehandlers.add_type_alias('ns3::TimeUnit< 0 >', 'ns3::Scalar')
tomh@4474
    67
    typehandlers.add_type_alias('ns3::TimeUnit< 1 >', 'ns3::Time')
gjc@3408
    68
    
gjc@3855
    69
    ## Register a nested module for the namespace Config
gjc@3408
    70
    
gjc@3855
    71
    nested_module = module.add_cpp_namespace('Config')
gjc@3855
    72
    register_types_ns3_Config(nested_module)
gjc@3408
    73
    
gjc@3408
    74
    
gjc@3408
    75
    ## Register a nested module for the namespace TimeStepPrecision
gjc@3408
    76
    
gjc@3408
    77
    nested_module = module.add_cpp_namespace('TimeStepPrecision')
gjc@3408
    78
    register_types_ns3_TimeStepPrecision(nested_module)
gjc@3408
    79
    
gjc@3408
    80
    
tomh@4474
    81
    ## Register a nested module for the namespace addressUtils
tomh@4474
    82
    
tomh@4474
    83
    nested_module = module.add_cpp_namespace('addressUtils')
tomh@4474
    84
    register_types_ns3_addressUtils(nested_module)
tomh@4474
    85
    
tomh@4474
    86
    
gjc@3855
    87
    ## Register a nested module for the namespace internal
gjc@3408
    88
    
gjc@3855
    89
    nested_module = module.add_cpp_namespace('internal')
gjc@3855
    90
    register_types_ns3_internal(nested_module)
gjc@3408
    91
    
gjc@3408
    92
    
gjc@3408
    93
    ## Register a nested module for the namespace olsr
gjc@3408
    94
    
gjc@3408
    95
    nested_module = module.add_cpp_namespace('olsr')
gjc@3408
    96
    register_types_ns3_olsr(nested_module)
gjc@3408
    97
    
gjc@3408
    98
gjc@3855
    99
def register_types_ns3_Config(module):
gjc@3408
   100
    root_module = module.get_root()
gjc@3408
   101
    
gjc@3408
   102
gjc@3408
   103
def register_types_ns3_TimeStepPrecision(module):
gjc@3408
   104
    root_module = module.get_root()
gjc@3408
   105
    
gjc@3408
   106
    ## nstime.h: ns3::TimeStepPrecision::precision_t [enumeration]
gjc@3408
   107
    module.add_enum('precision_t', ['S', 'MS', 'US', 'NS', 'PS', 'FS'])
gjc@3408
   108
tomh@4474
   109
def register_types_ns3_addressUtils(module):
tomh@4474
   110
    root_module = module.get_root()
tomh@4474
   111
    
tomh@4474
   112
gjc@3855
   113
def register_types_ns3_internal(module):
gjc@3408
   114
    root_module = module.get_root()
gjc@3408
   115
    
gjc@3408
   116
gjc@3408
   117
def register_types_ns3_olsr(module):
gjc@3408
   118
    root_module = module.get_root()
gjc@3408
   119
    
gjc@3408
   120
gjc@3408
   121
def register_methods(root_module):
gjc@3731
   122
    register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
gjc@3731
   123
    register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
gjc@3731
   124
    register_Ns3HighPrecision_methods(root_module, root_module['ns3::HighPrecision'])
gjc@3731
   125
    register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
gjc@3731
   126
    register_Ns3TimeInvert_methods(root_module, root_module['ns3::TimeInvert'])
gjc@3731
   127
    register_Ns3Scalar_methods(root_module, root_module['ns3::Scalar'])
gjc@3731
   128
    register_Ns3Time_methods(root_module, root_module['ns3::Time'])
gjc@3731
   129
    register_Ns3TimeSquare_methods(root_module, root_module['ns3::TimeSquare'])
gjc@3408
   130
    register_Ns3Timer_methods(root_module, root_module['ns3::Timer'])
gjc@3408
   131
    register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl'])
gjc@3408
   132
    register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog'])
gjc@3408
   133
    register_Ns3Scheduler_methods(root_module, root_module['ns3::Scheduler'])
mathieu@3813
   134
    register_Ns3SchedulerEvent_methods(root_module, root_module['ns3::Scheduler::Event'])
gjc@3408
   135
    register_Ns3SchedulerEventKey_methods(root_module, root_module['ns3::Scheduler::EventKey'])
gjc@3731
   136
    register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl'])
gjc@3731
   137
    register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer'])
gjc@3731
   138
    register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
gjc@3408
   139
    register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
gjc@3731
   140
    register_Ns3WallClockSynchronizer_methods(root_module, root_module['ns3::WallClockSynchronizer'])
mathieu@4060
   141
    register_Ns3CalendarScheduler_methods(root_module, root_module['ns3::CalendarScheduler'])
gjc@3731
   142
    register_Ns3DefaultSimulatorImpl_methods(root_module, root_module['ns3::DefaultSimulatorImpl'])
gjc@3731
   143
    register_Ns3HeapScheduler_methods(root_module, root_module['ns3::HeapScheduler'])
gjc@3731
   144
    register_Ns3ListScheduler_methods(root_module, root_module['ns3::ListScheduler'])
gjc@3731
   145
    register_Ns3MapScheduler_methods(root_module, root_module['ns3::MapScheduler'])
gjc@4204
   146
    register_Ns3Ns2CalendarScheduler_methods(root_module, root_module['ns3::Ns2CalendarScheduler'])
gjc@3567
   147
    register_Ns3RealtimeSimulatorImpl_methods(root_module, root_module['ns3::RealtimeSimulatorImpl'])
gjc@3408
   148
    return
gjc@3408
   149
gjc@3731
   150
def register_Ns3EventId_methods(root_module, cls):
gjc@3731
   151
    cls.add_binary_comparison_operator('!=')
gjc@3731
   152
    cls.add_binary_comparison_operator('==')
gjc@3731
   153
    ## event-id.h: ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
gjc@3731
   154
    cls.add_constructor([param('ns3::EventId const &', 'arg0')])
gjc@3731
   155
    ## event-id.h: ns3::EventId::EventId() [constructor]
gjc@3468
   156
    cls.add_constructor([])
gjc@3731
   157
    ## event-id.h: ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t uid) [constructor]
gjc@3731
   158
    cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'uid')])
gjc@3731
   159
    ## event-id.h: void ns3::EventId::Cancel() [member function]
gjc@3468
   160
    cls.add_method('Cancel', 
gjc@3468
   161
                   'void', 
gjc@3468
   162
                   [])
gjc@3731
   163
    ## event-id.h: uint64_t ns3::EventId::GetTs() const [member function]
gjc@3731
   164
    cls.add_method('GetTs', 
gjc@3731
   165
                   'uint64_t', 
gjc@3731
   166
                   [], 
gjc@3731
   167
                   is_const=True)
gjc@3731
   168
    ## event-id.h: uint32_t ns3::EventId::GetUid() const [member function]
gjc@3731
   169
    cls.add_method('GetUid', 
gjc@3731
   170
                   'uint32_t', 
gjc@3731
   171
                   [], 
gjc@3731
   172
                   is_const=True)
gjc@3731
   173
    ## event-id.h: bool ns3::EventId::IsExpired() const [member function]
gjc@3468
   174
    cls.add_method('IsExpired', 
gjc@3468
   175
                   'bool', 
gjc@3468
   176
                   [], 
gjc@3468
   177
                   is_const=True)
gjc@3731
   178
    ## event-id.h: bool ns3::EventId::IsRunning() const [member function]
gjc@3468
   179
    cls.add_method('IsRunning', 
gjc@3468
   180
                   'bool', 
gjc@3468
   181
                   [], 
gjc@3468
   182
                   is_const=True)
gjc@3731
   183
    ## event-id.h: ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
gjc@3731
   184
    cls.add_method('PeekEventImpl', 
gjc@3731
   185
                   'ns3::EventImpl *', 
gjc@3468
   186
                   [], 
gjc@3468
   187
                   is_const=True)
gjc@3408
   188
    return
gjc@3408
   189
mathieu@3584
   190
def register_Ns3EventImpl_methods(root_module, cls):
mathieu@4241
   191
    ## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
mathieu@4241
   192
    cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
mathieu@3584
   193
    ## event-impl.h: ns3::EventImpl::EventImpl() [constructor]
mathieu@3584
   194
    cls.add_constructor([])
mathieu@3584
   195
    ## event-impl.h: void ns3::EventImpl::Ref() const [member function]
mathieu@3584
   196
    cls.add_method('Ref', 
mathieu@3584
   197
                   'void', 
mathieu@3584
   198
                   [], 
mathieu@3584
   199
                   is_const=True)
mathieu@3584
   200
    ## event-impl.h: void ns3::EventImpl::Unref() const [member function]
mathieu@3584
   201
    cls.add_method('Unref', 
mathieu@3584
   202
                   'void', 
mathieu@3584
   203
                   [], 
mathieu@3584
   204
                   is_const=True)
mathieu@3584
   205
    ## event-impl.h: void ns3::EventImpl::Invoke() [member function]
mathieu@3584
   206
    cls.add_method('Invoke', 
mathieu@3584
   207
                   'void', 
mathieu@3584
   208
                   [])
mathieu@3584
   209
    ## event-impl.h: void ns3::EventImpl::Cancel() [member function]
mathieu@3584
   210
    cls.add_method('Cancel', 
mathieu@3584
   211
                   'void', 
mathieu@3584
   212
                   [])
mathieu@3584
   213
    ## event-impl.h: bool ns3::EventImpl::IsCancelled() [member function]
mathieu@3584
   214
    cls.add_method('IsCancelled', 
mathieu@3584
   215
                   'bool', 
mathieu@3584
   216
                   [])
mathieu@3584
   217
    ## event-impl.h: void ns3::EventImpl::Notify() [member function]
mathieu@3584
   218
    cls.add_method('Notify', 
mathieu@3584
   219
                   'void', 
mathieu@3584
   220
                   [], 
mathieu@3584
   221
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
mathieu@3584
   222
    return
mathieu@3584
   223
gjc@3731
   224
def register_Ns3HighPrecision_methods(root_module, cls):
gjc@3731
   225
    ## high-precision-128.h: ns3::HighPrecision::HighPrecision(ns3::HighPrecision const & arg0) [copy constructor]
gjc@3731
   226
    cls.add_constructor([param('ns3::HighPrecision const &', 'arg0')])
gjc@3731
   227
    ## high-precision-128.h: ns3::HighPrecision::HighPrecision() [constructor]
gjc@3468
   228
    cls.add_constructor([])
gjc@3731
   229
    ## high-precision-128.h: ns3::HighPrecision::HighPrecision(int64_t value, bool dummy) [constructor]
gjc@3731
   230
    cls.add_constructor([param('int64_t', 'value'), param('bool', 'dummy')])
gjc@3731
   231
    ## high-precision-128.h: ns3::HighPrecision::HighPrecision(double value) [constructor]
gjc@3731
   232
    cls.add_constructor([param('double', 'value')])
gjc@3731
   233
    ## high-precision-128.h: static void ns3::HighPrecision::PrintStats() [member function]
gjc@3731
   234
    cls.add_method('PrintStats', 
gjc@3731
   235
                   'void', 
gjc@3731
   236
                   [], 
gjc@3731
   237
                   is_static=True)
gjc@3731
   238
    ## high-precision-128.h: int64_t ns3::HighPrecision::GetInteger() const [member function]
gjc@3731
   239
    cls.add_method('GetInteger', 
gjc@3468
   240
                   'int64_t', 
gjc@3468
   241
                   [], 
gjc@3468
   242
                   is_const=True)
gjc@3731
   243
    ## high-precision-128.h: double ns3::HighPrecision::GetDouble() const [member function]
gjc@3468
   244
    cls.add_method('GetDouble', 
gjc@3468
   245
                   'double', 
gjc@3468
   246
                   [], 
gjc@3468
   247
                   is_const=True)
gjc@3731
   248
    ## high-precision-128.h: bool ns3::HighPrecision::Add(ns3::HighPrecision const & o) [member function]
gjc@3731
   249
    cls.add_method('Add', 
gjc@3731
   250
                   'bool', 
gjc@3731
   251
                   [param('ns3::HighPrecision const &', 'o')])
gjc@3731
   252
    ## high-precision-128.h: bool ns3::HighPrecision::Sub(ns3::HighPrecision const & o) [member function]
gjc@3731
   253
    cls.add_method('Sub', 
gjc@3731
   254
                   'bool', 
gjc@3731
   255
                   [param('ns3::HighPrecision const &', 'o')])
gjc@3731
   256
    ## high-precision-128.h: bool ns3::HighPrecision::Mul(ns3::HighPrecision const & o) [member function]
gjc@3731
   257
    cls.add_method('Mul', 
gjc@3731
   258
                   'bool', 
gjc@3731
   259
                   [param('ns3::HighPrecision const &', 'o')])
gjc@3731
   260
    ## high-precision-128.h: bool ns3::HighPrecision::Div(ns3::HighPrecision const & o) [member function]
gjc@3731
   261
    cls.add_method('Div', 
gjc@3731
   262
                   'bool', 
gjc@3731
   263
                   [param('ns3::HighPrecision const &', 'o')])
gjc@3731
   264
    ## high-precision-128.h: int ns3::HighPrecision::Compare(ns3::HighPrecision const & o) const [member function]
gjc@3731
   265
    cls.add_method('Compare', 
gjc@3731
   266
                   'int', 
gjc@3731
   267
                   [param('ns3::HighPrecision const &', 'o')], 
gjc@3731
   268
                   is_const=True)
gjc@3731
   269
    ## high-precision-128.h: static ns3::HighPrecision ns3::HighPrecision::Zero() [member function]
gjc@3731
   270
    cls.add_method('Zero', 
gjc@3731
   271
                   'ns3::HighPrecision', 
gjc@3468
   272
                   [], 
gjc@3731
   273
                   is_static=True)
gjc@3408
   274
    return
gjc@3408
   275
gjc@3408
   276
def register_Ns3Simulator_methods(root_module, cls):
mathieu@4241
   277
    ## simulator.h: ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor]
mathieu@4241
   278
    cls.add_constructor([param('ns3::Simulator const &', 'arg0')])
gjc@3474
   279
    ## simulator.h: static void ns3::Simulator::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function]
gjc@3480
   280
    cls.add_method('SetImplementation', 
gjc@3480
   281
                   'void', 
gjc@3480
   282
                   [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], 
gjc@3480
   283
                   is_static=True)
mathieu@3816
   284
    ## simulator.h: static ns3::Ptr<ns3::SimulatorImpl> ns3::Simulator::GetImplementation() [member function]
mathieu@3816
   285
    cls.add_method('GetImplementation', 
mathieu@3816
   286
                   'ns3::Ptr< ns3::SimulatorImpl >', 
mathieu@3816
   287
                   [], 
mathieu@3816
   288
                   is_static=True)
gjc@3408
   289
    ## simulator.h: static void ns3::Simulator::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
gjc@3468
   290
    cls.add_method('SetScheduler', 
gjc@3468
   291
                   'void', 
gjc@3468
   292
                   [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')], 
gjc@3468
   293
                   is_static=True)
gjc@3408
   294
    ## simulator.h: static void ns3::Simulator::Destroy() [member function]
gjc@3468
   295
    cls.add_method('Destroy', 
gjc@3468
   296
                   'void', 
gjc@3468
   297
                   [], 
gjc@3468
   298
                   is_static=True)
gjc@3408
   299
    ## simulator.h: static bool ns3::Simulator::IsFinished() [member function]
gjc@3468
   300
    cls.add_method('IsFinished', 
gjc@3468
   301
                   'bool', 
gjc@3468
   302
                   [], 
gjc@3468
   303
                   is_static=True)
gjc@3408
   304
    ## simulator.h: static ns3::Time ns3::Simulator::Next() [member function]
gjc@3468
   305
    cls.add_method('Next', 
gjc@3468
   306
                   'ns3::Time', 
gjc@3468
   307
                   [], 
gjc@3468
   308
                   is_static=True)
gjc@3515
   309
    ## simulator.h: static void ns3::Simulator::RunOneEvent() [member function]
gjc@3515
   310
    cls.add_method('RunOneEvent', 
gjc@3515
   311
                   'void', 
gjc@3515
   312
                   [], 
gjc@3515
   313
                   is_static=True)
gjc@3408
   314
    ## simulator.h: static void ns3::Simulator::Stop() [member function]
gjc@3468
   315
    cls.add_method('Stop', 
gjc@3468
   316
                   'void', 
gjc@3468
   317
                   [], 
gjc@3468
   318
                   is_static=True)
gjc@3408
   319
    ## simulator.h: static void ns3::Simulator::Stop(ns3::Time const & time) [member function]
gjc@3468
   320
    cls.add_method('Stop', 
gjc@3468
   321
                   'void', 
gjc@3574
   322
                   [param('ns3::Time const &', 'time')], 
gjc@3468
   323
                   is_static=True)
gjc@3408
   324
    ## simulator.h: static void ns3::Simulator::Remove(ns3::EventId const & id) [member function]
gjc@3468
   325
    cls.add_method('Remove', 
gjc@3468
   326
                   'void', 
gjc@3574
   327
                   [param('ns3::EventId const &', 'id')], 
gjc@3468
   328
                   is_static=True)
gjc@3408
   329
    ## simulator.h: static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function]
gjc@3468
   330
    cls.add_method('Cancel', 
gjc@3468
   331
                   'void', 
gjc@3574
   332
                   [param('ns3::EventId const &', 'id')], 
gjc@3468
   333
                   is_static=True)
gjc@3408
   334
    ## simulator.h: static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function]
gjc@3468
   335
    cls.add_method('IsExpired', 
gjc@3468
   336
                   'bool', 
gjc@3574
   337
                   [param('ns3::EventId const &', 'id')], 
gjc@3468
   338
                   is_static=True)
gjc@3408
   339
    ## simulator.h: static ns3::Time ns3::Simulator::Now() [member function]
gjc@3468
   340
    cls.add_method('Now', 
gjc@3468
   341
                   'ns3::Time', 
gjc@3468
   342
                   [], 
gjc@3468
   343
                   is_static=True)
gjc@3408
   344
    ## simulator.h: static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function]
gjc@3468
   345
    cls.add_method('GetDelayLeft', 
gjc@3468
   346
                   'ns3::Time', 
gjc@3574
   347
                   [param('ns3::EventId const &', 'id')], 
gjc@3468
   348
                   is_static=True)
gjc@3408
   349
    ## simulator.h: static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function]
gjc@3468
   350
    cls.add_method('GetMaximumSimulationTime', 
gjc@3468
   351
                   'ns3::Time', 
gjc@3468
   352
                   [], 
gjc@3468
   353
                   is_static=True)
gjc@3567
   354
    return
gjc@3567
   355
gjc@3731
   356
def register_Ns3TimeInvert_methods(root_module, cls):
gjc@3731
   357
    ## nstime.h: ns3::TimeUnit<-1>::TimeUnit() [constructor]
gjc@3567
   358
    cls.add_constructor([])
gjc@3731
   359
    ## nstime.h: ns3::TimeUnit<-1>::TimeUnit(ns3::TimeUnit<-1> const & o) [copy constructor]
gjc@3731
   360
    cls.add_constructor([param('ns3::TimeUnit< - 1 > const &', 'o')])
gjc@3731
   361
    ## nstime.h: ns3::TimeUnit<-1>::TimeUnit(ns3::HighPrecision data) [constructor]
gjc@3731
   362
    cls.add_constructor([param('ns3::HighPrecision', 'data')])
gjc@3731
   363
    ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<-1>::GetHighPrecision() const [member function]
gjc@3731
   364
    cls.add_method('GetHighPrecision', 
gjc@3731
   365
                   'ns3::HighPrecision const &', 
gjc@3731
   366
                   [], 
gjc@3731
   367
                   is_const=True)
gjc@3731
   368
    ## nstime.h: bool ns3::TimeUnit<-1>::IsNegative() const [member function]
gjc@3731
   369
    cls.add_method('IsNegative', 
gjc@3731
   370
                   'bool', 
gjc@3731
   371
                   [], 
gjc@3731
   372
                   is_const=True)
gjc@3731
   373
    ## nstime.h: bool ns3::TimeUnit<-1>::IsPositive() const [member function]
gjc@3731
   374
    cls.add_method('IsPositive', 
gjc@3731
   375
                   'bool', 
gjc@3731
   376
                   [], 
gjc@3731
   377
                   is_const=True)
gjc@3731
   378
    ## nstime.h: bool ns3::TimeUnit<-1>::IsStrictlyNegative() const [member function]
gjc@3731
   379
    cls.add_method('IsStrictlyNegative', 
gjc@3731
   380
                   'bool', 
gjc@3731
   381
                   [], 
gjc@3731
   382
                   is_const=True)
gjc@3731
   383
    ## nstime.h: bool ns3::TimeUnit<-1>::IsStrictlyPositive() const [member function]
gjc@3731
   384
    cls.add_method('IsStrictlyPositive', 
gjc@3731
   385
                   'bool', 
gjc@3731
   386
                   [], 
gjc@3731
   387
                   is_const=True)
gjc@3731
   388
    ## nstime.h: bool ns3::TimeUnit<-1>::IsZero() const [member function]
gjc@3731
   389
    cls.add_method('IsZero', 
gjc@3731
   390
                   'bool', 
gjc@3731
   391
                   [], 
gjc@3731
   392
                   is_const=True)
gjc@3731
   393
    ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<-1>::PeekHighPrecision() [member function]
gjc@3731
   394
    cls.add_method('PeekHighPrecision', 
gjc@3731
   395
                   'ns3::HighPrecision *', 
gjc@3731
   396
                   [])
gjc@3731
   397
    return
gjc@3731
   398
gjc@3731
   399
def register_Ns3Scalar_methods(root_module, cls):
gjc@3731
   400
    cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Scalar'], root_module['ns3::Time'])
gjc@3731
   401
    cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::Time'], root_module['ns3::Scalar'])
gjc@3731
   402
    cls.add_binary_numeric_operator('/', root_module['ns3::TimeInvert'], root_module['ns3::Scalar'], root_module['ns3::Time'])
gjc@3731
   403
    ## nstime.h: ns3::TimeUnit<0>::TimeUnit(double scalar) [constructor]
gjc@3731
   404
    cls.add_constructor([param('double', 'scalar')])
gjc@3731
   405
    ## nstime.h: ns3::TimeUnit<0>::TimeUnit() [constructor]
gjc@3731
   406
    cls.add_constructor([])
gjc@3731
   407
    ## nstime.h: ns3::TimeUnit<0>::TimeUnit(ns3::TimeUnit<0> const & o) [copy constructor]
gjc@3731
   408
    cls.add_constructor([param('ns3::TimeUnit< 0 > const &', 'o')])
gjc@3731
   409
    ## nstime.h: ns3::TimeUnit<0>::TimeUnit(ns3::HighPrecision data) [constructor]
gjc@3731
   410
    cls.add_constructor([param('ns3::HighPrecision', 'data')])
gjc@3731
   411
    ## nstime.h: double ns3::TimeUnit<0>::GetDouble() const [member function]
gjc@3731
   412
    cls.add_method('GetDouble', 
gjc@3731
   413
                   'double', 
gjc@3731
   414
                   [], 
gjc@3731
   415
                   is_const=True)
gjc@3731
   416
    ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<0>::GetHighPrecision() const [member function]
gjc@3731
   417
    cls.add_method('GetHighPrecision', 
gjc@3731
   418
                   'ns3::HighPrecision const &', 
gjc@3731
   419
                   [], 
gjc@3731
   420
                   is_const=True)
gjc@3731
   421
    ## nstime.h: bool ns3::TimeUnit<0>::IsNegative() const [member function]
gjc@3731
   422
    cls.add_method('IsNegative', 
gjc@3731
   423
                   'bool', 
gjc@3731
   424
                   [], 
gjc@3731
   425
                   is_const=True)
gjc@3731
   426
    ## nstime.h: bool ns3::TimeUnit<0>::IsPositive() const [member function]
gjc@3731
   427
    cls.add_method('IsPositive', 
gjc@3731
   428
                   'bool', 
gjc@3731
   429
                   [], 
gjc@3731
   430
                   is_const=True)
gjc@3731
   431
    ## nstime.h: bool ns3::TimeUnit<0>::IsStrictlyNegative() const [member function]
gjc@3731
   432
    cls.add_method('IsStrictlyNegative', 
gjc@3731
   433
                   'bool', 
gjc@3731
   434
                   [], 
gjc@3731
   435
                   is_const=True)
gjc@3731
   436
    ## nstime.h: bool ns3::TimeUnit<0>::IsStrictlyPositive() const [member function]
gjc@3731
   437
    cls.add_method('IsStrictlyPositive', 
gjc@3731
   438
                   'bool', 
gjc@3731
   439
                   [], 
gjc@3731
   440
                   is_const=True)
gjc@3731
   441
    ## nstime.h: bool ns3::TimeUnit<0>::IsZero() const [member function]
gjc@3731
   442
    cls.add_method('IsZero', 
gjc@3731
   443
                   'bool', 
gjc@3731
   444
                   [], 
gjc@3731
   445
                   is_const=True)
gjc@3731
   446
    ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<0>::PeekHighPrecision() [member function]
gjc@3731
   447
    cls.add_method('PeekHighPrecision', 
gjc@3731
   448
                   'ns3::HighPrecision *', 
gjc@3731
   449
                   [])
gjc@3731
   450
    return
gjc@3731
   451
gjc@3731
   452
def register_Ns3Time_methods(root_module, cls):
gjc@3731
   453
    cls.add_binary_comparison_operator('!=')
gjc@3731
   454
    cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Scalar'], root_module['ns3::Time'])
gjc@3731
   455
    cls.add_binary_numeric_operator('*', root_module['ns3::TimeSquare'], root_module['ns3::Time'], root_module['ns3::Time'])
gjc@3731
   456
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], root_module['ns3::Time'])
gjc@3731
   457
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], root_module['ns3::Time'])
gjc@3731
   458
    cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::Time'], root_module['ns3::Scalar'])
gjc@3731
   459
    cls.add_binary_numeric_operator('/', root_module['ns3::TimeInvert'], root_module['ns3::Scalar'], root_module['ns3::Time'])
gjc@3731
   460
    cls.add_binary_numeric_operator('/', root_module['ns3::Scalar'], root_module['ns3::Time'], root_module['ns3::Time'])
gjc@3731
   461
    cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::TimeSquare'], root_module['ns3::Time'])
gjc@3731
   462
    cls.add_binary_comparison_operator('<')
gjc@3731
   463
    cls.add_binary_comparison_operator('>')
gjc@3731
   464
    cls.add_output_stream_operator()
gjc@3731
   465
    cls.add_binary_comparison_operator('<=')
gjc@3731
   466
    cls.add_binary_comparison_operator('==')
gjc@3731
   467
    cls.add_binary_comparison_operator('>=')
gjc@3731
   468
    ## nstime.h: ns3::TimeUnit<1>::TimeUnit(std::string const & s) [constructor]
gjc@3731
   469
    cls.add_constructor([param('std::string const &', 's')])
gjc@3731
   470
    ## nstime.h: ns3::TimeUnit<1>::TimeUnit() [constructor]
gjc@3731
   471
    cls.add_constructor([])
gjc@3731
   472
    ## nstime.h: ns3::TimeUnit<1>::TimeUnit(ns3::TimeUnit<1> const & o) [copy constructor]
gjc@3731
   473
    cls.add_constructor([param('ns3::TimeUnit< 1 > const &', 'o')])
gjc@3731
   474
    ## nstime.h: ns3::TimeUnit<1>::TimeUnit(ns3::HighPrecision data) [constructor]
gjc@3731
   475
    cls.add_constructor([param('ns3::HighPrecision', 'data')])
gjc@3731
   476
    ## nstime.h: int64_t ns3::TimeUnit<1>::GetFemtoSeconds() const [member function]
gjc@3731
   477
    cls.add_method('GetFemtoSeconds', 
gjc@3731
   478
                   'int64_t', 
gjc@3731
   479
                   [], 
gjc@3731
   480
                   is_const=True)
gjc@3731
   481
    ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<1>::GetHighPrecision() const [member function]
gjc@3731
   482
    cls.add_method('GetHighPrecision', 
gjc@3731
   483
                   'ns3::HighPrecision const &', 
gjc@3731
   484
                   [], 
gjc@3731
   485
                   is_const=True)
gjc@3731
   486
    ## nstime.h: int64_t ns3::TimeUnit<1>::GetMicroSeconds() const [member function]
gjc@3731
   487
    cls.add_method('GetMicroSeconds', 
gjc@3731
   488
                   'int64_t', 
gjc@3731
   489
                   [], 
gjc@3731
   490
                   is_const=True)
gjc@3731
   491
    ## nstime.h: int64_t ns3::TimeUnit<1>::GetMilliSeconds() const [member function]
gjc@3731
   492
    cls.add_method('GetMilliSeconds', 
gjc@3731
   493
                   'int64_t', 
gjc@3731
   494
                   [], 
gjc@3731
   495
                   is_const=True)
gjc@3731
   496
    ## nstime.h: int64_t ns3::TimeUnit<1>::GetNanoSeconds() const [member function]
gjc@3731
   497
    cls.add_method('GetNanoSeconds', 
gjc@3731
   498
                   'int64_t', 
gjc@3731
   499
                   [], 
gjc@3731
   500
                   is_const=True)
gjc@3731
   501
    ## nstime.h: int64_t ns3::TimeUnit<1>::GetPicoSeconds() const [member function]
gjc@3731
   502
    cls.add_method('GetPicoSeconds', 
gjc@3731
   503
                   'int64_t', 
gjc@3731
   504
                   [], 
gjc@3731
   505
                   is_const=True)
gjc@3731
   506
    ## nstime.h: double ns3::TimeUnit<1>::GetSeconds() const [member function]
gjc@3731
   507
    cls.add_method('GetSeconds', 
gjc@3731
   508
                   'double', 
gjc@3731
   509
                   [], 
gjc@3731
   510
                   is_const=True)
gjc@3731
   511
    ## nstime.h: int64_t ns3::TimeUnit<1>::GetTimeStep() const [member function]
gjc@3731
   512
    cls.add_method('GetTimeStep', 
gjc@3731
   513
                   'int64_t', 
gjc@3731
   514
                   [], 
gjc@3731
   515
                   is_const=True)
gjc@3731
   516
    ## nstime.h: bool ns3::TimeUnit<1>::IsNegative() const [member function]
gjc@3731
   517
    cls.add_method('IsNegative', 
gjc@3731
   518
                   'bool', 
gjc@3731
   519
                   [], 
gjc@3731
   520
                   is_const=True)
gjc@3731
   521
    ## nstime.h: bool ns3::TimeUnit<1>::IsPositive() const [member function]
gjc@3731
   522
    cls.add_method('IsPositive', 
gjc@3731
   523
                   'bool', 
gjc@3731
   524
                   [], 
gjc@3731
   525
                   is_const=True)
gjc@3731
   526
    ## nstime.h: bool ns3::TimeUnit<1>::IsStrictlyNegative() const [member function]
gjc@3731
   527
    cls.add_method('IsStrictlyNegative', 
gjc@3731
   528
                   'bool', 
gjc@3731
   529
                   [], 
gjc@3731
   530
                   is_const=True)
gjc@3731
   531
    ## nstime.h: bool ns3::TimeUnit<1>::IsStrictlyPositive() const [member function]
gjc@3731
   532
    cls.add_method('IsStrictlyPositive', 
gjc@3731
   533
                   'bool', 
gjc@3731
   534
                   [], 
gjc@3731
   535
                   is_const=True)
gjc@3731
   536
    ## nstime.h: bool ns3::TimeUnit<1>::IsZero() const [member function]
gjc@3731
   537
    cls.add_method('IsZero', 
gjc@3731
   538
                   'bool', 
gjc@3731
   539
                   [], 
gjc@3731
   540
                   is_const=True)
gjc@3731
   541
    ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<1>::PeekHighPrecision() [member function]
gjc@3731
   542
    cls.add_method('PeekHighPrecision', 
gjc@3731
   543
                   'ns3::HighPrecision *', 
gjc@3731
   544
                   [])
gjc@3731
   545
    ## nstime.h: static uint64_t ns3::TimeUnit<1>::UnitsToTimestep(uint64_t unitValue, uint64_t unitFactor) [member function]
gjc@3731
   546
    cls.add_method('UnitsToTimestep', 
gjc@3731
   547
                   'uint64_t', 
gjc@3731
   548
                   [param('uint64_t', 'unitValue'), param('uint64_t', 'unitFactor')], 
gjc@3731
   549
                   is_static=True)
gjc@3731
   550
    return
gjc@3731
   551
gjc@3731
   552
def register_Ns3TimeSquare_methods(root_module, cls):
gjc@3731
   553
    cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::TimeSquare'], root_module['ns3::Time'])
gjc@3731
   554
    ## nstime.h: ns3::TimeUnit<2>::TimeUnit() [constructor]
gjc@3731
   555
    cls.add_constructor([])
gjc@3731
   556
    ## nstime.h: ns3::TimeUnit<2>::TimeUnit(ns3::TimeUnit<2> const & o) [copy constructor]
gjc@3731
   557
    cls.add_constructor([param('ns3::TimeUnit< 2 > const &', 'o')])
gjc@3731
   558
    ## nstime.h: ns3::TimeUnit<2>::TimeUnit(ns3::HighPrecision data) [constructor]
gjc@3731
   559
    cls.add_constructor([param('ns3::HighPrecision', 'data')])
gjc@3731
   560
    ## nstime.h: ns3::HighPrecision const & ns3::TimeUnit<2>::GetHighPrecision() const [member function]
gjc@3731
   561
    cls.add_method('GetHighPrecision', 
gjc@3731
   562
                   'ns3::HighPrecision const &', 
gjc@3731
   563
                   [], 
gjc@3731
   564
                   is_const=True)
gjc@3731
   565
    ## nstime.h: bool ns3::TimeUnit<2>::IsNegative() const [member function]
gjc@3731
   566
    cls.add_method('IsNegative', 
gjc@3731
   567
                   'bool', 
gjc@3731
   568
                   [], 
gjc@3731
   569
                   is_const=True)
gjc@3731
   570
    ## nstime.h: bool ns3::TimeUnit<2>::IsPositive() const [member function]
gjc@3731
   571
    cls.add_method('IsPositive', 
gjc@3731
   572
                   'bool', 
gjc@3731
   573
                   [], 
gjc@3731
   574
                   is_const=True)
gjc@3731
   575
    ## nstime.h: bool ns3::TimeUnit<2>::IsStrictlyNegative() const [member function]
gjc@3731
   576
    cls.add_method('IsStrictlyNegative', 
gjc@3731
   577
                   'bool', 
gjc@3731
   578
                   [], 
gjc@3731
   579
                   is_const=True)
gjc@3731
   580
    ## nstime.h: bool ns3::TimeUnit<2>::IsStrictlyPositive() const [member function]
gjc@3731
   581
    cls.add_method('IsStrictlyPositive', 
gjc@3731
   582
                   'bool', 
gjc@3731
   583
                   [], 
gjc@3731
   584
                   is_const=True)
gjc@3731
   585
    ## nstime.h: bool ns3::TimeUnit<2>::IsZero() const [member function]
gjc@3731
   586
    cls.add_method('IsZero', 
gjc@3731
   587
                   'bool', 
gjc@3731
   588
                   [], 
gjc@3731
   589
                   is_const=True)
gjc@3731
   590
    ## nstime.h: ns3::HighPrecision * ns3::TimeUnit<2>::PeekHighPrecision() [member function]
gjc@3731
   591
    cls.add_method('PeekHighPrecision', 
gjc@3731
   592
                   'ns3::HighPrecision *', 
gjc@3731
   593
                   [])
gjc@3731
   594
    return
gjc@3731
   595
gjc@3731
   596
def register_Ns3Timer_methods(root_module, cls):
mathieu@4241
   597
    ## timer.h: ns3::Timer::Timer(ns3::Timer const & arg0) [copy constructor]
mathieu@4241
   598
    cls.add_constructor([param('ns3::Timer const &', 'arg0')])
gjc@3731
   599
    ## timer.h: ns3::Timer::Timer() [constructor]
gjc@3731
   600
    cls.add_constructor([])
gjc@3731
   601
    ## timer.h: ns3::Timer::Timer(ns3::Timer::DestroyPolicy destroyPolicy) [constructor]
gjc@3731
   602
    cls.add_constructor([param('ns3::Timer::DestroyPolicy', 'destroyPolicy')])
gjc@3731
   603
    ## timer.h: void ns3::Timer::SetDelay(ns3::Time const & delay) [member function]
gjc@3731
   604
    cls.add_method('SetDelay', 
gjc@3567
   605
                   'void', 
gjc@3731
   606
                   [param('ns3::Time const &', 'delay')])
gjc@3731
   607
    ## timer.h: ns3::Time ns3::Timer::GetDelay() const [member function]
gjc@3731
   608
    cls.add_method('GetDelay', 
gjc@3731
   609
                   'ns3::Time', 
gjc@3567
   610
                   [], 
gjc@3731
   611
                   is_const=True)
gjc@3731
   612
    ## timer.h: ns3::Time ns3::Timer::GetDelayLeft() const [member function]
gjc@3731
   613
    cls.add_method('GetDelayLeft', 
gjc@3731
   614
                   'ns3::Time', 
gjc@3731
   615
                   [], 
gjc@3731
   616
                   is_const=True)
gjc@3731
   617
    ## timer.h: void ns3::Timer::Cancel() [member function]
gjc@3731
   618
    cls.add_method('Cancel', 
gjc@3731
   619
                   'void', 
gjc@3731
   620
                   [])
gjc@3731
   621
    ## timer.h: void ns3::Timer::Remove() [member function]
gjc@3731
   622
    cls.add_method('Remove', 
gjc@3731
   623
                   'void', 
gjc@3731
   624
                   [])
gjc@3731
   625
    ## timer.h: bool ns3::Timer::IsExpired() const [member function]
gjc@3731
   626
    cls.add_method('IsExpired', 
gjc@3731
   627
                   'bool', 
gjc@3731
   628
                   [], 
gjc@3731
   629
                   is_const=True)
gjc@3731
   630
    ## timer.h: bool ns3::Timer::IsRunning() const [member function]
gjc@3731
   631
    cls.add_method('IsRunning', 
gjc@3731
   632
                   'bool', 
gjc@3731
   633
                   [], 
gjc@3731
   634
                   is_const=True)
gjc@3731
   635
    ## timer.h: bool ns3::Timer::IsSuspended() const [member function]
gjc@3731
   636
    cls.add_method('IsSuspended', 
gjc@3731
   637
                   'bool', 
gjc@3731
   638
                   [], 
gjc@3731
   639
                   is_const=True)
gjc@3731
   640
    ## timer.h: ns3::Timer::State ns3::Timer::GetState() const [member function]
gjc@3731
   641
    cls.add_method('GetState', 
gjc@3731
   642
                   'ns3::Timer::State', 
gjc@3731
   643
                   [], 
gjc@3731
   644
                   is_const=True)
gjc@3731
   645
    ## timer.h: void ns3::Timer::Schedule() [member function]
gjc@3731
   646
    cls.add_method('Schedule', 
gjc@3731
   647
                   'void', 
gjc@3731
   648
                   [])
gjc@3731
   649
    ## timer.h: void ns3::Timer::Schedule(ns3::Time delay) [member function]
gjc@3731
   650
    cls.add_method('Schedule', 
gjc@3731
   651
                   'void', 
gjc@3731
   652
                   [param('ns3::Time', 'delay')])
gjc@3731
   653
    ## timer.h: void ns3::Timer::Suspend() [member function]
gjc@3731
   654
    cls.add_method('Suspend', 
gjc@3731
   655
                   'void', 
gjc@3731
   656
                   [])
gjc@3731
   657
    ## timer.h: void ns3::Timer::Resume() [member function]
gjc@3731
   658
    cls.add_method('Resume', 
gjc@3731
   659
                   'void', 
gjc@3731
   660
                   [])
gjc@3731
   661
    return
gjc@3731
   662
gjc@3731
   663
def register_Ns3TimerImpl_methods(root_module, cls):
mathieu@4241
   664
    ## timer-impl.h: ns3::TimerImpl::TimerImpl(ns3::TimerImpl const & arg0) [copy constructor]
mathieu@4241
   665
    cls.add_constructor([param('ns3::TimerImpl const &', 'arg0')])
mathieu@4241
   666
    ## timer-impl.h: ns3::TimerImpl::TimerImpl() [constructor]
mathieu@4241
   667
    cls.add_constructor([])
gjc@3731
   668
    ## timer-impl.h: ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function]
gjc@3731
   669
    cls.add_method('Schedule', 
gjc@3731
   670
                   'ns3::EventId', 
gjc@3731
   671
                   [param('ns3::Time const &', 'delay')], 
gjc@3567
   672
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
   673
    ## timer-impl.h: void ns3::TimerImpl::Invoke() [member function]
gjc@3731
   674
    cls.add_method('Invoke', 
gjc@3567
   675
                   'void', 
gjc@3567
   676
                   [], 
gjc@3567
   677
                   is_pure_virtual=True, is_virtual=True)
gjc@3408
   678
    return
gjc@3408
   679
gjc@3731
   680
def register_Ns3Watchdog_methods(root_module, cls):
mathieu@4241
   681
    ## watchdog.h: ns3::Watchdog::Watchdog(ns3::Watchdog const & arg0) [copy constructor]
mathieu@4241
   682
    cls.add_constructor([param('ns3::Watchdog const &', 'arg0')])
gjc@3731
   683
    ## watchdog.h: ns3::Watchdog::Watchdog() [constructor]
gjc@3468
   684
    cls.add_constructor([])
gjc@3731
   685
    ## watchdog.h: void ns3::Watchdog::Ping(ns3::Time delay) [member function]
gjc@3731
   686
    cls.add_method('Ping', 
gjc@3468
   687
                   'void', 
gjc@3731
   688
                   [param('ns3::Time', 'delay')])
gjc@3408
   689
    return
gjc@3408
   690
gjc@3408
   691
def register_Ns3Scheduler_methods(root_module, cls):
mathieu@4241
   692
    ## scheduler.h: ns3::Scheduler::Scheduler(ns3::Scheduler const & arg0) [copy constructor]
mathieu@4241
   693
    cls.add_constructor([param('ns3::Scheduler const &', 'arg0')])
mathieu@4241
   694
    ## scheduler.h: ns3::Scheduler::Scheduler() [constructor]
mathieu@4241
   695
    cls.add_constructor([])
gjc@3408
   696
    ## scheduler.h: static ns3::TypeId ns3::Scheduler::GetTypeId() [member function]
gjc@3468
   697
    cls.add_method('GetTypeId', 
gjc@3468
   698
                   'ns3::TypeId', 
gjc@3468
   699
                   [], 
gjc@3468
   700
                   is_static=True)
mathieu@3813
   701
    ## scheduler.h: void ns3::Scheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
gjc@3468
   702
    cls.add_method('Insert', 
gjc@3468
   703
                   'void', 
mathieu@3813
   704
                   [param('ns3::Scheduler::Event const &', 'ev')], 
gjc@3468
   705
                   is_pure_virtual=True, is_virtual=True)
gjc@3408
   706
    ## scheduler.h: bool ns3::Scheduler::IsEmpty() const [member function]
gjc@3468
   707
    cls.add_method('IsEmpty', 
gjc@3468
   708
                   'bool', 
gjc@3468
   709
                   [], 
gjc@3468
   710
                   is_pure_virtual=True, is_const=True, is_virtual=True)
mathieu@3813
   711
    ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::PeekNext() const [member function]
gjc@3468
   712
    cls.add_method('PeekNext', 
mathieu@3813
   713
                   'ns3::Scheduler::Event', 
gjc@3468
   714
                   [], 
gjc@3468
   715
                   is_pure_virtual=True, is_const=True, is_virtual=True)
mathieu@3813
   716
    ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::RemoveNext() [member function]
gjc@3468
   717
    cls.add_method('RemoveNext', 
mathieu@3813
   718
                   'ns3::Scheduler::Event', 
gjc@3468
   719
                   [], 
gjc@3468
   720
                   is_pure_virtual=True, is_virtual=True)
mathieu@3813
   721
    ## scheduler.h: void ns3::Scheduler::Remove(ns3::Scheduler::Event const & ev) [member function]
gjc@3468
   722
    cls.add_method('Remove', 
mathieu@3813
   723
                   'void', 
mathieu@3813
   724
                   [param('ns3::Scheduler::Event const &', 'ev')], 
gjc@3468
   725
                   is_pure_virtual=True, is_virtual=True)
gjc@3408
   726
    return
gjc@3408
   727
mathieu@3813
   728
def register_Ns3SchedulerEvent_methods(root_module, cls):
mathieu@3813
   729
    cls.add_binary_comparison_operator('<')
mathieu@3813
   730
    ## scheduler.h: ns3::Scheduler::Event::Event() [constructor]
mathieu@3813
   731
    cls.add_constructor([])
mathieu@3813
   732
    ## scheduler.h: ns3::Scheduler::Event::Event(ns3::Scheduler::Event const & arg0) [copy constructor]
mathieu@3813
   733
    cls.add_constructor([param('ns3::Scheduler::Event const &', 'arg0')])
mathieu@3813
   734
    ## scheduler.h: ns3::Scheduler::Event::impl [variable]
mathieu@3813
   735
    cls.add_instance_attribute('impl', 'ns3::EventImpl *', is_const=False)
mathieu@3813
   736
    ## scheduler.h: ns3::Scheduler::Event::key [variable]
mathieu@3813
   737
    cls.add_instance_attribute('key', 'ns3::Scheduler::EventKey', is_const=False)
mathieu@3813
   738
    return
mathieu@3813
   739
gjc@3408
   740
def register_Ns3SchedulerEventKey_methods(root_module, cls):
gjc@4204
   741
    cls.add_binary_comparison_operator('!=')
mathieu@3813
   742
    cls.add_binary_comparison_operator('<')
gjc@4204
   743
    cls.add_binary_comparison_operator('>')
mathieu@3813
   744
    ## scheduler.h: ns3::Scheduler::EventKey::EventKey() [constructor]
mathieu@3813
   745
    cls.add_constructor([])
mathieu@3813
   746
    ## scheduler.h: ns3::Scheduler::EventKey::EventKey(ns3::Scheduler::EventKey const & arg0) [copy constructor]
mathieu@3813
   747
    cls.add_constructor([param('ns3::Scheduler::EventKey const &', 'arg0')])
gjc@3408
   748
    ## scheduler.h: ns3::Scheduler::EventKey::m_ts [variable]
gjc@3408
   749
    cls.add_instance_attribute('m_ts', 'uint64_t', is_const=False)
gjc@3408
   750
    ## scheduler.h: ns3::Scheduler::EventKey::m_uid [variable]
gjc@3408
   751
    cls.add_instance_attribute('m_uid', 'uint32_t', is_const=False)
gjc@3408
   752
    return
gjc@3408
   753
gjc@3474
   754
def register_Ns3SimulatorImpl_methods(root_module, cls):
mathieu@4241
   755
    ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl(ns3::SimulatorImpl const & arg0) [copy constructor]
mathieu@4241
   756
    cls.add_constructor([param('ns3::SimulatorImpl const &', 'arg0')])
mathieu@4241
   757
    ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl() [constructor]
mathieu@4241
   758
    cls.add_constructor([])
gjc@3474
   759
    ## simulator-impl.h: void ns3::SimulatorImpl::Destroy() [member function]
gjc@3474
   760
    cls.add_method('Destroy', 
gjc@3474
   761
                   'void', 
gjc@3474
   762
                   [], 
gjc@3474
   763
                   is_pure_virtual=True, is_virtual=True)
gjc@3474
   764
    ## simulator-impl.h: bool ns3::SimulatorImpl::IsFinished() const [member function]
gjc@3474
   765
    cls.add_method('IsFinished', 
gjc@3474
   766
                   'bool', 
gjc@3474
   767
                   [], 
gjc@3474
   768
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3474
   769
    ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Next() const [member function]
gjc@3474
   770
    cls.add_method('Next', 
gjc@3474
   771
                   'ns3::Time', 
gjc@3474
   772
                   [], 
gjc@3474
   773
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3474
   774
    ## simulator-impl.h: void ns3::SimulatorImpl::Stop() [member function]
gjc@3474
   775
    cls.add_method('Stop', 
gjc@3474
   776
                   'void', 
gjc@3474
   777
                   [], 
gjc@3474
   778
                   is_pure_virtual=True, is_virtual=True)
mathieu@3813
   779
    ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function]
gjc@3474
   780
    cls.add_method('Schedule', 
gjc@3474
   781
                   'ns3::EventId', 
mathieu@3813
   782
                   [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], 
gjc@3474
   783
                   is_pure_virtual=True, is_virtual=True)
mathieu@3813
   784
    ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function]
gjc@3474
   785
    cls.add_method('ScheduleNow', 
gjc@3474
   786
                   'ns3::EventId', 
mathieu@3813
   787
                   [param('ns3::EventImpl *', 'event')], 
gjc@3474
   788
                   is_pure_virtual=True, is_virtual=True)
mathieu@3813
   789
    ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function]
gjc@3474
   790
    cls.add_method('ScheduleDestroy', 
gjc@3474
   791
                   'ns3::EventId', 
mathieu@3813
   792
                   [param('ns3::EventImpl *', 'event')], 
gjc@3474
   793
                   is_pure_virtual=True, is_virtual=True)
gjc@3474
   794
    ## simulator-impl.h: void ns3::SimulatorImpl::Remove(ns3::EventId const & ev) [member function]
gjc@3474
   795
    cls.add_method('Remove', 
gjc@3474
   796
                   'void', 
gjc@3574
   797
                   [param('ns3::EventId const &', 'ev')], 
gjc@3474
   798
                   is_pure_virtual=True, is_virtual=True)
gjc@3474
   799
    ## simulator-impl.h: void ns3::SimulatorImpl::Cancel(ns3::EventId const & ev) [member function]
gjc@3474
   800
    cls.add_method('Cancel', 
gjc@3474
   801
                   'void', 
gjc@3574
   802
                   [param('ns3::EventId const &', 'ev')], 
gjc@3474
   803
                   is_pure_virtual=True, is_virtual=True)
gjc@3474
   804
    ## simulator-impl.h: bool ns3::SimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function]
gjc@3474
   805
    cls.add_method('IsExpired', 
gjc@3474
   806
                   'bool', 
gjc@3574
   807
                   [param('ns3::EventId const &', 'ev')], 
gjc@3474
   808
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3474
   809
    ## simulator-impl.h: void ns3::SimulatorImpl::Run() [member function]
gjc@3474
   810
    cls.add_method('Run', 
gjc@3474
   811
                   'void', 
gjc@3474
   812
                   [], 
gjc@3474
   813
                   is_pure_virtual=True, is_virtual=True)
gjc@3515
   814
    ## simulator-impl.h: void ns3::SimulatorImpl::RunOneEvent() [member function]
gjc@3515
   815
    cls.add_method('RunOneEvent', 
gjc@3515
   816
                   'void', 
gjc@3515
   817
                   [], 
gjc@3515
   818
                   is_pure_virtual=True, is_virtual=True)
gjc@3474
   819
    ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Now() const [member function]
gjc@3474
   820
    cls.add_method('Now', 
gjc@3474
   821
                   'ns3::Time', 
gjc@3474
   822
                   [], 
gjc@3474
   823
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3474
   824
    ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function]
gjc@3474
   825
    cls.add_method('GetDelayLeft', 
gjc@3474
   826
                   'ns3::Time', 
gjc@3574
   827
                   [param('ns3::EventId const &', 'id')], 
gjc@3474
   828
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3474
   829
    ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetMaximumSimulationTime() const [member function]
gjc@3474
   830
    cls.add_method('GetMaximumSimulationTime', 
gjc@3474
   831
                   'ns3::Time', 
gjc@3474
   832
                   [], 
gjc@3474
   833
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3474
   834
    ## simulator-impl.h: void ns3::SimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
gjc@3474
   835
    cls.add_method('SetScheduler', 
gjc@3474
   836
                   'void', 
gjc@3474
   837
                   [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')], 
gjc@3474
   838
                   is_pure_virtual=True, is_virtual=True)
gjc@3567
   839
    return
gjc@3567
   840
gjc@3567
   841
def register_Ns3Synchronizer_methods(root_module, cls):
mathieu@4241
   842
    ## synchronizer.h: ns3::Synchronizer::Synchronizer(ns3::Synchronizer const & arg0) [copy constructor]
mathieu@4241
   843
    cls.add_constructor([param('ns3::Synchronizer const &', 'arg0')])
gjc@3567
   844
    ## synchronizer.h: static ns3::TypeId ns3::Synchronizer::GetTypeId() [member function]
gjc@3567
   845
    cls.add_method('GetTypeId', 
gjc@3567
   846
                   'ns3::TypeId', 
gjc@3567
   847
                   [], 
gjc@3567
   848
                   is_static=True)
gjc@3567
   849
    ## synchronizer.h: ns3::Synchronizer::Synchronizer() [constructor]
gjc@3567
   850
    cls.add_constructor([])
gjc@3567
   851
    ## synchronizer.h: bool ns3::Synchronizer::Realtime() [member function]
gjc@3567
   852
    cls.add_method('Realtime', 
gjc@3567
   853
                   'bool', 
gjc@3567
   854
                   [])
gjc@3567
   855
    ## synchronizer.h: uint64_t ns3::Synchronizer::GetCurrentRealtime() [member function]
gjc@3567
   856
    cls.add_method('GetCurrentRealtime', 
gjc@3567
   857
                   'uint64_t', 
gjc@3567
   858
                   [])
gjc@3567
   859
    ## synchronizer.h: void ns3::Synchronizer::SetOrigin(uint64_t ts) [member function]
gjc@3567
   860
    cls.add_method('SetOrigin', 
gjc@3567
   861
                   'void', 
gjc@3567
   862
                   [param('uint64_t', 'ts')])
gjc@3567
   863
    ## synchronizer.h: uint64_t ns3::Synchronizer::GetOrigin() [member function]
gjc@3567
   864
    cls.add_method('GetOrigin', 
gjc@3567
   865
                   'uint64_t', 
gjc@3567
   866
                   [])
gjc@3567
   867
    ## synchronizer.h: int64_t ns3::Synchronizer::GetDrift(uint64_t ts) [member function]
gjc@3567
   868
    cls.add_method('GetDrift', 
gjc@3567
   869
                   'int64_t', 
gjc@3567
   870
                   [param('uint64_t', 'ts')])
gjc@3567
   871
    ## synchronizer.h: bool ns3::Synchronizer::Synchronize(uint64_t tsCurrent, uint64_t tsDelay) [member function]
gjc@3567
   872
    cls.add_method('Synchronize', 
gjc@3567
   873
                   'bool', 
gjc@3567
   874
                   [param('uint64_t', 'tsCurrent'), param('uint64_t', 'tsDelay')])
gjc@3567
   875
    ## synchronizer.h: void ns3::Synchronizer::Signal() [member function]
gjc@3567
   876
    cls.add_method('Signal', 
gjc@3567
   877
                   'void', 
gjc@3567
   878
                   [])
gjc@3567
   879
    ## synchronizer.h: void ns3::Synchronizer::SetCondition(bool arg0) [member function]
gjc@3567
   880
    cls.add_method('SetCondition', 
gjc@3567
   881
                   'void', 
gjc@3567
   882
                   [param('bool', 'arg0')])
gjc@3567
   883
    ## synchronizer.h: void ns3::Synchronizer::EventStart() [member function]
gjc@3567
   884
    cls.add_method('EventStart', 
gjc@3567
   885
                   'void', 
gjc@3567
   886
                   [])
gjc@3567
   887
    ## synchronizer.h: uint64_t ns3::Synchronizer::EventEnd() [member function]
gjc@3567
   888
    cls.add_method('EventEnd', 
gjc@3567
   889
                   'uint64_t', 
gjc@3567
   890
                   [])
gjc@3567
   891
    ## synchronizer.h: void ns3::Synchronizer::DoSetOrigin(uint64_t ns) [member function]
gjc@3567
   892
    cls.add_method('DoSetOrigin', 
gjc@3567
   893
                   'void', 
gjc@3567
   894
                   [param('uint64_t', 'ns')], 
gjc@3567
   895
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
gjc@3567
   896
    ## synchronizer.h: bool ns3::Synchronizer::DoRealtime() [member function]
gjc@3567
   897
    cls.add_method('DoRealtime', 
gjc@3567
   898
                   'bool', 
gjc@3567
   899
                   [], 
gjc@3567
   900
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
gjc@3567
   901
    ## synchronizer.h: uint64_t ns3::Synchronizer::DoGetCurrentRealtime() [member function]
gjc@3567
   902
    cls.add_method('DoGetCurrentRealtime', 
gjc@3567
   903
                   'uint64_t', 
gjc@3567
   904
                   [], 
gjc@3567
   905
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
gjc@3567
   906
    ## synchronizer.h: bool ns3::Synchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function]
gjc@3567
   907
    cls.add_method('DoSynchronize', 
gjc@3567
   908
                   'bool', 
gjc@3567
   909
                   [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], 
gjc@3567
   910
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
gjc@3567
   911
    ## synchronizer.h: void ns3::Synchronizer::DoSignal() [member function]
gjc@3567
   912
    cls.add_method('DoSignal', 
gjc@3567
   913
                   'void', 
gjc@3567
   914
                   [], 
gjc@3567
   915
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
gjc@3567
   916
    ## synchronizer.h: void ns3::Synchronizer::DoSetCondition(bool arg0) [member function]
gjc@3567
   917
    cls.add_method('DoSetCondition', 
gjc@3567
   918
                   'void', 
gjc@3567
   919
                   [param('bool', 'arg0')], 
gjc@3567
   920
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
gjc@3567
   921
    ## synchronizer.h: int64_t ns3::Synchronizer::DoGetDrift(uint64_t ns) [member function]
gjc@3567
   922
    cls.add_method('DoGetDrift', 
gjc@3567
   923
                   'int64_t', 
gjc@3567
   924
                   [param('uint64_t', 'ns')], 
gjc@3567
   925
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
gjc@3567
   926
    ## synchronizer.h: void ns3::Synchronizer::DoEventStart() [member function]
gjc@3567
   927
    cls.add_method('DoEventStart', 
gjc@3567
   928
                   'void', 
gjc@3567
   929
                   [], 
gjc@3567
   930
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
gjc@3567
   931
    ## synchronizer.h: uint64_t ns3::Synchronizer::DoEventEnd() [member function]
gjc@3567
   932
    cls.add_method('DoEventEnd', 
gjc@3567
   933
                   'uint64_t', 
gjc@3567
   934
                   [], 
gjc@3567
   935
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
gjc@3474
   936
    return
gjc@3474
   937
gjc@3731
   938
def register_Ns3TimeChecker_methods(root_module, cls):
mathieu@4241
   939
    ## nstime.h: ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
mathieu@4241
   940
    cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
mathieu@4241
   941
    ## nstime.h: ns3::TimeChecker::TimeChecker() [constructor]
mathieu@3584
   942
    cls.add_constructor([])
gjc@3731
   943
    return
gjc@3731
   944
gjc@3731
   945
def register_Ns3TimeValue_methods(root_module, cls):
mathieu@4241
   946
    ## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
mathieu@4241
   947
    cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
gjc@3731
   948
    ## nstime.h: ns3::TimeValue::TimeValue() [constructor]
gjc@3731
   949
    cls.add_constructor([])
gjc@3731
   950
    ## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
gjc@3731
   951
    cls.add_constructor([param('ns3::Time const &', 'value')])
gjc@3731
   952
    ## nstime.h: void ns3::TimeValue::Set(ns3::Time const & value) [member function]
gjc@3731
   953
    cls.add_method('Set', 
mathieu@3584
   954
                   'void', 
gjc@3731
   955
                   [param('ns3::Time const &', 'value')])
gjc@3731
   956
    ## nstime.h: ns3::Time ns3::TimeValue::Get() const [member function]
gjc@3731
   957
    cls.add_method('Get', 
gjc@3731
   958
                   'ns3::Time', 
gjc@3731
   959
                   [], 
gjc@3731
   960
                   is_const=True)
gjc@3731
   961
    ## nstime.h: ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
gjc@3731
   962
    cls.add_method('Copy', 
gjc@3731
   963
                   'ns3::Ptr< ns3::AttributeValue >', 
mathieu@3584
   964
                   [], 
mathieu@3584
   965
                   is_const=True, is_virtual=True)
gjc@3731
   966
    ## nstime.h: std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
gjc@3731
   967
    cls.add_method('SerializeToString', 
gjc@3731
   968
                   'std::string', 
gjc@3731
   969
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
mathieu@3584
   970
                   is_const=True, is_virtual=True)
gjc@3731
   971
    ## nstime.h: bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
gjc@3731
   972
    cls.add_method('DeserializeFromString', 
mathieu@3584
   973
                   'bool', 
gjc@3731
   974
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
gjc@3468
   975
                   is_virtual=True)
gjc@3567
   976
    return
gjc@3567
   977
gjc@3567
   978
def register_Ns3WallClockSynchronizer_methods(root_module, cls):
gjc@3567
   979
    ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_NS [variable]
gjc@3574
   980
    cls.add_static_attribute('US_PER_NS', 'uint64_t const', is_const=True)
gjc@3567
   981
    ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_SEC [variable]
gjc@3574
   982
    cls.add_static_attribute('US_PER_SEC', 'uint64_t const', is_const=True)
gjc@3567
   983
    ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::NS_PER_SEC [variable]
gjc@3574
   984
    cls.add_static_attribute('NS_PER_SEC', 'uint64_t const', is_const=True)
mathieu@4241
   985
    ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer(ns3::WallClockSynchronizer const & arg0) [copy constructor]
mathieu@4241
   986
    cls.add_constructor([param('ns3::WallClockSynchronizer const &', 'arg0')])
gjc@3567
   987
    ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer() [constructor]
gjc@3567
   988
    cls.add_constructor([])
gjc@3567
   989
    ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoRealtime() [member function]
gjc@3567
   990
    cls.add_method('DoRealtime', 
gjc@3567
   991
                   'bool', 
gjc@3567
   992
                   [], 
gjc@3567
   993
                   visibility='protected', is_virtual=True)
gjc@3567
   994
    ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoGetCurrentRealtime() [member function]
gjc@3567
   995
    cls.add_method('DoGetCurrentRealtime', 
gjc@3567
   996
                   'uint64_t', 
gjc@3567
   997
                   [], 
gjc@3567
   998
                   visibility='protected', is_virtual=True)
gjc@3567
   999
    ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetOrigin(uint64_t ns) [member function]
gjc@3567
  1000
    cls.add_method('DoSetOrigin', 
gjc@3567
  1001
                   'void', 
gjc@3567
  1002
                   [param('uint64_t', 'ns')], 
gjc@3567
  1003
                   visibility='protected', is_virtual=True)
gjc@3567
  1004
    ## wall-clock-synchronizer.h: int64_t ns3::WallClockSynchronizer::DoGetDrift(uint64_t ns) [member function]
gjc@3567
  1005
    cls.add_method('DoGetDrift', 
gjc@3567
  1006
                   'int64_t', 
gjc@3567
  1007
                   [param('uint64_t', 'ns')], 
gjc@3567
  1008
                   visibility='protected', is_virtual=True)
gjc@3567
  1009
    ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function]
gjc@3567
  1010
    cls.add_method('DoSynchronize', 
gjc@3567
  1011
                   'bool', 
gjc@3567
  1012
                   [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], 
gjc@3567
  1013
                   visibility='protected', is_virtual=True)
gjc@3567
  1014
    ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSignal() [member function]
gjc@3567
  1015
    cls.add_method('DoSignal', 
gjc@3567
  1016
                   'void', 
gjc@3567
  1017
                   [], 
gjc@3567
  1018
                   visibility='protected', is_virtual=True)
gjc@3567
  1019
    ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetCondition(bool cond) [member function]
gjc@3567
  1020
    cls.add_method('DoSetCondition', 
gjc@3567
  1021
                   'void', 
gjc@3567
  1022
                   [param('bool', 'cond')], 
gjc@3567
  1023
                   visibility='protected', is_virtual=True)
gjc@3567
  1024
    ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoEventStart() [member function]
gjc@3567
  1025
    cls.add_method('DoEventStart', 
gjc@3567
  1026
                   'void', 
gjc@3567
  1027
                   [], 
gjc@3567
  1028
                   visibility='protected', is_virtual=True)
gjc@3567
  1029
    ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoEventEnd() [member function]
gjc@3567
  1030
    cls.add_method('DoEventEnd', 
gjc@3567
  1031
                   'uint64_t', 
gjc@3567
  1032
                   [], 
gjc@3567
  1033
                   visibility='protected', is_virtual=True)
gjc@3567
  1034
    ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SpinWait(uint64_t arg0) [member function]
gjc@3567
  1035
    cls.add_method('SpinWait', 
gjc@3567
  1036
                   'bool', 
gjc@3567
  1037
                   [param('uint64_t', 'arg0')], 
gjc@3567
  1038
                   visibility='protected')
gjc@3567
  1039
    ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SleepWait(uint64_t arg0) [member function]
gjc@3567
  1040
    cls.add_method('SleepWait', 
gjc@3567
  1041
                   'bool', 
gjc@3567
  1042
                   [param('uint64_t', 'arg0')], 
gjc@3567
  1043
                   visibility='protected')
gjc@3567
  1044
    ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DriftCorrect(uint64_t nsNow, uint64_t nsDelay) [member function]
gjc@3567
  1045
    cls.add_method('DriftCorrect', 
gjc@3567
  1046
                   'uint64_t', 
gjc@3567
  1047
                   [param('uint64_t', 'nsNow'), param('uint64_t', 'nsDelay')], 
gjc@3567
  1048
                   visibility='protected')
gjc@3567
  1049
    ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetRealtime() [member function]
gjc@3567
  1050
    cls.add_method('GetRealtime', 
gjc@3567
  1051
                   'uint64_t', 
gjc@3567
  1052
                   [], 
gjc@3567
  1053
                   visibility='protected')
gjc@3567
  1054
    ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetNormalizedRealtime() [member function]
gjc@3567
  1055
    cls.add_method('GetNormalizedRealtime', 
gjc@3567
  1056
                   'uint64_t', 
gjc@3567
  1057
                   [], 
gjc@3567
  1058
                   visibility='protected')
gjc@3567
  1059
    ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::NsToTimeval(int64_t ns, timeval * tv) [member function]
gjc@3567
  1060
    cls.add_method('NsToTimeval', 
gjc@3567
  1061
                   'void', 
gjc@3567
  1062
                   [param('int64_t', 'ns'), param('timeval *', 'tv')], 
gjc@3567
  1063
                   visibility='protected')
gjc@3567
  1064
    ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::TimevalToNs(timeval * tv) [member function]
gjc@3567
  1065
    cls.add_method('TimevalToNs', 
gjc@3567
  1066
                   'uint64_t', 
gjc@3567
  1067
                   [param('timeval *', 'tv')], 
gjc@3567
  1068
                   visibility='protected')
gjc@3567
  1069
    ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::TimevalAdd(timeval * tv1, timeval * tv2, timeval * result) [member function]
gjc@3567
  1070
    cls.add_method('TimevalAdd', 
gjc@3567
  1071
                   'void', 
gjc@3567
  1072
                   [param('timeval *', 'tv1'), param('timeval *', 'tv2'), param('timeval *', 'result')], 
gjc@3567
  1073
                   visibility='protected')
gjc@3408
  1074
    return
gjc@3408
  1075
mathieu@4060
  1076
def register_Ns3CalendarScheduler_methods(root_module, cls):
mathieu@4241
  1077
    ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler(ns3::CalendarScheduler const & arg0) [copy constructor]
mathieu@4241
  1078
    cls.add_constructor([param('ns3::CalendarScheduler const &', 'arg0')])
mathieu@4060
  1079
    ## calendar-scheduler.h: static ns3::TypeId ns3::CalendarScheduler::GetTypeId() [member function]
mathieu@4060
  1080
    cls.add_method('GetTypeId', 
mathieu@4060
  1081
                   'ns3::TypeId', 
mathieu@4060
  1082
                   [], 
mathieu@4060
  1083
                   is_static=True)
mathieu@4060
  1084
    ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler() [constructor]
mathieu@4060
  1085
    cls.add_constructor([])
mathieu@4060
  1086
    ## calendar-scheduler.h: void ns3::CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
mathieu@4060
  1087
    cls.add_method('Insert', 
mathieu@4060
  1088
                   'void', 
mathieu@4060
  1089
                   [param('ns3::Scheduler::Event const &', 'ev')], 
mathieu@4060
  1090
                   is_virtual=True)
mathieu@4060
  1091
    ## calendar-scheduler.h: bool ns3::CalendarScheduler::IsEmpty() const [member function]
mathieu@4060
  1092
    cls.add_method('IsEmpty', 
mathieu@4060
  1093
                   'bool', 
mathieu@4060
  1094
                   [], 
mathieu@4060
  1095
                   is_const=True, is_virtual=True)
mathieu@4060
  1096
    ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::PeekNext() const [member function]
mathieu@4060
  1097
    cls.add_method('PeekNext', 
mathieu@4060
  1098
                   'ns3::Scheduler::Event', 
mathieu@4060
  1099
                   [], 
mathieu@4060
  1100
                   is_const=True, is_virtual=True)
mathieu@4060
  1101
    ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::RemoveNext() [member function]
mathieu@4060
  1102
    cls.add_method('RemoveNext', 
mathieu@4060
  1103
                   'ns3::Scheduler::Event', 
mathieu@4060
  1104
                   [], 
mathieu@4060
  1105
                   is_virtual=True)
mathieu@4060
  1106
    ## calendar-scheduler.h: void ns3::CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function]
mathieu@4060
  1107
    cls.add_method('Remove', 
mathieu@4060
  1108
                   'void', 
mathieu@4060
  1109
                   [param('ns3::Scheduler::Event const &', 'ev')], 
mathieu@4060
  1110
                   is_virtual=True)
mathieu@4060
  1111
    return
mathieu@4060
  1112
gjc@3731
  1113
def register_Ns3DefaultSimulatorImpl_methods(root_module, cls):
mathieu@4241
  1114
    ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl(ns3::DefaultSimulatorImpl const & arg0) [copy constructor]
mathieu@4241
  1115
    cls.add_constructor([param('ns3::DefaultSimulatorImpl const &', 'arg0')])
gjc@3731
  1116
    ## default-simulator-impl.h: static ns3::TypeId ns3::DefaultSimulatorImpl::GetTypeId() [member function]
gjc@3731
  1117
    cls.add_method('GetTypeId', 
gjc@3731
  1118
                   'ns3::TypeId', 
gjc@3731
  1119
                   [], 
gjc@3731
  1120
                   is_static=True)
gjc@3731
  1121
    ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl() [constructor]
gjc@3731
  1122
    cls.add_constructor([])
gjc@3731
  1123
    ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Destroy() [member function]
gjc@3731
  1124
    cls.add_method('Destroy', 
gjc@3731
  1125
                   'void', 
gjc@3731
  1126
                   [], 
gjc@3731
  1127
                   is_virtual=True)
gjc@3731
  1128
    ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsFinished() const [member function]
gjc@3731
  1129
    cls.add_method('IsFinished', 
gjc@3731
  1130
                   'bool', 
gjc@3731
  1131
                   [], 
gjc@3731
  1132
                   is_const=True, is_virtual=True)
gjc@3731
  1133
    ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Next() const [member function]
gjc@3731
  1134
    cls.add_method('Next', 
gjc@3731
  1135
                   'ns3::Time', 
gjc@3731
  1136
                   [], 
gjc@3731
  1137
                   is_const=True, is_virtual=True)
gjc@3731
  1138
    ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop() [member function]
gjc@3731
  1139
    cls.add_method('Stop', 
gjc@3731
  1140
                   'void', 
gjc@3731
  1141
                   [], 
gjc@3731
  1142
                   is_virtual=True)
mathieu@3813
  1143
    ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function]
gjc@3731
  1144
    cls.add_method('Schedule', 
gjc@3731
  1145
                   'ns3::EventId', 
mathieu@3813
  1146
                   [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], 
gjc@3731
  1147
                   is_virtual=True)
mathieu@3813
  1148
    ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function]
gjc@3731
  1149
    cls.add_method('ScheduleNow', 
gjc@3731
  1150
                   'ns3::EventId', 
mathieu@3813
  1151
                   [param('ns3::EventImpl *', 'event')], 
gjc@3731
  1152
                   is_virtual=True)
mathieu@3813
  1153
    ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function]
gjc@3731
  1154
    cls.add_method('ScheduleDestroy', 
gjc@3731
  1155
                   'ns3::EventId', 
mathieu@3813
  1156
                   [param('ns3::EventImpl *', 'event')], 
gjc@3731
  1157
                   is_virtual=True)
gjc@3731
  1158
    ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Remove(ns3::EventId const & ev) [member function]
gjc@3731
  1159
    cls.add_method('Remove', 
gjc@3731
  1160
                   'void', 
gjc@3731
  1161
                   [param('ns3::EventId const &', 'ev')], 
gjc@3731
  1162
                   is_virtual=True)
gjc@3731
  1163
    ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Cancel(ns3::EventId const & ev) [member function]
gjc@3731
  1164
    cls.add_method('Cancel', 
gjc@3731
  1165
                   'void', 
gjc@3731
  1166
                   [param('ns3::EventId const &', 'ev')], 
gjc@3731
  1167
                   is_virtual=True)
gjc@3731
  1168
    ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function]
gjc@3731
  1169
    cls.add_method('IsExpired', 
gjc@3731
  1170
                   'bool', 
gjc@3731
  1171
                   [param('ns3::EventId const &', 'ev')], 
gjc@3731
  1172
                   is_const=True, is_virtual=True)
gjc@3731
  1173
    ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Run() [member function]
gjc@3731
  1174
    cls.add_method('Run', 
gjc@3731
  1175
                   'void', 
gjc@3731
  1176
                   [], 
gjc@3731
  1177
                   is_virtual=True)
gjc@3731
  1178
    ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::RunOneEvent() [member function]
gjc@3731
  1179
    cls.add_method('RunOneEvent', 
gjc@3731
  1180
                   'void', 
gjc@3731
  1181
                   [], 
gjc@3731
  1182
                   is_virtual=True)
gjc@3731
  1183
    ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Now() const [member function]
gjc@3731
  1184
    cls.add_method('Now', 
gjc@3731
  1185
                   'ns3::Time', 
gjc@3731
  1186
                   [], 
gjc@3731
  1187
                   is_const=True, is_virtual=True)
gjc@3731
  1188
    ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function]
gjc@3731
  1189
    cls.add_method('GetDelayLeft', 
gjc@3731
  1190
                   'ns3::Time', 
gjc@3731
  1191
                   [param('ns3::EventId const &', 'id')], 
gjc@3731
  1192
                   is_const=True, is_virtual=True)
gjc@3731
  1193
    ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetMaximumSimulationTime() const [member function]
gjc@3731
  1194
    cls.add_method('GetMaximumSimulationTime', 
gjc@3731
  1195
                   'ns3::Time', 
gjc@3731
  1196
                   [], 
gjc@3731
  1197
                   is_const=True, is_virtual=True)
gjc@3731
  1198
    ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
gjc@3731
  1199
    cls.add_method('SetScheduler', 
gjc@3731
  1200
                   'void', 
gjc@3731
  1201
                   [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')], 
gjc@3731
  1202
                   is_virtual=True)
gjc@3731
  1203
    return
gjc@3731
  1204
gjc@3731
  1205
def register_Ns3HeapScheduler_methods(root_module, cls):
mathieu@4241
  1206
    ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler(ns3::HeapScheduler const & arg0) [copy constructor]
mathieu@4241
  1207
    cls.add_constructor([param('ns3::HeapScheduler const &', 'arg0')])
mathieu@4060
  1208
    ## heap-scheduler.h: static ns3::TypeId ns3::HeapScheduler::GetTypeId() [member function]
mathieu@4060
  1209
    cls.add_method('GetTypeId', 
mathieu@4060
  1210
                   'ns3::TypeId', 
mathieu@4060
  1211
                   [], 
mathieu@4060
  1212
                   is_static=True)
gjc@3731
  1213
    ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler() [constructor]
gjc@3731
  1214
    cls.add_constructor([])
mathieu@3813
  1215
    ## heap-scheduler.h: void ns3::HeapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
gjc@3731
  1216
    cls.add_method('Insert', 
gjc@3731
  1217
                   'void', 
mathieu@3813
  1218
                   [param('ns3::Scheduler::Event const &', 'ev')], 
gjc@3731
  1219
                   is_virtual=True)
gjc@3731
  1220
    ## heap-scheduler.h: bool ns3::HeapScheduler::IsEmpty() const [member function]
gjc@3731
  1221
    cls.add_method('IsEmpty', 
gjc@3731
  1222
                   'bool', 
gjc@3731
  1223
                   [], 
gjc@3731
  1224
                   is_const=True, is_virtual=True)
mathieu@3813
  1225
    ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::PeekNext() const [member function]
gjc@3731
  1226
    cls.add_method('PeekNext', 
mathieu@3813
  1227
                   'ns3::Scheduler::Event', 
gjc@3731
  1228
                   [], 
gjc@3731
  1229
                   is_const=True, is_virtual=True)
mathieu@3813
  1230
    ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::RemoveNext() [member function]
gjc@3731
  1231
    cls.add_method('RemoveNext', 
mathieu@3813
  1232
                   'ns3::Scheduler::Event', 
gjc@3731
  1233
                   [], 
gjc@3731
  1234
                   is_virtual=True)
mathieu@3813
  1235
    ## heap-scheduler.h: void ns3::HeapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function]
gjc@3731
  1236
    cls.add_method('Remove', 
mathieu@3813
  1237
                   'void', 
mathieu@3813
  1238
                   [param('ns3::Scheduler::Event const &', 'ev')], 
gjc@3731
  1239
                   is_virtual=True)
gjc@3731
  1240
    return
gjc@3731
  1241
gjc@3731
  1242
def register_Ns3ListScheduler_methods(root_module, cls):
mathieu@4241
  1243
    ## list-scheduler.h: ns3::ListScheduler::ListScheduler(ns3::ListScheduler const & arg0) [copy constructor]
mathieu@4241
  1244
    cls.add_constructor([param('ns3::ListScheduler const &', 'arg0')])
mathieu@4060
  1245
    ## list-scheduler.h: static ns3::TypeId ns3::ListScheduler::GetTypeId() [member function]
mathieu@4060
  1246
    cls.add_method('GetTypeId', 
mathieu@4060
  1247
                   'ns3::TypeId', 
mathieu@4060
  1248
                   [], 
mathieu@4060
  1249
                   is_static=True)
gjc@3731
  1250
    ## list-scheduler.h: ns3::ListScheduler::ListScheduler() [constructor]
gjc@3731
  1251
    cls.add_constructor([])
mathieu@3813
  1252
    ## list-scheduler.h: void ns3::ListScheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
gjc@3731
  1253
    cls.add_method('Insert', 
gjc@3731
  1254
                   'void', 
mathieu@3813
  1255
                   [param('ns3::Scheduler::Event const &', 'ev')], 
gjc@3731
  1256
                   is_virtual=True)
gjc@3731
  1257
    ## list-scheduler.h: bool ns3::ListScheduler::IsEmpty() const [member function]
gjc@3731
  1258
    cls.add_method('IsEmpty', 
gjc@3731
  1259
                   'bool', 
gjc@3731
  1260
                   [], 
gjc@3731
  1261
                   is_const=True, is_virtual=True)
mathieu@3813
  1262
    ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::PeekNext() const [member function]
gjc@3731
  1263
    cls.add_method('PeekNext', 
mathieu@3813
  1264
                   'ns3::Scheduler::Event', 
gjc@3731
  1265
                   [], 
gjc@3731
  1266
                   is_const=True, is_virtual=True)
mathieu@3813
  1267
    ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::RemoveNext() [member function]
gjc@3731
  1268
    cls.add_method('RemoveNext', 
mathieu@3813
  1269
                   'ns3::Scheduler::Event', 
gjc@3731
  1270
                   [], 
gjc@3731
  1271
                   is_virtual=True)
mathieu@3813
  1272
    ## list-scheduler.h: void ns3::ListScheduler::Remove(ns3::Scheduler::Event const & ev) [member function]
gjc@3731
  1273
    cls.add_method('Remove', 
mathieu@3813
  1274
                   'void', 
mathieu@3813
  1275
                   [param('ns3::Scheduler::Event const &', 'ev')], 
gjc@3731
  1276
                   is_virtual=True)
gjc@3731
  1277
    return
gjc@3731
  1278
gjc@3731
  1279
def register_Ns3MapScheduler_methods(root_module, cls):
mathieu@4241
  1280
    ## map-scheduler.h: ns3::MapScheduler::MapScheduler(ns3::MapScheduler const & arg0) [copy constructor]
mathieu@4241
  1281
    cls.add_constructor([param('ns3::MapScheduler const &', 'arg0')])
mathieu@4060
  1282
    ## map-scheduler.h: static ns3::TypeId ns3::MapScheduler::GetTypeId() [member function]
mathieu@4060
  1283
    cls.add_method('GetTypeId', 
mathieu@4060
  1284
                   'ns3::TypeId', 
mathieu@4060
  1285
                   [], 
mathieu@4060
  1286
                   is_static=True)
gjc@3731
  1287
    ## map-scheduler.h: ns3::MapScheduler::MapScheduler() [constructor]
gjc@3731
  1288
    cls.add_constructor([])
mathieu@3813
  1289
    ## map-scheduler.h: void ns3::MapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
gjc@3731
  1290
    cls.add_method('Insert', 
gjc@3731
  1291
                   'void', 
mathieu@3813
  1292
                   [param('ns3::Scheduler::Event const &', 'ev')], 
gjc@3731
  1293
                   is_virtual=True)
gjc@3731
  1294
    ## map-scheduler.h: bool ns3::MapScheduler::IsEmpty() const [member function]
gjc@3731
  1295
    cls.add_method('IsEmpty', 
gjc@3731
  1296
                   'bool', 
gjc@3731
  1297
                   [], 
gjc@3731
  1298
                   is_const=True, is_virtual=True)
mathieu@3813
  1299
    ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::PeekNext() const [member function]
gjc@3731
  1300
    cls.add_method('PeekNext', 
mathieu@3813
  1301
                   'ns3::Scheduler::Event', 
gjc@3731
  1302
                   [], 
gjc@3731
  1303
                   is_const=True, is_virtual=True)
mathieu@3813
  1304
    ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::RemoveNext() [member function]
gjc@3731
  1305
    cls.add_method('RemoveNext', 
mathieu@3813
  1306
                   'ns3::Scheduler::Event', 
gjc@3731
  1307
                   [], 
gjc@3731
  1308
                   is_virtual=True)
mathieu@3813
  1309
    ## map-scheduler.h: void ns3::MapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function]
gjc@3731
  1310
    cls.add_method('Remove', 
mathieu@3813
  1311
                   'void', 
mathieu@3813
  1312
                   [param('ns3::Scheduler::Event const &', 'ev')], 
gjc@3731
  1313
                   is_virtual=True)
gjc@4086
  1314
    return
gjc@4086
  1315
raj@4221
  1316
def register_Ns3Ns2CalendarScheduler_methods(root_module, cls):
mathieu@4241
  1317
    ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler(ns3::Ns2CalendarScheduler const & arg0) [copy constructor]
mathieu@4241
  1318
    cls.add_constructor([param('ns3::Ns2CalendarScheduler const &', 'arg0')])
raj@4221
  1319
    ## ns2-calendar-scheduler.h: static ns3::TypeId ns3::Ns2CalendarScheduler::GetTypeId() [member function]
raj@4221
  1320
    cls.add_method('GetTypeId', 
raj@4221
  1321
                   'ns3::TypeId', 
raj@4221
  1322
                   [], 
raj@4221
  1323
                   is_static=True)
raj@4221
  1324
    ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler() [constructor]
raj@4221
  1325
    cls.add_constructor([])
raj@4221
  1326
    ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function]
raj@4221
  1327
    cls.add_method('Insert', 
raj@4221
  1328
                   'void', 
raj@4221
  1329
                   [param('ns3::Scheduler::Event const &', 'ev')], 
raj@4221
  1330
                   is_virtual=True)
raj@4221
  1331
    ## ns2-calendar-scheduler.h: bool ns3::Ns2CalendarScheduler::IsEmpty() const [member function]
raj@4221
  1332
    cls.add_method('IsEmpty', 
raj@4221
  1333
                   'bool', 
raj@4221
  1334
                   [], 
raj@4221
  1335
                   is_const=True, is_virtual=True)
raj@4221
  1336
    ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::PeekNext() const [member function]
raj@4221
  1337
    cls.add_method('PeekNext', 
raj@4221
  1338
                   'ns3::Scheduler::Event', 
raj@4221
  1339
                   [], 
raj@4221
  1340
                   is_const=True, is_virtual=True)
raj@4221
  1341
    ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::RemoveNext() [member function]
raj@4221
  1342
    cls.add_method('RemoveNext', 
raj@4221
  1343
                   'ns3::Scheduler::Event', 
raj@4221
  1344
                   [], 
raj@4221
  1345
                   is_virtual=True)
raj@4221
  1346
    ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function]
raj@4221
  1347
    cls.add_method('Remove', 
raj@4221
  1348
                   'void', 
raj@4221
  1349
                   [param('ns3::Scheduler::Event const &', 'ev')], 
raj@4221
  1350
                   is_virtual=True)
gjc@3731
  1351
    return
gjc@3731
  1352
gjc@3731
  1353
def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls):
mathieu@4241
  1354
    ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl(ns3::RealtimeSimulatorImpl const & arg0) [copy constructor]
mathieu@4241
  1355
    cls.add_constructor([param('ns3::RealtimeSimulatorImpl const &', 'arg0')])
gjc@3731
  1356
    ## realtime-simulator-impl.h: static ns3::TypeId ns3::RealtimeSimulatorImpl::GetTypeId() [member function]
gjc@3731
  1357
    cls.add_method('GetTypeId', 
gjc@3731
  1358
                   'ns3::TypeId', 
gjc@3731
  1359
                   [], 
gjc@3731
  1360
                   is_static=True)
gjc@3731
  1361
    ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl() [constructor]
gjc@3731
  1362
    cls.add_constructor([])
gjc@3731
  1363
    ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Destroy() [member function]
gjc@3731
  1364
    cls.add_method('Destroy', 
gjc@3731
  1365
                   'void', 
gjc@3731
  1366
                   [], 
gjc@3731
  1367
                   is_virtual=True)
gjc@3731
  1368
    ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsFinished() const [member function]
gjc@3731
  1369
    cls.add_method('IsFinished', 
gjc@3731
  1370
                   'bool', 
gjc@3731
  1371
                   [], 
gjc@3731
  1372
                   is_const=True, is_virtual=True)
gjc@3731
  1373
    ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Next() const [member function]
gjc@3731
  1374
    cls.add_method('Next', 
gjc@3731
  1375
                   'ns3::Time', 
gjc@3731
  1376
                   [], 
gjc@3731
  1377
                   is_const=True, is_virtual=True)
gjc@3731
  1378
    ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop() [member function]
gjc@3731
  1379
    cls.add_method('Stop', 
gjc@3731
  1380
                   'void', 
gjc@3731
  1381
                   [], 
gjc@3731
  1382
                   is_virtual=True)
mathieu@3813
  1383
    ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function]
gjc@3731
  1384
    cls.add_method('Schedule', 
gjc@3731
  1385
                   'ns3::EventId', 
mathieu@3813
  1386
                   [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], 
gjc@3731
  1387
                   is_virtual=True)
mathieu@3813
  1388
    ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function]
gjc@3731
  1389
    cls.add_method('ScheduleNow', 
gjc@3731
  1390
                   'ns3::EventId', 
mathieu@3813
  1391
                   [param('ns3::EventImpl *', 'event')], 
gjc@3731
  1392
                   is_virtual=True)
mathieu@3813
  1393
    ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function]
gjc@3731
  1394
    cls.add_method('ScheduleDestroy', 
gjc@3731
  1395
                   'ns3::EventId', 
mathieu@3813
  1396
                   [param('ns3::EventImpl *', 'event')], 
gjc@3731
  1397
                   is_virtual=True)
gjc@3731
  1398
    ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Remove(ns3::EventId const & ev) [member function]
gjc@3731
  1399
    cls.add_method('Remove', 
gjc@3731
  1400
                   'void', 
gjc@3731
  1401
                   [param('ns3::EventId const &', 'ev')], 
gjc@3731
  1402
                   is_virtual=True)
gjc@3731
  1403
    ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Cancel(ns3::EventId const & ev) [member function]
gjc@3731
  1404
    cls.add_method('Cancel', 
gjc@3731
  1405
                   'void', 
gjc@3731
  1406
                   [param('ns3::EventId const &', 'ev')], 
gjc@3731
  1407
                   is_virtual=True)
gjc@3731
  1408
    ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function]
gjc@3731
  1409
    cls.add_method('IsExpired', 
gjc@3731
  1410
                   'bool', 
gjc@3731
  1411
                   [param('ns3::EventId const &', 'ev')], 
gjc@3731
  1412
                   is_const=True, is_virtual=True)
mathieu@3813
  1413
    ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Run() [member function]
mathieu@3813
  1414
    cls.add_method('Run', 
gjc@3731
  1415
                   'void', 
gjc@3731
  1416
                   [], 
gjc@3731
  1417
                   is_virtual=True)
mathieu@3813
  1418
    ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::RunOneEvent() [member function]
mathieu@3813
  1419
    cls.add_method('RunOneEvent', 
gjc@3731
  1420
                   'void', 
gjc@3731
  1421
                   [], 
gjc@3731
  1422
                   is_virtual=True)
gjc@3731
  1423
    ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Now() const [member function]
gjc@3731
  1424
    cls.add_method('Now', 
gjc@3731
  1425
                   'ns3::Time', 
gjc@3731
  1426
                   [], 
gjc@3731
  1427
                   is_const=True, is_virtual=True)
gjc@3731
  1428
    ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function]
gjc@3731
  1429
    cls.add_method('GetDelayLeft', 
gjc@3731
  1430
                   'ns3::Time', 
gjc@3731
  1431
                   [param('ns3::EventId const &', 'id')], 
gjc@3731
  1432
                   is_const=True, is_virtual=True)
gjc@3731
  1433
    ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetMaximumSimulationTime() const [member function]
gjc@3731
  1434
    cls.add_method('GetMaximumSimulationTime', 
gjc@3731
  1435
                   'ns3::Time', 
gjc@3731
  1436
                   [], 
gjc@3731
  1437
                   is_const=True, is_virtual=True)
gjc@3731
  1438
    ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
gjc@3731
  1439
    cls.add_method('SetScheduler', 
gjc@3731
  1440
                   'void', 
gjc@3731
  1441
                   [param('ns3::Ptr< ns3::Scheduler >', 'scheduler')], 
gjc@3731
  1442
                   is_virtual=True)
mathieu@3816
  1443
    ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtime(ns3::Time const & time, ns3::EventImpl * event) [member function]
mathieu@3816
  1444
    cls.add_method('ScheduleRealtime', 
mathieu@3813
  1445
                   'void', 
mathieu@3816
  1446
                   [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')])
mathieu@3816
  1447
    ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNow(ns3::EventImpl * event) [member function]
mathieu@3816
  1448
    cls.add_method('ScheduleRealtimeNow', 
mathieu@3813
  1449
                   'void', 
mathieu@3816
  1450
                   [param('ns3::EventImpl *', 'event')])
mathieu@3813
  1451
    ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::RealtimeNow() const [member function]
mathieu@3813
  1452
    cls.add_method('RealtimeNow', 
mathieu@3813
  1453
                   'ns3::Time', 
mathieu@3813
  1454
                   [], 
mathieu@3813
  1455
                   is_const=True)
gjc@3731
  1456
    ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetSynchronizationMode(ns3::RealtimeSimulatorImpl::SynchronizationMode mode) [member function]
gjc@3731
  1457
    cls.add_method('SetSynchronizationMode', 
gjc@3731
  1458
                   'void', 
gjc@3731
  1459
                   [param('ns3::RealtimeSimulatorImpl::SynchronizationMode', 'mode')])
gjc@3731
  1460
    ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode ns3::RealtimeSimulatorImpl::GetSynchronizationMode() const [member function]
gjc@3731
  1461
    cls.add_method('GetSynchronizationMode', 
gjc@3731
  1462
                   'ns3::RealtimeSimulatorImpl::SynchronizationMode', 
gjc@3731
  1463
                   [], 
gjc@3731
  1464
                   is_const=True)
gjc@3731
  1465
    ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetHardLimit(ns3::Time limit) [member function]
gjc@3731
  1466
    cls.add_method('SetHardLimit', 
gjc@3731
  1467
                   'void', 
gjc@3731
  1468
                   [param('ns3::Time', 'limit')])
gjc@3731
  1469
    ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetHardLimit() const [member function]
gjc@3731
  1470
    cls.add_method('GetHardLimit', 
gjc@3731
  1471
                   'ns3::Time', 
gjc@3731
  1472
                   [], 
gjc@3731
  1473
                   is_const=True)
gjc@3731
  1474
    return
gjc@3731
  1475
gjc@3408
  1476
def register_functions(root_module):
gjc@3408
  1477
    module = root_module
gjc@3855
  1478
    ## high-precision.h: extern ns3::HighPrecision ns3::Abs(ns3::HighPrecision const & value) [free function]
gjc@3855
  1479
    module.add_function('Abs', 
gjc@3855
  1480
                        'ns3::HighPrecision', 
gjc@3855
  1481
                        [param('ns3::HighPrecision const &', 'value')])
gjc@3855
  1482
    ## nstime.h: extern ns3::Time ns3::FemtoSeconds(uint64_t fs) [free function]
gjc@3855
  1483
    module.add_function('FemtoSeconds', 
gjc@3855
  1484
                        'ns3::Time', 
gjc@3855
  1485
                        [param('uint64_t', 'fs')])
gjc@3855
  1486
    ## make-event.h: extern ns3::EventImpl * ns3::MakeEvent(void (*)(  ) * f) [free function]
gjc@3855
  1487
    module.add_function('MakeEvent', 
gjc@3855
  1488
                        'ns3::EventImpl *', 
gjc@3855
  1489
                        [param('void ( * ) (  ) *', 'f')])
gjc@3855
  1490
    ## nstime.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeTimeChecker() [free function]
gjc@3855
  1491
    module.add_function('MakeTimeChecker', 
gjc@3855
  1492
                        'ns3::Ptr< ns3::AttributeChecker const >', 
gjc@3855
  1493
                        [])
gjc@3408
  1494
    ## high-precision.h: extern ns3::HighPrecision ns3::Max(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function]
gjc@3468
  1495
    module.add_function('Max', 
gjc@3468
  1496
                        'ns3::HighPrecision', 
gjc@3574
  1497
                        [param('ns3::HighPrecision const &', 'a'), param('ns3::HighPrecision const &', 'b')])
gjc@3408
  1498
    ## nstime.h: extern ns3::Time ns3::MicroSeconds(uint64_t us) [free function]
gjc@3468
  1499
    module.add_function('MicroSeconds', 
gjc@3468
  1500
                        'ns3::Time', 
gjc@3468
  1501
                        [param('uint64_t', 'us')])
gjc@3855
  1502
    ## nstime.h: extern ns3::Time ns3::MilliSeconds(uint64_t ms) [free function]
gjc@3855
  1503
    module.add_function('MilliSeconds', 
gjc@3855
  1504
                        'ns3::Time', 
gjc@3855
  1505
                        [param('uint64_t', 'ms')])
gjc@3855
  1506
    ## high-precision.h: extern ns3::HighPrecision ns3::Min(ns3::HighPrecision const & a, ns3::HighPrecision const & b) [free function]
gjc@3855
  1507
    module.add_function('Min', 
gjc@3855
  1508
                        'ns3::HighPrecision', 
gjc@3855
  1509
                        [param('ns3::HighPrecision const &', 'a'), param('ns3::HighPrecision const &', 'b')])
gjc@3855
  1510
    ## nstime.h: extern ns3::Time ns3::NanoSeconds(uint64_t ns) [free function]
gjc@3855
  1511
    module.add_function('NanoSeconds', 
gjc@3855
  1512
                        'ns3::Time', 
gjc@3855
  1513
                        [param('uint64_t', 'ns')])
gjc@3408
  1514
    ## simulator.h: extern ns3::Time ns3::Now() [free function]
gjc@3468
  1515
    module.add_function('Now', 
gjc@3468
  1516
                        'ns3::Time', 
gjc@3468
  1517
                        [])
gjc@3855
  1518
    ## nstime.h: extern ns3::Time ns3::PicoSeconds(uint64_t ps) [free function]
gjc@3855
  1519
    module.add_function('PicoSeconds', 
gjc@3468
  1520
                        'ns3::Time', 
gjc@3855
  1521
                        [param('uint64_t', 'ps')])
gjc@3408
  1522
    ## nstime.h: extern ns3::Time ns3::Seconds(double seconds) [free function]
gjc@3468
  1523
    module.add_function('Seconds', 
gjc@3468
  1524
                        'ns3::Time', 
gjc@3468
  1525
                        [param('double', 'seconds')])
gjc@3408
  1526
    ## nstime.h: extern ns3::Time ns3::TimeStep(uint64_t ts) [free function]
gjc@3468
  1527
    module.add_function('TimeStep', 
gjc@3468
  1528
                        'ns3::Time', 
gjc@3468
  1529
                        [param('uint64_t', 'ts')])
gjc@3855
  1530
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
gjc@3855
  1531
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
tomh@4474
  1532
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
gjc@3408
  1533
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
gjc@3408
  1534
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
gjc@3408
  1535
    return
gjc@3408
  1536
gjc@3855
  1537
def register_functions_ns3_Config(module, root_module):
gjc@3855
  1538
    return
gjc@3855
  1539
gjc@3855
  1540
def register_functions_ns3_TimeStepPrecision(module, root_module):
gjc@3855
  1541
    ## nstime.h: extern ns3::TimeStepPrecision::precision_t ns3::TimeStepPrecision::Get() [free function]
gjc@3855
  1542
    module.add_function('Get', 
gjc@3855
  1543
                        'ns3::TimeStepPrecision::precision_t', 
gjc@3855
  1544
                        [])
gjc@3855
  1545
    ## nstime.h: extern void ns3::TimeStepPrecision::Set(ns3::TimeStepPrecision::precision_t precision) [free function]
gjc@3855
  1546
    module.add_function('Set', 
gjc@3855
  1547
                        'void', 
gjc@3855
  1548
                        [param('ns3::TimeStepPrecision::precision_t', 'precision')])
gjc@3855
  1549
    return
gjc@3855
  1550
tomh@4474
  1551
def register_functions_ns3_addressUtils(module, root_module):
tomh@4474
  1552
    return
tomh@4474
  1553
gjc@3408
  1554
def register_functions_ns3_internal(module, root_module):
gjc@3408
  1555
    return
gjc@3408
  1556
gjc@3408
  1557
def register_functions_ns3_olsr(module, root_module):
gjc@3408
  1558
    return
gjc@3408
  1559