bindings/python/ns3_module_helper.py
author Ramon Bauza
Tue, 15 Sep 2009 10:47:02 +0200
changeset 5189 8fcdf87a790a
parent 4742 f22beb219798
child 5203 1ccc02a7676b
child 5207 66d5ae8927d5
permissions -rw-r--r--
Channel switching support for Wifi
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     2
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     3
def register_types(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     4
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     5
    
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
     6
    ## application-container.h: ns3::ApplicationContainer [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
     7
    module.add_class('ApplicationContainer')
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
     8
    ## athstats-helper.h: ns3::AthstatsHelper [class]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
     9
    module.add_class('AthstatsHelper', allow_subclassing=False)
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    10
    ## bridge-helper.h: ns3::BridgeHelper [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    11
    module.add_class('BridgeHelper', allow_subclassing=False)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    12
    ## csma-helper.h: ns3::CsmaHelper [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    13
    module.add_class('CsmaHelper', allow_subclassing=False)
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
    14
    ## emu-helper.h: ns3::EmuHelper [class]
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
    15
    module.add_class('EmuHelper', allow_subclassing=False)
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    16
    ## internet-stack-helper.h: ns3::InternetStackHelper [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    17
    module.add_class('InternetStackHelper', allow_subclassing=False)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    18
    ## ipv4-address-helper.h: ns3::Ipv4AddressHelper [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    19
    module.add_class('Ipv4AddressHelper', allow_subclassing=False)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    20
    ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    21
    module.add_class('Ipv4InterfaceContainer')
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
    22
    ## ipv4-routing-helper.h: ns3::Ipv4RoutingHelper [class]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
    23
    module.add_class('Ipv4RoutingHelper', allow_subclassing=False)
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    24
    ## ipv4-static-routing-helper.h: ns3::Ipv4StaticRoutingHelper [class]
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
    25
    module.add_class('Ipv4StaticRoutingHelper', allow_subclassing=False, parent=root_module['ns3::Ipv4RoutingHelper'])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    26
    ## ipv6-address-helper.h: ns3::Ipv6AddressHelper [class]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    27
    module.add_class('Ipv6AddressHelper', allow_subclassing=False)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    28
    ## ipv6-interface-container.h: ns3::Ipv6InterfaceContainer [class]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    29
    module.add_class('Ipv6InterfaceContainer')
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    30
    ## ipv6-routing-helper.h: ns3::Ipv6RoutingHelper [class]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    31
    module.add_class('Ipv6RoutingHelper', allow_subclassing=False)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    32
    ## ipv6-static-routing-helper.h: ns3::Ipv6StaticRoutingHelper [class]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    33
    module.add_class('Ipv6StaticRoutingHelper', allow_subclassing=False, parent=root_module['ns3::Ipv6RoutingHelper'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    34
    ## mobility-helper.h: ns3::MobilityHelper [class]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    35
    module.add_class('MobilityHelper', allow_subclassing=False)
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    36
    ## net-device-container.h: ns3::NetDeviceContainer [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    37
    module.add_class('NetDeviceContainer')
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    38
    ## node-container.h: ns3::NodeContainer [class]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    39
    module.add_class('NodeContainer')
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    40
    ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    41
    module.add_class('Ns2MobilityHelper', allow_subclassing=False)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    42
    ## olsr-helper.h: ns3::OlsrHelper [class]
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
    43
    module.add_class('OlsrHelper', allow_subclassing=False, parent=root_module['ns3::Ipv4RoutingHelper'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    44
    ## on-off-helper.h: ns3::OnOffHelper [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    45
    module.add_class('OnOffHelper', allow_subclassing=False)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    46
    ## packet-sink-helper.h: ns3::PacketSinkHelper [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    47
    module.add_class('PacketSinkHelper', allow_subclassing=False)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    48
    ## packet-socket-helper.h: ns3::PacketSocketHelper [class]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    49
    module.add_class('PacketSocketHelper', allow_subclassing=False)
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    50
    ## ping6-helper.h: ns3::Ping6Helper [class]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    51
    module.add_class('Ping6Helper', allow_subclassing=False)
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    52
    ## point-to-point-helper.h: ns3::PointToPointHelper [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    53
    module.add_class('PointToPointHelper', allow_subclassing=False)
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
    54
    ## tap-bridge-helper.h: ns3::TapBridgeHelper [class]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
    55
    module.add_class('TapBridgeHelper', allow_subclassing=False)
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    56
    ## udp-echo-helper.h: ns3::UdpEchoClientHelper [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    57
    module.add_class('UdpEchoClientHelper', allow_subclassing=False)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    58
    ## udp-echo-helper.h: ns3::UdpEchoServerHelper [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
    59
    module.add_class('UdpEchoServerHelper', allow_subclassing=False)
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
    60
    ## v4ping-helper.h: ns3::V4PingHelper [class]
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
    61
    module.add_class('V4PingHelper', allow_subclassing=False)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    62
    ## wifi-helper.h: ns3::WifiHelper [class]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    63
    module.add_class('WifiHelper', allow_subclassing=False)
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
    64
    ## wifi-helper.h: ns3::WifiMacHelper [class]
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
    65
    module.add_class('WifiMacHelper', allow_subclassing=False)
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
    66
    ## wifi-helper.h: ns3::WifiPhyHelper [class]
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
    67
    module.add_class('WifiPhyHelper', allow_subclassing=False)
4002
a12900ea255e rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    68
    ## yans-wifi-helper.h: ns3::YansWifiChannelHelper [class]
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
    69
    module.add_class('YansWifiChannelHelper', allow_subclassing=False)
4002
a12900ea255e rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    70
    ## yans-wifi-helper.h: ns3::YansWifiPhyHelper [class]
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
    71
    module.add_class('YansWifiPhyHelper', allow_subclassing=False, parent=root_module['ns3::WifiPhyHelper'])
4496
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
    72
    ## yans-wifi-helper.h: ns3::YansWifiPhyHelper::PcapFormat [enumeration]
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
    73
    module.add_enum('PcapFormat', ['PCAP_FORMAT_80211', 'PCAP_FORMAT_80211_PRISM', 'PCAP_FORMAT_80211_RADIOTAP'], outer_class=root_module['ns3::YansWifiPhyHelper'])
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
    74
    ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper [class]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
    75
    module.add_class('Ipv4GlobalRoutingHelper', allow_subclassing=False, parent=root_module['ns3::Ipv4RoutingHelper'])
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
    76
    ## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper [class]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
    77
    module.add_class('Ipv4ListRoutingHelper', allow_subclassing=False, parent=root_module['ns3::Ipv4RoutingHelper'])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    78
    ## ipv6-list-routing-helper.h: ns3::Ipv6ListRoutingHelper [class]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    79
    module.add_class('Ipv6ListRoutingHelper', allow_subclassing=False, parent=root_module['ns3::Ipv6RoutingHelper'])
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
    80
    ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper [class]
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
    81
    module.add_class('NqosWifiMacHelper', allow_subclassing=False, parent=root_module['ns3::WifiMacHelper'])
4422
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
    82
    ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper [class]
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
    83
    module.add_class('QosWifiMacHelper', allow_subclassing=False, parent=root_module['ns3::WifiMacHelper'])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    84
    ## athstats-helper.h: ns3::AthstatsWifiTraceSink [class]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
    85
    module.add_class('AthstatsWifiTraceSink', parent=root_module['ns3::Object'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    86
    
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
    87
    ## Register a nested module for the namespace Config
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    88
    
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
    89
    nested_module = module.add_cpp_namespace('Config')
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
    90
    register_types_ns3_Config(nested_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    91
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    92
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    93
    ## Register a nested module for the namespace TimeStepPrecision
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    94
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    95
    nested_module = module.add_cpp_namespace('TimeStepPrecision')
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    96
    register_types_ns3_TimeStepPrecision(nested_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    97
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    98
    
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    99
    ## Register a nested module for the namespace addressUtils
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   100
    
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   101
    nested_module = module.add_cpp_namespace('addressUtils')
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   102
    register_types_ns3_addressUtils(nested_module)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   103
    
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   104
    
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   105
    ## Register a nested module for the namespace internal
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   106
    
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   107
    nested_module = module.add_cpp_namespace('internal')
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   108
    register_types_ns3_internal(nested_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   109
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   110
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   111
    ## Register a nested module for the namespace olsr
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   112
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   113
    nested_module = module.add_cpp_namespace('olsr')
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   114
    register_types_ns3_olsr(nested_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   115
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   116
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   117
def register_types_ns3_Config(module):
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   118
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   119
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   120
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   121
def register_types_ns3_TimeStepPrecision(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   122
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   123
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   124
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   125
def register_types_ns3_addressUtils(module):
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   126
    root_module = module.get_root()
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   127
    
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   128
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   129
def register_types_ns3_internal(module):
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   130
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   131
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   132
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   133
def register_types_ns3_olsr(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   134
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   135
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   136
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   137
def register_methods(root_module):
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   138
    register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   139
    register_Ns3AthstatsHelper_methods(root_module, root_module['ns3::AthstatsHelper'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   140
    register_Ns3BridgeHelper_methods(root_module, root_module['ns3::BridgeHelper'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   141
    register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper'])
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   142
    register_Ns3EmuHelper_methods(root_module, root_module['ns3::EmuHelper'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   143
    register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   144
    register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   145
    register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer'])
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   146
    register_Ns3Ipv4RoutingHelper_methods(root_module, root_module['ns3::Ipv4RoutingHelper'])
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   147
    register_Ns3Ipv4StaticRoutingHelper_methods(root_module, root_module['ns3::Ipv4StaticRoutingHelper'])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   148
    register_Ns3Ipv6AddressHelper_methods(root_module, root_module['ns3::Ipv6AddressHelper'])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   149
    register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer'])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   150
    register_Ns3Ipv6RoutingHelper_methods(root_module, root_module['ns3::Ipv6RoutingHelper'])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   151
    register_Ns3Ipv6StaticRoutingHelper_methods(root_module, root_module['ns3::Ipv6StaticRoutingHelper'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   152
    register_Ns3MobilityHelper_methods(root_module, root_module['ns3::MobilityHelper'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   153
    register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   154
    register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   155
    register_Ns3Ns2MobilityHelper_methods(root_module, root_module['ns3::Ns2MobilityHelper'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   156
    register_Ns3OlsrHelper_methods(root_module, root_module['ns3::OlsrHelper'])
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   157
    register_Ns3OnOffHelper_methods(root_module, root_module['ns3::OnOffHelper'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   158
    register_Ns3PacketSinkHelper_methods(root_module, root_module['ns3::PacketSinkHelper'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   159
    register_Ns3PacketSocketHelper_methods(root_module, root_module['ns3::PacketSocketHelper'])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   160
    register_Ns3Ping6Helper_methods(root_module, root_module['ns3::Ping6Helper'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   161
    register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper'])
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   162
    register_Ns3TapBridgeHelper_methods(root_module, root_module['ns3::TapBridgeHelper'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   163
    register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper'])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   164
    register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper'])
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   165
    register_Ns3V4PingHelper_methods(root_module, root_module['ns3::V4PingHelper'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   166
    register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper'])
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
   167
    register_Ns3WifiMacHelper_methods(root_module, root_module['ns3::WifiMacHelper'])
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
   168
    register_Ns3WifiPhyHelper_methods(root_module, root_module['ns3::WifiPhyHelper'])
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
   169
    register_Ns3YansWifiChannelHelper_methods(root_module, root_module['ns3::YansWifiChannelHelper'])
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
   170
    register_Ns3YansWifiPhyHelper_methods(root_module, root_module['ns3::YansWifiPhyHelper'])
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   171
    register_Ns3Ipv4GlobalRoutingHelper_methods(root_module, root_module['ns3::Ipv4GlobalRoutingHelper'])
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   172
    register_Ns3Ipv4ListRoutingHelper_methods(root_module, root_module['ns3::Ipv4ListRoutingHelper'])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   173
    register_Ns3Ipv6ListRoutingHelper_methods(root_module, root_module['ns3::Ipv6ListRoutingHelper'])
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
   174
    register_Ns3NqosWifiMacHelper_methods(root_module, root_module['ns3::NqosWifiMacHelper'])
4422
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
   175
    register_Ns3QosWifiMacHelper_methods(root_module, root_module['ns3::QosWifiMacHelper'])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   176
    register_Ns3AthstatsWifiTraceSink_methods(root_module, root_module['ns3::AthstatsWifiTraceSink'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   177
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   178
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   179
def register_Ns3ApplicationContainer_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   180
    ## application-container.h: ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   181
    cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   182
    ## application-container.h: ns3::ApplicationContainer::ApplicationContainer() [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   183
    cls.add_constructor([])
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   184
    ## application-container.h: ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   185
    cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   186
    ## application-container.h: ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   187
    cls.add_constructor([param('std::string', 'name')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   188
    ## application-container.h: void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   189
    cls.add_method('Add', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   190
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   191
                   [param('ns3::ApplicationContainer', 'other')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   192
    ## application-container.h: void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   193
    cls.add_method('Add', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   194
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   195
                   [param('ns3::Ptr< ns3::Application >', 'application')])
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   196
    ## application-container.h: void ns3::ApplicationContainer::Add(std::string name) [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   197
    cls.add_method('Add', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   198
                   'void', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   199
                   [param('std::string', 'name')])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   200
    ## 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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   201
    cls.add_method('Begin', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   202
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   203
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   204
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   205
    ## 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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   206
    cls.add_method('End', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   207
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   208
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   209
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   210
    ## application-container.h: ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   211
    cls.add_method('Get', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   212
                   'ns3::Ptr< ns3::Application >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   213
                   [param('uint32_t', 'i')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   214
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   215
    ## application-container.h: uint32_t ns3::ApplicationContainer::GetN() const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   216
    cls.add_method('GetN', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   217
                   'uint32_t', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   218
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   219
                   is_const=True)
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   220
    ## application-container.h: void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   221
    cls.add_method('Start', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   222
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   223
                   [param('ns3::Time', 'start')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   224
    ## application-container.h: void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   225
    cls.add_method('Stop', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   226
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   227
                   [param('ns3::Time', 'stop')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   228
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   229
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   230
def register_Ns3AthstatsHelper_methods(root_module, cls):
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   231
    ## athstats-helper.h: ns3::AthstatsHelper::AthstatsHelper(ns3::AthstatsHelper const & arg0) [copy constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   232
    cls.add_constructor([param('ns3::AthstatsHelper const &', 'arg0')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   233
    ## athstats-helper.h: ns3::AthstatsHelper::AthstatsHelper() [constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   234
    cls.add_constructor([])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   235
    ## athstats-helper.h: void ns3::AthstatsHelper::EnableAthstats(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   236
    cls.add_method('EnableAthstats', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   237
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   238
                   [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   239
    ## athstats-helper.h: void ns3::AthstatsHelper::EnableAthstats(std::string filename, ns3::Ptr<ns3::NetDevice> nd) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   240
    cls.add_method('EnableAthstats', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   241
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   242
                   [param('std::string', 'filename'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   243
    ## athstats-helper.h: void ns3::AthstatsHelper::EnableAthstats(std::string filename, ns3::NetDeviceContainer d) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   244
    cls.add_method('EnableAthstats', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   245
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   246
                   [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   247
    ## athstats-helper.h: void ns3::AthstatsHelper::EnableAthstats(std::string filename, ns3::NodeContainer n) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   248
    cls.add_method('EnableAthstats', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   249
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   250
                   [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   251
    return
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   252
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   253
def register_Ns3BridgeHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   254
    ## bridge-helper.h: ns3::BridgeHelper::BridgeHelper(ns3::BridgeHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   255
    cls.add_constructor([param('ns3::BridgeHelper const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   256
    ## bridge-helper.h: ns3::BridgeHelper::BridgeHelper() [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   257
    cls.add_constructor([])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   258
    ## bridge-helper.h: ns3::NetDeviceContainer ns3::BridgeHelper::Install(ns3::Ptr<ns3::Node> node, ns3::NetDeviceContainer c) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   259
    cls.add_method('Install', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   260
                   'ns3::NetDeviceContainer', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   261
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::NetDeviceContainer', 'c')])
4237
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   262
    ## bridge-helper.h: ns3::NetDeviceContainer ns3::BridgeHelper::Install(std::string nodeName, ns3::NetDeviceContainer c) [member function]
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   263
    cls.add_method('Install', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   264
                   'ns3::NetDeviceContainer', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   265
                   [param('std::string', 'nodeName'), param('ns3::NetDeviceContainer', 'c')])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   266
    ## bridge-helper.h: void ns3::BridgeHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   267
    cls.add_method('SetDeviceAttribute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   268
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   269
                   [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   270
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   271
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   272
def register_Ns3CsmaHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   273
    ## csma-helper.h: ns3::CsmaHelper::CsmaHelper(ns3::CsmaHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   274
    cls.add_constructor([param('ns3::CsmaHelper const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   275
    ## csma-helper.h: ns3::CsmaHelper::CsmaHelper() [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   276
    cls.add_constructor([])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   277
    ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   278
    cls.add_method('EnableAscii', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   279
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   280
                   [param('std::ostream &', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   281
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   282
    ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   283
    cls.add_method('EnableAscii', 
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   284
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   285
                   [param('std::ostream &', 'os'), param('ns3::NetDeviceContainer', 'd')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   286
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   287
    ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   288
    cls.add_method('EnableAscii', 
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   289
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   290
                   [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   291
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   292
    ## csma-helper.h: static void ns3::CsmaHelper::EnableAsciiAll(std::ostream & os) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   293
    cls.add_method('EnableAsciiAll', 
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   294
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   295
                   [param('std::ostream &', 'os')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   296
                   is_static=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   297
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid, bool promiscuous) [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   298
    cls.add_method('EnablePcap', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   299
                   'void', 
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   300
                   [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous')], 
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   301
                   is_static=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   302
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, ns3::Ptr<ns3::NetDevice> nd, bool promiscuous) [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   303
    cls.add_method('EnablePcap', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   304
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   305
                   [param('std::string', 'filename'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous')], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   306
                   is_static=True)
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   307
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, std::string ndName, bool promiscuous) [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   308
    cls.add_method('EnablePcap', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   309
                   'void', 
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   310
                   [param('std::string', 'filename'), param('std::string', 'ndName'), param('bool', 'promiscuous')], 
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   311
                   is_static=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   312
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d, bool promiscuous) [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   313
    cls.add_method('EnablePcap', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   314
                   'void', 
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   315
                   [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous')], 
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   316
                   is_static=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   317
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, ns3::NodeContainer n, bool promiscuous) [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   318
    cls.add_method('EnablePcap', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   319
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   320
                   [param('std::string', 'filename'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous')], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   321
                   is_static=True)
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   322
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcapAll(std::string filename, bool promiscuous) [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   323
    cls.add_method('EnablePcapAll', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   324
                   'void', 
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   325
                   [param('std::string', 'filename'), param('bool', 'promiscuous')], 
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   326
                   is_static=True)
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   327
    ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   328
    cls.add_method('Install', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   329
                   'ns3::NetDeviceContainer', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   330
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   331
                   is_const=True)
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   332
    ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(std::string name) const [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   333
    cls.add_method('Install', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   334
                   'ns3::NetDeviceContainer', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   335
                   [param('std::string', 'name')], 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   336
                   is_const=True)
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   337
    ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::CsmaChannel> channel) const [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   338
    cls.add_method('Install', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   339
                   'ns3::NetDeviceContainer', 
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   340
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   341
                   is_const=True)
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   342
    ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr<ns3::Node> node, std::string channelName) const [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   343
    cls.add_method('Install', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   344
                   'ns3::NetDeviceContainer', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   345
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'channelName')], 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   346
                   is_const=True)
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   347
    ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(std::string nodeName, ns3::Ptr<ns3::CsmaChannel> channel) const [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   348
    cls.add_method('Install', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   349
                   'ns3::NetDeviceContainer', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   350
                   [param('std::string', 'nodeName'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')], 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   351
                   is_const=True)
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   352
    ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(std::string nodeName, std::string channelName) const [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   353
    cls.add_method('Install', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   354
                   'ns3::NetDeviceContainer', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   355
                   [param('std::string', 'nodeName'), param('std::string', 'channelName')], 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   356
                   is_const=True)
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   357
    ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c) const [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   358
    cls.add_method('Install', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   359
                   'ns3::NetDeviceContainer', 
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   360
                   [param('ns3::NodeContainer const &', 'c')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   361
                   is_const=True)
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   362
    ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c, ns3::Ptr<ns3::CsmaChannel> channel) const [member function]
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   363
    cls.add_method('Install', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   364
                   'ns3::NetDeviceContainer', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   365
                   [param('ns3::NodeContainer const &', 'c'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   366
                   is_const=True)
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   367
    ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c, std::string channelName) const [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   368
    cls.add_method('Install', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   369
                   'ns3::NetDeviceContainer', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   370
                   [param('ns3::NodeContainer const &', 'c'), param('std::string', 'channelName')], 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   371
                   is_const=True)
3816
edd4928b2046 remove realtime public API.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   372
    ## csma-helper.h: void ns3::CsmaHelper::InstallStar(ns3::Ptr<ns3::Node> hub, ns3::NodeContainer spokes, ns3::NetDeviceContainer & hubDevices, ns3::NetDeviceContainer & spokeDevices) [member function]
edd4928b2046 remove realtime public API.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   373
    cls.add_method('InstallStar', 
edd4928b2046 remove realtime public API.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   374
                   'void', 
edd4928b2046 remove realtime public API.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   375
                   [param('ns3::Ptr< ns3::Node >', 'hub'), param('ns3::NodeContainer', 'spokes'), param('ns3::NetDeviceContainer &', 'hubDevices'), param('ns3::NetDeviceContainer &', 'spokeDevices')])
4237
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   376
    ## csma-helper.h: void ns3::CsmaHelper::InstallStar(std::string hubName, ns3::NodeContainer spokes, ns3::NetDeviceContainer & hubDevices, ns3::NetDeviceContainer & spokeDevices) [member function]
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   377
    cls.add_method('InstallStar', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   378
                   'void', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   379
                   [param('std::string', 'hubName'), param('ns3::NodeContainer', 'spokes'), param('ns3::NetDeviceContainer &', 'hubDevices'), param('ns3::NetDeviceContainer &', 'spokeDevices')])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   380
    ## csma-helper.h: void ns3::CsmaHelper::SetChannelAttribute(std::string n1, ns3::AttributeValue const & v1) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   381
    cls.add_method('SetChannelAttribute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   382
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   383
                   [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   384
    ## csma-helper.h: void ns3::CsmaHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   385
    cls.add_method('SetDeviceAttribute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   386
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   387
                   [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   388
    ## 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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   389
    cls.add_method('SetQueue', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   390
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   391
                   [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   392
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   393
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   394
def register_Ns3EmuHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   395
    ## emu-helper.h: ns3::EmuHelper::EmuHelper(ns3::EmuHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   396
    cls.add_constructor([param('ns3::EmuHelper const &', 'arg0')])
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   397
    ## emu-helper.h: ns3::EmuHelper::EmuHelper() [constructor]
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   398
    cls.add_constructor([])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   399
    ## emu-helper.h: static void ns3::EmuHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   400
    cls.add_method('EnableAscii', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   401
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   402
                   [param('std::ostream &', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   403
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   404
    ## emu-helper.h: static void ns3::EmuHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   405
    cls.add_method('EnableAscii', 
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   406
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   407
                   [param('std::ostream &', 'os'), param('ns3::NetDeviceContainer', 'd')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   408
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   409
    ## emu-helper.h: static void ns3::EmuHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   410
    cls.add_method('EnableAscii', 
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   411
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   412
                   [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   413
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   414
    ## emu-helper.h: static void ns3::EmuHelper::EnableAsciiAll(std::ostream & os) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   415
    cls.add_method('EnableAsciiAll', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   416
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   417
                   [param('std::ostream &', 'os')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   418
                   is_static=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   419
    ## emu-helper.h: static void ns3::EmuHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid, bool promiscuous) [member function]
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   420
    cls.add_method('EnablePcap', 
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   421
                   'void', 
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   422
                   [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous')], 
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   423
                   is_static=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   424
    ## emu-helper.h: static void ns3::EmuHelper::EnablePcap(std::string filename, ns3::Ptr<ns3::NetDevice> nd, bool promiscuous) [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   425
    cls.add_method('EnablePcap', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   426
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   427
                   [param('std::string', 'filename'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous')], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   428
                   is_static=True)
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   429
    ## emu-helper.h: static void ns3::EmuHelper::EnablePcap(std::string filename, std::string ndName, bool promiscuous) [member function]
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   430
    cls.add_method('EnablePcap', 
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   431
                   'void', 
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   432
                   [param('std::string', 'filename'), param('std::string', 'ndName'), param('bool', 'promiscuous')], 
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   433
                   is_static=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   434
    ## emu-helper.h: static void ns3::EmuHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d, bool promiscuous) [member function]
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   435
    cls.add_method('EnablePcap', 
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   436
                   'void', 
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   437
                   [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous')], 
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   438
                   is_static=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   439
    ## emu-helper.h: static void ns3::EmuHelper::EnablePcap(std::string filename, ns3::NodeContainer n, bool promiscuous) [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   440
    cls.add_method('EnablePcap', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   441
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   442
                   [param('std::string', 'filename'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous')], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   443
                   is_static=True)
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   444
    ## emu-helper.h: static void ns3::EmuHelper::EnablePcapAll(std::string filename, bool promiscuous) [member function]
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   445
    cls.add_method('EnablePcapAll', 
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   446
                   'void', 
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
   447
                   [param('std::string', 'filename'), param('bool', 'promiscuous')], 
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   448
                   is_static=True)
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   449
    ## emu-helper.h: ns3::NetDeviceContainer ns3::EmuHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   450
    cls.add_method('Install', 
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   451
                   'ns3::NetDeviceContainer', 
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   452
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   453
                   is_const=True)
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   454
    ## emu-helper.h: ns3::NetDeviceContainer ns3::EmuHelper::Install(std::string nodeName) const [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   455
    cls.add_method('Install', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   456
                   'ns3::NetDeviceContainer', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   457
                   [param('std::string', 'nodeName')], 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   458
                   is_const=True)
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   459
    ## emu-helper.h: ns3::NetDeviceContainer ns3::EmuHelper::Install(ns3::NodeContainer const & c) const [member function]
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   460
    cls.add_method('Install', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   461
                   'ns3::NetDeviceContainer', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   462
                   [param('ns3::NodeContainer const &', 'c')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   463
                   is_const=True)
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   464
    ## emu-helper.h: void ns3::EmuHelper::SetAttribute(std::string n1, ns3::AttributeValue const & v1) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   465
    cls.add_method('SetAttribute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   466
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   467
                   [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   468
    ## emu-helper.h: void ns3::EmuHelper::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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   469
    cls.add_method('SetQueue', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   470
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   471
                   [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')])
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   472
    return
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
   473
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   474
def register_Ns3InternetStackHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   475
    ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   476
    cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   477
    ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper() [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   478
    cls.add_constructor([])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   479
    ## internet-stack-helper.h: static void ns3::InternetStackHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   480
    cls.add_method('EnableAscii', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   481
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   482
                   [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   483
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   484
    ## internet-stack-helper.h: static void ns3::InternetStackHelper::EnableAsciiAll(std::ostream & os) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   485
    cls.add_method('EnableAsciiAll', 
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   486
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   487
                   [param('std::ostream &', 'os')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   488
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   489
    ## internet-stack-helper.h: static void ns3::InternetStackHelper::EnablePcapAll(std::string filename) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   490
    cls.add_method('EnablePcapAll', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   491
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   492
                   [param('std::string', 'filename')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   493
                   is_static=True)
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   494
    ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(std::string nodeName) const [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   495
    cls.add_method('Install', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   496
                   'void', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   497
                   [param('std::string', 'nodeName')], 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   498
                   is_const=True)
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   499
    ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   500
    cls.add_method('Install', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   501
                   'void', 
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   502
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   503
                   is_const=True)
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   504
    ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function]
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   505
    cls.add_method('Install', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   506
                   'void', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   507
                   [param('ns3::NodeContainer', 'c')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   508
                   is_const=True)
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   509
    ## internet-stack-helper.h: void ns3::InternetStackHelper::InstallAll() const [member function]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   510
    cls.add_method('InstallAll', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   511
                   'void', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   512
                   [], 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   513
                   is_const=True)
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   514
    ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   515
    cls.add_method('SetIpv4StackInstall', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   516
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   517
                   [param('bool', 'enable')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   518
    ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   519
    cls.add_method('SetIpv6StackInstall', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   520
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   521
                   [param('bool', 'enable')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   522
    ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   523
    cls.add_method('SetRoutingHelper', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   524
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   525
                   [param('ns3::Ipv4RoutingHelper const &', 'routing')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   526
    ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   527
    cls.add_method('SetRoutingHelper', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   528
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   529
                   [param('ns3::Ipv6RoutingHelper const &', 'routing')])
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   530
    ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   531
    cls.add_method('SetTcp', 
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   532
                   'void', 
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   533
                   [param('std::string', 'tid')])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   534
    ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   535
    cls.add_method('SetTcp', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   536
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   537
                   [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   538
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   539
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   540
def register_Ns3Ipv4AddressHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   541
    ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   542
    cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   543
    ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   544
    cls.add_constructor([])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   545
    ## ipv4-address-helper.h: ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   546
    cls.add_method('Assign', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   547
                   'ns3::Ipv4InterfaceContainer', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   548
                   [param('ns3::NetDeviceContainer const &', 'c')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   549
    ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   550
    cls.add_method('NewAddress', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   551
                   'ns3::Ipv4Address', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   552
                   [])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   553
    ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   554
    cls.add_method('NewNetwork', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   555
                   'ns3::Ipv4Address', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   556
                   [])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   557
    ## ipv4-address-helper.h: void ns3::Ipv4AddressHelper::SetBase(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   558
    cls.add_method('SetBase', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   559
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   560
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   561
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   562
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   563
def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   564
    ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer(ns3::Ipv4InterfaceContainer const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   565
    cls.add_constructor([param('ns3::Ipv4InterfaceContainer const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   566
    ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   567
    cls.add_constructor([])
3816
edd4928b2046 remove realtime public API.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   568
    ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(ns3::Ipv4InterfaceContainer other) [member function]
edd4928b2046 remove realtime public API.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   569
    cls.add_method('Add', 
edd4928b2046 remove realtime public API.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   570
                   'void', 
edd4928b2046 remove realtime public API.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   571
                   [param('ns3::Ipv4InterfaceContainer', 'other')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   572
    ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   573
    cls.add_method('Add', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   574
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   575
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
4237
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   576
    ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(std::string ipv4Name, uint32_t interface) [member function]
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   577
    cls.add_method('Add', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   578
                   'void', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   579
                   [param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   580
    ## ipv4-interface-container.h: ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i, uint32_t j=0) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   581
    cls.add_method('GetAddress', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   582
                   'ns3::Ipv4Address', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   583
                   [param('uint32_t', 'i'), param('uint32_t', 'j', default_value='0')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   584
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   585
    ## ipv4-interface-container.h: uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   586
    cls.add_method('GetN', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   587
                   'uint32_t', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   588
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   589
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   590
    ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   591
    cls.add_method('SetMetric', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   592
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   593
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   594
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   595
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   596
def register_Ns3Ipv4RoutingHelper_methods(root_module, cls):
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   597
    ## ipv4-routing-helper.h: ns3::Ipv4RoutingHelper::Ipv4RoutingHelper() [constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   598
    cls.add_constructor([])
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   599
    ## ipv4-routing-helper.h: ns3::Ipv4RoutingHelper::Ipv4RoutingHelper(ns3::Ipv4RoutingHelper const & arg0) [copy constructor]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   600
    cls.add_constructor([param('ns3::Ipv4RoutingHelper const &', 'arg0')])
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   601
    ## ipv4-routing-helper.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4RoutingHelper::Create(ns3::Ptr<ns3::Node> node) const [member function]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   602
    cls.add_method('Create', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   603
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   604
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   605
                   is_pure_virtual=True, is_const=True, is_virtual=True)
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   606
    return
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   607
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   608
def register_Ns3Ipv4StaticRoutingHelper_methods(root_module, cls):
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   609
    ## ipv4-static-routing-helper.h: ns3::Ipv4StaticRoutingHelper::Ipv4StaticRoutingHelper(ns3::Ipv4StaticRoutingHelper const & arg0) [copy constructor]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   610
    cls.add_constructor([param('ns3::Ipv4StaticRoutingHelper const &', 'arg0')])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   611
    ## ipv4-static-routing-helper.h: ns3::Ipv4StaticRoutingHelper::Ipv4StaticRoutingHelper() [constructor]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   612
    cls.add_constructor([])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   613
    ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::AddMulticastRoute(ns3::Ptr<ns3::Node> n, ns3::Ipv4Address source, ns3::Ipv4Address group, ns3::Ptr<ns3::NetDevice> input, ns3::NetDeviceContainer output) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   614
    cls.add_method('AddMulticastRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   615
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   616
                   [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   617
    ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::AddMulticastRoute(std::string n, ns3::Ipv4Address source, ns3::Ipv4Address group, ns3::Ptr<ns3::NetDevice> input, ns3::NetDeviceContainer output) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   618
    cls.add_method('AddMulticastRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   619
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   620
                   [param('std::string', 'n'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   621
    ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::AddMulticastRoute(ns3::Ptr<ns3::Node> n, ns3::Ipv4Address source, ns3::Ipv4Address group, std::string inputName, ns3::NetDeviceContainer output) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   622
    cls.add_method('AddMulticastRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   623
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   624
                   [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('std::string', 'inputName'), param('ns3::NetDeviceContainer', 'output')])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   625
    ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::AddMulticastRoute(std::string nName, ns3::Ipv4Address source, ns3::Ipv4Address group, std::string inputName, ns3::NetDeviceContainer output) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   626
    cls.add_method('AddMulticastRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   627
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   628
                   [param('std::string', 'nName'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('std::string', 'inputName'), param('ns3::NetDeviceContainer', 'output')])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   629
    ## ipv4-static-routing-helper.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4StaticRoutingHelper::Create(ns3::Ptr<ns3::Node> node) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   630
    cls.add_method('Create', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   631
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   632
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   633
                   is_const=True, is_virtual=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   634
    ## ipv4-static-routing-helper.h: ns3::Ptr<ns3::Ipv4StaticRouting> ns3::Ipv4StaticRoutingHelper::GetStaticRouting(ns3::Ptr<ns3::Ipv4> ipv4) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   635
    cls.add_method('GetStaticRouting', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   636
                   'ns3::Ptr< ns3::Ipv4StaticRouting >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   637
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   638
                   is_const=True)
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   639
    ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::SetDefaultMulticastRoute(ns3::Ptr<ns3::Node> n, ns3::Ptr<ns3::NetDevice> nd) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   640
    cls.add_method('SetDefaultMulticastRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   641
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   642
                   [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   643
    ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::SetDefaultMulticastRoute(ns3::Ptr<ns3::Node> n, std::string ndName) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   644
    cls.add_method('SetDefaultMulticastRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   645
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   646
                   [param('ns3::Ptr< ns3::Node >', 'n'), param('std::string', 'ndName')])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   647
    ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::SetDefaultMulticastRoute(std::string nName, ns3::Ptr<ns3::NetDevice> nd) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   648
    cls.add_method('SetDefaultMulticastRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   649
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   650
                   [param('std::string', 'nName'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   651
    ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::SetDefaultMulticastRoute(std::string nName, std::string ndName) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   652
    cls.add_method('SetDefaultMulticastRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   653
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   654
                   [param('std::string', 'nName'), param('std::string', 'ndName')])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   655
    return
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   656
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   657
def register_Ns3Ipv6AddressHelper_methods(root_module, cls):
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   658
    ## ipv6-address-helper.h: ns3::Ipv6AddressHelper::Ipv6AddressHelper(ns3::Ipv6AddressHelper const & arg0) [copy constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   659
    cls.add_constructor([param('ns3::Ipv6AddressHelper const &', 'arg0')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   660
    ## ipv6-address-helper.h: ns3::Ipv6AddressHelper::Ipv6AddressHelper() [constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   661
    cls.add_constructor([])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   662
    ## ipv6-address-helper.h: ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   663
    cls.add_method('Assign', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   664
                   'ns3::Ipv6InterfaceContainer', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   665
                   [param('ns3::NetDeviceContainer const &', 'c')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   666
    ## ipv6-address-helper.h: ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign(ns3::NetDeviceContainer const & c, std::vector<bool,std::allocator<bool> > withConfiguration) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   667
    cls.add_method('Assign', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   668
                   'ns3::Ipv6InterfaceContainer', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   669
                   [param('ns3::NetDeviceContainer const &', 'c'), param('std::vector< bool >', 'withConfiguration')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   670
    ## ipv6-address-helper.h: ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::AssignWithoutAddress(ns3::NetDeviceContainer const & c) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   671
    cls.add_method('AssignWithoutAddress', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   672
                   'ns3::Ipv6InterfaceContainer', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   673
                   [param('ns3::NetDeviceContainer const &', 'c')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   674
    ## ipv6-address-helper.h: ns3::Ipv6Address ns3::Ipv6AddressHelper::NewAddress(ns3::Address addr) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   675
    cls.add_method('NewAddress', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   676
                   'ns3::Ipv6Address', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   677
                   [param('ns3::Address', 'addr')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   678
    ## ipv6-address-helper.h: void ns3::Ipv6AddressHelper::NewNetwork(ns3::Ipv6Address network, ns3::Ipv6Prefix prefix) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   679
    cls.add_method('NewNetwork', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   680
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   681
                   [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'prefix')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   682
    return
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   683
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   684
def register_Ns3Ipv6InterfaceContainer_methods(root_module, cls):
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   685
    ## ipv6-interface-container.h: ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer(ns3::Ipv6InterfaceContainer const & arg0) [copy constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   686
    cls.add_constructor([param('ns3::Ipv6InterfaceContainer const &', 'arg0')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   687
    ## ipv6-interface-container.h: ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer() [constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   688
    cls.add_constructor([])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   689
    ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::Add(ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   690
    cls.add_method('Add', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   691
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   692
                   [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   693
    ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::Add(ns3::Ipv6InterfaceContainer & c) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   694
    cls.add_method('Add', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   695
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   696
                   [param('ns3::Ipv6InterfaceContainer &', 'c')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   697
    ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::Add(std::string ipv6Name, uint32_t interface) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   698
    cls.add_method('Add', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   699
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   700
                   [param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   701
    ## ipv6-interface-container.h: ns3::Ipv6Address ns3::Ipv6InterfaceContainer::GetAddress(uint32_t i, uint32_t j) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   702
    cls.add_method('GetAddress', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   703
                   'ns3::Ipv6Address', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   704
                   [param('uint32_t', 'i'), param('uint32_t', 'j')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   705
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   706
    ## ipv6-interface-container.h: uint32_t ns3::Ipv6InterfaceContainer::GetInterfaceIndex(uint32_t i) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   707
    cls.add_method('GetInterfaceIndex', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   708
                   'uint32_t', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   709
                   [param('uint32_t', 'i')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   710
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   711
    ## ipv6-interface-container.h: uint32_t ns3::Ipv6InterfaceContainer::GetN() const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   712
    cls.add_method('GetN', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   713
                   'uint32_t', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   714
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   715
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   716
    ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::SetDefaultRoute(uint32_t i, uint32_t router) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   717
    cls.add_method('SetDefaultRoute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   718
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   719
                   [param('uint32_t', 'i'), param('uint32_t', 'router')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   720
    ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::SetRouter(uint32_t i, bool router) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   721
    cls.add_method('SetRouter', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   722
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   723
                   [param('uint32_t', 'i'), param('bool', 'router')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   724
    return
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   725
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   726
def register_Ns3Ipv6RoutingHelper_methods(root_module, cls):
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   727
    ## ipv6-routing-helper.h: ns3::Ipv6RoutingHelper::Ipv6RoutingHelper() [constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   728
    cls.add_constructor([])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   729
    ## ipv6-routing-helper.h: ns3::Ipv6RoutingHelper::Ipv6RoutingHelper(ns3::Ipv6RoutingHelper const & arg0) [copy constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   730
    cls.add_constructor([param('ns3::Ipv6RoutingHelper const &', 'arg0')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   731
    ## ipv6-routing-helper.h: ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6RoutingHelper::Create(ns3::Ptr<ns3::Node> node) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   732
    cls.add_method('Create', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   733
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   734
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   735
                   is_pure_virtual=True, is_const=True, is_virtual=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   736
    return
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   737
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   738
def register_Ns3Ipv6StaticRoutingHelper_methods(root_module, cls):
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   739
    ## ipv6-static-routing-helper.h: ns3::Ipv6StaticRoutingHelper::Ipv6StaticRoutingHelper(ns3::Ipv6StaticRoutingHelper const & arg0) [copy constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   740
    cls.add_constructor([param('ns3::Ipv6StaticRoutingHelper const &', 'arg0')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   741
    ## ipv6-static-routing-helper.h: ns3::Ipv6StaticRoutingHelper::Ipv6StaticRoutingHelper() [constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   742
    cls.add_constructor([])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   743
    ## ipv6-static-routing-helper.h: void ns3::Ipv6StaticRoutingHelper::AddMulticastRoute(ns3::Ptr<ns3::Node> n, ns3::Ipv6Address source, ns3::Ipv6Address group, ns3::Ptr<ns3::NetDevice> input, ns3::NetDeviceContainer output) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   744
    cls.add_method('AddMulticastRoute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   745
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   746
                   [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   747
    ## ipv6-static-routing-helper.h: void ns3::Ipv6StaticRoutingHelper::AddMulticastRoute(std::string n, ns3::Ipv6Address source, ns3::Ipv6Address group, ns3::Ptr<ns3::NetDevice> input, ns3::NetDeviceContainer output) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   748
    cls.add_method('AddMulticastRoute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   749
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   750
                   [param('std::string', 'n'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   751
    ## ipv6-static-routing-helper.h: void ns3::Ipv6StaticRoutingHelper::AddMulticastRoute(ns3::Ptr<ns3::Node> n, ns3::Ipv6Address source, ns3::Ipv6Address group, std::string inputName, ns3::NetDeviceContainer output) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   752
    cls.add_method('AddMulticastRoute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   753
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   754
                   [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'group'), param('std::string', 'inputName'), param('ns3::NetDeviceContainer', 'output')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   755
    ## ipv6-static-routing-helper.h: void ns3::Ipv6StaticRoutingHelper::AddMulticastRoute(std::string nName, ns3::Ipv6Address source, ns3::Ipv6Address group, std::string inputName, ns3::NetDeviceContainer output) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   756
    cls.add_method('AddMulticastRoute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   757
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   758
                   [param('std::string', 'nName'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'group'), param('std::string', 'inputName'), param('ns3::NetDeviceContainer', 'output')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   759
    ## ipv6-static-routing-helper.h: ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6StaticRoutingHelper::Create(ns3::Ptr<ns3::Node> node) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   760
    cls.add_method('Create', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   761
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   762
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   763
                   is_const=True, is_virtual=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   764
    ## ipv6-static-routing-helper.h: ns3::Ptr<ns3::Ipv6StaticRouting> ns3::Ipv6StaticRoutingHelper::GetStaticRouting(ns3::Ptr<ns3::Ipv6> ipv6) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   765
    cls.add_method('GetStaticRouting', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   766
                   'ns3::Ptr< ns3::Ipv6StaticRouting >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   767
                   [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   768
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   769
    return
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   770
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   771
def register_Ns3MobilityHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   772
    ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper(ns3::MobilityHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   773
    cls.add_constructor([param('ns3::MobilityHelper const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   774
    ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   775
    cls.add_constructor([])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   776
    ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, uint32_t nodeid) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   777
    cls.add_method('EnableAscii', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   778
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   779
                   [param('std::ostream &', 'os'), param('uint32_t', 'nodeid')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   780
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   781
    ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   782
    cls.add_method('EnableAscii', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   783
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   784
                   [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   785
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   786
    ## mobility-helper.h: static void ns3::MobilityHelper::EnableAsciiAll(std::ostream & os) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   787
    cls.add_method('EnableAsciiAll', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   788
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   789
                   [param('std::ostream &', 'os')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   790
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   791
    ## mobility-helper.h: std::string ns3::MobilityHelper::GetMobilityModelType() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   792
    cls.add_method('GetMobilityModelType', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   793
                   'std::string', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   794
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   795
                   is_const=True)
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   796
    ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   797
    cls.add_method('Install', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   798
                   'void', 
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   799
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   800
                   is_const=True)
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   801
    ## mobility-helper.h: void ns3::MobilityHelper::Install(std::string nodeName) const [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   802
    cls.add_method('Install', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   803
                   'void', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   804
                   [param('std::string', 'nodeName')], 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   805
                   is_const=True)
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   806
    ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::NodeContainer container) const [member function]
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   807
    cls.add_method('Install', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   808
                   'void', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   809
                   [param('ns3::NodeContainer', 'container')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   810
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   811
    ## mobility-helper.h: void ns3::MobilityHelper::InstallAll() [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   812
    cls.add_method('InstallAll', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   813
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   814
                   [])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   815
    ## mobility-helper.h: void ns3::MobilityHelper::PopReferenceMobilityModel() [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   816
    cls.add_method('PopReferenceMobilityModel', 
3511
eb17407147c3 Python: re-scan API; unblock python threads during Simulator::Run; new pybindgen brings improved thread safety for virtual methods.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3468
diff changeset
   817
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   818
                   [])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   819
    ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(ns3::Ptr<ns3::Object> reference) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   820
    cls.add_method('PushReferenceMobilityModel', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   821
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   822
                   [param('ns3::Ptr< ns3::Object >', 'reference')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   823
    ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(std::string referenceName) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   824
    cls.add_method('PushReferenceMobilityModel', 
3511
eb17407147c3 Python: re-scan API; unblock python threads during Simulator::Run; new pybindgen brings improved thread safety for virtual methods.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3468
diff changeset
   825
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   826
                   [param('std::string', 'referenceName')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   827
    ## 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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   828
    cls.add_method('SetMobilityModel', 
3511
eb17407147c3 Python: re-scan API; unblock python threads during Simulator::Run; new pybindgen brings improved thread safety for virtual methods.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3468
diff changeset
   829
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   830
                   [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n8', default_value='""'), param('ns3::AttributeValue const &', 'v8', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n9', default_value='""'), param('ns3::AttributeValue const &', 'v9', default_value='ns3::EmptyAttributeValue()')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   831
    ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(ns3::Ptr<ns3::PositionAllocator> allocator) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   832
    cls.add_method('SetPositionAllocator', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   833
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   834
                   [param('ns3::Ptr< ns3::PositionAllocator >', 'allocator')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   835
    ## 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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   836
    cls.add_method('SetPositionAllocator', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   837
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   838
                   [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n8', default_value='""'), param('ns3::AttributeValue const &', 'v8', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n9', default_value='""'), param('ns3::AttributeValue const &', 'v9', default_value='ns3::EmptyAttributeValue()')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   839
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   840
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   841
def register_Ns3NetDeviceContainer_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   842
    ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   843
    cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   844
    ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
3567
728eb3f583b3 Require new PyBindGen (now ignores the badly scanned anonymous containers that cause problems on cygwin) and rescan API.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3544
diff changeset
   845
    cls.add_constructor([])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   846
    ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   847
    cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   848
    ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   849
    cls.add_constructor([param('std::string', 'devName')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   850
    ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   851
    cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   852
    ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   853
    cls.add_method('Add', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   854
                   'void', 
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   855
                   [param('ns3::NetDeviceContainer', 'other')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   856
    ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   857
    cls.add_method('Add', 
3588
ad0a36bfdb62 bug 282: remove Ipv4L4Demux
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
   858
                   'void', 
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   859
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4237
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   860
    ## net-device-container.h: void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   861
    cls.add_method('Add', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   862
                   'void', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   863
                   [param('std::string', 'deviceName')])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   864
    ## 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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   865
    cls.add_method('Begin', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   866
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   867
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   868
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   869
    ## 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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   870
    cls.add_method('End', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   871
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   872
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   873
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   874
    ## net-device-container.h: ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   875
    cls.add_method('Get', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   876
                   'ns3::Ptr< ns3::NetDevice >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   877
                   [param('uint32_t', 'i')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   878
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   879
    ## net-device-container.h: uint32_t ns3::NetDeviceContainer::GetN() const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   880
    cls.add_method('GetN', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   881
                   'uint32_t', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   882
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   883
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   884
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   885
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   886
def register_Ns3NodeContainer_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   887
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   888
    cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   889
    ## node-container.h: ns3::NodeContainer::NodeContainer() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   890
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   891
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   892
    cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   893
    ## node-container.h: ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   894
    cls.add_constructor([param('std::string', 'nodeName')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   895
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
3574
b6804efbe16b New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3567
diff changeset
   896
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   897
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
3574
b6804efbe16b New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3567
diff changeset
   898
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   899
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d) [constructor]
3574
b6804efbe16b New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3567
diff changeset
   900
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
3951
561a37800333 The 'contrib' module actually depends on 'common' too (affects waf --python-scan)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3915
diff changeset
   901
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d, ns3::NodeContainer const & e) [constructor]
561a37800333 The 'contrib' module actually depends on 'common' too (affects waf --python-scan)
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3915
diff changeset
   902
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd'), param('ns3::NodeContainer const &', 'e')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   903
    ## node-container.h: void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   904
    cls.add_method('Add', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   905
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   906
                   [param('ns3::NodeContainer', 'other')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   907
    ## node-container.h: void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   908
    cls.add_method('Add', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   909
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   910
                   [param('ns3::Ptr< ns3::Node >', 'node')])
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   911
    ## node-container.h: void ns3::NodeContainer::Add(std::string nodeName) [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   912
    cls.add_method('Add', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   913
                   'void', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
   914
                   [param('std::string', 'nodeName')])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   915
    ## 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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   916
    cls.add_method('Begin', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   917
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   918
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   919
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   920
    ## node-container.h: void ns3::NodeContainer::Create(uint32_t n) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   921
    cls.add_method('Create', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   922
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   923
                   [param('uint32_t', 'n')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   924
    ## 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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   925
    cls.add_method('End', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   926
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   927
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   928
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   929
    ## node-container.h: ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   930
    cls.add_method('Get', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   931
                   'ns3::Ptr< ns3::Node >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   932
                   [param('uint32_t', 'i')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   933
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   934
    ## node-container.h: static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   935
    cls.add_method('GetGlobal', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   936
                   'ns3::NodeContainer', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   937
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
   938
                   is_static=True)
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   939
    ## node-container.h: uint32_t ns3::NodeContainer::GetN() const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   940
    cls.add_method('GetN', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   941
                   'uint32_t', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   942
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   943
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   944
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   945
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   946
def register_Ns3Ns2MobilityHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   947
    ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(ns3::Ns2MobilityHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   948
    cls.add_constructor([param('ns3::Ns2MobilityHelper const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   949
    ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(std::string filename) [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   950
    cls.add_constructor([param('std::string', 'filename')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   951
    ## ns2-mobility-helper.h: void ns3::Ns2MobilityHelper::Install() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   952
    cls.add_method('Install', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   953
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   954
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   955
                   is_const=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   956
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   957
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   958
def register_Ns3OlsrHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   959
    ## olsr-helper.h: ns3::OlsrHelper::OlsrHelper(ns3::OlsrHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   960
    cls.add_constructor([param('ns3::OlsrHelper const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   961
    ## olsr-helper.h: ns3::OlsrHelper::OlsrHelper() [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   962
    cls.add_constructor([])
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   963
    ## olsr-helper.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::OlsrHelper::Create(ns3::Ptr<ns3::Node> node) const [member function]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   964
    cls.add_method('Create', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   965
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   966
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   967
                   is_const=True, is_virtual=True)
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   968
    ## olsr-helper.h: void ns3::OlsrHelper::Set(std::string name, ns3::AttributeValue const & value) [member function]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   969
    cls.add_method('Set', 
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   970
                   'void', 
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
   971
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   972
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   973
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   974
def register_Ns3OnOffHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   975
    ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(ns3::OnOffHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
   976
    cls.add_constructor([param('ns3::OnOffHelper const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   977
    ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(std::string protocol, ns3::Address address) [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   978
    cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')])
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   979
    ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::NodeContainer c) const [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   980
    cls.add_method('Install', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   981
                   'ns3::ApplicationContainer', 
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   982
                   [param('ns3::NodeContainer', 'c')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   983
                   is_const=True)
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   984
    ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   985
    cls.add_method('Install', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   986
                   'ns3::ApplicationContainer', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   987
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
   988
                   is_const=True)
4237
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   989
    ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(std::string nodeName) const [member function]
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   990
    cls.add_method('Install', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   991
                   'ns3::ApplicationContainer', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   992
                   [param('std::string', 'nodeName')], 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
   993
                   is_const=True)
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   994
    ## on-off-helper.h: void ns3::OnOffHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   995
    cls.add_method('SetAttribute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   996
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
   997
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   998
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
   999
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1000
def register_Ns3PacketSinkHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1001
    ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(ns3::PacketSinkHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1002
    cls.add_constructor([param('ns3::PacketSinkHelper const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1003
    ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(std::string protocol, ns3::Address address) [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1004
    cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')])
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1005
    ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::NodeContainer c) const [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1006
    cls.add_method('Install', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1007
                   'ns3::ApplicationContainer', 
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1008
                   [param('ns3::NodeContainer', 'c')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1009
                   is_const=True)
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1010
    ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1011
    cls.add_method('Install', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1012
                   'ns3::ApplicationContainer', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1013
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1014
                   is_const=True)
4237
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1015
    ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(std::string nodeName) const [member function]
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1016
    cls.add_method('Install', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1017
                   'ns3::ApplicationContainer', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1018
                   [param('std::string', 'nodeName')], 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1019
                   is_const=True)
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1020
    ## packet-sink-helper.h: void ns3::PacketSinkHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1021
    cls.add_method('SetAttribute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1022
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1023
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1024
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1025
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1026
def register_Ns3PacketSocketHelper_methods(root_module, cls):
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1027
    ## packet-socket-helper.h: ns3::PacketSocketHelper::PacketSocketHelper() [constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1028
    cls.add_constructor([])
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1029
    ## packet-socket-helper.h: ns3::PacketSocketHelper::PacketSocketHelper(ns3::PacketSocketHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1030
    cls.add_constructor([param('ns3::PacketSocketHelper const &', 'arg0')])
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1031
    ## packet-socket-helper.h: void ns3::PacketSocketHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1032
    cls.add_method('Install', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1033
                   'void', 
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1034
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1035
                   is_const=True)
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1036
    ## packet-socket-helper.h: void ns3::PacketSocketHelper::Install(std::string nodeName) const [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1037
    cls.add_method('Install', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1038
                   'void', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1039
                   [param('std::string', 'nodeName')], 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1040
                   is_const=True)
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1041
    ## packet-socket-helper.h: void ns3::PacketSocketHelper::Install(ns3::NodeContainer c) const [member function]
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1042
    cls.add_method('Install', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1043
                   'void', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1044
                   [param('ns3::NodeContainer', 'c')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1045
                   is_const=True)
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1046
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1047
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1048
def register_Ns3Ping6Helper_methods(root_module, cls):
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1049
    ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper(ns3::Ping6Helper const & arg0) [copy constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1050
    cls.add_constructor([param('ns3::Ping6Helper const &', 'arg0')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1051
    ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper() [constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1052
    cls.add_constructor([])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1053
    ## ping6-helper.h: ns3::ApplicationContainer ns3::Ping6Helper::Install(ns3::NodeContainer c) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1054
    cls.add_method('Install', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1055
                   'ns3::ApplicationContainer', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1056
                   [param('ns3::NodeContainer', 'c')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1057
    ## ping6-helper.h: void ns3::Ping6Helper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1058
    cls.add_method('SetAttribute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1059
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1060
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1061
    ## ping6-helper.h: void ns3::Ping6Helper::SetIfIndex(uint32_t ifIndex) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1062
    cls.add_method('SetIfIndex', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1063
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1064
                   [param('uint32_t', 'ifIndex')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1065
    ## ping6-helper.h: void ns3::Ping6Helper::SetLocal(ns3::Ipv6Address ip) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1066
    cls.add_method('SetLocal', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1067
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1068
                   [param('ns3::Ipv6Address', 'ip')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1069
    ## ping6-helper.h: void ns3::Ping6Helper::SetRemote(ns3::Ipv6Address ip) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1070
    cls.add_method('SetRemote', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1071
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1072
                   [param('ns3::Ipv6Address', 'ip')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1073
    return
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1074
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1075
def register_Ns3PointToPointHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1076
    ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper(ns3::PointToPointHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1077
    cls.add_constructor([param('ns3::PointToPointHelper const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1078
    ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1079
    cls.add_constructor([])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1080
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1081
    cls.add_method('EnableAscii', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1082
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1083
                   [param('std::ostream &', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1084
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1085
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1086
    cls.add_method('EnableAscii', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1087
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1088
                   [param('std::ostream &', 'os'), param('ns3::NetDeviceContainer', 'd')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1089
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1090
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1091
    cls.add_method('EnableAscii', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1092
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1093
                   [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1094
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1095
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAsciiAll(std::ostream & os) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1096
    cls.add_method('EnableAsciiAll', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1097
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1098
                   [param('std::ostream &', 'os')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1099
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1100
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1101
    cls.add_method('EnablePcap', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1102
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1103
                   [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1104
                   is_static=True)
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
  1105
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, ns3::Ptr<ns3::NetDevice> nd) [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
  1106
    cls.add_method('EnablePcap', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
  1107
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
  1108
                   [param('std::string', 'filename'), param('ns3::Ptr< ns3::NetDevice >', 'nd')], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
  1109
                   is_static=True)
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
  1110
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, std::string ndName) [member function]
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
  1111
    cls.add_method('EnablePcap', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
  1112
                   'void', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
  1113
                   [param('std::string', 'filename'), param('std::string', 'ndName')], 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
  1114
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1115
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1116
    cls.add_method('EnablePcap', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1117
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1118
                   [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1119
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1120
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1121
    cls.add_method('EnablePcap', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1122
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1123
                   [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1124
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1125
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcapAll(std::string filename) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1126
    cls.add_method('EnablePcapAll', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1127
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1128
                   [param('std::string', 'filename')], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1129
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1130
    ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1131
    cls.add_method('Install', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1132
                   'ns3::NetDeviceContainer', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1133
                   [param('ns3::NodeContainer', 'c')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1134
    ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr<ns3::Node> a, ns3::Ptr<ns3::Node> b) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1135
    cls.add_method('Install', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1136
                   'ns3::NetDeviceContainer', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1137
                   [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')])
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1138
    ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr<ns3::Node> a, std::string bName) [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1139
    cls.add_method('Install', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1140
                   'ns3::NetDeviceContainer', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1141
                   [param('ns3::Ptr< ns3::Node >', 'a'), param('std::string', 'bName')])
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1142
    ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aName, ns3::Ptr<ns3::Node> b) [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1143
    cls.add_method('Install', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1144
                   'ns3::NetDeviceContainer', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1145
                   [param('std::string', 'aName'), param('ns3::Ptr< ns3::Node >', 'b')])
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1146
    ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aNode, std::string bNode) [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1147
    cls.add_method('Install', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1148
                   'ns3::NetDeviceContainer', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1149
                   [param('std::string', 'aNode'), param('std::string', 'bNode')])
3816
edd4928b2046 remove realtime public API.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
  1150
    ## point-to-point-helper.h: void ns3::PointToPointHelper::InstallStar(ns3::Ptr<ns3::Node> hub, ns3::NodeContainer spokes, ns3::NetDeviceContainer & hubDevices, ns3::NetDeviceContainer & spokeDevices) [member function]
edd4928b2046 remove realtime public API.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
  1151
    cls.add_method('InstallStar', 
edd4928b2046 remove realtime public API.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
  1152
                   'void', 
edd4928b2046 remove realtime public API.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
  1153
                   [param('ns3::Ptr< ns3::Node >', 'hub'), param('ns3::NodeContainer', 'spokes'), param('ns3::NetDeviceContainer &', 'hubDevices'), param('ns3::NetDeviceContainer &', 'spokeDevices')])
4237
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1154
    ## point-to-point-helper.h: void ns3::PointToPointHelper::InstallStar(std::string hubName, ns3::NodeContainer spokes, ns3::NetDeviceContainer & hubDevices, ns3::NetDeviceContainer & spokeDevices) [member function]
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1155
    cls.add_method('InstallStar', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1156
                   'void', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1157
                   [param('std::string', 'hubName'), param('ns3::NodeContainer', 'spokes'), param('ns3::NetDeviceContainer &', 'hubDevices'), param('ns3::NetDeviceContainer &', 'spokeDevices')])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1158
    ## point-to-point-helper.h: void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1159
    cls.add_method('SetChannelAttribute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1160
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1161
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1162
    ## point-to-point-helper.h: void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1163
    cls.add_method('SetDeviceAttribute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1164
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1165
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1166
    ## 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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1167
    cls.add_method('SetQueue', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1168
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1169
                   [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1170
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1171
4237
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1172
def register_Ns3TapBridgeHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1173
    ## tap-bridge-helper.h: ns3::TapBridgeHelper::TapBridgeHelper(ns3::TapBridgeHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1174
    cls.add_constructor([param('ns3::TapBridgeHelper const &', 'arg0')])
4298
cc2db3e6bcae Make Names API return void not bool, rescan for Python Bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 4265
diff changeset
  1175
    ## tap-bridge-helper.h: ns3::TapBridgeHelper::TapBridgeHelper() [constructor]
cc2db3e6bcae Make Names API return void not bool, rescan for Python Bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 4265
diff changeset
  1176
    cls.add_constructor([])
4237
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1177
    ## tap-bridge-helper.h: ns3::TapBridgeHelper::TapBridgeHelper(ns3::Ipv4Address gateway) [constructor]
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1178
    cls.add_constructor([param('ns3::Ipv4Address', 'gateway')])
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1179
    ## tap-bridge-helper.h: ns3::Ptr<ns3::NetDevice> ns3::TapBridgeHelper::Install(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> nd) [member function]
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1180
    cls.add_method('Install', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1181
                   'ns3::Ptr< ns3::NetDevice >', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1182
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1183
    ## tap-bridge-helper.h: ns3::Ptr<ns3::NetDevice> ns3::TapBridgeHelper::Install(std::string nodeName, ns3::Ptr<ns3::NetDevice> nd) [member function]
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1184
    cls.add_method('Install', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1185
                   'ns3::Ptr< ns3::NetDevice >', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1186
                   [param('std::string', 'nodeName'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1187
    ## tap-bridge-helper.h: ns3::Ptr<ns3::NetDevice> ns3::TapBridgeHelper::Install(ns3::Ptr<ns3::Node> node, std::string ndName) [member function]
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1188
    cls.add_method('Install', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1189
                   'ns3::Ptr< ns3::NetDevice >', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1190
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'ndName')])
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1191
    ## tap-bridge-helper.h: ns3::Ptr<ns3::NetDevice> ns3::TapBridgeHelper::Install(std::string nodeName, std::string ndName) [member function]
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1192
    cls.add_method('Install', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1193
                   'ns3::Ptr< ns3::NetDevice >', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1194
                   [param('std::string', 'nodeName'), param('std::string', 'ndName')])
4298
cc2db3e6bcae Make Names API return void not bool, rescan for Python Bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 4265
diff changeset
  1195
    ## tap-bridge-helper.h: ns3::Ptr<ns3::NetDevice> ns3::TapBridgeHelper::Install(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> nd, ns3::AttributeValue const & v1) [member function]
cc2db3e6bcae Make Names API return void not bool, rescan for Python Bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 4265
diff changeset
  1196
    cls.add_method('Install', 
cc2db3e6bcae Make Names API return void not bool, rescan for Python Bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 4265
diff changeset
  1197
                   'ns3::Ptr< ns3::NetDevice >', 
cc2db3e6bcae Make Names API return void not bool, rescan for Python Bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 4265
diff changeset
  1198
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('ns3::AttributeValue const &', 'v1')])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1199
    ## tap-bridge-helper.h: void ns3::TapBridgeHelper::SetAttribute(std::string n1, ns3::AttributeValue const & v1) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1200
    cls.add_method('SetAttribute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1201
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1202
                   [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1203
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1204
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1205
def register_Ns3UdpEchoClientHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1206
    ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::UdpEchoClientHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1207
    cls.add_constructor([param('ns3::UdpEchoClientHelper const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1208
    ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1209
    cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1210
    ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1211
    cls.add_method('Install', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1212
                   'ns3::ApplicationContainer', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1213
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1214
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1215
    ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(std::string nodeName) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1216
    cls.add_method('Install', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1217
                   'ns3::ApplicationContainer', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1218
                   [param('std::string', 'nodeName')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1219
                   is_const=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1220
    ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::NodeContainer c) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1221
    cls.add_method('Install', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1222
                   'ns3::ApplicationContainer', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1223
                   [param('ns3::NodeContainer', 'c')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1224
                   is_const=True)
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1225
    ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1226
    cls.add_method('SetAttribute', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1227
                   'void', 
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1228
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4589
c9374dcfd09a update bindings
Tom Henderson <tomh@tomh.org>
parents: 4496
diff changeset
  1229
    ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr<ns3::Application> app, std::string fill) [member function]
c9374dcfd09a update bindings
Tom Henderson <tomh@tomh.org>
parents: 4496
diff changeset
  1230
    cls.add_method('SetFill', 
c9374dcfd09a update bindings
Tom Henderson <tomh@tomh.org>
parents: 4496
diff changeset
  1231
                   'void', 
c9374dcfd09a update bindings
Tom Henderson <tomh@tomh.org>
parents: 4496
diff changeset
  1232
                   [param('ns3::Ptr< ns3::Application >', 'app'), param('std::string', 'fill')])
c9374dcfd09a update bindings
Tom Henderson <tomh@tomh.org>
parents: 4496
diff changeset
  1233
    ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr<ns3::Application> app, uint8_t fill, uint32_t dataLength) [member function]
c9374dcfd09a update bindings
Tom Henderson <tomh@tomh.org>
parents: 4496
diff changeset
  1234
    cls.add_method('SetFill', 
c9374dcfd09a update bindings
Tom Henderson <tomh@tomh.org>
parents: 4496
diff changeset
  1235
                   'void', 
c9374dcfd09a update bindings
Tom Henderson <tomh@tomh.org>
parents: 4496
diff changeset
  1236
                   [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t', 'fill'), param('uint32_t', 'dataLength')])
c9374dcfd09a update bindings
Tom Henderson <tomh@tomh.org>
parents: 4496
diff changeset
  1237
    ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr<ns3::Application> app, uint8_t * fill, uint32_t fillLength, uint32_t dataLength) [member function]
c9374dcfd09a update bindings
Tom Henderson <tomh@tomh.org>
parents: 4496
diff changeset
  1238
    cls.add_method('SetFill', 
c9374dcfd09a update bindings
Tom Henderson <tomh@tomh.org>
parents: 4496
diff changeset
  1239
                   'void', 
c9374dcfd09a update bindings
Tom Henderson <tomh@tomh.org>
parents: 4496
diff changeset
  1240
                   [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t *', 'fill'), param('uint32_t', 'fillLength'), param('uint32_t', 'dataLength')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1241
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1242
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1243
def register_Ns3UdpEchoServerHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1244
    ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(ns3::UdpEchoServerHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1245
    cls.add_constructor([param('ns3::UdpEchoServerHelper const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1246
    ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(uint16_t port) [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1247
    cls.add_constructor([param('uint16_t', 'port')])
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1248
    ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1249
    cls.add_method('Install', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3632
diff changeset
  1250
                   'ns3::ApplicationContainer', 
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1251
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1252
                   is_const=True)
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1253
    ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(std::string nodeName) const [member function]
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1254
    cls.add_method('Install', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1255
                   'ns3::ApplicationContainer', 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1256
                   [param('std::string', 'nodeName')], 
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1257
                   is_const=True)
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1258
    ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::NodeContainer c) const [member function]
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1259
    cls.add_method('Install', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1260
                   'ns3::ApplicationContainer', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1261
                   [param('ns3::NodeContainer', 'c')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1262
                   is_const=True)
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1263
    ## udp-echo-helper.h: void ns3::UdpEchoServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1264
    cls.add_method('SetAttribute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1265
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1266
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1267
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1268
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
  1269
def register_Ns3V4PingHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1270
    ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::V4PingHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1271
    cls.add_constructor([param('ns3::V4PingHelper const &', 'arg0')])
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
  1272
    ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::Ipv4Address remote) [constructor]
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
  1273
    cls.add_constructor([param('ns3::Ipv4Address', 'remote')])
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1274
    ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::NodeContainer nodes) const [member function]
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
  1275
    cls.add_method('Install', 
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
  1276
                   'ns3::ApplicationContainer', 
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1277
                   [param('ns3::NodeContainer', 'nodes')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1278
                   is_const=True)
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1279
    ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1280
    cls.add_method('Install', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1281
                   'ns3::ApplicationContainer', 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1282
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1283
                   is_const=True)
4237
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1284
    ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(std::string nodeName) const [member function]
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1285
    cls.add_method('Install', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1286
                   'ns3::ApplicationContainer', 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1287
                   [param('std::string', 'nodeName')], 
f086b7b943b8 Rescan the bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4236
diff changeset
  1288
                   is_const=True)
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1289
    ## v4ping-helper.h: void ns3::V4PingHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1290
    cls.add_method('SetAttribute', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1291
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1292
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
3842
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
  1293
    return
545ddf9398ed apply patch for bug 294 (GetMulticastAddr) + emu device update + rescan
vincent@clarinet.u-strasbg.fr
parents: 3816
diff changeset
  1294
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1295
def register_Ns3WifiHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1296
    ## wifi-helper.h: ns3::WifiHelper::WifiHelper(ns3::WifiHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1297
    cls.add_constructor([param('ns3::WifiHelper const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1298
    ## wifi-helper.h: ns3::WifiHelper::WifiHelper() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1299
    cls.add_constructor([])
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1300
    ## wifi-helper.h: static ns3::WifiHelper ns3::WifiHelper::Default() [member function]
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1301
    cls.add_method('Default', 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1302
                   'ns3::WifiHelper', 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1303
                   [], 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1304
                   is_static=True)
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1305
    ## wifi-helper.h: static void ns3::WifiHelper::EnableLogComponents() [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1306
    cls.add_method('EnableLogComponents', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1307
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1308
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1309
                   is_static=True)
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1310
    ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::WifiPhyHelper const & phy, ns3::WifiMacHelper const & mac, ns3::NodeContainer c) const [member function]
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1311
    cls.add_method('Install', 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1312
                   'ns3::NetDeviceContainer', 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1313
                   [param('ns3::WifiPhyHelper const &', 'phy'), param('ns3::WifiMacHelper const &', 'mac'), param('ns3::NodeContainer', 'c')], 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1314
                   is_const=True)
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1315
    ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::WifiPhyHelper const & phy, ns3::WifiMacHelper const & mac, ns3::Ptr<ns3::Node> node) const [member function]
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1316
    cls.add_method('Install', 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1317
                   'ns3::NetDeviceContainer', 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1318
                   [param('ns3::WifiPhyHelper const &', 'phy'), param('ns3::WifiMacHelper const &', 'mac'), param('ns3::Ptr< ns3::Node >', 'node')], 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1319
                   is_const=True)
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1320
    ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::WifiPhyHelper const & phy, ns3::WifiMacHelper const & mac, std::string nodeName) const [member function]
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1321
    cls.add_method('Install', 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1322
                   'ns3::NetDeviceContainer', 
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1323
                   [param('ns3::WifiPhyHelper const &', 'phy'), param('ns3::WifiMacHelper const &', 'mac'), param('std::string', 'nodeName')], 
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1324
                   is_const=True)
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1325
    ## 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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1326
    cls.add_method('SetRemoteStationManager', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1327
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1328
                   [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')])
4720
15221757964f bug 641: CwMin setting for 802.11b
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4616
diff changeset
  1329
    ## wifi-helper.h: void ns3::WifiHelper::SetStandard(ns3::WifiPhyStandard standard) [member function]
15221757964f bug 641: CwMin setting for 802.11b
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4616
diff changeset
  1330
    cls.add_method('SetStandard', 
15221757964f bug 641: CwMin setting for 802.11b
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4616
diff changeset
  1331
                   'void', 
15221757964f bug 641: CwMin setting for 802.11b
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4616
diff changeset
  1332
                   [param('ns3::WifiPhyStandard', 'standard')])
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1333
    return
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1334
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1335
def register_Ns3WifiMacHelper_methods(root_module, cls):
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1336
    ## wifi-helper.h: ns3::WifiMacHelper::WifiMacHelper() [constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1337
    cls.add_constructor([])
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1338
    ## wifi-helper.h: ns3::WifiMacHelper::WifiMacHelper(ns3::WifiMacHelper const & arg0) [copy constructor]
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1339
    cls.add_constructor([param('ns3::WifiMacHelper const &', 'arg0')])
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1340
    ## wifi-helper.h: ns3::Ptr<ns3::WifiMac> ns3::WifiMacHelper::Create() const [member function]
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1341
    cls.add_method('Create', 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1342
                   'ns3::Ptr< ns3::WifiMac >', 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1343
                   [], 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1344
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1345
    return
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1346
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1347
def register_Ns3WifiPhyHelper_methods(root_module, cls):
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1348
    ## wifi-helper.h: ns3::WifiPhyHelper::WifiPhyHelper() [constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1349
    cls.add_constructor([])
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1350
    ## wifi-helper.h: ns3::WifiPhyHelper::WifiPhyHelper(ns3::WifiPhyHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1351
    cls.add_constructor([param('ns3::WifiPhyHelper const &', 'arg0')])
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1352
    ## wifi-helper.h: ns3::Ptr<ns3::WifiPhy> ns3::WifiPhyHelper::Create(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::WifiNetDevice> device) const [member function]
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1353
    cls.add_method('Create', 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1354
                   'ns3::Ptr< ns3::WifiPhy >', 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1355
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::WifiNetDevice >', 'device')], 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1356
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1357
    return
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1358
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1359
def register_Ns3YansWifiChannelHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1360
    ## yans-wifi-helper.h: ns3::YansWifiChannelHelper::YansWifiChannelHelper(ns3::YansWifiChannelHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1361
    cls.add_constructor([param('ns3::YansWifiChannelHelper const &', 'arg0')])
4002
a12900ea255e rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
  1362
    ## yans-wifi-helper.h: ns3::YansWifiChannelHelper::YansWifiChannelHelper() [constructor]
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1363
    cls.add_constructor([])
4002
a12900ea255e rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
  1364
    ## yans-wifi-helper.h: void ns3::YansWifiChannelHelper::AddPropagationLoss(std::string name, 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]
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1365
    cls.add_method('AddPropagationLoss', 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1366
                   'void', 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1367
                   [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')])
4002
a12900ea255e rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
  1368
    ## yans-wifi-helper.h: ns3::Ptr<ns3::YansWifiChannel> ns3::YansWifiChannelHelper::Create() const [member function]
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1369
    cls.add_method('Create', 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1370
                   'ns3::Ptr< ns3::YansWifiChannel >', 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1371
                   [], 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1372
                   is_const=True)
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1373
    ## yans-wifi-helper.h: static ns3::YansWifiChannelHelper ns3::YansWifiChannelHelper::Default() [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1374
    cls.add_method('Default', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1375
                   'ns3::YansWifiChannelHelper', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1376
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1377
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1378
    ## yans-wifi-helper.h: void ns3::YansWifiChannelHelper::SetPropagationDelay(std::string name, 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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1379
    cls.add_method('SetPropagationDelay', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1380
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1381
                   [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')])
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1382
    return
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1383
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1384
def register_Ns3YansWifiPhyHelper_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1385
    ## yans-wifi-helper.h: ns3::YansWifiPhyHelper::YansWifiPhyHelper(ns3::YansWifiPhyHelper const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4237
diff changeset
  1386
    cls.add_constructor([param('ns3::YansWifiPhyHelper const &', 'arg0')])
4002
a12900ea255e rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
  1387
    ## yans-wifi-helper.h: ns3::YansWifiPhyHelper::YansWifiPhyHelper() [constructor]
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1388
    cls.add_constructor([])
4002
a12900ea255e rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
  1389
    ## yans-wifi-helper.h: static ns3::YansWifiPhyHelper ns3::YansWifiPhyHelper::Default() [member function]
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1390
    cls.add_method('Default', 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1391
                   'ns3::YansWifiPhyHelper', 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1392
                   [], 
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1393
                   is_static=True)
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1394
    ## yans-wifi-helper.h: static void ns3::YansWifiPhyHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1395
    cls.add_method('EnableAscii', 
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1396
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1397
                   [param('std::ostream &', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1398
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1399
    ## yans-wifi-helper.h: static void ns3::YansWifiPhyHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1400
    cls.add_method('EnableAscii', 
4204
1b2a20c85856 Rescan python bindings.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4002
diff changeset
  1401
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1402
                   [param('std::ostream &', 'os'), param('ns3::NetDeviceContainer', 'd')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1403
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1404
    ## yans-wifi-helper.h: static void ns3::YansWifiPhyHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1405
    cls.add_method('EnableAscii', 
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1406
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1407
                   [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1408
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1409
    ## yans-wifi-helper.h: static void ns3::YansWifiPhyHelper::EnableAsciiAll(std::ostream & os) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1410
    cls.add_method('EnableAsciiAll', 
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3906
diff changeset
  1411
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1412
                   [param('std::ostream &', 'os')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1413
                   is_static=True)
4496
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1414
    ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1415
    cls.add_method('EnablePcap', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1416
                   'void', 
4496
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1417
                   [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')])
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1418
    ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnablePcap(std::string filename, ns3::Ptr<ns3::NetDevice> nd) [member function]
4265
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
  1419
    cls.add_method('EnablePcap', 
5f837915710a remove unneeded packet copies, includes. Rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 4241
diff changeset
  1420
                   'void', 
4496
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1421
                   [param('std::string', 'filename'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1422
    ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnablePcap(std::string filename, std::string ndName) [member function]
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1423
    cls.add_method('EnablePcap', 
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1424
                   'void', 
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1425
                   [param('std::string', 'filename'), param('std::string', 'ndName')])
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1426
    ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1427
    cls.add_method('EnablePcap', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1428
                   'void', 
4496
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1429
                   [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')])
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1430
    ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1431
    cls.add_method('EnablePcap', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1432
                   'void', 
4496
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1433
                   [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')])
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1434
    ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnablePcapAll(std::string filename) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1435
    cls.add_method('EnablePcapAll', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1436
                   'void', 
4496
6f372b890919 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
  1437
                   [param('std::string', 'filename')])
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1438
    ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::Set(std::string name, ns3::AttributeValue const & v) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1439
    cls.add_method('Set', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1440
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1441
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1442
    ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetChannel(ns3::Ptr<ns3::YansWifiChannel> channel) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1443
    cls.add_method('SetChannel', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1444
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1445
                   [param('ns3::Ptr< ns3::YansWifiChannel >', 'channel')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1446
    ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetChannel(std::string channelName) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1447
    cls.add_method('SetChannel', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1448
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1449
                   [param('std::string', 'channelName')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1450
    ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetErrorRateModel(std::string name, 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]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1451
    cls.add_method('SetErrorRateModel', 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
  1452
                   'void', 
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1453
                   [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1454
    ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetPcapFormat(ns3::YansWifiPhyHelper::PcapFormat format) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1455
    cls.add_method('SetPcapFormat', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1456
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1457
                   [param('ns3::YansWifiPhyHelper::PcapFormat', 'format')])
4002
a12900ea255e rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
  1458
    ## yans-wifi-helper.h: ns3::Ptr<ns3::WifiPhy> ns3::YansWifiPhyHelper::Create(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::WifiNetDevice> device) const [member function]
a12900ea255e rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
  1459
    cls.add_method('Create', 
a12900ea255e rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
  1460
                   'ns3::Ptr< ns3::WifiPhy >', 
a12900ea255e rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
  1461
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::WifiNetDevice >', 'device')], 
a12900ea255e rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
  1462
                   is_const=True, visibility='private', is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1463
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1464
4616
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1465
def register_Ns3Ipv4GlobalRoutingHelper_methods(root_module, cls):
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1466
    ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper(ns3::Ipv4GlobalRoutingHelper const & arg0) [copy constructor]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1467
    cls.add_constructor([param('ns3::Ipv4GlobalRoutingHelper const &', 'arg0')])
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1468
    ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper() [constructor]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1469
    cls.add_constructor([])
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1470
    ## ipv4-global-routing-helper.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4GlobalRoutingHelper::Create(ns3::Ptr<ns3::Node> node) const [member function]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1471
    cls.add_method('Create', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1472
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1473
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1474
                   is_const=True, is_virtual=True)
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1475
    ## ipv4-global-routing-helper.h: static void ns3::Ipv4GlobalRoutingHelper::PopulateRoutingTables() [member function]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1476
    cls.add_method('PopulateRoutingTables', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1477
                   'void', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1478
                   [], 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1479
                   is_static=True)
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1480
    ## ipv4-global-routing-helper.h: static void ns3::Ipv4GlobalRoutingHelper::RecomputeRoutingTables() [member function]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1481
    cls.add_method('RecomputeRoutingTables', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1482
                   'void', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1483
                   [], 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1484
                   is_static=True)
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1485
    return
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1486
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1487
def register_Ns3Ipv4ListRoutingHelper_methods(root_module, cls):
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1488
    ## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper::Ipv4ListRoutingHelper(ns3::Ipv4ListRoutingHelper const & arg0) [copy constructor]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1489
    cls.add_constructor([param('ns3::Ipv4ListRoutingHelper const &', 'arg0')])
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1490
    ## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper::Ipv4ListRoutingHelper() [constructor]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1491
    cls.add_constructor([])
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1492
    ## ipv4-list-routing-helper.h: void ns3::Ipv4ListRoutingHelper::Add(ns3::Ipv4RoutingHelper const & routing, int16_t priority) [member function]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1493
    cls.add_method('Add', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1494
                   'void', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1495
                   [param('ns3::Ipv4RoutingHelper const &', 'routing'), param('int16_t', 'priority')])
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1496
    ## ipv4-list-routing-helper.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4ListRoutingHelper::Create(ns3::Ptr<ns3::Node> node) const [member function]
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1497
    cls.add_method('Create', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1498
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1499
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1500
                   is_const=True, is_virtual=True)
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1501
    return
a84f60b6cd12 bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4605
diff changeset
  1502
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1503
def register_Ns3Ipv6ListRoutingHelper_methods(root_module, cls):
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1504
    ## ipv6-list-routing-helper.h: ns3::Ipv6ListRoutingHelper::Ipv6ListRoutingHelper(ns3::Ipv6ListRoutingHelper const & arg0) [copy constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1505
    cls.add_constructor([param('ns3::Ipv6ListRoutingHelper const &', 'arg0')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1506
    ## ipv6-list-routing-helper.h: ns3::Ipv6ListRoutingHelper::Ipv6ListRoutingHelper() [constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1507
    cls.add_constructor([])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1508
    ## ipv6-list-routing-helper.h: void ns3::Ipv6ListRoutingHelper::Add(ns3::Ipv6RoutingHelper const & routing, int16_t priority) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1509
    cls.add_method('Add', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1510
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1511
                   [param('ns3::Ipv6RoutingHelper const &', 'routing'), param('int16_t', 'priority')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1512
    ## ipv6-list-routing-helper.h: ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6ListRoutingHelper::Create(ns3::Ptr<ns3::Node> node) const [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1513
    cls.add_method('Create', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1514
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1515
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1516
                   is_const=True, is_virtual=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1517
    return
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1518
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1519
def register_Ns3NqosWifiMacHelper_methods(root_module, cls):
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1520
    ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper::NqosWifiMacHelper(ns3::NqosWifiMacHelper const & arg0) [copy constructor]
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1521
    cls.add_constructor([param('ns3::NqosWifiMacHelper const &', 'arg0')])
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1522
    ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper::NqosWifiMacHelper() [constructor]
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1523
    cls.add_constructor([])
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1524
    ## nqos-wifi-mac-helper.h: static ns3::NqosWifiMacHelper ns3::NqosWifiMacHelper::Default() [member function]
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1525
    cls.add_method('Default', 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1526
                   'ns3::NqosWifiMacHelper', 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1527
                   [], 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1528
                   is_static=True)
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1529
    ## nqos-wifi-mac-helper.h: void ns3::NqosWifiMacHelper::SetType(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]
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1530
    cls.add_method('SetType', 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1531
                   'void', 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1532
                   [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')])
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1533
    ## nqos-wifi-mac-helper.h: ns3::Ptr<ns3::WifiMac> ns3::NqosWifiMacHelper::Create() const [member function]
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1534
    cls.add_method('Create', 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1535
                   'ns3::Ptr< ns3::WifiMac >', 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1536
                   [], 
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1537
                   is_const=True, visibility='private', is_virtual=True)
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1538
    return
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
  1539
4422
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1540
def register_Ns3QosWifiMacHelper_methods(root_module, cls):
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1541
    ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper::QosWifiMacHelper(ns3::QosWifiMacHelper const & arg0) [copy constructor]
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1542
    cls.add_constructor([param('ns3::QosWifiMacHelper const &', 'arg0')])
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1543
    ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper::QosWifiMacHelper() [constructor]
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1544
    cls.add_constructor([])
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1545
    ## qos-wifi-mac-helper.h: static ns3::QosWifiMacHelper ns3::QosWifiMacHelper::Default() [member function]
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1546
    cls.add_method('Default', 
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1547
                   'ns3::QosWifiMacHelper', 
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1548
                   [], 
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1549
                   is_static=True)
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1550
    ## qos-wifi-mac-helper.h: void ns3::QosWifiMacHelper::SetMsduAggregatorForAc(ns3::AccessClass accessClass, 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()) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1551
    cls.add_method('SetMsduAggregatorForAc', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1552
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1553
                   [param('ns3::AccessClass', 'accessClass'), param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()')])
4422
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1554
    ## qos-wifi-mac-helper.h: void ns3::QosWifiMacHelper::SetType(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]
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1555
    cls.add_method('SetType', 
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1556
                   'void', 
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1557
                   [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')])
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1558
    ## qos-wifi-mac-helper.h: ns3::Ptr<ns3::WifiMac> ns3::QosWifiMacHelper::Create() const [member function]
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1559
    cls.add_method('Create', 
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1560
                   'ns3::Ptr< ns3::WifiMac >', 
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1561
                   [], 
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1562
                   is_const=True, visibility='private', is_virtual=True)
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1563
    return
f5ef533e56e4 rescan python bindings
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4407
diff changeset
  1564
4742
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1565
def register_Ns3AthstatsWifiTraceSink_methods(root_module, cls):
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1566
    ## athstats-helper.h: ns3::AthstatsWifiTraceSink::AthstatsWifiTraceSink(ns3::AthstatsWifiTraceSink const & arg0) [copy constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1567
    cls.add_constructor([param('ns3::AthstatsWifiTraceSink const &', 'arg0')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1568
    ## athstats-helper.h: ns3::AthstatsWifiTraceSink::AthstatsWifiTraceSink() [constructor]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1569
    cls.add_constructor([])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1570
    ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::DevRxTrace(std::string context, ns3::Ptr<ns3::Packet const> p) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1571
    cls.add_method('DevRxTrace', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1572
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1573
                   [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1574
    ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::DevTxTrace(std::string context, ns3::Ptr<ns3::Packet const> p) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1575
    cls.add_method('DevTxTrace', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1576
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1577
                   [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1578
    ## athstats-helper.h: static ns3::TypeId ns3::AthstatsWifiTraceSink::GetTypeId() [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1579
    cls.add_method('GetTypeId', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1580
                   'ns3::TypeId', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1581
                   [], 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1582
                   is_static=True)
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1583
    ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::Open(std::string const & name) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1584
    cls.add_method('Open', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1585
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1586
                   [param('std::string const &', 'name')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1587
    ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::PhyRxErrorTrace(std::string context, ns3::Ptr<ns3::Packet const> packet, double snr) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1588
    cls.add_method('PhyRxErrorTrace', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1589
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1590
                   [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('double', 'snr')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1591
    ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::PhyRxOkTrace(std::string context, ns3::Ptr<ns3::Packet const> packet, double snr, ns3::WifiMode mode, ns3::WifiPreamble preamble) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1592
    cls.add_method('PhyRxOkTrace', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1593
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1594
                   [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('double', 'snr'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1595
    ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::PhyStateTrace(std::string context, ns3::Time start, ns3::Time duration, ns3::WifiPhy::State state) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1596
    cls.add_method('PhyStateTrace', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1597
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1598
                   [param('std::string', 'context'), param('ns3::Time', 'start'), param('ns3::Time', 'duration'), param('ns3::WifiPhy::State', 'state')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1599
    ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::PhyTxTrace(std::string context, ns3::Ptr<ns3::Packet const> packet, ns3::WifiMode mode, ns3::WifiPreamble preamble, uint8_t txPower) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1600
    cls.add_method('PhyTxTrace', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1601
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1602
                   [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble'), param('uint8_t', 'txPower')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1603
    ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::TxDataFailedTrace(std::string context, ns3::Mac48Address address) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1604
    cls.add_method('TxDataFailedTrace', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1605
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1606
                   [param('std::string', 'context'), param('ns3::Mac48Address', 'address')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1607
    ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::TxFinalDataFailedTrace(std::string context, ns3::Mac48Address address) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1608
    cls.add_method('TxFinalDataFailedTrace', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1609
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1610
                   [param('std::string', 'context'), param('ns3::Mac48Address', 'address')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1611
    ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::TxFinalRtsFailedTrace(std::string context, ns3::Mac48Address address) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1612
    cls.add_method('TxFinalRtsFailedTrace', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1613
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1614
                   [param('std::string', 'context'), param('ns3::Mac48Address', 'address')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1615
    ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::TxRtsFailedTrace(std::string context, ns3::Mac48Address address) [member function]
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1616
    cls.add_method('TxRtsFailedTrace', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1617
                   'void', 
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1618
                   [param('std::string', 'context'), param('ns3::Mac48Address', 'address')])
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1619
    return
f22beb219798 Re-scan Python bindings and use newer PyBindGen.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 4720
diff changeset
  1620
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1621
def register_functions(root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1622
    module = root_module
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1623
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1624
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
  1625
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1626
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1627
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1628
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1629
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1630
def register_functions_ns3_Config(module, root_module):
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1631
    return
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1632
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1633
def register_functions_ns3_TimeStepPrecision(module, root_module):
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1634
    return
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3842
diff changeset
  1635
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
  1636
def register_functions_ns3_addressUtils(module, root_module):
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
  1637
    return
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
  1638
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1639
def register_functions_ns3_internal(module, root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1640
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1641
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1642
def register_functions_ns3_olsr(module, root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1643
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1644