bindings/python/ns3_module_helper.py
author Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
Tue, 05 Aug 2008 19:42:53 +0100
changeset 3511 eb17407147c3
parent 3468 0bb5275704fc
child 3539 427638d49248
permissions -rw-r--r--
Python: re-scan API; unblock python threads during Simulator::Run; new pybindgen brings improved thread safety for virtual methods.
gjc@3468
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass
gjc@3408
     2
gjc@3408
     3
def register_types(module):
gjc@3408
     4
    root_module = module.get_root()
gjc@3408
     5
    
gjc@3408
     6
    ## mobility-helper.h: ns3::MobilityHelper [class]
gjc@3408
     7
    module.add_class('MobilityHelper', allow_subclassing=False)
gjc@3408
     8
    ## internet-stack-helper.h: ns3::InternetStackHelper [class]
gjc@3408
     9
    module.add_class('InternetStackHelper', allow_subclassing=False)
gjc@3408
    10
    ## node-container.h: ns3::NodeContainer [class]
gjc@3408
    11
    module.add_class('NodeContainer')
gjc@3408
    12
    ## point-to-point-helper.h: ns3::PointToPointHelper [class]
gjc@3408
    13
    module.add_class('PointToPointHelper', allow_subclassing=False)
gjc@3408
    14
    ## net-device-container.h: ns3::NetDeviceContainer [class]
gjc@3408
    15
    module.add_class('NetDeviceContainer')
gjc@3408
    16
    ## csma-helper.h: ns3::CsmaHelper [class]
gjc@3408
    17
    module.add_class('CsmaHelper', allow_subclassing=False)
gjc@3408
    18
    ## udp-echo-helper.h: ns3::UdpEchoServerHelper [class]
gjc@3408
    19
    module.add_class('UdpEchoServerHelper', allow_subclassing=False)
gjc@3408
    20
    ## olsr-helper.h: ns3::OlsrHelper [class]
gjc@3408
    21
    module.add_class('OlsrHelper', allow_subclassing=False)
gjc@3408
    22
    ## packet-socket-helper.h: ns3::PacketSocketHelper [class]
gjc@3408
    23
    module.add_class('PacketSocketHelper', allow_subclassing=False)
gjc@3408
    24
    ## on-off-helper.h: ns3::OnOffHelper [class]
gjc@3408
    25
    module.add_class('OnOffHelper', allow_subclassing=False)
gjc@3408
    26
    ## udp-echo-helper.h: ns3::UdpEchoClientHelper [class]
gjc@3408
    27
    module.add_class('UdpEchoClientHelper', allow_subclassing=False)
gjc@3408
    28
    ## static-multicast-route-helper.h: ns3::StaticMulticastRouteHelper [class]
gjc@3408
    29
    module.add_class('StaticMulticastRouteHelper', allow_subclassing=False)
gjc@3408
    30
    ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer [class]
gjc@3408
    31
    module.add_class('Ipv4InterfaceContainer')
gjc@3408
    32
    ## application-container.h: ns3::ApplicationContainer [class]
gjc@3408
    33
    module.add_class('ApplicationContainer')
gjc@3408
    34
    ## wifi-helper.h: ns3::WifiHelper [class]
gjc@3408
    35
    module.add_class('WifiHelper', allow_subclassing=False)
gjc@3408
    36
    ## ipv4-address-helper.h: ns3::Ipv4AddressHelper [class]
gjc@3408
    37
    module.add_class('Ipv4AddressHelper', allow_subclassing=False)
gjc@3408
    38
    ## packet-sink-helper.h: ns3::PacketSinkHelper [class]
gjc@3408
    39
    module.add_class('PacketSinkHelper', allow_subclassing=False)
gjc@3408
    40
    ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper [class]
gjc@3408
    41
    module.add_class('Ns2MobilityHelper', allow_subclassing=False)
gjc@3408
    42
    
gjc@3408
    43
    ## Register a nested module for the namespace internal
gjc@3408
    44
    
gjc@3408
    45
    nested_module = module.add_cpp_namespace('internal')
gjc@3408
    46
    register_types_ns3_internal(nested_module)
gjc@3408
    47
    
gjc@3408
    48
    
gjc@3408
    49
    ## Register a nested module for the namespace TimeStepPrecision
gjc@3408
    50
    
gjc@3408
    51
    nested_module = module.add_cpp_namespace('TimeStepPrecision')
gjc@3408
    52
    register_types_ns3_TimeStepPrecision(nested_module)
gjc@3408
    53
    
gjc@3408
    54
    
gjc@3408
    55
    ## Register a nested module for the namespace Config
gjc@3408
    56
    
gjc@3408
    57
    nested_module = module.add_cpp_namespace('Config')
gjc@3408
    58
    register_types_ns3_Config(nested_module)
gjc@3408
    59
    
gjc@3408
    60
    
gjc@3408
    61
    ## Register a nested module for the namespace olsr
gjc@3408
    62
    
gjc@3408
    63
    nested_module = module.add_cpp_namespace('olsr')
gjc@3408
    64
    register_types_ns3_olsr(nested_module)
gjc@3408
    65
    
gjc@3408
    66
gjc@3408
    67
def register_types_ns3_internal(module):
gjc@3408
    68
    root_module = module.get_root()
gjc@3408
    69
    
gjc@3408
    70
gjc@3408
    71
def register_types_ns3_TimeStepPrecision(module):
gjc@3408
    72
    root_module = module.get_root()
gjc@3408
    73
    
gjc@3408
    74
gjc@3408
    75
def register_types_ns3_Config(module):
gjc@3408
    76
    root_module = module.get_root()
gjc@3408
    77
    
gjc@3408
    78
gjc@3408
    79
def register_types_ns3_olsr(module):
gjc@3408
    80
    root_module = module.get_root()
gjc@3408
    81
    
