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