bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py
author Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
Sat, 12 Mar 2011 18:34:30 +0000
changeset 6893 5dccd86f90cf
parent 6882 20221fbd189e
child 6894 0c7a09810b07
permissions -rw-r--r--
Modular Python bindings work (many bug fixes, more modules tested)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
     2
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
     3
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
     4
import pybindgen.settings
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
     5
import warnings
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
     6
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
     7
class ErrorHandler(pybindgen.settings.ErrorHandler):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
     8
    def handle_error(self, wrapper, exception, traceback_):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
     9
        warnings.warn("exception %r in wrapper %s" % (exception, wrapper))
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    10
        return True
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    11
pybindgen.settings.error_handler = ErrorHandler()
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    12
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    13
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    14
import sys
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    15
import ns3_module_core
6824
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
    16
import ns3_module_network
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    17
import ns3_module_test
6677
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
    18
import ns3_module_visualizer
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    19
import ns3_module_bridge
6824
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
    20
import ns3_module_contrib
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    21
import ns3_module_emu
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
    22
import ns3_module_mobility
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
    23
import ns3_module_mpi
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    24
import ns3_module_stats
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    25
import ns3_module_topology_read
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
    26
import ns3_module_propagation
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
    27
import ns3_module_internet
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
    28
import ns3_module_point_to_point
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
    29
import ns3_module_wifi
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
    30
import ns3_module_applications
6825
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
    31
import ns3_module_click
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    32
import ns3_module_flow_monitor
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    33
import ns3_module_nix_vector_routing
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
    34
import ns3_module_tap_bridge
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
    35
import ns3_module_virtual_net_device
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
    36
import ns3_module_netanim
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
    37
import ns3_module_energy
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
    38
import ns3_module_mesh
6893
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
    39
import ns3_module_ns3wifi
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
    40
import ns3_module_spectrum
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
    41
import ns3_module_csma
6799
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
    42
import ns3_module_uan
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
    43
import ns3_module_aodv
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
    44
import ns3_module_dsdv
6893
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
    45
import ns3_module_wimax
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
    46
import ns3_module_ns3tcp
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
    47
import ns3_module_olsr
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
    48