gjc@3408
    82
gjc@3408
    83
def register_methods(root_module):
gjc@3408
    84
    register_Ns3MobilityHelper_methods(root_module, root_module['ns3::MobilityHelper'])
gjc@3408
    85
    register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper'])
gjc@3408
    86
    register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
gjc@3408
    87
    register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper'])
gjc@3408
    88
    register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
gjc@3408
    89
    register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper'])
gjc@3408
    90
    register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper'])
gjc@3408
    91
    register_Ns3OlsrHelper_methods(root_module, root_module['ns3::OlsrHelper'])
gjc@3408
    92
    register_Ns3PacketSocketHelper_methods(root_module, root_module['ns3::PacketSocketHelper'])
gjc@3408
    93
    register_Ns3OnOffHelper_methods(root_module, root_module['ns3::OnOffHelper'])
gjc@3408
    94
    register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper'])
gjc@3408
    95
    register_Ns3StaticMulticastRouteHelper_methods(root_module, root_module['ns3::StaticMulticastRouteHelper'])
gjc@3408
    96
    register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer'])
gjc@3408
    97
    register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
gjc@3408
    98
    register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper'])
gjc@3408
    99
    register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper'])
gjc@3408
   100
    register_Ns3PacketSinkHelper_methods(root_module, root_module['ns3::PacketSinkHelper'])
gjc@3408
   101
    register_Ns3Ns2MobilityHelper_methods(root_module, root_module['ns3::Ns2MobilityHelper'])
gjc@3408
   102
    return
gjc@3408
   103
gjc@3408
   104
def register_Ns3MobilityHelper_methods(root_module, cls):
gjc@3408
   105
    ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper() [constructor]
gjc@3468
   106
    cls.add_constructor([])
gjc@3408
   107
    ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(ns3::Ptr<ns3::PositionAllocator> allocator) [member function]
gjc@3468
   108
    cls.add_method('SetPositionAllocator', 
gjc@3468
   109
                   'void', 
gjc@3468
   110
                   [param('ns3::Ptr< ns3::PositionAllocator >', 'allocator')])
gjc@3408
   111
    ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue(), std::string n8="", ns3::AttributeValue const & v8=ns3::EmptyAttributeValue(), std::string n9="", ns3::AttributeValue const & v9=ns3::EmptyAttributeValue()) [member function]
gjc@3468
   112
    cls.add_method('SetPositionAllocator', 
gjc@3468
   113
                   'void', 
gjc@3468
   114
                   [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue&', 'v5', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue&', 'v6', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue&', 'v7', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n8', default_value='""'), param('ns3::AttributeValue&', 'v8', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n9', default_value='""'), param('ns3::AttributeValue&', 'v9', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   115
    ## mobility-helper.h: void ns3::MobilityHelper::SetMobilityModel(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue(), std::string n8="", ns3::AttributeValue const & v8=ns3::EmptyAttributeValue(), std::string n9="", ns3::AttributeValue const & v9=ns3::EmptyAttributeValue()) [member function]
gjc@3468
   116
    cls.add_method('SetMobilityModel', 
gjc@3468
   117
                   'void', 
gjc@3468
   118
                   [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue&', 'v5', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue&', 'v6', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue&', 'v7', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n8', default_value='""'), param('ns3::AttributeValue&', 'v8', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n9', default_value='""'), param('ns3::AttributeValue&', 'v9', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   119
    ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(ns3::Ptr<ns3::Object> reference) [member function]
gjc@3468
   120
    cls.add_method('PushReferenceMobilityModel', 
gjc@3468
   121
                   'void', 
gjc@3468
   122
                   [param('ns3::Ptr< ns3::Object >', 'reference')])
gjc@3408
   123
    ## mobility-helper.h: void ns3::MobilityHelper::PopReferenceMobilityModel() [member function]
gjc@3468
   124
    cls.add_method('PopReferenceMobilityModel', 
gjc@3468
   125
                   'void', 
gjc@3468
   126
                   [])
gjc@3408
   127
    ## mobility-helper.h: std::string ns3::MobilityHelper::GetMobilityModelType() const [member function]
gjc@3468
   128
    cls.add_method('GetMobilityModelType', 
gjc@3468
   129
                   'std::string', 
gjc@3468
   130
                   [], 
gjc@3468
   131
                   is_const=True)
gjc@3408
   132
    ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::NodeContainer container) [member function]
gjc@3468
   133
    cls.add_method('Install', 
gjc@3468
   134
                   'void', 
gjc@3468
   135
                   [param('ns3::NodeContainer', 'container')])
gjc@3408
   136
    ## mobility-helper.h: void ns3::MobilityHelper::InstallAll() [member function]
gjc@3468
   137
    cls.add_method('InstallAll', 
gjc@3468
   138
                   'void', 
gjc@3468
   139
                   [])
gjc@3511
   140
    ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, uint32_t nodeid) [member function]
gjc@3511
   141
    cls.add_method('EnableAscii', 
gjc@3511
   142
                   'void', 
gjc@3511
   143
                   [param('std::ostream&', 'os'), param('uint32_t', 'nodeid')], 
gjc@3511
   144
                   is_static=True)
gjc@3511
   145
    ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
gjc@3511
   146
    cls.add_method('EnableAscii', 
gjc@3511
   147
                   'void', 
gjc@3511
   148
                   [param('std::ostream&', 'os'), param('ns3::NodeContainer', 'n')], 
gjc@3511
   149
                   is_static=True)
gjc@3511
   150
    ## mobility-helper.h: static void ns3::MobilityHelper::EnableAsciiAll(std::ostream & os) [member function]
gjc@3511
   151
    cls.add_method('EnableAsciiAll', 
gjc@3511
   152
                   'void', 
gjc@3511
   153
                   [param('std::ostream&', 'os')], 
gjc@3511
   154
                   is_static=True)
gjc@3408
   155
    return
gjc@3408
   156
gjc@3408
   157
def register_Ns3InternetStackHelper_methods(root_module, cls):
gjc@3408
   158
    ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::NodeContainer c) [member function]
gjc@3468
   159
    cls.add_method('Install', 
gjc@3468
   160
                   'void', 
gjc@3468
   161
                   [param('ns3::NodeContainer', 'c')])
gjc@3408
   162
    ## internet-stack-helper.h: static void ns3::InternetStackHelper::EnablePcapAll(std::string filename) [member function]
gjc@3468
   163
    cls.add_method('EnablePcapAll', 
gjc@3468
   164
                   'void', 
gjc@3468
   165
                   [param('std::string', 'filename')], 
gjc@3468
   166
                   is_static=True)
gjc@3408
   167
    cls.add_constructor([])
gjc@3408
   168
    return
gjc@3408
   169
gjc@3408
   170
def register_Ns3NodeContainer_methods(root_module, cls):
gjc@3408
   171
    ## node-container.h: ns3::NodeContainer::NodeContainer() [constructor]
gjc@3468
   172
    cls.add_constructor([])
gjc@3408
   173
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
gjc@3468
   174
    cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
gjc@3408
   175
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
gjc@3468
   176
    cls.add_constructor([param('ns3::NodeContainer&', 'a', is_const=True), param('ns3::NodeContainer&', 'b', is_const=True)])
gjc@3408
   177
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
gjc@3468
   178
    cls.add_constructor([param('ns3::NodeContainer&', 'a', is_const=True), param('ns3::NodeContainer&', 'b', is_const=True), param('ns3::NodeContainer&', 'c', is_const=True)])
gjc@3408
   179
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d) [constructor]
gjc@3468
   180
    cls.add_constructor([param('ns3::NodeContainer&', 'a', is_const=True), param('ns3::NodeContainer&', 'b', is_const=True), param('ns3::NodeContainer&', 'c', is_const=True), param('ns3::NodeContainer&', 'd', is_const=True)])
gjc@3408
   181
    ## node-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::Begin() const [member function]
gjc@3468
   182
    cls.add_method('Begin', 
gjc@3468
   183
                   '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node >, std::allocator< ns3::Ptr< ns3::Node > > > >', 
gjc@3468
   184
                   [], 
gjc@3468
   185
                   is_const=True)
gjc@3408
   186
    ## node-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::End() const [member function]
gjc@3468
   187
    cls.add_method('End', 
gjc@3468
   188
                   '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node >, std::allocator< ns3::Ptr< ns3::Node > > > >', 
gjc@3468
   189
                   [], 
gjc@3468
   190
                   is_const=True)
gjc@3408
   191
    ## node-container.h: uint32_t ns3::NodeContainer::GetN() const [member function]
gjc@3468
   192
    cls.add_method('GetN', 
gjc@3468
   193
                   'uint32_t', 
gjc@3468
   194
                   [], 
gjc@3468
   195
                   is_const=True)
gjc@3408
   196
    ## node-container.h: ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
gjc@3468
   197
    cls.add_method('Get', 
gjc@3468
   198
                   'ns3::Ptr< ns3::Node >', 
gjc@3468
   199
                   [param('uint32_t', 'i')], 
gjc@3468
   200
                   is_const=True)
gjc@3408
   201
    ## node-container.h: void ns3::NodeContainer::Create(uint32_t n) [member function]
gjc@3468
   202
    cls.add_method('Create', 
gjc@3468
   203
                   'void', 
gjc@3468
   204
                   [param('uint32_t', 'n')])
gjc@3408
   205
    ## node-container.h: void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
gjc@3468
   206
    cls.add_method('Add', 
gjc@3468
   207
                   'void', 
gjc@3468
   208
                   [param('ns3::NodeContainer', 'other')])
gjc@3408
   209
    ## node-container.h: void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
gjc@3468
   210
    cls.add_method('Add', 
gjc@3468
   211
                   'void', 
gjc@3468
   212
                   [param('ns3::Ptr< ns3::Node >', 'node')])
gjc@3408
   213
    ## node-container.h: static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
gjc@3468
   214
    cls.add_method('GetGlobal', 
gjc@3468
   215
                   'ns3::NodeContainer', 
gjc@3468
   216
                   [], 
gjc@3468
   217
                   is_static=True)
gjc@3408
   218
    return
gjc@3408
   219
gjc@3408
   220
def register_Ns3PointToPointHelper_methods(root_module, cls):
gjc@3408
   221
    ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper() [constructor]
gjc@3468
   222
    cls.add_constructor([])
gjc@3408
   223
    ## point-to-point-helper.h: void ns3::PointToPointHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function]
gjc@3468
   224
    cls.add_method('SetQueue', 
gjc@3468
   225
                   'void', 
gjc@3468
   226
                   [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   227
    ## point-to-point-helper.h: void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3468
   228
    cls.add_method('SetDeviceAttribute', 
gjc@3468
   229
                   'void', 
gjc@3468
   230
                   [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)])
gjc@3408
   231
    ## point-to-point-helper.h: void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3468
   232
    cls.add_method('SetChannelAttribute', 
gjc@3468
   233
                   'void', 
gjc@3468
   234
                   [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)])
gjc@3416
   235
    ## point-to-point-helper.h: void ns3::PointToPointHelper::SetDeviceParameter(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3468
   236
    cls.add_method('SetDeviceParameter', 
gjc@3468
   237
                   'void', 
gjc@3468
   238
                   [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)], 
gjc@3468
   239
                   deprecated=True)
gjc@3416
   240
    ## point-to-point-helper.h: void ns3::PointToPointHelper::SetChannelParameter(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3468
   241
    cls.add_method('SetChannelParameter', 
gjc@3468
   242
                   'void', 
gjc@3468
   243
                   [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)], 