import ns3_module_lte
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    49
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    50
def module_init():
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    51
    root_module = Module('ns3', cpp_namespace='::ns3')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    52
    return root_module
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    53
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    54
def register_types(module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    55
    root_module = module.get_root()
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    56
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    57
    root_module.begin_section('ns3_module_core')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    58
    ns3_module_core.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    59
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    60
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    61
        import ns3_module_core__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    62
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    63
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    64
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    65
        ns3_module_core__local.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    66
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    67
    root_module.end_section('ns3_module_core')
6824
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
    68
    root_module.begin_section('ns3_module_network')
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
    69
    ns3_module_network.register_types(module)
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
    70
    
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
    71
    try:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
    72
        import ns3_module_network__local
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
    73
    except ImportError:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
    74
        pass
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
    75
    else:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
    76
        ns3_module_network__local.register_types(module)
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
    77
    
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
    78
    root_module.end_section('ns3_module_network')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    79
    root_module.begin_section('ns3_module_test')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    80
    ns3_module_test.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    81
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    82
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    83
        import ns3_module_test__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    84
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    85
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    86
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    87
        ns3_module_test__local.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    88
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
    89
    root_module.end_section('ns3_module_test')
6677
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
    90
    root_module.begin_section('ns3_module_visualizer')
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
    91
    ns3_module_visualizer.register_types(module)
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
    92
    
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
    93
    try:
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
    94
        import ns3_module_visualizer__local
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
    95
    except ImportError:
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
    96
        pass
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
    97
    else:
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
    98
        ns3_module_visualizer__local.register_types(module)
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
    99
    
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   100
    root_module.end_section('ns3_module_visualizer')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   101
    root_module.begin_section('ns3_module_bridge')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   102
    ns3_module_bridge.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   103
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   104
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   105
        import ns3_module_bridge__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   106
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   107
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   108
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   109
        ns3_module_bridge__local.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   110
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   111
    root_module.end_section('ns3_module_bridge')
6824
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   112
    root_module.begin_section('ns3_module_contrib')
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   113
    ns3_module_contrib.register_types(module)
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   114
    
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   115
    try:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   116
        import ns3_module_contrib__local
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   117
    except ImportError:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   118
        pass
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   119
    else:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   120
        ns3_module_contrib__local.register_types(module)
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   121
    
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   122
    root_module.end_section('ns3_module_contrib')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   123
    root_module.begin_section('ns3_module_emu')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   124
    ns3_module_emu.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   125
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   126
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   127
        import ns3_module_emu__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   128
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   129
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   130
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   131
        ns3_module_emu__local.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   132
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   133
    root_module.end_section('ns3_module_emu')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   134
    root_module.begin_section('ns3_module_mobility')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   135
    ns3_module_mobility.register_types(module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   136
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   137
    try:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   138
        import ns3_module_mobility__local
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   139
    except ImportError:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   140
        pass
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   141
    else:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   142
        ns3_module_mobility__local.register_types(module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   143
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   144
    root_module.end_section('ns3_module_mobility')
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   145
    root_module.begin_section('ns3_module_mpi')
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   146
    ns3_module_mpi.register_types(module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   147
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   148
    try:
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   149
        import ns3_module_mpi__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   150
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   151
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   152
    else:
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   153
        ns3_module_mpi__local.register_types(module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   154
    
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   155
    root_module.end_section('ns3_module_mpi')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   156
    root_module.begin_section('ns3_module_stats')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   157
    ns3_module_stats.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   158
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   159
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   160
        import ns3_module_stats__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   161
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   162
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   163
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   164
        ns3_module_stats__local.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   165
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   166
    root_module.end_section('ns3_module_stats')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   167
    root_module.begin_section('ns3_module_topology_read')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   168
    ns3_module_topology_read.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   169
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   170
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   171
        import ns3_module_topology_read__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   172
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   173
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   174
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   175
        ns3_module_topology_read__local.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   176
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   177
    root_module.end_section('ns3_module_topology_read')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   178
    root_module.begin_section('ns3_module_propagation')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   179
    ns3_module_propagation.register_types(module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   180
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   181
    try:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   182
        import ns3_module_propagation__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   183
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   184
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   185
    else:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   186
        ns3_module_propagation__local.register_types(module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   187
    
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   188
    root_module.end_section('ns3_module_propagation')
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   189
    root_module.begin_section('ns3_module_internet')
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   190
    ns3_module_internet.register_types(module)
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   191
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   192
    try:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   193
        import ns3_module_internet__local
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   194
    except ImportError:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   195
        pass
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   196
    else:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   197
        ns3_module_internet__local.register_types(module)
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   198
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   199
    root_module.end_section('ns3_module_internet')
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   200
    root_module.begin_section('ns3_module_point_to_point')
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   201
    ns3_module_point_to_point.register_types(module)
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   202
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   203
    try:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   204
        import ns3_module_point_to_point__local
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   205
    except ImportError:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   206
        pass
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   207
    else:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   208
        ns3_module_point_to_point__local.register_types(module)
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   209
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   210
    root_module.end_section('ns3_module_point_to_point')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   211
    root_module.begin_section('ns3_module_wifi')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   212
    ns3_module_wifi.register_types(module)
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   213
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   214
    try:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   215
        import ns3_module_wifi__local
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   216
    except ImportError:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   217
        pass
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   218
    else:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   219
        ns3_module_wifi__local.register_types(module)
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   220
    
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   221
    root_module.end_section('ns3_module_wifi')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   222
    root_module.begin_section('ns3_module_applications')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   223
    ns3_module_applications.register_types(module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   224
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   225
    try:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   226
        import ns3_module_applications__local
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   227
    except ImportError:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   228
        pass
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   229
    else:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   230
        ns3_module_applications__local.register_types(module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   231
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   232
    root_module.end_section('ns3_module_applications')
6825
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   233
    root_module.begin_section('ns3_module_click')
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   234
    ns3_module_click.register_types(module)
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   235
    
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   236
    try:
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   237
        import ns3_module_click__local
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   238
    except ImportError:
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   239
        pass
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   240
    else:
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   241
        ns3_module_click__local.register_types(module)
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   242
    
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   243
    root_module.end_section('ns3_module_click')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   244
    root_module.begin_section('ns3_module_flow_monitor')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   245
    ns3_module_flow_monitor.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   246
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   247
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   248
        import ns3_module_flow_monitor__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   249
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   250
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   251
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   252
        ns3_module_flow_monitor__local.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   253
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   254
    root_module.end_section('ns3_module_flow_monitor')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   255
    root_module.begin_section('ns3_module_nix_vector_routing')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   256
    ns3_module_nix_vector_routing.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   257
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   258
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   259
        import ns3_module_nix_vector_routing__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   260
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   261
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   262
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   263
        ns3_module_nix_vector_routing__local.register_types(module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   264
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   265
    root_module.end_section('ns3_module_nix_vector_routing')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   266
    root_module.begin_section('ns3_module_tap_bridge')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   267
    ns3_module_tap_bridge.register_types(module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   268
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   269
    try:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   270
        import ns3_module_tap_bridge__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   271
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   272
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   273
    else:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   274
        ns3_module_tap_bridge__local.register_types(module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   275
    
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   276
    root_module.end_section('ns3_module_tap_bridge')
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   277
    root_module.begin_section('ns3_module_virtual_net_device')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   278
    ns3_module_virtual_net_device.register_types(module)
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   279
    
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   280
    try:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   281
        import ns3_module_virtual_net_device__local
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   282
    except ImportError:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   283
        pass
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   284
    else:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   285
        ns3_module_virtual_net_device__local.register_types(module)
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   286
    
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   287
    root_module.end_section('ns3_module_virtual_net_device')
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   288
    root_module.begin_section('ns3_module_netanim')
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   289
    ns3_module_netanim.register_types(module)
6806
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
   290
    
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
   291
    try:
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   292
        import ns3_module_netanim__local
6806
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
   293
    except ImportError:
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
   294
        pass
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
   295
    else:
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   296
        ns3_module_netanim__local.register_types(module)
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   297
    
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   298
    root_module.end_section('ns3_module_netanim')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   299
    root_module.begin_section('ns3_module_energy')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   300
    ns3_module_energy.register_types(module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   301
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   302
    try:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   303
        import ns3_module_energy__local
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   304
    except ImportError:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   305
        pass
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   306
    else:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   307
        ns3_module_energy__local.register_types(module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   308
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   309
    root_module.end_section('ns3_module_energy')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   310
    root_module.begin_section('ns3_module_mesh')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   311
    ns3_module_mesh.register_types(module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   312
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   313
    try:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   314
        import ns3_module_mesh__local
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   315
    except ImportError:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   316
        pass
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   317
    else:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   318
        ns3_module_mesh__local.register_types(module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   319
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   320
    root_module.end_section('ns3_module_mesh')
6893
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   321
    root_module.begin_section('ns3_module_ns3wifi')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   322
    ns3_module_ns3wifi.register_types(module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   323
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   324
    try:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   325
        import ns3_module_ns3wifi__local
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   326
    except ImportError:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   327
        pass
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   328
    else:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   329
        ns3_module_ns3wifi__local.register_types(module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   330
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   331
    root_module.end_section('ns3_module_ns3wifi')
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   332
    root_module.begin_section('ns3_module_spectrum')
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   333
    ns3_module_spectrum.register_types(module)
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   334
    
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   335
    try:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   336
        import ns3_module_spectrum__local
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   337
    except ImportError:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   338
        pass
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   339
    else:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   340
        ns3_module_spectrum__local.register_types(module)
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   341
    
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   342
    root_module.end_section('ns3_module_spectrum')
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   343
    root_module.begin_section('ns3_module_csma')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   344
    ns3_module_csma.register_types(module)
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   345
    
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   346
    try:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   347
        import ns3_module_csma__local
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   348
    except ImportError:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   349
        pass
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   350
    else:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   351
        ns3_module_csma__local.register_types(module)
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   352
    
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   353
    root_module.end_section('ns3_module_csma')
6799
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   354
    root_module.begin_section('ns3_module_uan')
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   355
    ns3_module_uan.register_types(module)
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   356
    
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   357
    try:
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   358
        import ns3_module_uan__local
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   359
    except ImportError:
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   360
        pass
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   361
    else:
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   362
        ns3_module_uan__local.register_types(module)
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   363
    
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   364
    root_module.end_section('ns3_module_uan')
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   365
    root_module.begin_section('ns3_module_aodv')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   366
    ns3_module_aodv.register_types(module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   367
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   368
    try:
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   369
        import ns3_module_aodv__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   370
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   371
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   372
    else:
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   373
        ns3_module_aodv__local.register_types(module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   374
    
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   375
    root_module.end_section('ns3_module_aodv')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   376
    root_module.begin_section('ns3_module_dsdv')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   377
    ns3_module_dsdv.register_types(module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   378
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   379
    try:
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   380
        import ns3_module_dsdv__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   381
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   382
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   383
    else:
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   384
        ns3_module_dsdv__local.register_types(module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   385
    
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   386
    root_module.end_section('ns3_module_dsdv')
6893
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   387
    root_module.begin_section('ns3_module_wimax')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   388
    ns3_module_wimax.register_types(module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   389
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   390
    try:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   391
        import ns3_module_wimax__local
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   392
    except ImportError:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   393
        pass
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   394
    else:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   395
        ns3_module_wimax__local.register_types(module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   396
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   397
    root_module.end_section('ns3_module_wimax')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   398
    root_module.begin_section('ns3_module_ns3tcp')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   399
    ns3_module_ns3tcp.register_types(module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   400
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   401
    try:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   402
        import ns3_module_ns3tcp__local
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   403
    except ImportError:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   404
        pass
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   405
    else:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   406
        ns3_module_ns3tcp__local.register_types(module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   407
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   408
    root_module.end_section('ns3_module_ns3tcp')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   409
    root_module.begin_section('ns3_module_olsr')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   410
    ns3_module_olsr.register_types(module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   411
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   412
    try:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   413
        import ns3_module_olsr__local
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   414
    except ImportError:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   415
        pass
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   416
    else:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   417
        ns3_module_olsr__local.register_types(module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   418
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   419
    root_module.end_section('ns3_module_olsr')
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   420
    root_module.begin_section('ns3_module_lte')
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   421
    ns3_module_lte.register_types(module)
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   422
    
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   423
    try:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   424
        import ns3_module_lte__local
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   425
    except ImportError:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   426
        pass
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   427
    else:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   428
        ns3_module_lte__local.register_types(module)
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   429
    
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   430
    root_module.end_section('ns3_module_lte')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   431
    module.add_container('std::vector< unsigned int >', 'unsigned int', container_type='vector')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   432
    module.add_container('std::vector< bool >', 'bool', container_type='vector')
6716
e2c0e6a51e58 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6702
diff changeset
   433
    module.add_container('std::vector< int >', 'int', container_type='vector')
6677
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   434
    module.add_container('std::vector< std::string >', 'std::string', container_type='vector')
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   435
    module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   436
    module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::UanAddress > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::UanAddress >', container_type='list')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   437
    module.add_container('std::vector< ns3::ServiceFlow * >', 'ns3::ServiceFlow *', container_type='vector')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   438
    module.add_container('std::vector< std::complex< double > >', 'std::complex< double >', container_type='vector')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   439
    module.add_container('std::vector< double >', 'double', container_type='vector')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   440
    module.add_container('ns3::bvec', 'bool', container_type='vector')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   441
    module.add_container('std::vector< ns3::SSRecord * >', 'ns3::SSRecord *', container_type='vector')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   442
    module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   443
    module.add_container('std::set< unsigned char >', 'unsigned char', container_type='set')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   444
    module.add_container('std::list< std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > > >', 'std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > >', container_type='list')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   445
    module.add_container('std::vector< unsigned long long >', 'long long unsigned int', container_type='vector')
6716
e2c0e6a51e58 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6702
diff changeset
   446
    module.add_container('std::vector< std::vector< double > >', 'std::vector< double >', container_type='vector')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   447
    module.add_container('std::list< unsigned int >', 'unsigned int', container_type='list')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   448
    module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader >', container_type='list')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   449
    module.add_container('std::vector< std::pair< ns3::Ptr< ns3::UanNetDevice >, ns3::Ptr< ns3::UanTransducer > > >', 'std::pair< ns3::Ptr< ns3::UanNetDevice >, ns3::Ptr< ns3::UanTransducer > >', container_type='vector')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   450
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   451
    ## Register a nested module for the namespace Config
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   452
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   453
    nested_module = module.add_cpp_namespace('Config')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   454
    register_types_ns3_Config(nested_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   455
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   456
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   457
    ## Register a nested module for the namespace FatalImpl
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   458
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   459
    nested_module = module.add_cpp_namespace('FatalImpl')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   460
    register_types_ns3_FatalImpl(nested_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   461
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   462
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   463
    ## Register a nested module for the namespace addressUtils
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   464
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   465
    nested_module = module.add_cpp_namespace('addressUtils')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   466
    register_types_ns3_addressUtils(nested_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   467
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   468
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   469
    ## Register a nested module for the namespace aodv
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   470
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   471
    nested_module = module.add_cpp_namespace('aodv')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   472
    register_types_ns3_aodv(nested_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   473
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   474
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   475
    ## Register a nested module for the namespace dot11s
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   476
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   477
    nested_module = module.add_cpp_namespace('dot11s')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   478
    register_types_ns3_dot11s(nested_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   479
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   480
    
6718
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
   481
    ## Register a nested module for the namespace dsdv
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
   482
    
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
   483
    nested_module = module.add_cpp_namespace('dsdv')
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
   484
    register_types_ns3_dsdv(nested_module)
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
   485
    
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
   486
    
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   487
    ## Register a nested module for the namespace flame
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   488
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   489
    nested_module = module.add_cpp_namespace('flame')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   490
    register_types_ns3_flame(nested_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   491
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   492
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   493
    ## Register a nested module for the namespace internal
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   494
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   495
    nested_module = module.add_cpp_namespace('internal')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   496
    register_types_ns3_internal(nested_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   497
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   498
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   499
    ## Register a nested module for the namespace olsr
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   500
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   501
    nested_module = module.add_cpp_namespace('olsr')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   502
    register_types_ns3_olsr(nested_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   503
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   504
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   505
def register_types_ns3_Config(module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   506
    root_module = module.get_root()
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   507
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   508
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   509
def register_types_ns3_FatalImpl(module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   510
    root_module = module.get_root()
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   511
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   512
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   513
def register_types_ns3_addressUtils(module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   514
    root_module = module.get_root()
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   515
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   516
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   517
def register_types_ns3_aodv(module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   518
    root_module = module.get_root()
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   519
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   520
    module.add_container('std::map< ns3::Ipv4Address, unsigned int >', ('ns3::Ipv4Address', 'unsigned int'), container_type='map')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   521
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   522
def register_types_ns3_dot11s(module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   523
    root_module = module.get_root()
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   524
    
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   525
    module.add_container('std::vector< std::pair< unsigned int, ns3::Mac48Address > >', 'std::pair< unsigned int, ns3::Mac48Address >', container_type='vector')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   526
6718
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
   527
def register_types_ns3_dsdv(module):
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
   528
    root_module = module.get_root()
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
   529
    
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
   530
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   531
def register_types_ns3_flame(module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   532
    root_module = module.get_root()
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   533
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   535
def register_types_ns3_internal(module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   536
    root_module = module.get_root()
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   537
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   538
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   539
def register_types_ns3_olsr(module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   540
    root_module = module.get_root()
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   541
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   542
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   543
def register_methods(root_module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   544
    root_module.begin_section('ns3_module_core')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   545
    ns3_module_core.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   546
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   547
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   548
        import ns3_module_core__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   549
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   550
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   551
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   552
        ns3_module_core__local.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   553
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   554
    root_module.end_section('ns3_module_core')
6824
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   555
    root_module.begin_section('ns3_module_network')
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   556
    ns3_module_network.register_methods(root_module)
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   557
    
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   558
    try:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   559
        import ns3_module_network__local
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   560
    except ImportError:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   561
        pass
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   562
    else:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   563
        ns3_module_network__local.register_methods(root_module)
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   564
    
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   565
    root_module.end_section('ns3_module_network')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   566
    root_module.begin_section('ns3_module_test')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   567
    ns3_module_test.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   568
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   569
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   570
        import ns3_module_test__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   571
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   572
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   573
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   574
        ns3_module_test__local.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   575
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   576
    root_module.end_section('ns3_module_test')
6677
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   577
    root_module.begin_section('ns3_module_visualizer')
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   578
    ns3_module_visualizer.register_methods(root_module)
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   579
    
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   580
    try:
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   581
        import ns3_module_visualizer__local
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   582
    except ImportError:
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   583
        pass
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   584
    else:
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   585
        ns3_module_visualizer__local.register_methods(root_module)
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   586
    
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   587
    root_module.end_section('ns3_module_visualizer')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   588
    root_module.begin_section('ns3_module_bridge')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   589
    ns3_module_bridge.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   590
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   591
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   592
        import ns3_module_bridge__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   593
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   594
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   595
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   596
        ns3_module_bridge__local.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   597
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   598
    root_module.end_section('ns3_module_bridge')
6824
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   599
    root_module.begin_section('ns3_module_contrib')
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   600
    ns3_module_contrib.register_methods(root_module)
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   601
    
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   602
    try:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   603
        import ns3_module_contrib__local
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   604
    except ImportError:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   605
        pass
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   606
    else:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   607
        ns3_module_contrib__local.register_methods(root_module)
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   608
    
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   609
    root_module.end_section('ns3_module_contrib')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   610
    root_module.begin_section('ns3_module_emu')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   611
    ns3_module_emu.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   612
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   613
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   614
        import ns3_module_emu__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   615
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   616
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   617
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   618
        ns3_module_emu__local.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   619
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   620
    root_module.end_section('ns3_module_emu')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   621
    root_module.begin_section('ns3_module_mobility')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   622
    ns3_module_mobility.register_methods(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   623
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   624
    try:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   625
        import ns3_module_mobility__local
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   626
    except ImportError:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   627
        pass
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   628
    else:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   629
        ns3_module_mobility__local.register_methods(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   630
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   631
    root_module.end_section('ns3_module_mobility')
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   632
    root_module.begin_section('ns3_module_mpi')
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   633
    ns3_module_mpi.register_methods(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   634
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   635
    try:
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   636
        import ns3_module_mpi__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   637
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   638
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   639
    else:
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   640
        ns3_module_mpi__local.register_methods(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   641
    
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   642
    root_module.end_section('ns3_module_mpi')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   643
    root_module.begin_section('ns3_module_stats')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   644
    ns3_module_stats.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   645
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   646
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   647
        import ns3_module_stats__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   648
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   649
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   650
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   651
        ns3_module_stats__local.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   652
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   653
    root_module.end_section('ns3_module_stats')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   654
    root_module.begin_section('ns3_module_topology_read')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   655
    ns3_module_topology_read.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   656
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   657
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   658
        import ns3_module_topology_read__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   659
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   660
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   661
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   662
        ns3_module_topology_read__local.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   663
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   664
    root_module.end_section('ns3_module_topology_read')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   665
    root_module.begin_section('ns3_module_propagation')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   666
    ns3_module_propagation.register_methods(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   667
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   668
    try:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   669
        import ns3_module_propagation__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   670
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   671
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   672
    else:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   673
        ns3_module_propagation__local.register_methods(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   674
    
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   675
    root_module.end_section('ns3_module_propagation')
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   676
    root_module.begin_section('ns3_module_internet')
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   677
    ns3_module_internet.register_methods(root_module)
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   678
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   679
    try:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   680
        import ns3_module_internet__local
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   681
    except ImportError:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   682
        pass
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   683
    else:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   684
        ns3_module_internet__local.register_methods(root_module)
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   685
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   686
    root_module.end_section('ns3_module_internet')
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   687
    root_module.begin_section('ns3_module_point_to_point')
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   688
    ns3_module_point_to_point.register_methods(root_module)
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   689
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   690
    try:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   691
        import ns3_module_point_to_point__local
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   692
    except ImportError:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   693
        pass
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   694
    else:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   695
        ns3_module_point_to_point__local.register_methods(root_module)
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   696
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   697
    root_module.end_section('ns3_module_point_to_point')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   698
    root_module.begin_section('ns3_module_wifi')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   699
    ns3_module_wifi.register_methods(root_module)
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   700
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   701
    try:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   702
        import ns3_module_wifi__local
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   703
    except ImportError:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   704
        pass
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   705
    else:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   706
        ns3_module_wifi__local.register_methods(root_module)
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
   707
    
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   708
    root_module.end_section('ns3_module_wifi')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   709
    root_module.begin_section('ns3_module_applications')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   710
    ns3_module_applications.register_methods(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   711
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   712
    try:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   713
        import ns3_module_applications__local
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   714
    except ImportError:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   715
        pass
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   716
    else:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   717
        ns3_module_applications__local.register_methods(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   718
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   719
    root_module.end_section('ns3_module_applications')
6825
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   720
    root_module.begin_section('ns3_module_click')
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   721
    ns3_module_click.register_methods(root_module)
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   722
    
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   723
    try:
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   724
        import ns3_module_click__local
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   725
    except ImportError:
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   726
        pass
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   727
    else:
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   728
        ns3_module_click__local.register_methods(root_module)
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   729
    
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
   730
    root_module.end_section('ns3_module_click')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   731
    root_module.begin_section('ns3_module_flow_monitor')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   732
    ns3_module_flow_monitor.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   733
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   734
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   735
        import ns3_module_flow_monitor__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   736
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   737
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   738
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   739
        ns3_module_flow_monitor__local.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   740
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   741
    root_module.end_section('ns3_module_flow_monitor')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   742
    root_module.begin_section('ns3_module_nix_vector_routing')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   743
    ns3_module_nix_vector_routing.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   744
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   745
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   746
        import ns3_module_nix_vector_routing__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   747
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   748
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   749
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   750
        ns3_module_nix_vector_routing__local.register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   751
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   752
    root_module.end_section('ns3_module_nix_vector_routing')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   753
    root_module.begin_section('ns3_module_tap_bridge')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   754
    ns3_module_tap_bridge.register_methods(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   755
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   756
    try:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   757
        import ns3_module_tap_bridge__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   758
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   759
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   760
    else:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   761
        ns3_module_tap_bridge__local.register_methods(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   762
    
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   763
    root_module.end_section('ns3_module_tap_bridge')
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   764
    root_module.begin_section('ns3_module_virtual_net_device')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   765
    ns3_module_virtual_net_device.register_methods(root_module)
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   766
    
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   767
    try:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   768
        import ns3_module_virtual_net_device__local
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   769
    except ImportError:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   770
        pass
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   771
    else:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   772
        ns3_module_virtual_net_device__local.register_methods(root_module)
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   773
    
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   774
    root_module.end_section('ns3_module_virtual_net_device')
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   775
    root_module.begin_section('ns3_module_netanim')
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   776
    ns3_module_netanim.register_methods(root_module)
6806
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
   777
    
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
   778
    try:
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   779
        import ns3_module_netanim__local
6806
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
   780
    except ImportError:
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
   781
        pass
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
   782
    else:
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   783
        ns3_module_netanim__local.register_methods(root_module)
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   784
    
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   785
    root_module.end_section('ns3_module_netanim')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   786
    root_module.begin_section('ns3_module_energy')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   787
    ns3_module_energy.register_methods(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   788
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   789
    try:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   790
        import ns3_module_energy__local
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   791
    except ImportError:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   792
        pass
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   793
    else:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   794
        ns3_module_energy__local.register_methods(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   795
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   796
    root_module.end_section('ns3_module_energy')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   797
    root_module.begin_section('ns3_module_mesh')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   798
    ns3_module_mesh.register_methods(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   799
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   800
    try:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   801
        import ns3_module_mesh__local
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   802
    except ImportError:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   803
        pass
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   804
    else:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   805
        ns3_module_mesh__local.register_methods(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   806
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   807
    root_module.end_section('ns3_module_mesh')
6893
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   808
    root_module.begin_section('ns3_module_ns3wifi')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   809
    ns3_module_ns3wifi.register_methods(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   810
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   811
    try:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   812
        import ns3_module_ns3wifi__local
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   813
    except ImportError:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   814
        pass
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   815
    else:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   816
        ns3_module_ns3wifi__local.register_methods(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   817
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   818
    root_module.end_section('ns3_module_ns3wifi')
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   819
    root_module.begin_section('ns3_module_spectrum')
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   820
    ns3_module_spectrum.register_methods(root_module)
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   821
    
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   822
    try:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   823
        import ns3_module_spectrum__local
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   824
    except ImportError:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   825
        pass
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   826
    else:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   827
        ns3_module_spectrum__local.register_methods(root_module)
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   828
    
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   829
    root_module.end_section('ns3_module_spectrum')
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   830
    root_module.begin_section('ns3_module_csma')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   831
    ns3_module_csma.register_methods(root_module)
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   832
    
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   833
    try:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   834
        import ns3_module_csma__local
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   835
    except ImportError:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   836
        pass
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   837
    else:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   838
        ns3_module_csma__local.register_methods(root_module)
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   839
    
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   840
    root_module.end_section('ns3_module_csma')
6799
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   841
    root_module.begin_section('ns3_module_uan')
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   842
    ns3_module_uan.register_methods(root_module)
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   843
    
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   844
    try:
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   845
        import ns3_module_uan__local
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   846
    except ImportError:
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   847
        pass
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   848
    else:
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   849
        ns3_module_uan__local.register_methods(root_module)
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   850
    
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
   851
    root_module.end_section('ns3_module_uan')
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   852
    root_module.begin_section('ns3_module_aodv')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   853
    ns3_module_aodv.register_methods(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   854
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   855
    try:
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   856
        import ns3_module_aodv__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   857
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   858
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   859
    else:
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   860
        ns3_module_aodv__local.register_methods(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   861
    
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   862
    root_module.end_section('ns3_module_aodv')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   863
    root_module.begin_section('ns3_module_dsdv')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   864
    ns3_module_dsdv.register_methods(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   865
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   866
    try:
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   867
        import ns3_module_dsdv__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   868
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   869
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   870
    else:
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   871
        ns3_module_dsdv__local.register_methods(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   872
    
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
   873
    root_module.end_section('ns3_module_dsdv')
6893
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   874
    root_module.begin_section('ns3_module_wimax')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   875
    ns3_module_wimax.register_methods(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   876
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   877
    try:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   878
        import ns3_module_wimax__local
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   879
    except ImportError:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   880
        pass
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   881
    else:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   882
        ns3_module_wimax__local.register_methods(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   883
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   884
    root_module.end_section('ns3_module_wimax')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   885
    root_module.begin_section('ns3_module_ns3tcp')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   886
    ns3_module_ns3tcp.register_methods(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   887
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   888
    try:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   889
        import ns3_module_ns3tcp__local
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   890
    except ImportError:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   891
        pass
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   892
    else:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   893
        ns3_module_ns3tcp__local.register_methods(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   894
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   895
    root_module.end_section('ns3_module_ns3tcp')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   896
    root_module.begin_section('ns3_module_olsr')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   897
    ns3_module_olsr.register_methods(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   898
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   899
    try:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   900
        import ns3_module_olsr__local
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   901
    except ImportError:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   902
        pass
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   903
    else:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   904
        ns3_module_olsr__local.register_methods(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   905
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
   906
    root_module.end_section('ns3_module_olsr')
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   907
    root_module.begin_section('ns3_module_lte')
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   908
    ns3_module_lte.register_methods(root_module)
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   909
    
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   910
    try:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   911
        import ns3_module_lte__local
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   912
    except ImportError:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   913
        pass
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   914
    else:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   915
        ns3_module_lte__local.register_methods(root_module)
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   916
    
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
   917
    root_module.end_section('ns3_module_lte')
6650
b92ee3137f95 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6582
diff changeset
   918
    return
b92ee3137f95 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6582
diff changeset
   919
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   920
def register_functions(root_module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   921
    module = root_module
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   922
    root_module.begin_section('ns3_module_core')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   923
    ns3_module_core.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   924
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   925
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   926
        import ns3_module_core__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   927
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   928
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   929
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   930
        ns3_module_core__local.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   931
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   932
    root_module.end_section('ns3_module_core')
6824
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   933
    root_module.begin_section('ns3_module_network')
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   934
    ns3_module_network.register_functions(root_module)
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   935
    
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   936
    try:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   937
        import ns3_module_network__local
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   938
    except ImportError:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   939
        pass
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   940
    else:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   941
        ns3_module_network__local.register_functions(root_module)
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   942
    
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   943
    root_module.end_section('ns3_module_network')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   944
    root_module.begin_section('ns3_module_test')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   945
    ns3_module_test.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   946
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   947
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   948
        import ns3_module_test__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   949
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   950
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   951
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   952
        ns3_module_test__local.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   953
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   954
    root_module.end_section('ns3_module_test')
6677
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   955
    root_module.begin_section('ns3_module_visualizer')
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   956
    ns3_module_visualizer.register_functions(root_module)
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   957
    
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   958
    try:
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   959
        import ns3_module_visualizer__local
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   960
    except ImportError:
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   961
        pass
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   962
    else:
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   963
        ns3_module_visualizer__local.register_functions(root_module)
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   964
    
06864ef8c0a1 Python bindings rescan for pyviz
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6675
diff changeset
   965
    root_module.end_section('ns3_module_visualizer')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   966
    root_module.begin_section('ns3_module_bridge')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   967
    ns3_module_bridge.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   968
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   969
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   970
        import ns3_module_bridge__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   971
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   972
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   973
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   974
        ns3_module_bridge__local.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   975
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   976
    root_module.end_section('ns3_module_bridge')
6824
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   977
    root_module.begin_section('ns3_module_contrib')
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   978
    ns3_module_contrib.register_functions(root_module)
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   979
    
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   980
    try:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   981
        import ns3_module_contrib__local
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   982
    except ImportError:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   983
        pass
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   984
    else:
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   985
        ns3_module_contrib__local.register_functions(root_module)
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   986
    
fff2b249c6f3 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6822
diff changeset
   987
    root_module.end_section('ns3_module_contrib')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   988
    root_module.begin_section('ns3_module_emu')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   989
    ns3_module_emu.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   990
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   991
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   992
        import ns3_module_emu__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   993
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   994
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   995
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   996
        ns3_module_emu__local.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   997
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
   998
    root_module.end_section('ns3_module_emu')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
   999
    root_module.begin_section('ns3_module_mobility')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1000
    ns3_module_mobility.register_functions(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1001
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1002
    try:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1003
        import ns3_module_mobility__local
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1004
    except ImportError:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1005
        pass
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1006
    else:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1007
        ns3_module_mobility__local.register_functions(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1008
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1009
    root_module.end_section('ns3_module_mobility')
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1010
    root_module.begin_section('ns3_module_mpi')
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1011
    ns3_module_mpi.register_functions(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1012
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1013
    try:
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1014
        import ns3_module_mpi__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1015
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1016
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1017
    else:
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1018
        ns3_module_mpi__local.register_functions(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1019
    
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1020
    root_module.end_section('ns3_module_mpi')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1021
    root_module.begin_section('ns3_module_stats')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1022
    ns3_module_stats.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1023
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1024
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1025
        import ns3_module_stats__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1026
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1027
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1028
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1029
        ns3_module_stats__local.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1030
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1031
    root_module.end_section('ns3_module_stats')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1032
    root_module.begin_section('ns3_module_topology_read')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1033
    ns3_module_topology_read.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1034
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1035
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1036
        import ns3_module_topology_read__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1037
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1038
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1039
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1040
        ns3_module_topology_read__local.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1041
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1042
    root_module.end_section('ns3_module_topology_read')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1043
    root_module.begin_section('ns3_module_propagation')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1044
    ns3_module_propagation.register_functions(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1045
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1046
    try:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1047
        import ns3_module_propagation__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1048
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1049
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1050
    else:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1051
        ns3_module_propagation__local.register_functions(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1052
    
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1053
    root_module.end_section('ns3_module_propagation')
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1054
    root_module.begin_section('ns3_module_internet')
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1055
    ns3_module_internet.register_functions(root_module)
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1056
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1057
    try:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1058
        import ns3_module_internet__local
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1059
    except ImportError:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1060
        pass
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1061
    else:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1062
        ns3_module_internet__local.register_functions(root_module)
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1063
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1064
    root_module.end_section('ns3_module_internet')
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1065
    root_module.begin_section('ns3_module_point_to_point')
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1066
    ns3_module_point_to_point.register_functions(root_module)
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1067
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1068
    try:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1069
        import ns3_module_point_to_point__local
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1070
    except ImportError:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1071
        pass
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1072
    else:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1073
        ns3_module_point_to_point__local.register_functions(root_module)
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1074
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1075
    root_module.end_section('ns3_module_point_to_point')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1076
    root_module.begin_section('ns3_module_wifi')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1077
    ns3_module_wifi.register_functions(root_module)
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1078
    
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1079
    try:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1080
        import ns3_module_wifi__local
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1081
    except ImportError:
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1082
        pass
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1083
    else:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1084
        ns3_module_wifi__local.register_functions(root_module)
6835
f99f5c9f0cc7 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6825
diff changeset
  1085
    
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1086
    root_module.end_section('ns3_module_wifi')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1087
    root_module.begin_section('ns3_module_applications')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1088
    ns3_module_applications.register_functions(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1089
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1090
    try:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1091
        import ns3_module_applications__local
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1092
    except ImportError:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1093
        pass
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1094
    else:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1095
        ns3_module_applications__local.register_functions(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1096
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1097
    root_module.end_section('ns3_module_applications')
6825
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
  1098
    root_module.begin_section('ns3_module_click')
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
  1099
    ns3_module_click.register_functions(root_module)
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
  1100
    
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
  1101
    try:
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
  1102
        import ns3_module_click__local
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
  1103
    except ImportError:
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
  1104
        pass
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
  1105
    else:
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
  1106
        ns3_module_click__local.register_functions(root_module)
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
  1107
    
f9a45d9a10d0 NS-3 Click Integration merge
Lalith Suresh <suresh.lalith@gmail.com>
parents: 6824
diff changeset
  1108
    root_module.end_section('ns3_module_click')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1109
    root_module.begin_section('ns3_module_flow_monitor')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1110
    ns3_module_flow_monitor.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1111
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1112
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1113
        import ns3_module_flow_monitor__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1114
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1115
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1116
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1117
        ns3_module_flow_monitor__local.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1118
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1119
    root_module.end_section('ns3_module_flow_monitor')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1120
    root_module.begin_section('ns3_module_nix_vector_routing')
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1121
    ns3_module_nix_vector_routing.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1122
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1123
    try:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1124
        import ns3_module_nix_vector_routing__local
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1125
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1126
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1127
    else:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1128
        ns3_module_nix_vector_routing__local.register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1129
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1130
    root_module.end_section('ns3_module_nix_vector_routing')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1131
    root_module.begin_section('ns3_module_tap_bridge')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1132
    ns3_module_tap_bridge.register_functions(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1133
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1134
    try:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1135
        import ns3_module_tap_bridge__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1136
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1137
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1138
    else:
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1139
        ns3_module_tap_bridge__local.register_functions(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1140
    
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1141
    root_module.end_section('ns3_module_tap_bridge')
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1142
    root_module.begin_section('ns3_module_virtual_net_device')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1143
    ns3_module_virtual_net_device.register_functions(root_module)
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1144
    
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1145
    try:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1146
        import ns3_module_virtual_net_device__local
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1147
    except ImportError:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1148
        pass
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1149
    else:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1150
        ns3_module_virtual_net_device__local.register_functions(root_module)
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1151
    
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1152
    root_module.end_section('ns3_module_virtual_net_device')
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1153
    root_module.begin_section('ns3_module_netanim')
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1154
    ns3_module_netanim.register_functions(root_module)
6806
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
  1155
    
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
  1156
    try:
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1157
        import ns3_module_netanim__local
6806
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
  1158
    except ImportError:
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
  1159
        pass
dcfff807764a rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6799
diff changeset
  1160
    else:
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1161
        ns3_module_netanim__local.register_functions(root_module)
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1162
    
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1163
    root_module.end_section('ns3_module_netanim')
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1164
    root_module.begin_section('ns3_module_energy')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1165
    ns3_module_energy.register_functions(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1166
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1167
    try:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1168
        import ns3_module_energy__local
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1169
    except ImportError:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1170
        pass
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1171
    else:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1172
        ns3_module_energy__local.register_functions(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1173
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1174
    root_module.end_section('ns3_module_energy')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1175
    root_module.begin_section('ns3_module_mesh')
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1176
    ns3_module_mesh.register_functions(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1177
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1178
    try:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1179
        import ns3_module_mesh__local
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1180
    except ImportError:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1181
        pass
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1182
    else:
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1183
        ns3_module_mesh__local.register_functions(root_module)
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1184
    
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6835
diff changeset
  1185
    root_module.end_section('ns3_module_mesh')
6893
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1186
    root_module.begin_section('ns3_module_ns3wifi')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1187
    ns3_module_ns3wifi.register_functions(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1188
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1189
    try:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1190
        import ns3_module_ns3wifi__local
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1191
    except ImportError:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1192
        pass
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1193
    else:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1194
        ns3_module_ns3wifi__local.register_functions(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1195
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1196
    root_module.end_section('ns3_module_ns3wifi')
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1197
    root_module.begin_section('ns3_module_spectrum')
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1198
    ns3_module_spectrum.register_functions(root_module)
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1199
    
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1200
    try:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1201
        import ns3_module_spectrum__local
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1202
    except ImportError:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1203
        pass
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1204
    else:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1205
        ns3_module_spectrum__local.register_functions(root_module)
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1206
    
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1207
    root_module.end_section('ns3_module_spectrum')
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1208
    root_module.begin_section('ns3_module_csma')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1209
    ns3_module_csma.register_functions(root_module)
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1210
    
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1211
    try:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1212
        import ns3_module_csma__local
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1213
    except ImportError:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1214
        pass
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1215
    else:
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1216
        ns3_module_csma__local.register_functions(root_module)
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1217
    
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1218
    root_module.end_section('ns3_module_csma')
6799
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
  1219
    root_module.begin_section('ns3_module_uan')
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
  1220
    ns3_module_uan.register_functions(root_module)
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
  1221
    
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
  1222
    try:
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
  1223
        import ns3_module_uan__local
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
  1224
    except ImportError:
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
  1225
        pass
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
  1226
    else:
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
  1227
        ns3_module_uan__local.register_functions(root_module)
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
  1228
    
3ee37173d39e Python bindings API rescan, ns3module.cc now 90% smaller.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6776
diff changeset
  1229
    root_module.end_section('ns3_module_uan')
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1230
    root_module.begin_section('ns3_module_aodv')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1231
    ns3_module_aodv.register_functions(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1232
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1233
    try:
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1234
        import ns3_module_aodv__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1235
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1236
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1237
    else:
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1238
        ns3_module_aodv__local.register_functions(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1239
    
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1240
    root_module.end_section('ns3_module_aodv')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1241
    root_module.begin_section('ns3_module_dsdv')
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1242
    ns3_module_dsdv.register_functions(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1243
    
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1244
    try:
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1245
        import ns3_module_dsdv__local
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1246
    except ImportError:
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1247
        pass
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1248
    else:
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1249
        ns3_module_dsdv__local.register_functions(root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1250
    
6882
20221fbd189e Make mesh, dot11s, and flame modules create only one module
Mitch Watrous <watrous@u.washington.edu>
parents: 6867
diff changeset
  1251
    root_module.end_section('ns3_module_dsdv')
6893
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1252
    root_module.begin_section('ns3_module_wimax')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1253
    ns3_module_wimax.register_functions(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1254
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1255
    try:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1256
        import ns3_module_wimax__local
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1257
    except ImportError:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1258
        pass
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1259
    else:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1260
        ns3_module_wimax__local.register_functions(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1261
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1262
    root_module.end_section('ns3_module_wimax')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1263
    root_module.begin_section('ns3_module_ns3tcp')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1264
    ns3_module_ns3tcp.register_functions(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1265
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1266
    try:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1267
        import ns3_module_ns3tcp__local
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1268
    except ImportError:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1269
        pass
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1270
    else:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1271
        ns3_module_ns3tcp__local.register_functions(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1272
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1273
    root_module.end_section('ns3_module_ns3tcp')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1274
    root_module.begin_section('ns3_module_olsr')
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1275
    ns3_module_olsr.register_functions(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1276
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1277
    try:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1278
        import ns3_module_olsr__local
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1279
    except ImportError:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1280
        pass
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1281
    else:
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1282
        ns3_module_olsr__local.register_functions(root_module)
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1283
    
5dccd86f90cf Modular Python bindings work (many bug fixes, more modules tested)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6882
diff changeset
  1284
    root_module.end_section('ns3_module_olsr')
6867
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1285
    root_module.begin_section('ns3_module_lte')
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1286
    ns3_module_lte.register_functions(root_module)
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1287
    
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1288
    try:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1289
        import ns3_module_lte__local
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1290
    except ImportError:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1291
        pass
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1292
    else:
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1293
        ns3_module_lte__local.register_functions(root_module)
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1294
    
020d52c50a45 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6847
diff changeset
  1295
    root_module.end_section('ns3_module_lte')
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1296
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1297
    register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1298
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1299
    register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1300
    register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
6718
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
  1301
    register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module)
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1302
    register_functions_ns3_flame(module.get_submodule('flame'), root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1303
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1304
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1305
    return
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1306
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1307
def register_functions_ns3_Config(module, root_module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1308
    return
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1309
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1310
def register_functions_ns3_FatalImpl(module, root_module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1311
    return
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1312
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1313
def register_functions_ns3_addressUtils(module, root_module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1314
    return
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1315
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1316
def register_functions_ns3_aodv(module, root_module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1317
    return
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1318
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1319
def register_functions_ns3_dot11s(module, root_module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1320
    return
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1321
6718
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
  1322
def register_functions_ns3_dsdv(module, root_module):
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
  1323
    return
87c3097fecef rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 6716
diff changeset
  1324
6534
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1325
def register_functions_ns3_flame(module, root_module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1326
    return
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1327
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1328
def register_functions_ns3_internal(module, root_module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1329
    return
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1330
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1331
def register_functions_ns3_olsr(module, root_module):
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1332
    return
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1333
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1334
def main():
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1335
    out = FileCodeSink(sys.stdout)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1336
    root_module = module_init()
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1337
    register_types(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1338
    register_methods(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1339
    register_functions(root_module)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1340
    root_module.generate(out)
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1341
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1342
if __name__ == '__main__':
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1343
    main()
f99ae4e06d61 python scan
Josh Pelkey <jpelkey@gatech.edu>
parents: 6491
diff changeset
  1344