gjc@3468
   244
                   deprecated=True)
gjc@3408
   245
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function]
gjc@3468
   246
    cls.add_method('EnablePcap', 
gjc@3468
   247
                   'void', 
gjc@3468
   248
                   [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], 
gjc@3468
   249
                   is_static=True)
gjc@3408
   250
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function]
gjc@3468
   251
    cls.add_method('EnablePcap', 
gjc@3468
   252
                   'void', 
gjc@3468
   253
                   [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')], 
gjc@3468
   254
                   is_static=True)
gjc@3408
   255
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function]
gjc@3468
   256
    cls.add_method('EnablePcap', 
gjc@3468
   257
                   'void', 
gjc@3468
   258
                   [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')], 
gjc@3468
   259
                   is_static=True)
gjc@3408
   260
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcapAll(std::string filename) [member function]
gjc@3468
   261
    cls.add_method('EnablePcapAll', 
gjc@3468
   262
                   'void', 
gjc@3468
   263
                   [param('std::string', 'filename')], 
gjc@3468
   264
                   is_static=True)
gjc@3408
   265
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function]
gjc@3468
   266
    cls.add_method('EnableAscii', 
gjc@3468
   267
                   'void', 
gjc@3468
   268
                   [param('std::ostream&', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], 
gjc@3468
   269
                   is_static=True)
gjc@3408
   270
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function]
gjc@3468
   271
    cls.add_method('EnableAscii', 
gjc@3468
   272
                   'void', 
gjc@3468
   273
                   [param('std::ostream&', 'os'), param('ns3::NetDeviceContainer', 'd')], 
gjc@3468
   274
                   is_static=True)
gjc@3408
   275
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
gjc@3468
   276
    cls.add_method('EnableAscii', 
gjc@3468
   277
                   'void', 
gjc@3468
   278
                   [param('std::ostream&', 'os'), param('ns3::NodeContainer', 'n')], 
gjc@3468
   279
                   is_static=True)
gjc@3408
   280
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAsciiAll(std::ostream & os) [member function]
gjc@3468
   281
    cls.add_method('EnableAsciiAll', 
gjc@3468
   282
                   'void', 
gjc@3468
   283
                   [param('std::ostream&', 'os')], 
gjc@3468
   284
                   is_static=True)
gjc@3408
   285
    ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function]
gjc@3468
   286
    cls.add_method('Install', 
gjc@3468
   287
                   'ns3::NetDeviceContainer', 
gjc@3468
   288
                   [param('ns3::NodeContainer', 'c')])
gjc@3408
   289
    ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr<ns3::Node> a, ns3::Ptr<ns3::Node> b) [member function]
gjc@3468
   290
    cls.add_method('Install', 
gjc@3468
   291
                   'ns3::NetDeviceContainer', 
gjc@3468
   292
                   [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')])
gjc@3408
   293
    return
gjc@3408
   294
gjc@3408
   295
def register_Ns3NetDeviceContainer_methods(root_module, cls):
gjc@3408
   296
    ## net-device-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::NetDevice>*,std::vector<ns3::Ptr<ns3::NetDevice>, std::allocator<ns3::Ptr<ns3::NetDevice> > > > ns3::NetDeviceContainer::Begin() const [member function]
gjc@3468
   297
    cls.add_method('Begin', 
gjc@3468
   298
                   '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::NetDevice >, std::vector< ns3::Ptr< ns3::NetDevice >, std::allocator< ns3::Ptr< ns3::NetDevice > > > >', 
gjc@3468
   299
                   [], 
gjc@3468
   300
                   is_const=True)
gjc@3408
   301
    ## net-device-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::NetDevice>*,std::vector<ns3::Ptr<ns3::NetDevice>, std::allocator<ns3::Ptr<ns3::NetDevice> > > > ns3::NetDeviceContainer::End() const [member function]
gjc@3468
   302
    cls.add_method('End', 
gjc@3468
   303
                   '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::NetDevice >, std::vector< ns3::Ptr< ns3::NetDevice >, std::allocator< ns3::Ptr< ns3::NetDevice > > > >', 
gjc@3468
   304
                   [], 
gjc@3468
   305
                   is_const=True)
gjc@3408
   306
    ## net-device-container.h: uint32_t ns3::NetDeviceContainer::GetN() const [member function]
gjc@3468
   307
    cls.add_method('GetN', 
gjc@3468
   308
                   'uint32_t', 
gjc@3468
   309
                   [], 
gjc@3468
   310
                   is_const=True)
gjc@3408
   311
    ## net-device-container.h: ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
gjc@3468
   312
    cls.add_method('Get', 
gjc@3468
   313
                   'ns3::Ptr< ns3::NetDevice >', 
gjc@3468
   314
                   [param('uint32_t', 'i')], 
gjc@3468
   315
                   is_const=True)
gjc@3408
   316
    ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
gjc@3468
   317
    cls.add_method('Add', 
gjc@3468
   318
                   'void', 
gjc@3468
   319
                   [param('ns3::NetDeviceContainer', 'other')])
gjc@3408
   320
    ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
gjc@3468
   321
    cls.add_method('Add', 
gjc@3468
   322
                   'void', 
gjc@3468
   323
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
gjc@3408
   324
    cls.add_constructor([])
gjc@3408
   325
    return
gjc@3408
   326
gjc@3408
   327
def register_Ns3CsmaHelper_methods(root_module, cls):
gjc@3408
   328
    ## csma-helper.h: ns3::CsmaHelper::CsmaHelper() [constructor]
gjc@3468
   329
    cls.add_constructor([])
gjc@3408
   330
    ## csma-helper.h: void ns3::CsmaHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function]
gjc@3468
   331
    cls.add_method('SetQueue', 
gjc@3468
   332
                   'void', 
gjc@3468
   333
                   [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   334
    ## csma-helper.h: void ns3::CsmaHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function]
gjc@3468
   335
    cls.add_method('SetDeviceAttribute', 
gjc@3468
   336
                   'void', 
gjc@3468
   337
                   [param('std::string', 'n1'), param('ns3::AttributeValue&', 'v1', is_const=True)])
gjc@3408
   338
    ## csma-helper.h: void ns3::CsmaHelper::SetChannelAttribute(std::string n1, ns3::AttributeValue const & v1) [member function]
gjc@3468
   339
    cls.add_method('SetChannelAttribute', 
gjc@3468
   340
                   'void', 
gjc@3468
   341
                   [param('std::string', 'n1'), param('ns3::AttributeValue&', 'v1', is_const=True)])
gjc@3416
   342
    ## csma-helper.h: void ns3::CsmaHelper::SetDeviceParameter(std::string n1, ns3::AttributeValue const & v1) [member function]
gjc@3468
   343
    cls.add_method('SetDeviceParameter', 
gjc@3468
   344
                   'void', 
gjc@3468
   345
                   [param('std::string', 'n1'), param('ns3::AttributeValue&', 'v1', is_const=True)], 
gjc@3468
   346
                   deprecated=True)
gjc@3416
   347
    ## csma-helper.h: void ns3::CsmaHelper::SetChannelParameter(std::string n1, ns3::AttributeValue const & v1) [member function]
gjc@3468
   348
    cls.add_method('SetChannelParameter', 
gjc@3468
   349
                   'void', 
gjc@3468
   350
                   [param('std::string', 'n1'), param('ns3::AttributeValue&', 'v1', is_const=True)], 
gjc@3468
   351
                   deprecated=True)
gjc@3408
   352
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function]
gjc@3468
   353
    cls.add_method('EnablePcap', 
gjc@3468
   354
                   'void', 
gjc@3468
   355
                   [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], 
gjc@3468
   356
                   is_static=True)
gjc@3408
   357
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function]
gjc@3468
   358
    cls.add_method('EnablePcap', 
gjc@3468
   359
                   'void', 
gjc@3468
   360
                   [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')], 
gjc@3468
   361
                   is_static=True)
gjc@3408
   362
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function]
gjc@3468
   363
    cls.add_method('EnablePcap', 
gjc@3468
   364
                   'void', 
gjc@3468
   365
                   [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')], 
gjc@3468
   366
                   is_static=True)
gjc@3408
   367
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcapAll(std::string filename) [member function]
gjc@3468
   368
    cls.add_method('EnablePcapAll', 
gjc@3468
   369
                   'void', 
gjc@3468
   370
                   [param('std::string', 'filename')], 
gjc@3468
   371
                   is_static=True)
gjc@3408
   372
    ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function]
gjc@3468
   373
    cls.add_method('EnableAscii', 
gjc@3468
   374
                   'void', 
gjc@3468
   375
                   [param('std::ostream&', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], 
gjc@3468
   376
                   is_static=True)
gjc@3408
   377
    ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function]
gjc@3468
   378
    cls.add_method('EnableAscii', 
gjc@3468
   379
                   'void', 
gjc@3468
   380
                   [param('std::ostream&', 'os'), param('ns3::NetDeviceContainer', 'd')], 
gjc@3468
   381
                   is_static=True)
gjc@3408
   382
    ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
gjc@3468
   383
    cls.add_method('EnableAscii', 
gjc@3468
   384
                   'void', 
gjc@3468
   385
                   [param('std::ostream&', 'os'), param('ns3::NodeContainer', 'n')], 
gjc@3468
   386
                   is_static=True)
gjc@3408
   387
    ## csma-helper.h: static void ns3::CsmaHelper::EnableAsciiAll(std::ostream & os) [member function]
gjc@3468
   388
    cls.add_method('EnableAsciiAll', 
gjc@3468
   389
                   'void', 
gjc@3468
   390
                   [param('std::ostream&', 'os')], 
gjc@3468
   391
                   is_static=True)
gjc@3408
   392
    ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c) [member function]
gjc@3468
   393
    cls.add_method('Install', 
gjc@3468
   394
                   'ns3::NetDeviceContainer', 
gjc@3468
   395
                   [param('ns3::NodeContainer&', 'c', is_const=True)])
gjc@3408
   396
    ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c, ns3::Ptr<ns3::CsmaChannel> channel) [member function]
gjc@3468
   397
    cls.add_method('Install', 
gjc@3468
   398
                   'ns3::NetDeviceContainer', 
gjc@3468
   399
                   [param('ns3::NodeContainer&', 'c', is_const=True), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')])
gjc@3408
   400
    return
gjc@3408
   401
gjc@3408
   402
def register_Ns3UdpEchoServerHelper_methods(root_module, cls):
gjc@3408
   403
    ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(uint16_t port) [constructor]
gjc@3468
   404
    cls.add_constructor([param('uint16_t', 'port')])
gjc@3408
   405
    ## udp-echo-helper.h: void ns3::UdpEchoServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3468
   406
    cls.add_method('SetAttribute', 
gjc@3468
   407
                   'void', 
gjc@3468
   408
                   [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)])
gjc@3408
   409
    ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::NodeContainer c) [member function]
gjc@3468
   410
    cls.add_method('Install', 
gjc@3468
   411
                   'ns3::ApplicationContainer', 
gjc@3468
   412
                   [param('ns3::NodeContainer', 'c')])
gjc@3408
   413
    return
gjc@3408
   414
gjc@3408
   415
def register_Ns3OlsrHelper_methods(root_module, cls):
gjc@3408
   416
    ## olsr-helper.h: ns3::OlsrHelper::OlsrHelper() [constructor]
gjc@3468
   417
    cls.add_constructor([])
gjc@3408
   418
    ## olsr-helper.h: void ns3::OlsrHelper::SetAgent(std::string tid, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
gjc@3468
   419
    cls.add_method('SetAgent', 
gjc@3468
   420
                   'void', 
gjc@3468
   421
                   [param('std::string', 'tid'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue&', 'v0', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue&', 'v5', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue&', 'v6', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue&', 'v7', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   422
    ## olsr-helper.h: void ns3::OlsrHelper::Install(ns3::NodeContainer container) [member function]
gjc@3468
   423
    cls.add_method('Install', 
gjc@3468
   424
                   'void', 
gjc@3468
   425
                   [param('ns3::NodeContainer', 'container')])
gjc@3408
   426
    ## olsr-helper.h: void ns3::OlsrHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
gjc@3468
   427
    cls.add_method('Install', 
gjc@3468
   428
                   'void', 
gjc@3468
   429
                   [param('ns3::Ptr< ns3::Node >', 'node')])
gjc@3408
   430
    ## olsr-helper.h: void ns3::OlsrHelper::InstallAll() [member function]
gjc@3468
   431
    cls.add_method('InstallAll', 
gjc@3468
   432
                   'void', 
gjc@3468
   433
                   [])
gjc@3408
   434
    return
gjc@3408
   435
gjc@3408
   436
def register_Ns3PacketSocketHelper_methods(root_module, cls):
gjc@3408
   437
    ## packet-socket-helper.h: void ns3::PacketSocketHelper::Install(ns3::NodeContainer c) [member function]
gjc@3468
   438
    cls.add_method('Install', 
gjc@3468
   439
                   'void', 
gjc@3468
   440
                   [param('ns3::NodeContainer', 'c')])
gjc@3408
   441
    cls.add_constructor([])
gjc@3408
   442
    return
gjc@3408
   443
gjc@3408
   444
def register_Ns3OnOffHelper_methods(root_module, cls):
gjc@3408
   445
    ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(std::string protocol, ns3::Address address) [constructor]
gjc@3468
   446
    cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')])
gjc@3408
   447
    ## on-off-helper.h: void ns3::OnOffHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3468
   448
    cls.add_method('SetAttribute', 
gjc@3468
   449
                   'void', 
gjc@3468
   450
                   [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)])
gjc@3408
   451
    ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::NodeContainer c) [member function]
gjc@3468
   452
    cls.add_method('Install', 
gjc@3468
   453
                   'ns3::ApplicationContainer', 
gjc@3468
   454
                   [param('ns3::NodeContainer', 'c')])
gjc@3408
   455
    return
gjc@3408
   456
gjc@3408
   457
def register_Ns3UdpEchoClientHelper_methods(root_module, cls):
gjc@3408
   458
    ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor]
gjc@3468
   459
    cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')])
gjc@3408
   460
    ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3468
   461
    cls.add_method('SetAttribute', 
gjc@3468
   462
                   'void', 
gjc@3468
   463
                   [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)])
gjc@3408
   464
    ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::NodeContainer c) [member function]
gjc@3468
   465
    cls.add_method('Install', 
gjc@3468
   466
                   'ns3::ApplicationContainer', 
gjc@3468
   467
                   [param('ns3::NodeContainer', 'c')])
gjc@3408
   468
    return
gjc@3408
   469
gjc@3408
   470
def register_Ns3StaticMulticastRouteHelper_methods(root_module, cls):
gjc@3408
   471
    ## static-multicast-route-helper.h: ns3::StaticMulticastRouteHelper::StaticMulticastRouteHelper() [constructor]
gjc@3468
   472
    cls.add_constructor([])
gjc@3408
   473
    ## static-multicast-route-helper.h: void ns3::StaticMulticastRouteHelper::AddMulticastRoute(ns3::Ptr<ns3::Node> arg0, ns3::Ipv4Address source, ns3::Ipv4Address group, ns3::Ptr<ns3::NetDevice> input, ns3::NetDeviceContainer output) [member function]
gjc@3468
   474
    cls.add_method('AddMulticastRoute', 
gjc@3468
   475
                   'void', 
gjc@3468
   476
                   [param('ns3::Ptr< ns3::Node >', 'arg0'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')])
gjc@3408
   477
    ## static-multicast-route-helper.h: void ns3::StaticMulticastRouteHelper::SetDefaultMulticastRoute(ns3::Ptr<ns3::Node> n, ns3::Ptr<ns3::NetDevice> nd) [member function]
gjc@3468
   478
    cls.add_method('SetDefaultMulticastRoute', 
gjc@3468
   479
                   'void', 
gjc@3468
   480
                   [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
gjc@3408
   481
    ## static-multicast-route-helper.h: void ns3::StaticMulticastRouteHelper::JoinMulticastGroup(ns3::Ptr<ns3::Node> n, ns3::Ipv4Address source, ns3::Ipv4Address group) [member function]
gjc@3468
   482
    cls.add_method('JoinMulticastGroup', 
gjc@3468
   483
                   'void', 
gjc@3468
   484
                   [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group')])
gjc@3408
   485
    return
gjc@3408
   486
gjc@3408
   487
def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
gjc@3408
   488
    ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor]
gjc@3468
   489
    cls.add_constructor([])
gjc@3408
   490
    ## ipv4-interface-container.h: uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function]
gjc@3468
   491
    cls.add_method('GetN', 
gjc@3468
   492
                   'uint32_t', 
gjc@3468
   493
                   [], 
gjc@3468
   494
                   is_const=True)
gjc@3408
   495
    ## ipv4-interface-container.h: ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i) const [member function]
gjc@3468
   496
    cls.add_method('GetAddress', 
gjc@3468
   497
                   'ns3::Ipv4Address', 
gjc@3468
   498
                   [param('uint32_t', 'i')], 
gjc@3468
   499
                   is_const=True)
gjc@3408
   500
    ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function]
gjc@3468
   501
    cls.add_method('SetMetric', 
gjc@3468
   502
                   'void', 
gjc@3468
   503
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')])
gjc@3408
   504
    ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
gjc@3468
   505
    cls.add_method('Add', 
gjc@3468
   506
                   'void', 
gjc@3468
   507
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
gjc@3408
   508
    return
gjc@3408
   509
gjc@3408
   510
def register_Ns3ApplicationContainer_methods(root_module, cls):
gjc@3408
   511
    ## application-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Application>*,std::vector<ns3::Ptr<ns3::Application>, std::allocator<ns3::Ptr<ns3::Application> > > > ns3::ApplicationContainer::Begin() const [member function]
gjc@3468
   512
    cls.add_method('Begin', 
gjc@3468
   513
                   '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::Application >, std::vector< ns3::Ptr< ns3::Application >, std::allocator< ns3::Ptr< ns3::Application > > > >', 
gjc@3468
   514
                   [], 
gjc@3468
   515
                   is_const=True)
gjc@3408
   516
    ## application-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Application>*,std::vector<ns3::Ptr<ns3::Application>, std::allocator<ns3::Ptr<ns3::Application> > > > ns3::ApplicationContainer::End() const [member function]
gjc@3468
   517
    cls.add_method('End', 
gjc@3468
   518
                   '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::Application >, std::vector< ns3::Ptr< ns3::Application >, std::allocator< ns3::Ptr< ns3::Application > > > >', 
gjc@3468
   519
                   [], 
gjc@3468
   520
                   is_const=True)
gjc@3408
   521
    ## application-container.h: uint32_t ns3::ApplicationContainer::GetN() const [member function]
gjc@3468
   522
    cls.add_method('GetN', 
gjc@3468
   523
                   'uint32_t', 
gjc@3468
   524
                   [], 
gjc@3468
   525
                   is_const=True)
gjc@3408
   526
    ## application-container.h: ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
gjc@3468
   527
    cls.add_method('Get', 
gjc@3468
   528
                   'ns3::Ptr< ns3::Application >', 
gjc@3468
   529
                   [param('uint32_t', 'i')], 
gjc@3468
   530
                   is_const=True)
gjc@3408
   531
    ## application-container.h: void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
gjc@3468
   532
    cls.add_method('Add', 
gjc@3468
   533
                   'void', 
gjc@3468
   534
                   [param('ns3::ApplicationContainer', 'other')])
gjc@3408
   535
    ## application-container.h: void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
gjc@3468
   536
    cls.add_method('Add', 
gjc@3468
   537
                   'void', 
gjc@3468
   538
                   [param('ns3::Ptr< ns3::Application >', 'application')])
gjc@3408
   539
    ## application-container.h: void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
gjc@3468
   540
    cls.add_method('Start', 
gjc@3468
   541
                   'void', 
gjc@3468
   542
                   [param('ns3::Time', 'start')])
gjc@3408
   543
    ## application-container.h: void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
gjc@3468
   544
    cls.add_method('Stop', 
gjc@3468
   545
                   'void', 
gjc@3468
   546
                   [param('ns3::Time', 'stop')])
gjc@3408
   547
    cls.add_constructor([])
gjc@3408
   548
    return
gjc@3408
   549
gjc@3408
   550
def register_Ns3WifiHelper_methods(root_module, cls):
gjc@3408
   551
    ## wifi-helper.h: ns3::WifiHelper::WifiHelper() [constructor]
gjc@3468
   552
    cls.add_constructor([])
gjc@3408
   553
    ## wifi-helper.h: void ns3::WifiHelper::SetRemoteStationManager(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
gjc@3468
   554
    cls.add_method('SetRemoteStationManager', 
gjc@3468
   555
                   'void', 
gjc@3468
   556
                   [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue&', 'v0', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue&', 'v5', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue&', 'v6', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue&', 'v7', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   557
    ## wifi-helper.h: void ns3::WifiHelper::SetMac(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
gjc@3468
   558
    cls.add_method('SetMac', 
gjc@3468
   559
                   'void', 
gjc@3468
   560
                   [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue&', 'v0', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue&', 'v5', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue&', 'v6', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue&', 'v7', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   561
    ## wifi-helper.h: void ns3::WifiHelper::SetPhy(std::string phyType, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
gjc@3468
   562
    cls.add_method('SetPhy', 
gjc@3468
   563
                   'void', 
gjc@3468
   564
                   [param('std::string', 'phyType'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue&', 'v0', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue&', 'v5', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue&', 'v6', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue&', 'v7', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   565
    ## wifi-helper.h: static void ns3::WifiHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function]
gjc@3468
   566
    cls.add_method('EnablePcap', 
gjc@3468
   567
                   'void', 
gjc@3468
   568
                   [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], 
gjc@3468
   569
                   is_static=True)
gjc@3408
   570
    ## wifi-helper.h: static void ns3::WifiHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function]
gjc@3468
   571
    cls.add_method('EnablePcap', 
gjc@3468
   572
                   'void', 
gjc@3468
   573
                   [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')], 
gjc@3468
   574
                   is_static=True)
gjc@3408
   575
    ## wifi-helper.h: static void ns3::WifiHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function]
gjc@3468
   576
    cls.add_method('EnablePcap', 
gjc@3468
   577
                   'void', 
gjc@3468
   578
                   [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')], 
gjc@3468
   579
                   is_static=True)
gjc@3408
   580
    ## wifi-helper.h: static void ns3::WifiHelper::EnablePcapAll(std::string filename) [member function]
gjc@3468
   581
    cls.add_method('EnablePcapAll', 
gjc@3468
   582
                   'void', 
gjc@3468
   583
                   [param('std::string', 'filename')], 
gjc@3468
   584
                   is_static=True)
gjc@3408
   585
    ## wifi-helper.h: static void ns3::WifiHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function]
gjc@3468
   586
    cls.add_method('EnableAscii', 
gjc@3468
   587
                   'void', 
gjc@3468
   588
                   [param('std::ostream&', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], 
gjc@3468
   589
                   is_static=True)
gjc@3408
   590
    ## wifi-helper.h: static void ns3::WifiHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function]
gjc@3468
   591
    cls.add_method('EnableAscii', 
gjc@3468
   592
                   'void', 
gjc@3468
   593
                   [param('std::ostream&', 'os'), param('ns3::NetDeviceContainer', 'd')], 
gjc@3468
   594
                   is_static=True)
gjc@3408
   595
    ## wifi-helper.h: static void ns3::WifiHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
gjc@3468
   596
    cls.add_method('EnableAscii', 
gjc@3468
   597
                   'void', 
gjc@3468
   598
                   [param('std::ostream&', 'os'), param('ns3::NodeContainer', 'n')], 
gjc@3468
   599
                   is_static=True)
gjc@3408
   600
    ## wifi-helper.h: static void ns3::WifiHelper::EnableAsciiAll(std::ostream & os) [member function]
gjc@3468
   601
    cls.add_method('EnableAsciiAll', 
gjc@3468
   602
                   'void', 
gjc@3468
   603
                   [param('std::ostream&', 'os')], 
gjc@3468
   604
                   is_static=True)
gjc@3408
   605
    ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::NodeContainer c) const [member function]
gjc@3468
   606
    cls.add_method('Install', 
gjc@3468
   607
                   'ns3::NetDeviceContainer', 
gjc@3468
   608
                   [param('ns3::NodeContainer', 'c')], 
gjc@3468
   609
                   is_const=True)
gjc@3408
   610
    ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::NodeContainer c, ns3::Ptr<ns3::WifiChannel> channel) const [member function]
gjc@3468
   611
    cls.add_method('Install', 
gjc@3468
   612
                   'ns3::NetDeviceContainer', 
gjc@3468
   613
                   [param('ns3::NodeContainer', 'c'), param('ns3::Ptr< ns3::WifiChannel >', 'channel')], 
gjc@3468
   614
                   is_const=True)
gjc@3408
   615
    return
gjc@3408
   616
gjc@3408
   617
def register_Ns3Ipv4AddressHelper_methods(root_module, cls):
gjc@3408
   618
    ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor]
gjc@3468
   619
    cls.add_constructor([])
gjc@3408
   620
    ## ipv4-address-helper.h: void ns3::Ipv4AddressHelper::SetBase(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [member function]
gjc@3468
   621
    cls.add_method('SetBase', 
gjc@3468
   622
                   'void', 
gjc@3468
   623
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
gjc@3408
   624
    ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function]
gjc@3468
   625
    cls.add_method('NewNetwork', 
gjc@3468
   626
                   'ns3::Ipv4Address', 
gjc@3468
   627
                   [])
gjc@3408
   628
    ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function]
gjc@3468
   629
    cls.add_method('NewAddress', 
gjc@3468
   630
                   'ns3::Ipv4Address', 
gjc@3468
   631
                   [])
gjc@3408
   632
    ## ipv4-address-helper.h: ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
gjc@3468
   633
    cls.add_method('Assign', 
gjc@3468
   634
                   'ns3::Ipv4InterfaceContainer', 
gjc@3468
   635
                   [param('ns3::NetDeviceContainer&', 'c', is_const=True)])
gjc@3408
   636
    return
gjc@3408
   637
gjc@3408
   638
def register_Ns3PacketSinkHelper_methods(root_module, cls):
gjc@3408
   639
    ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(std::string protocol, ns3::Address address) [constructor]
gjc@3468
   640
    cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')])
gjc@3408
   641
    ## packet-sink-helper.h: void ns3::PacketSinkHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3468
   642
    cls.add_method('SetAttribute', 
gjc@3468
   643
                   'void', 
gjc@3468
   644
                   [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)])
gjc@3408
   645
    ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::NodeContainer c) [member function]
gjc@3468
   646
    cls.add_method('Install', 
gjc@3468
   647
                   'ns3::ApplicationContainer', 
gjc@3468
   648
                   [param('ns3::NodeContainer', 'c')])
gjc@3408
   649
    return
gjc@3408
   650
gjc@3408
   651
def register_Ns3Ns2MobilityHelper_methods(root_module, cls):
gjc@3408
   652
    ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(std::string filename) [constructor]
gjc@3468
   653
    cls.add_constructor([param('std::string', 'filename')])
gjc@3408
   654
    ## ns2-mobility-helper.h: void ns3::Ns2MobilityHelper::Install() const [member function]
gjc@3468
   655
    cls.add_method('Install', 
gjc@3468
   656
                   'void', 
gjc@3468
   657
                   [], 
gjc@3468
   658
                   is_const=True)
gjc@3408
   659
    return
gjc@3408
   660
gjc@3408
   661
def register_functions(root_module):
gjc@3408
   662
    module = root_module
gjc@3408
   663
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
gjc@3408
   664
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
gjc@3408
   665
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
gjc@3408
   666
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
gjc@3408
   667
    return
gjc@3408
   668
gjc@3408
   669
def register_functions_ns3_internal(module, root_module):
gjc@3408
   670
    return
gjc@3408
   671
gjc@3408
   672
def register_functions_ns3_TimeStepPrecision(module, root_module):
gjc@3408
   673
    return
gjc@3408
   674
gjc@3408
   675
def register_functions_ns3_Config(module, root_module):
gjc@3408
   676
    return
gjc@3408
   677
gjc@3408
   678
def register_functions_ns3_olsr(module, root_module):
gjc@3408
   679
    return
gjc@3408
   680