Python API rescan

This commit is contained in:
Gustavo J. A. M. Carneiro
2009-10-26 10:15:22 +00:00
parent 0d5e8b4bfa
commit 4bcced389f
10 changed files with 824 additions and 764 deletions
@@ -273,6 +273,7 @@ def register_types_ns3_dot11s(module):
root_module = module.get_root()
module.add_container('std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >', 'ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit >', container_type='vector')
module.add_container('std::vector< ns3::Ptr< ns3::dot11s::PeerLink > >', 'ns3::Ptr< ns3::dot11s::PeerLink >', container_type='vector')
def register_types_ns3_flame(module):
root_module = module.get_root()
@@ -599,6 +599,11 @@ def register_Ns3Dot11sPeerLink_methods(root_module, cls):
cls.add_method('SetLocalAid',
'void',
[param('uint16_t', 'aid')])
## peer-link.h: uint16_t ns3::dot11s::PeerLink::GetPeerAid() const [member function]
cls.add_method('GetPeerAid',
'uint16_t',
[],
is_const=True)
## peer-link.h: void ns3::dot11s::PeerLink::SetBeaconTimingElement(ns3::dot11s::IeBeaconTiming beaconTiming) [member function]
cls.add_method('SetBeaconTimingElement',
'void',
@@ -675,14 +680,15 @@ def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls):
cls.add_method('FindPeerLink',
'ns3::Ptr< ns3::dot11s::PeerLink >',
[param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')])
## peer-management-protocol.h: std::vector<ns3::Mac48Address,std::allocator<ns3::Mac48Address> > ns3::dot11s::PeerManagementProtocol::GetActiveLinks(uint32_t interface) [member function]
cls.add_method('GetActiveLinks',
'std::vector< ns3::Mac48Address >',
[param('uint32_t', 'interface')])
## peer-management-protocol.h: ns3::Mac48Address ns3::dot11s::PeerManagementProtocol::GetAddress() [member function]
cls.add_method('GetAddress',
'ns3::Mac48Address',
[])
## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::GetBeaconCollisionAvoidance() const [member function]
cls.add_method('GetBeaconCollisionAvoidance',
'bool',
[],
is_const=True)
## peer-management-protocol.h: ns3::Ptr<ns3::dot11s::IeBeaconTiming> ns3::dot11s::PeerManagementProtocol::GetBeaconTimingElement(uint32_t interface) [member function]
cls.add_method('GetBeaconTimingElement',
'ns3::Ptr< ns3::dot11s::IeBeaconTiming >',
@@ -696,6 +702,16 @@ def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls):
cls.add_method('GetNumberOfLinks',
'uint8_t',
[])
## peer-management-protocol.h: std::vector<ns3::Ptr<ns3::dot11s::PeerLink>,std::allocator<ns3::Ptr<ns3::dot11s::PeerLink> > > ns3::dot11s::PeerManagementProtocol::GetPeerLinks() const [member function]
cls.add_method('GetPeerLinks',
'std::vector< ns3::Ptr< ns3::dot11s::PeerLink > >',
[],
is_const=True)
## peer-management-protocol.h: std::vector<ns3::Mac48Address,std::allocator<ns3::Mac48Address> > ns3::dot11s::PeerManagementProtocol::GetPeers(uint32_t interface) const [member function]
cls.add_method('GetPeers',
'std::vector< ns3::Mac48Address >',
[param('uint32_t', 'interface')],
is_const=True)
## peer-management-protocol.h: static ns3::TypeId ns3::dot11s::PeerManagementProtocol::GetTypeId() [member function]
cls.add_method('GetTypeId',
'ns3::TypeId',
@@ -709,6 +725,14 @@ def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls):
cls.add_method('IsActiveLink',
'bool',
[param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')])
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::NotifyBeaconSent(uint32_t interface, ns3::Time beaconInterval) [member function]
cls.add_method('NotifyBeaconSent',
'void',
[param('uint32_t', 'interface'), param('ns3::Time', 'beaconInterval')])
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ReceiveBeacon(uint32_t interface, ns3::Mac48Address peerAddress, ns3::Time beaconInterval, ns3::Ptr<ns3::dot11s::IeBeaconTiming> beaconTiming) [member function]
cls.add_method('ReceiveBeacon',
'void',
[param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Time', 'beaconInterval'), param('ns3::Ptr< ns3::dot11s::IeBeaconTiming >', 'beaconTiming')])
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ReceivePeerLinkFrame(uint32_t interface, ns3::Mac48Address peerAddress, ns3::Mac48Address peerMeshPointAddress, uint16_t aid, ns3::dot11s::IePeerManagement peerManagementElement, ns3::dot11s::IeConfiguration meshConfig) [member function]
cls.add_method('ReceivePeerLinkFrame',
'void',
@@ -722,6 +746,10 @@ def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls):
cls.add_method('ResetStats',
'void',
[])
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetBeaconCollisionAvoidance(bool enable) [member function]
cls.add_method('SetBeaconCollisionAvoidance',
'void',
[param('bool', 'enable')])
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetMeshId(std::string s) [member function]
cls.add_method('SetMeshId',
'void',
@@ -738,10 +766,6 @@ def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls):
cls.add_method('TransmissionSuccess',
'void',
[param('uint32_t', 'interface'), param('ns3::Mac48Address const', 'peerAddress')])
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::UpdatePeerBeaconTiming(uint32_t interface, bool meshBeacon, ns3::dot11s::IeBeaconTiming timingElement, ns3::Mac48Address peerAddress, ns3::Time receivingTime, ns3::Time beaconInterval) [member function]
cls.add_method('UpdatePeerBeaconTiming',
'void',
[param('uint32_t', 'interface'), param('bool', 'meshBeacon'), param('ns3::dot11s::IeBeaconTiming', 'timingElement'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Time', 'receivingTime'), param('ns3::Time', 'beaconInterval')])
return
def register_functions(root_module):
@@ -650,10 +650,10 @@ def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
cls.add_method('Add',
'void',
[param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> arg0) [member function]
## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ipInterfacePair) [member function]
cls.add_method('Add',
'void',
[param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'arg0')])
[param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'ipInterfacePair')])
## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(std::string ipv4Name, uint32_t interface) [member function]
cls.add_method('Add',
'void',
@@ -122,6 +122,11 @@ def register_Ns3MeshWifiBeacon_methods(root_module, cls):
cls.add_method('CreatePacket',
'ns3::Ptr< ns3::Packet >',
[])
## mesh-wifi-beacon.h: ns3::Time ns3::MeshWifiBeacon::GetBeaconInterval() const [member function]
cls.add_method('GetBeaconInterval',
'ns3::Time',
[],
is_const=True)
return
def register_Ns3WifiInformationElement_methods(root_module, cls):
@@ -17,29 +17,29 @@ import ns3_module_simulator
import ns3_module_test
import ns3_module_mobility
import ns3_module_common
import ns3_module_contrib
import ns3_module_node
import ns3_module_tap_bridge
import ns3_module_v4ping
import ns3_module_static_routing
import ns3_module_packet_sink
import ns3_module_stats
import ns3_module_onoff
import ns3_module_contrib
import ns3_module_point_to_point
import ns3_module_internet_stack
import ns3_module_tap_bridge
import ns3_module_csma
import ns3_module_list_routing
import ns3_module_virtual_net_device
import ns3_module_wifi
import ns3_module_static_routing
import ns3_module_v4ping
import ns3_module_virtual_net_device
import ns3_module_packet_sink
import ns3_module_global_routing
import ns3_module_stats
import ns3_module_list_routing
import ns3_module_emu
import ns3_module_bridge
import ns3_module_global_routing
import ns3_module_onoff
import ns3_module_udp_echo
import ns3_module_ping6
import ns3_module_nix_vector_routing
import ns3_module_olsr
import ns3_module_radvd
import ns3_module_ping6
import ns3_module_flow_monitor
import ns3_module_radvd
import ns3_module_mesh
import ns3_module_helper
import ns3_module_dot11s
@@ -107,17 +107,6 @@ def register_types(module):
ns3_module_common__local.register_types(module)
root_module.end_section('ns3_module_common')
root_module.begin_section('ns3_module_contrib')
ns3_module_contrib.register_types(module)
try:
import ns3_module_contrib__local
except ImportError:
pass
else:
ns3_module_contrib__local.register_types(module)
root_module.end_section('ns3_module_contrib')
root_module.begin_section('ns3_module_node')
ns3_module_node.register_types(module)
@@ -129,72 +118,17 @@ def register_types(module):
ns3_module_node__local.register_types(module)
root_module.end_section('ns3_module_node')
root_module.begin_section('ns3_module_tap_bridge')
ns3_module_tap_bridge.register_types(module)
root_module.begin_section('ns3_module_contrib')
ns3_module_contrib.register_types(module)
try:
import ns3_module_tap_bridge__local
import ns3_module_contrib__local
except ImportError:
pass
else:
ns3_module_tap_bridge__local.register_types(module)
ns3_module_contrib__local.register_types(module)
root_module.end_section('ns3_module_tap_bridge')
root_module.begin_section('ns3_module_v4ping')
ns3_module_v4ping.register_types(module)
try:
import ns3_module_v4ping__local
except ImportError:
pass
else:
ns3_module_v4ping__local.register_types(module)
root_module.end_section('ns3_module_v4ping')
root_module.begin_section('ns3_module_static_routing')
ns3_module_static_routing.register_types(module)
try:
import ns3_module_static_routing__local
except ImportError:
pass
else:
ns3_module_static_routing__local.register_types(module)
root_module.end_section('ns3_module_static_routing')
root_module.begin_section('ns3_module_packet_sink')
ns3_module_packet_sink.register_types(module)
try:
import ns3_module_packet_sink__local
except ImportError:
pass
else:
ns3_module_packet_sink__local.register_types(module)
root_module.end_section('ns3_module_packet_sink')
root_module.begin_section('ns3_module_stats')
ns3_module_stats.register_types(module)
try:
import ns3_module_stats__local
except ImportError:
pass
else:
ns3_module_stats__local.register_types(module)
root_module.end_section('ns3_module_stats')
root_module.begin_section('ns3_module_onoff')
ns3_module_onoff.register_types(module)
try:
import ns3_module_onoff__local
except ImportError:
pass
else:
ns3_module_onoff__local.register_types(module)
root_module.end_section('ns3_module_onoff')
root_module.end_section('ns3_module_contrib')
root_module.begin_section('ns3_module_point_to_point')
ns3_module_point_to_point.register_types(module)
@@ -217,6 +151,17 @@ def register_types(module):
ns3_module_internet_stack__local.register_types(module)
root_module.end_section('ns3_module_internet_stack')
root_module.begin_section('ns3_module_tap_bridge')
ns3_module_tap_bridge.register_types(module)
try:
import ns3_module_tap_bridge__local
except ImportError:
pass
else:
ns3_module_tap_bridge__local.register_types(module)
root_module.end_section('ns3_module_tap_bridge')
root_module.begin_section('ns3_module_csma')
ns3_module_csma.register_types(module)
@@ -228,28 +173,6 @@ def register_types(module):
ns3_module_csma__local.register_types(module)
root_module.end_section('ns3_module_csma')
root_module.begin_section('ns3_module_list_routing')
ns3_module_list_routing.register_types(module)
try:
import ns3_module_list_routing__local
except ImportError:
pass
else:
ns3_module_list_routing__local.register_types(module)
root_module.end_section('ns3_module_list_routing')
root_module.begin_section('ns3_module_virtual_net_device')
ns3_module_virtual_net_device.register_types(module)
try:
import ns3_module_virtual_net_device__local
except ImportError:
pass
else:
ns3_module_virtual_net_device__local.register_types(module)
root_module.end_section('ns3_module_virtual_net_device')
root_module.begin_section('ns3_module_wifi')
ns3_module_wifi.register_types(module)
@@ -261,6 +184,83 @@ def register_types(module):
ns3_module_wifi__local.register_types(module)
root_module.end_section('ns3_module_wifi')
root_module.begin_section('ns3_module_static_routing')
ns3_module_static_routing.register_types(module)
try:
import ns3_module_static_routing__local
except ImportError:
pass
else:
ns3_module_static_routing__local.register_types(module)
root_module.end_section('ns3_module_static_routing')
root_module.begin_section('ns3_module_v4ping')
ns3_module_v4ping.register_types(module)
try:
import ns3_module_v4ping__local
except ImportError:
pass
else:
ns3_module_v4ping__local.register_types(module)
root_module.end_section('ns3_module_v4ping')
root_module.begin_section('ns3_module_virtual_net_device')
ns3_module_virtual_net_device.register_types(module)
try:
import ns3_module_virtual_net_device__local
except ImportError:
pass
else:
ns3_module_virtual_net_device__local.register_types(module)
root_module.end_section('ns3_module_virtual_net_device')
root_module.begin_section('ns3_module_packet_sink')
ns3_module_packet_sink.register_types(module)
try:
import ns3_module_packet_sink__local
except ImportError:
pass
else:
ns3_module_packet_sink__local.register_types(module)
root_module.end_section('ns3_module_packet_sink')
root_module.begin_section('ns3_module_global_routing')
ns3_module_global_routing.register_types(module)
try:
import ns3_module_global_routing__local
except ImportError:
pass
else:
ns3_module_global_routing__local.register_types(module)
root_module.end_section('ns3_module_global_routing')
root_module.begin_section('ns3_module_stats')
ns3_module_stats.register_types(module)
try:
import ns3_module_stats__local
except ImportError:
pass
else:
ns3_module_stats__local.register_types(module)
root_module.end_section('ns3_module_stats')
root_module.begin_section('ns3_module_list_routing')
ns3_module_list_routing.register_types(module)
try:
import ns3_module_list_routing__local
except ImportError:
pass
else:
ns3_module_list_routing__local.register_types(module)
root_module.end_section('ns3_module_list_routing')
root_module.begin_section('ns3_module_emu')
ns3_module_emu.register_types(module)
@@ -283,17 +283,17 @@ def register_types(module):
ns3_module_bridge__local.register_types(module)
root_module.end_section('ns3_module_bridge')
root_module.begin_section('ns3_module_global_routing')
ns3_module_global_routing.register_types(module)
root_module.begin_section('ns3_module_onoff')
ns3_module_onoff.register_types(module)
try:
import ns3_module_global_routing__local
import ns3_module_onoff__local
except ImportError:
pass
else:
ns3_module_global_routing__local.register_types(module)
ns3_module_onoff__local.register_types(module)
root_module.end_section('ns3_module_global_routing')
root_module.end_section('ns3_module_onoff')
root_module.begin_section('ns3_module_udp_echo')
ns3_module_udp_echo.register_types(module)
@@ -305,6 +305,17 @@ def register_types(module):
ns3_module_udp_echo__local.register_types(module)
root_module.end_section('ns3_module_udp_echo')
root_module.begin_section('ns3_module_ping6')
ns3_module_ping6.register_types(module)
try:
import ns3_module_ping6__local
except ImportError:
pass
else:
ns3_module_ping6__local.register_types(module)
root_module.end_section('ns3_module_ping6')
root_module.begin_section('ns3_module_nix_vector_routing')
ns3_module_nix_vector_routing.register_types(module)
@@ -327,28 +338,6 @@ def register_types(module):
ns3_module_olsr__local.register_types(module)
root_module.end_section('ns3_module_olsr')
root_module.begin_section('ns3_module_radvd')
ns3_module_radvd.register_types(module)
try:
import ns3_module_radvd__local
except ImportError:
pass
else:
ns3_module_radvd__local.register_types(module)
root_module.end_section('ns3_module_radvd')
root_module.begin_section('ns3_module_ping6')
ns3_module_ping6.register_types(module)
try:
import ns3_module_ping6__local
except ImportError:
pass
else:
ns3_module_ping6__local.register_types(module)
root_module.end_section('ns3_module_ping6')
root_module.begin_section('ns3_module_flow_monitor')
ns3_module_flow_monitor.register_types(module)
@@ -360,6 +349,17 @@ def register_types(module):
ns3_module_flow_monitor__local.register_types(module)
root_module.end_section('ns3_module_flow_monitor')
root_module.begin_section('ns3_module_radvd')
ns3_module_radvd.register_types(module)
try:
import ns3_module_radvd__local
except ImportError:
pass
else:
ns3_module_radvd__local.register_types(module)
root_module.end_section('ns3_module_radvd')
root_module.begin_section('ns3_module_mesh')
ns3_module_mesh.register_types(module)
@@ -549,17 +549,6 @@ def register_methods(root_module):
ns3_module_common__local.register_methods(root_module)
root_module.end_section('ns3_module_common')
root_module.begin_section('ns3_module_contrib')
ns3_module_contrib.register_methods(root_module)
try:
import ns3_module_contrib__local
except ImportError:
pass
else:
ns3_module_contrib__local.register_methods(root_module)
root_module.end_section('ns3_module_contrib')
root_module.begin_section('ns3_module_node')
ns3_module_node.register_methods(root_module)
@@ -571,72 +560,17 @@ def register_methods(root_module):
ns3_module_node__local.register_methods(root_module)
root_module.end_section('ns3_module_node')
root_module.begin_section('ns3_module_tap_bridge')
ns3_module_tap_bridge.register_methods(root_module)
root_module.begin_section('ns3_module_contrib')
ns3_module_contrib.register_methods(root_module)
try:
import ns3_module_tap_bridge__local
import ns3_module_contrib__local
except ImportError:
pass
else:
ns3_module_tap_bridge__local.register_methods(root_module)
ns3_module_contrib__local.register_methods(root_module)
root_module.end_section('ns3_module_tap_bridge')
root_module.begin_section('ns3_module_v4ping')
ns3_module_v4ping.register_methods(root_module)
try:
import ns3_module_v4ping__local
except ImportError:
pass
else:
ns3_module_v4ping__local.register_methods(root_module)
root_module.end_section('ns3_module_v4ping')
root_module.begin_section('ns3_module_static_routing')
ns3_module_static_routing.register_methods(root_module)
try:
import ns3_module_static_routing__local
except ImportError:
pass
else:
ns3_module_static_routing__local.register_methods(root_module)
root_module.end_section('ns3_module_static_routing')
root_module.begin_section('ns3_module_packet_sink')
ns3_module_packet_sink.register_methods(root_module)
try:
import ns3_module_packet_sink__local
except ImportError:
pass
else:
ns3_module_packet_sink__local.register_methods(root_module)
root_module.end_section('ns3_module_packet_sink')
root_module.begin_section('ns3_module_stats')
ns3_module_stats.register_methods(root_module)
try:
import ns3_module_stats__local
except ImportError:
pass
else:
ns3_module_stats__local.register_methods(root_module)
root_module.end_section('ns3_module_stats')
root_module.begin_section('ns3_module_onoff')
ns3_module_onoff.register_methods(root_module)
try:
import ns3_module_onoff__local
except ImportError:
pass
else:
ns3_module_onoff__local.register_methods(root_module)
root_module.end_section('ns3_module_onoff')
root_module.end_section('ns3_module_contrib')
root_module.begin_section('ns3_module_point_to_point')
ns3_module_point_to_point.register_methods(root_module)
@@ -659,6 +593,17 @@ def register_methods(root_module):
ns3_module_internet_stack__local.register_methods(root_module)
root_module.end_section('ns3_module_internet_stack')
root_module.begin_section('ns3_module_tap_bridge')
ns3_module_tap_bridge.register_methods(root_module)
try:
import ns3_module_tap_bridge__local
except ImportError:
pass
else:
ns3_module_tap_bridge__local.register_methods(root_module)
root_module.end_section('ns3_module_tap_bridge')
root_module.begin_section('ns3_module_csma')
ns3_module_csma.register_methods(root_module)
@@ -670,28 +615,6 @@ def register_methods(root_module):
ns3_module_csma__local.register_methods(root_module)
root_module.end_section('ns3_module_csma')
root_module.begin_section('ns3_module_list_routing')
ns3_module_list_routing.register_methods(root_module)
try:
import ns3_module_list_routing__local
except ImportError:
pass
else:
ns3_module_list_routing__local.register_methods(root_module)
root_module.end_section('ns3_module_list_routing')
root_module.begin_section('ns3_module_virtual_net_device')
ns3_module_virtual_net_device.register_methods(root_module)
try:
import ns3_module_virtual_net_device__local
except ImportError:
pass
else:
ns3_module_virtual_net_device__local.register_methods(root_module)
root_module.end_section('ns3_module_virtual_net_device')
root_module.begin_section('ns3_module_wifi')
ns3_module_wifi.register_methods(root_module)
@@ -703,6 +626,83 @@ def register_methods(root_module):
ns3_module_wifi__local.register_methods(root_module)
root_module.end_section('ns3_module_wifi')
root_module.begin_section('ns3_module_static_routing')
ns3_module_static_routing.register_methods(root_module)
try:
import ns3_module_static_routing__local
except ImportError:
pass
else:
ns3_module_static_routing__local.register_methods(root_module)
root_module.end_section('ns3_module_static_routing')
root_module.begin_section('ns3_module_v4ping')
ns3_module_v4ping.register_methods(root_module)
try:
import ns3_module_v4ping__local
except ImportError:
pass
else:
ns3_module_v4ping__local.register_methods(root_module)
root_module.end_section('ns3_module_v4ping')
root_module.begin_section('ns3_module_virtual_net_device')
ns3_module_virtual_net_device.register_methods(root_module)
try:
import ns3_module_virtual_net_device__local
except ImportError:
pass
else:
ns3_module_virtual_net_device__local.register_methods(root_module)
root_module.end_section('ns3_module_virtual_net_device')
root_module.begin_section('ns3_module_packet_sink')
ns3_module_packet_sink.register_methods(root_module)
try:
import ns3_module_packet_sink__local
except ImportError:
pass
else:
ns3_module_packet_sink__local.register_methods(root_module)
root_module.end_section('ns3_module_packet_sink')
root_module.begin_section('ns3_module_global_routing')
ns3_module_global_routing.register_methods(root_module)
try:
import ns3_module_global_routing__local
except ImportError:
pass
else:
ns3_module_global_routing__local.register_methods(root_module)
root_module.end_section('ns3_module_global_routing')
root_module.begin_section('ns3_module_stats')
ns3_module_stats.register_methods(root_module)
try:
import ns3_module_stats__local
except ImportError:
pass
else:
ns3_module_stats__local.register_methods(root_module)
root_module.end_section('ns3_module_stats')
root_module.begin_section('ns3_module_list_routing')
ns3_module_list_routing.register_methods(root_module)
try:
import ns3_module_list_routing__local
except ImportError:
pass
else:
ns3_module_list_routing__local.register_methods(root_module)
root_module.end_section('ns3_module_list_routing')
root_module.begin_section('ns3_module_emu')
ns3_module_emu.register_methods(root_module)
@@ -725,17 +725,17 @@ def register_methods(root_module):
ns3_module_bridge__local.register_methods(root_module)
root_module.end_section('ns3_module_bridge')
root_module.begin_section('ns3_module_global_routing')
ns3_module_global_routing.register_methods(root_module)
root_module.begin_section('ns3_module_onoff')
ns3_module_onoff.register_methods(root_module)
try:
import ns3_module_global_routing__local
import ns3_module_onoff__local
except ImportError:
pass
else:
ns3_module_global_routing__local.register_methods(root_module)
ns3_module_onoff__local.register_methods(root_module)
root_module.end_section('ns3_module_global_routing')
root_module.end_section('ns3_module_onoff')
root_module.begin_section('ns3_module_udp_echo')
ns3_module_udp_echo.register_methods(root_module)
@@ -747,6 +747,17 @@ def register_methods(root_module):
ns3_module_udp_echo__local.register_methods(root_module)
root_module.end_section('ns3_module_udp_echo')
root_module.begin_section('ns3_module_ping6')
ns3_module_ping6.register_methods(root_module)
try:
import ns3_module_ping6__local
except ImportError:
pass
else:
ns3_module_ping6__local.register_methods(root_module)
root_module.end_section('ns3_module_ping6')
root_module.begin_section('ns3_module_nix_vector_routing')
ns3_module_nix_vector_routing.register_methods(root_module)
@@ -769,28 +780,6 @@ def register_methods(root_module):
ns3_module_olsr__local.register_methods(root_module)
root_module.end_section('ns3_module_olsr')
root_module.begin_section('ns3_module_radvd')
ns3_module_radvd.register_methods(root_module)
try:
import ns3_module_radvd__local
except ImportError:
pass
else:
ns3_module_radvd__local.register_methods(root_module)
root_module.end_section('ns3_module_radvd')
root_module.begin_section('ns3_module_ping6')
ns3_module_ping6.register_methods(root_module)
try:
import ns3_module_ping6__local
except ImportError:
pass
else:
ns3_module_ping6__local.register_methods(root_module)
root_module.end_section('ns3_module_ping6')
root_module.begin_section('ns3_module_flow_monitor')
ns3_module_flow_monitor.register_methods(root_module)
@@ -802,6 +791,17 @@ def register_methods(root_module):
ns3_module_flow_monitor__local.register_methods(root_module)
root_module.end_section('ns3_module_flow_monitor')
root_module.begin_section('ns3_module_radvd')
ns3_module_radvd.register_methods(root_module)
try:
import ns3_module_radvd__local
except ImportError:
pass
else:
ns3_module_radvd__local.register_methods(root_module)
root_module.end_section('ns3_module_radvd')
root_module.begin_section('ns3_module_mesh')
ns3_module_mesh.register_methods(root_module)
@@ -1039,17 +1039,6 @@ def register_functions(root_module):
ns3_module_common__local.register_functions(root_module)
root_module.end_section('ns3_module_common')
root_module.begin_section('ns3_module_contrib')
ns3_module_contrib.register_functions(root_module)
try:
import ns3_module_contrib__local
except ImportError:
pass
else:
ns3_module_contrib__local.register_functions(root_module)
root_module.end_section('ns3_module_contrib')
root_module.begin_section('ns3_module_node')
ns3_module_node.register_functions(root_module)
@@ -1061,72 +1050,17 @@ def register_functions(root_module):
ns3_module_node__local.register_functions(root_module)
root_module.end_section('ns3_module_node')
root_module.begin_section('ns3_module_tap_bridge')
ns3_module_tap_bridge.register_functions(root_module)
root_module.begin_section('ns3_module_contrib')
ns3_module_contrib.register_functions(root_module)
try:
import ns3_module_tap_bridge__local
import ns3_module_contrib__local
except ImportError:
pass
else:
ns3_module_tap_bridge__local.register_functions(root_module)
ns3_module_contrib__local.register_functions(root_module)
root_module.end_section('ns3_module_tap_bridge')
root_module.begin_section('ns3_module_v4ping')
ns3_module_v4ping.register_functions(root_module)
try:
import ns3_module_v4ping__local
except ImportError:
pass
else:
ns3_module_v4ping__local.register_functions(root_module)
root_module.end_section('ns3_module_v4ping')
root_module.begin_section('ns3_module_static_routing')
ns3_module_static_routing.register_functions(root_module)
try:
import ns3_module_static_routing__local
except ImportError:
pass
else:
ns3_module_static_routing__local.register_functions(root_module)
root_module.end_section('ns3_module_static_routing')
root_module.begin_section('ns3_module_packet_sink')
ns3_module_packet_sink.register_functions(root_module)
try:
import ns3_module_packet_sink__local
except ImportError:
pass
else:
ns3_module_packet_sink__local.register_functions(root_module)
root_module.end_section('ns3_module_packet_sink')
root_module.begin_section('ns3_module_stats')
ns3_module_stats.register_functions(root_module)
try:
import ns3_module_stats__local
except ImportError:
pass
else:
ns3_module_stats__local.register_functions(root_module)
root_module.end_section('ns3_module_stats')
root_module.begin_section('ns3_module_onoff')
ns3_module_onoff.register_functions(root_module)
try:
import ns3_module_onoff__local
except ImportError:
pass
else:
ns3_module_onoff__local.register_functions(root_module)
root_module.end_section('ns3_module_onoff')
root_module.end_section('ns3_module_contrib')
root_module.begin_section('ns3_module_point_to_point')
ns3_module_point_to_point.register_functions(root_module)
@@ -1149,6 +1083,17 @@ def register_functions(root_module):
ns3_module_internet_stack__local.register_functions(root_module)
root_module.end_section('ns3_module_internet_stack')
root_module.begin_section('ns3_module_tap_bridge')
ns3_module_tap_bridge.register_functions(root_module)
try:
import ns3_module_tap_bridge__local
except ImportError:
pass
else:
ns3_module_tap_bridge__local.register_functions(root_module)
root_module.end_section('ns3_module_tap_bridge')
root_module.begin_section('ns3_module_csma')
ns3_module_csma.register_functions(root_module)
@@ -1160,28 +1105,6 @@ def register_functions(root_module):
ns3_module_csma__local.register_functions(root_module)
root_module.end_section('ns3_module_csma')
root_module.begin_section('ns3_module_list_routing')
ns3_module_list_routing.register_functions(root_module)
try:
import ns3_module_list_routing__local
except ImportError:
pass
else:
ns3_module_list_routing__local.register_functions(root_module)
root_module.end_section('ns3_module_list_routing')
root_module.begin_section('ns3_module_virtual_net_device')
ns3_module_virtual_net_device.register_functions(root_module)
try:
import ns3_module_virtual_net_device__local
except ImportError:
pass
else:
ns3_module_virtual_net_device__local.register_functions(root_module)
root_module.end_section('ns3_module_virtual_net_device')
root_module.begin_section('ns3_module_wifi')
ns3_module_wifi.register_functions(root_module)
@@ -1193,6 +1116,83 @@ def register_functions(root_module):
ns3_module_wifi__local.register_functions(root_module)
root_module.end_section('ns3_module_wifi')
root_module.begin_section('ns3_module_static_routing')
ns3_module_static_routing.register_functions(root_module)
try:
import ns3_module_static_routing__local
except ImportError:
pass
else:
ns3_module_static_routing__local.register_functions(root_module)
root_module.end_section('ns3_module_static_routing')
root_module.begin_section('ns3_module_v4ping')
ns3_module_v4ping.register_functions(root_module)
try:
import ns3_module_v4ping__local
except ImportError:
pass
else:
ns3_module_v4ping__local.register_functions(root_module)
root_module.end_section('ns3_module_v4ping')
root_module.begin_section('ns3_module_virtual_net_device')
ns3_module_virtual_net_device.register_functions(root_module)
try:
import ns3_module_virtual_net_device__local
except ImportError:
pass
else:
ns3_module_virtual_net_device__local.register_functions(root_module)
root_module.end_section('ns3_module_virtual_net_device')
root_module.begin_section('ns3_module_packet_sink')
ns3_module_packet_sink.register_functions(root_module)
try:
import ns3_module_packet_sink__local
except ImportError:
pass
else:
ns3_module_packet_sink__local.register_functions(root_module)
root_module.end_section('ns3_module_packet_sink')
root_module.begin_section('ns3_module_global_routing')
ns3_module_global_routing.register_functions(root_module)
try:
import ns3_module_global_routing__local
except ImportError:
pass
else:
ns3_module_global_routing__local.register_functions(root_module)
root_module.end_section('ns3_module_global_routing')
root_module.begin_section('ns3_module_stats')
ns3_module_stats.register_functions(root_module)
try:
import ns3_module_stats__local
except ImportError:
pass
else:
ns3_module_stats__local.register_functions(root_module)
root_module.end_section('ns3_module_stats')
root_module.begin_section('ns3_module_list_routing')
ns3_module_list_routing.register_functions(root_module)
try:
import ns3_module_list_routing__local
except ImportError:
pass
else:
ns3_module_list_routing__local.register_functions(root_module)
root_module.end_section('ns3_module_list_routing')
root_module.begin_section('ns3_module_emu')
ns3_module_emu.register_functions(root_module)
@@ -1215,17 +1215,17 @@ def register_functions(root_module):
ns3_module_bridge__local.register_functions(root_module)
root_module.end_section('ns3_module_bridge')
root_module.begin_section('ns3_module_global_routing')
ns3_module_global_routing.register_functions(root_module)
root_module.begin_section('ns3_module_onoff')
ns3_module_onoff.register_functions(root_module)
try:
import ns3_module_global_routing__local
import ns3_module_onoff__local
except ImportError:
pass
else:
ns3_module_global_routing__local.register_functions(root_module)
ns3_module_onoff__local.register_functions(root_module)
root_module.end_section('ns3_module_global_routing')
root_module.end_section('ns3_module_onoff')
root_module.begin_section('ns3_module_udp_echo')
ns3_module_udp_echo.register_functions(root_module)
@@ -1237,6 +1237,17 @@ def register_functions(root_module):
ns3_module_udp_echo__local.register_functions(root_module)
root_module.end_section('ns3_module_udp_echo')
root_module.begin_section('ns3_module_ping6')
ns3_module_ping6.register_functions(root_module)
try:
import ns3_module_ping6__local
except ImportError:
pass
else:
ns3_module_ping6__local.register_functions(root_module)
root_module.end_section('ns3_module_ping6')
root_module.begin_section('ns3_module_nix_vector_routing')
ns3_module_nix_vector_routing.register_functions(root_module)
@@ -1259,28 +1270,6 @@ def register_functions(root_module):
ns3_module_olsr__local.register_functions(root_module)
root_module.end_section('ns3_module_olsr')
root_module.begin_section('ns3_module_radvd')
ns3_module_radvd.register_functions(root_module)
try:
import ns3_module_radvd__local
except ImportError:
pass
else:
ns3_module_radvd__local.register_functions(root_module)
root_module.end_section('ns3_module_radvd')
root_module.begin_section('ns3_module_ping6')
ns3_module_ping6.register_functions(root_module)
try:
import ns3_module_ping6__local
except ImportError:
pass
else:
ns3_module_ping6__local.register_functions(root_module)
root_module.end_section('ns3_module_ping6')
root_module.begin_section('ns3_module_flow_monitor')
ns3_module_flow_monitor.register_functions(root_module)
@@ -1292,6 +1281,17 @@ def register_functions(root_module):
ns3_module_flow_monitor__local.register_functions(root_module)
root_module.end_section('ns3_module_flow_monitor')
root_module.begin_section('ns3_module_radvd')
ns3_module_radvd.register_functions(root_module)
try:
import ns3_module_radvd__local
except ImportError:
pass
else:
ns3_module_radvd__local.register_functions(root_module)
root_module.end_section('ns3_module_radvd')
root_module.begin_section('ns3_module_mesh')
ns3_module_mesh.register_functions(root_module)
@@ -273,6 +273,7 @@ def register_types_ns3_dot11s(module):
root_module = module.get_root()
module.add_container('std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >', 'ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit >', container_type='vector')
module.add_container('std::vector< ns3::Ptr< ns3::dot11s::PeerLink > >', 'ns3::Ptr< ns3::dot11s::PeerLink >', container_type='vector')
def register_types_ns3_flame(module):
root_module = module.get_root()
@@ -599,6 +599,11 @@ def register_Ns3Dot11sPeerLink_methods(root_module, cls):
cls.add_method('SetLocalAid',
'void',
[param('uint16_t', 'aid')])
## peer-link.h: uint16_t ns3::dot11s::PeerLink::GetPeerAid() const [member function]
cls.add_method('GetPeerAid',
'uint16_t',
[],
is_const=True)
## peer-link.h: void ns3::dot11s::PeerLink::SetBeaconTimingElement(ns3::dot11s::IeBeaconTiming beaconTiming) [member function]
cls.add_method('SetBeaconTimingElement',
'void',
@@ -675,14 +680,15 @@ def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls):
cls.add_method('FindPeerLink',
'ns3::Ptr< ns3::dot11s::PeerLink >',
[param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')])
## peer-management-protocol.h: std::vector<ns3::Mac48Address,std::allocator<ns3::Mac48Address> > ns3::dot11s::PeerManagementProtocol::GetActiveLinks(uint32_t interface) [member function]
cls.add_method('GetActiveLinks',
'std::vector< ns3::Mac48Address >',
[param('uint32_t', 'interface')])
## peer-management-protocol.h: ns3::Mac48Address ns3::dot11s::PeerManagementProtocol::GetAddress() [member function]
cls.add_method('GetAddress',
'ns3::Mac48Address',
[])
## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::GetBeaconCollisionAvoidance() const [member function]
cls.add_method('GetBeaconCollisionAvoidance',
'bool',
[],
is_const=True)
## peer-management-protocol.h: ns3::Ptr<ns3::dot11s::IeBeaconTiming> ns3::dot11s::PeerManagementProtocol::GetBeaconTimingElement(uint32_t interface) [member function]
cls.add_method('GetBeaconTimingElement',
'ns3::Ptr< ns3::dot11s::IeBeaconTiming >',
@@ -696,6 +702,16 @@ def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls):
cls.add_method('GetNumberOfLinks',
'uint8_t',
[])
## peer-management-protocol.h: std::vector<ns3::Ptr<ns3::dot11s::PeerLink>,std::allocator<ns3::Ptr<ns3::dot11s::PeerLink> > > ns3::dot11s::PeerManagementProtocol::GetPeerLinks() const [member function]
cls.add_method('GetPeerLinks',
'std::vector< ns3::Ptr< ns3::dot11s::PeerLink > >',
[],
is_const=True)
## peer-management-protocol.h: std::vector<ns3::Mac48Address,std::allocator<ns3::Mac48Address> > ns3::dot11s::PeerManagementProtocol::GetPeers(uint32_t interface) const [member function]
cls.add_method('GetPeers',
'std::vector< ns3::Mac48Address >',
[param('uint32_t', 'interface')],
is_const=True)
## peer-management-protocol.h: static ns3::TypeId ns3::dot11s::PeerManagementProtocol::GetTypeId() [member function]
cls.add_method('GetTypeId',
'ns3::TypeId',
@@ -709,6 +725,14 @@ def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls):
cls.add_method('IsActiveLink',
'bool',
[param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')])
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::NotifyBeaconSent(uint32_t interface, ns3::Time beaconInterval) [member function]
cls.add_method('NotifyBeaconSent',
'void',
[param('uint32_t', 'interface'), param('ns3::Time', 'beaconInterval')])
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ReceiveBeacon(uint32_t interface, ns3::Mac48Address peerAddress, ns3::Time beaconInterval, ns3::Ptr<ns3::dot11s::IeBeaconTiming> beaconTiming) [member function]
cls.add_method('ReceiveBeacon',
'void',
[param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Time', 'beaconInterval'), param('ns3::Ptr< ns3::dot11s::IeBeaconTiming >', 'beaconTiming')])
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ReceivePeerLinkFrame(uint32_t interface, ns3::Mac48Address peerAddress, ns3::Mac48Address peerMeshPointAddress, uint16_t aid, ns3::dot11s::IePeerManagement peerManagementElement, ns3::dot11s::IeConfiguration meshConfig) [member function]
cls.add_method('ReceivePeerLinkFrame',
'void',
@@ -722,6 +746,10 @@ def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls):
cls.add_method('ResetStats',
'void',
[])
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetBeaconCollisionAvoidance(bool enable) [member function]
cls.add_method('SetBeaconCollisionAvoidance',
'void',
[param('bool', 'enable')])
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetMeshId(std::string s) [member function]
cls.add_method('SetMeshId',
'void',
@@ -738,10 +766,6 @@ def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls):
cls.add_method('TransmissionSuccess',
'void',
[param('uint32_t', 'interface'), param('ns3::Mac48Address const', 'peerAddress')])
## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::UpdatePeerBeaconTiming(uint32_t interface, bool meshBeacon, ns3::dot11s::IeBeaconTiming timingElement, ns3::Mac48Address peerAddress, ns3::Time receivingTime, ns3::Time beaconInterval) [member function]
cls.add_method('UpdatePeerBeaconTiming',
'void',
[param('uint32_t', 'interface'), param('bool', 'meshBeacon'), param('ns3::dot11s::IeBeaconTiming', 'timingElement'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Time', 'receivingTime'), param('ns3::Time', 'beaconInterval')])
return
def register_functions(root_module):
@@ -650,10 +650,10 @@ def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
cls.add_method('Add',
'void',
[param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> arg0) [member function]
## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ipInterfacePair) [member function]
cls.add_method('Add',
'void',
[param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'arg0')])
[param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'ipInterfacePair')])
## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(std::string ipv4Name, uint32_t interface) [member function]
cls.add_method('Add',
'void',
@@ -122,6 +122,11 @@ def register_Ns3MeshWifiBeacon_methods(root_module, cls):
cls.add_method('CreatePacket',
'ns3::Ptr< ns3::Packet >',
[])
## mesh-wifi-beacon.h: ns3::Time ns3::MeshWifiBeacon::GetBeaconInterval() const [member function]
cls.add_method('GetBeaconInterval',
'ns3::Time',
[],
is_const=True)
return
def register_Ns3WifiInformationElement_methods(root_module, cls):
@@ -17,29 +17,29 @@ import ns3_module_simulator
import ns3_module_test
import ns3_module_mobility
import ns3_module_common
import ns3_module_contrib
import ns3_module_node
import ns3_module_tap_bridge
import ns3_module_v4ping
import ns3_module_static_routing
import ns3_module_packet_sink
import ns3_module_stats
import ns3_module_onoff
import ns3_module_contrib
import ns3_module_point_to_point
import ns3_module_internet_stack
import ns3_module_tap_bridge
import ns3_module_csma
import ns3_module_list_routing
import ns3_module_virtual_net_device
import ns3_module_wifi
import ns3_module_static_routing
import ns3_module_v4ping
import ns3_module_virtual_net_device
import ns3_module_packet_sink
import ns3_module_global_routing
import ns3_module_stats
import ns3_module_list_routing
import ns3_module_emu
import ns3_module_bridge
import ns3_module_global_routing
import ns3_module_onoff
import ns3_module_udp_echo
import ns3_module_ping6
import ns3_module_nix_vector_routing
import ns3_module_olsr
import ns3_module_radvd
import ns3_module_ping6
import ns3_module_flow_monitor
import ns3_module_radvd
import ns3_module_mesh
import ns3_module_helper
import ns3_module_dot11s
@@ -107,17 +107,6 @@ def register_types(module):
ns3_module_common__local.register_types(module)
root_module.end_section('ns3_module_common')
root_module.begin_section('ns3_module_contrib')
ns3_module_contrib.register_types(module)
try:
import ns3_module_contrib__local
except ImportError:
pass
else:
ns3_module_contrib__local.register_types(module)
root_module.end_section('ns3_module_contrib')
root_module.begin_section('ns3_module_node')
ns3_module_node.register_types(module)
@@ -129,72 +118,17 @@ def register_types(module):
ns3_module_node__local.register_types(module)
root_module.end_section('ns3_module_node')
root_module.begin_section('ns3_module_tap_bridge')
ns3_module_tap_bridge.register_types(module)
root_module.begin_section('ns3_module_contrib')
ns3_module_contrib.register_types(module)
try:
import ns3_module_tap_bridge__local
import ns3_module_contrib__local
except ImportError:
pass
else:
ns3_module_tap_bridge__local.register_types(module)
ns3_module_contrib__local.register_types(module)
root_module.end_section('ns3_module_tap_bridge')
root_module.begin_section('ns3_module_v4ping')
ns3_module_v4ping.register_types(module)
try:
import ns3_module_v4ping__local
except ImportError:
pass
else:
ns3_module_v4ping__local.register_types(module)
root_module.end_section('ns3_module_v4ping')
root_module.begin_section('ns3_module_static_routing')
ns3_module_static_routing.register_types(module)
try:
import ns3_module_static_routing__local
except ImportError:
pass
else:
ns3_module_static_routing__local.register_types(module)
root_module.end_section('ns3_module_static_routing')
root_module.begin_section('ns3_module_packet_sink')
ns3_module_packet_sink.register_types(module)
try:
import ns3_module_packet_sink__local
except ImportError:
pass
else:
ns3_module_packet_sink__local.register_types(module)
root_module.end_section('ns3_module_packet_sink')
root_module.begin_section('ns3_module_stats')
ns3_module_stats.register_types(module)
try:
import ns3_module_stats__local
except ImportError:
pass
else:
ns3_module_stats__local.register_types(module)
root_module.end_section('ns3_module_stats')
root_module.begin_section('ns3_module_onoff')
ns3_module_onoff.register_types(module)
try:
import ns3_module_onoff__local
except ImportError:
pass
else:
ns3_module_onoff__local.register_types(module)
root_module.end_section('ns3_module_onoff')
root_module.end_section('ns3_module_contrib')
root_module.begin_section('ns3_module_point_to_point')
ns3_module_point_to_point.register_types(module)
@@ -217,6 +151,17 @@ def register_types(module):
ns3_module_internet_stack__local.register_types(module)
root_module.end_section('ns3_module_internet_stack')
root_module.begin_section('ns3_module_tap_bridge')
ns3_module_tap_bridge.register_types(module)
try:
import ns3_module_tap_bridge__local
except ImportError:
pass
else:
ns3_module_tap_bridge__local.register_types(module)
root_module.end_section('ns3_module_tap_bridge')
root_module.begin_section('ns3_module_csma')
ns3_module_csma.register_types(module)
@@ -228,28 +173,6 @@ def register_types(module):
ns3_module_csma__local.register_types(module)
root_module.end_section('ns3_module_csma')
root_module.begin_section('ns3_module_list_routing')
ns3_module_list_routing.register_types(module)
try:
import ns3_module_list_routing__local
except ImportError:
pass
else:
ns3_module_list_routing__local.register_types(module)
root_module.end_section('ns3_module_list_routing')
root_module.begin_section('ns3_module_virtual_net_device')
ns3_module_virtual_net_device.register_types(module)
try:
import ns3_module_virtual_net_device__local
except ImportError:
pass
else:
ns3_module_virtual_net_device__local.register_types(module)
root_module.end_section('ns3_module_virtual_net_device')
root_module.begin_section('ns3_module_wifi')
ns3_module_wifi.register_types(module)
@@ -261,6 +184,83 @@ def register_types(module):
ns3_module_wifi__local.register_types(module)
root_module.end_section('ns3_module_wifi')
root_module.begin_section('ns3_module_static_routing')
ns3_module_static_routing.register_types(module)
try:
import ns3_module_static_routing__local
except ImportError:
pass
else:
ns3_module_static_routing__local.register_types(module)
root_module.end_section('ns3_module_static_routing')
root_module.begin_section('ns3_module_v4ping')
ns3_module_v4ping.register_types(module)
try:
import ns3_module_v4ping__local
except ImportError:
pass
else:
ns3_module_v4ping__local.register_types(module)
root_module.end_section('ns3_module_v4ping')
root_module.begin_section('ns3_module_virtual_net_device')
ns3_module_virtual_net_device.register_types(module)
try:
import ns3_module_virtual_net_device__local
except ImportError:
pass
else:
ns3_module_virtual_net_device__local.register_types(module)
root_module.end_section('ns3_module_virtual_net_device')
root_module.begin_section('ns3_module_packet_sink')
ns3_module_packet_sink.register_types(module)
try:
import ns3_module_packet_sink__local
except ImportError:
pass
else:
ns3_module_packet_sink__local.register_types(module)
root_module.end_section('ns3_module_packet_sink')
root_module.begin_section('ns3_module_global_routing')
ns3_module_global_routing.register_types(module)
try:
import ns3_module_global_routing__local
except ImportError:
pass
else:
ns3_module_global_routing__local.register_types(module)
root_module.end_section('ns3_module_global_routing')
root_module.begin_section('ns3_module_stats')
ns3_module_stats.register_types(module)
try:
import ns3_module_stats__local
except ImportError:
pass
else:
ns3_module_stats__local.register_types(module)
root_module.end_section('ns3_module_stats')
root_module.begin_section('ns3_module_list_routing')
ns3_module_list_routing.register_types(module)
try:
import ns3_module_list_routing__local
except ImportError:
pass
else:
ns3_module_list_routing__local.register_types(module)
root_module.end_section('ns3_module_list_routing')
root_module.begin_section('ns3_module_emu')
ns3_module_emu.register_types(module)
@@ -283,17 +283,17 @@ def register_types(module):
ns3_module_bridge__local.register_types(module)
root_module.end_section('ns3_module_bridge')
root_module.begin_section('ns3_module_global_routing')
ns3_module_global_routing.register_types(module)
root_module.begin_section('ns3_module_onoff')
ns3_module_onoff.register_types(module)
try:
import ns3_module_global_routing__local
import ns3_module_onoff__local
except ImportError:
pass
else:
ns3_module_global_routing__local.register_types(module)
ns3_module_onoff__local.register_types(module)
root_module.end_section('ns3_module_global_routing')
root_module.end_section('ns3_module_onoff')
root_module.begin_section('ns3_module_udp_echo')
ns3_module_udp_echo.register_types(module)
@@ -305,6 +305,17 @@ def register_types(module):
ns3_module_udp_echo__local.register_types(module)
root_module.end_section('ns3_module_udp_echo')
root_module.begin_section('ns3_module_ping6')
ns3_module_ping6.register_types(module)
try:
import ns3_module_ping6__local
except ImportError:
pass
else:
ns3_module_ping6__local.register_types(module)
root_module.end_section('ns3_module_ping6')
root_module.begin_section('ns3_module_nix_vector_routing')
ns3_module_nix_vector_routing.register_types(module)
@@ -327,28 +338,6 @@ def register_types(module):
ns3_module_olsr__local.register_types(module)
root_module.end_section('ns3_module_olsr')
root_module.begin_section('ns3_module_radvd')
ns3_module_radvd.register_types(module)
try:
import ns3_module_radvd__local
except ImportError:
pass
else:
ns3_module_radvd__local.register_types(module)
root_module.end_section('ns3_module_radvd')
root_module.begin_section('ns3_module_ping6')
ns3_module_ping6.register_types(module)
try:
import ns3_module_ping6__local
except ImportError:
pass
else:
ns3_module_ping6__local.register_types(module)
root_module.end_section('ns3_module_ping6')
root_module.begin_section('ns3_module_flow_monitor')
ns3_module_flow_monitor.register_types(module)
@@ -360,6 +349,17 @@ def register_types(module):
ns3_module_flow_monitor__local.register_types(module)
root_module.end_section('ns3_module_flow_monitor')
root_module.begin_section('ns3_module_radvd')
ns3_module_radvd.register_types(module)
try:
import ns3_module_radvd__local
except ImportError:
pass
else:
ns3_module_radvd__local.register_types(module)
root_module.end_section('ns3_module_radvd')
root_module.begin_section('ns3_module_mesh')
ns3_module_mesh.register_types(module)
@@ -549,17 +549,6 @@ def register_methods(root_module):
ns3_module_common__local.register_methods(root_module)
root_module.end_section('ns3_module_common')
root_module.begin_section('ns3_module_contrib')
ns3_module_contrib.register_methods(root_module)
try:
import ns3_module_contrib__local
except ImportError:
pass
else:
ns3_module_contrib__local.register_methods(root_module)
root_module.end_section('ns3_module_contrib')
root_module.begin_section('ns3_module_node')
ns3_module_node.register_methods(root_module)
@@ -571,72 +560,17 @@ def register_methods(root_module):
ns3_module_node__local.register_methods(root_module)
root_module.end_section('ns3_module_node')
root_module.begin_section('ns3_module_tap_bridge')
ns3_module_tap_bridge.register_methods(root_module)
root_module.begin_section('ns3_module_contrib')
ns3_module_contrib.register_methods(root_module)
try:
import ns3_module_tap_bridge__local
import ns3_module_contrib__local
except ImportError:
pass
else:
ns3_module_tap_bridge__local.register_methods(root_module)
ns3_module_contrib__local.register_methods(root_module)
root_module.end_section('ns3_module_tap_bridge')
root_module.begin_section('ns3_module_v4ping')
ns3_module_v4ping.register_methods(root_module)
try:
import ns3_module_v4ping__local
except ImportError:
pass
else:
ns3_module_v4ping__local.register_methods(root_module)
root_module.end_section('ns3_module_v4ping')
root_module.begin_section('ns3_module_static_routing')
ns3_module_static_routing.register_methods(root_module)
try:
import ns3_module_static_routing__local
except ImportError:
pass
else:
ns3_module_static_routing__local.register_methods(root_module)
root_module.end_section('ns3_module_static_routing')
root_module.begin_section('ns3_module_packet_sink')
ns3_module_packet_sink.register_methods(root_module)
try:
import ns3_module_packet_sink__local
except ImportError:
pass
else:
ns3_module_packet_sink__local.register_methods(root_module)
root_module.end_section('ns3_module_packet_sink')
root_module.begin_section('ns3_module_stats')
ns3_module_stats.register_methods(root_module)
try:
import ns3_module_stats__local
except ImportError:
pass
else:
ns3_module_stats__local.register_methods(root_module)
root_module.end_section('ns3_module_stats')
root_module.begin_section('ns3_module_onoff')
ns3_module_onoff.register_methods(root_module)
try:
import ns3_module_onoff__local
except ImportError:
pass
else:
ns3_module_onoff__local.register_methods(root_module)
root_module.end_section('ns3_module_onoff')
root_module.end_section('ns3_module_contrib')
root_module.begin_section('ns3_module_point_to_point')
ns3_module_point_to_point.register_methods(root_module)
@@ -659,6 +593,17 @@ def register_methods(root_module):
ns3_module_internet_stack__local.register_methods(root_module)
root_module.end_section('ns3_module_internet_stack')
root_module.begin_section('ns3_module_tap_bridge')
ns3_module_tap_bridge.register_methods(root_module)
try:
import ns3_module_tap_bridge__local
except ImportError:
pass
else:
ns3_module_tap_bridge__local.register_methods(root_module)
root_module.end_section('ns3_module_tap_bridge')
root_module.begin_section('ns3_module_csma')
ns3_module_csma.register_methods(root_module)
@@ -670,28 +615,6 @@ def register_methods(root_module):
ns3_module_csma__local.register_methods(root_module)
root_module.end_section('ns3_module_csma')
root_module.begin_section('ns3_module_list_routing')
ns3_module_list_routing.register_methods(root_module)
try:
import ns3_module_list_routing__local
except ImportError:
pass
else:
ns3_module_list_routing__local.register_methods(root_module)
root_module.end_section('ns3_module_list_routing')
root_module.begin_section('ns3_module_virtual_net_device')
ns3_module_virtual_net_device.register_methods(root_module)
try:
import ns3_module_virtual_net_device__local
except ImportError:
pass
else:
ns3_module_virtual_net_device__local.register_methods(root_module)
root_module.end_section('ns3_module_virtual_net_device')
root_module.begin_section('ns3_module_wifi')
ns3_module_wifi.register_methods(root_module)
@@ -703,6 +626,83 @@ def register_methods(root_module):
ns3_module_wifi__local.register_methods(root_module)
root_module.end_section('ns3_module_wifi')
root_module.begin_section('ns3_module_static_routing')
ns3_module_static_routing.register_methods(root_module)
try:
import ns3_module_static_routing__local
except ImportError:
pass
else:
ns3_module_static_routing__local.register_methods(root_module)
root_module.end_section('ns3_module_static_routing')
root_module.begin_section('ns3_module_v4ping')
ns3_module_v4ping.register_methods(root_module)
try:
import ns3_module_v4ping__local
except ImportError:
pass
else:
ns3_module_v4ping__local.register_methods(root_module)
root_module.end_section('ns3_module_v4ping')
root_module.begin_section('ns3_module_virtual_net_device')
ns3_module_virtual_net_device.register_methods(root_module)
try:
import ns3_module_virtual_net_device__local
except ImportError:
pass
else:
ns3_module_virtual_net_device__local.register_methods(root_module)
root_module.end_section('ns3_module_virtual_net_device')
root_module.begin_section('ns3_module_packet_sink')
ns3_module_packet_sink.register_methods(root_module)
try:
import ns3_module_packet_sink__local
except ImportError:
pass
else:
ns3_module_packet_sink__local.register_methods(root_module)
root_module.end_section('ns3_module_packet_sink')
root_module.begin_section('ns3_module_global_routing')
ns3_module_global_routing.register_methods(root_module)
try:
import ns3_module_global_routing__local
except ImportError:
pass
else:
ns3_module_global_routing__local.register_methods(root_module)
root_module.end_section('ns3_module_global_routing')
root_module.begin_section('ns3_module_stats')
ns3_module_stats.register_methods(root_module)
try:
import ns3_module_stats__local
except ImportError:
pass
else:
ns3_module_stats__local.register_methods(root_module)
root_module.end_section('ns3_module_stats')
root_module.begin_section('ns3_module_list_routing')
ns3_module_list_routing.register_methods(root_module)
try:
import ns3_module_list_routing__local
except ImportError:
pass
else:
ns3_module_list_routing__local.register_methods(root_module)
root_module.end_section('ns3_module_list_routing')
root_module.begin_section('ns3_module_emu')
ns3_module_emu.register_methods(root_module)
@@ -725,17 +725,17 @@ def register_methods(root_module):
ns3_module_bridge__local.register_methods(root_module)
root_module.end_section('ns3_module_bridge')
root_module.begin_section('ns3_module_global_routing')
ns3_module_global_routing.register_methods(root_module)
root_module.begin_section('ns3_module_onoff')
ns3_module_onoff.register_methods(root_module)
try:
import ns3_module_global_routing__local
import ns3_module_onoff__local
except ImportError:
pass
else:
ns3_module_global_routing__local.register_methods(root_module)
ns3_module_onoff__local.register_methods(root_module)
root_module.end_section('ns3_module_global_routing')
root_module.end_section('ns3_module_onoff')
root_module.begin_section('ns3_module_udp_echo')
ns3_module_udp_echo.register_methods(root_module)
@@ -747,6 +747,17 @@ def register_methods(root_module):
ns3_module_udp_echo__local.register_methods(root_module)
root_module.end_section('ns3_module_udp_echo')
root_module.begin_section('ns3_module_ping6')
ns3_module_ping6.register_methods(root_module)
try:
import ns3_module_ping6__local
except ImportError:
pass
else:
ns3_module_ping6__local.register_methods(root_module)
root_module.end_section('ns3_module_ping6')
root_module.begin_section('ns3_module_nix_vector_routing')
ns3_module_nix_vector_routing.register_methods(root_module)
@@ -769,28 +780,6 @@ def register_methods(root_module):
ns3_module_olsr__local.register_methods(root_module)
root_module.end_section('ns3_module_olsr')
root_module.begin_section('ns3_module_radvd')
ns3_module_radvd.register_methods(root_module)
try:
import ns3_module_radvd__local
except ImportError:
pass
else:
ns3_module_radvd__local.register_methods(root_module)
root_module.end_section('ns3_module_radvd')
root_module.begin_section('ns3_module_ping6')
ns3_module_ping6.register_methods(root_module)
try:
import ns3_module_ping6__local
except ImportError:
pass
else:
ns3_module_ping6__local.register_methods(root_module)
root_module.end_section('ns3_module_ping6')
root_module.begin_section('ns3_module_flow_monitor')
ns3_module_flow_monitor.register_methods(root_module)
@@ -802,6 +791,17 @@ def register_methods(root_module):
ns3_module_flow_monitor__local.register_methods(root_module)
root_module.end_section('ns3_module_flow_monitor')
root_module.begin_section('ns3_module_radvd')
ns3_module_radvd.register_methods(root_module)
try:
import ns3_module_radvd__local
except ImportError:
pass
else:
ns3_module_radvd__local.register_methods(root_module)
root_module.end_section('ns3_module_radvd')
root_module.begin_section('ns3_module_mesh')
ns3_module_mesh.register_methods(root_module)
@@ -1039,17 +1039,6 @@ def register_functions(root_module):
ns3_module_common__local.register_functions(root_module)
root_module.end_section('ns3_module_common')
root_module.begin_section('ns3_module_contrib')
ns3_module_contrib.register_functions(root_module)
try:
import ns3_module_contrib__local
except ImportError:
pass
else:
ns3_module_contrib__local.register_functions(root_module)
root_module.end_section('ns3_module_contrib')
root_module.begin_section('ns3_module_node')
ns3_module_node.register_functions(root_module)
@@ -1061,72 +1050,17 @@ def register_functions(root_module):
ns3_module_node__local.register_functions(root_module)
root_module.end_section('ns3_module_node')
root_module.begin_section('ns3_module_tap_bridge')
ns3_module_tap_bridge.register_functions(root_module)
root_module.begin_section('ns3_module_contrib')
ns3_module_contrib.register_functions(root_module)
try:
import ns3_module_tap_bridge__local
import ns3_module_contrib__local
except ImportError:
pass
else:
ns3_module_tap_bridge__local.register_functions(root_module)
ns3_module_contrib__local.register_functions(root_module)
root_module.end_section('ns3_module_tap_bridge')
root_module.begin_section('ns3_module_v4ping')
ns3_module_v4ping.register_functions(root_module)
try:
import ns3_module_v4ping__local
except ImportError:
pass
else:
ns3_module_v4ping__local.register_functions(root_module)
root_module.end_section('ns3_module_v4ping')
root_module.begin_section('ns3_module_static_routing')
ns3_module_static_routing.register_functions(root_module)
try:
import ns3_module_static_routing__local
except ImportError:
pass
else:
ns3_module_static_routing__local.register_functions(root_module)
root_module.end_section('ns3_module_static_routing')
root_module.begin_section('ns3_module_packet_sink')
ns3_module_packet_sink.register_functions(root_module)
try:
import ns3_module_packet_sink__local
except ImportError:
pass
else:
ns3_module_packet_sink__local.register_functions(root_module)
root_module.end_section('ns3_module_packet_sink')
root_module.begin_section('ns3_module_stats')
ns3_module_stats.register_functions(root_module)
try:
import ns3_module_stats__local
except ImportError:
pass
else:
ns3_module_stats__local.register_functions(root_module)
root_module.end_section('ns3_module_stats')
root_module.begin_section('ns3_module_onoff')
ns3_module_onoff.register_functions(root_module)
try:
import ns3_module_onoff__local
except ImportError:
pass
else:
ns3_module_onoff__local.register_functions(root_module)
root_module.end_section('ns3_module_onoff')
root_module.end_section('ns3_module_contrib')
root_module.begin_section('ns3_module_point_to_point')
ns3_module_point_to_point.register_functions(root_module)
@@ -1149,6 +1083,17 @@ def register_functions(root_module):
ns3_module_internet_stack__local.register_functions(root_module)
root_module.end_section('ns3_module_internet_stack')
root_module.begin_section('ns3_module_tap_bridge')
ns3_module_tap_bridge.register_functions(root_module)
try:
import ns3_module_tap_bridge__local
except ImportError:
pass
else:
ns3_module_tap_bridge__local.register_functions(root_module)
root_module.end_section('ns3_module_tap_bridge')
root_module.begin_section('ns3_module_csma')
ns3_module_csma.register_functions(root_module)
@@ -1160,28 +1105,6 @@ def register_functions(root_module):
ns3_module_csma__local.register_functions(root_module)
root_module.end_section('ns3_module_csma')
root_module.begin_section('ns3_module_list_routing')
ns3_module_list_routing.register_functions(root_module)
try:
import ns3_module_list_routing__local
except ImportError:
pass
else:
ns3_module_list_routing__local.register_functions(root_module)
root_module.end_section('ns3_module_list_routing')
root_module.begin_section('ns3_module_virtual_net_device')
ns3_module_virtual_net_device.register_functions(root_module)
try:
import ns3_module_virtual_net_device__local
except ImportError:
pass
else:
ns3_module_virtual_net_device__local.register_functions(root_module)
root_module.end_section('ns3_module_virtual_net_device')
root_module.begin_section('ns3_module_wifi')
ns3_module_wifi.register_functions(root_module)
@@ -1193,6 +1116,83 @@ def register_functions(root_module):
ns3_module_wifi__local.register_functions(root_module)
root_module.end_section('ns3_module_wifi')
root_module.begin_section('ns3_module_static_routing')
ns3_module_static_routing.register_functions(root_module)
try:
import ns3_module_static_routing__local
except ImportError:
pass
else:
ns3_module_static_routing__local.register_functions(root_module)
root_module.end_section('ns3_module_static_routing')
root_module.begin_section('ns3_module_v4ping')
ns3_module_v4ping.register_functions(root_module)
try:
import ns3_module_v4ping__local
except ImportError:
pass
else:
ns3_module_v4ping__local.register_functions(root_module)
root_module.end_section('ns3_module_v4ping')
root_module.begin_section('ns3_module_virtual_net_device')
ns3_module_virtual_net_device.register_functions(root_module)
try:
import ns3_module_virtual_net_device__local
except ImportError:
pass
else:
ns3_module_virtual_net_device__local.register_functions(root_module)
root_module.end_section('ns3_module_virtual_net_device')
root_module.begin_section('ns3_module_packet_sink')
ns3_module_packet_sink.register_functions(root_module)
try:
import ns3_module_packet_sink__local
except ImportError:
pass
else:
ns3_module_packet_sink__local.register_functions(root_module)
root_module.end_section('ns3_module_packet_sink')
root_module.begin_section('ns3_module_global_routing')
ns3_module_global_routing.register_functions(root_module)
try:
import ns3_module_global_routing__local
except ImportError:
pass
else:
ns3_module_global_routing__local.register_functions(root_module)
root_module.end_section('ns3_module_global_routing')
root_module.begin_section('ns3_module_stats')
ns3_module_stats.register_functions(root_module)
try:
import ns3_module_stats__local
except ImportError:
pass
else:
ns3_module_stats__local.register_functions(root_module)
root_module.end_section('ns3_module_stats')
root_module.begin_section('ns3_module_list_routing')
ns3_module_list_routing.register_functions(root_module)
try:
import ns3_module_list_routing__local
except ImportError:
pass
else:
ns3_module_list_routing__local.register_functions(root_module)
root_module.end_section('ns3_module_list_routing')
root_module.begin_section('ns3_module_emu')
ns3_module_emu.register_functions(root_module)
@@ -1215,17 +1215,17 @@ def register_functions(root_module):
ns3_module_bridge__local.register_functions(root_module)
root_module.end_section('ns3_module_bridge')
root_module.begin_section('ns3_module_global_routing')
ns3_module_global_routing.register_functions(root_module)
root_module.begin_section('ns3_module_onoff')
ns3_module_onoff.register_functions(root_module)
try:
import ns3_module_global_routing__local
import ns3_module_onoff__local
except ImportError:
pass
else:
ns3_module_global_routing__local.register_functions(root_module)
ns3_module_onoff__local.register_functions(root_module)
root_module.end_section('ns3_module_global_routing')
root_module.end_section('ns3_module_onoff')
root_module.begin_section('ns3_module_udp_echo')
ns3_module_udp_echo.register_functions(root_module)
@@ -1237,6 +1237,17 @@ def register_functions(root_module):
ns3_module_udp_echo__local.register_functions(root_module)
root_module.end_section('ns3_module_udp_echo')
root_module.begin_section('ns3_module_ping6')
ns3_module_ping6.register_functions(root_module)
try:
import ns3_module_ping6__local
except ImportError:
pass
else:
ns3_module_ping6__local.register_functions(root_module)
root_module.end_section('ns3_module_ping6')
root_module.begin_section('ns3_module_nix_vector_routing')
ns3_module_nix_vector_routing.register_functions(root_module)
@@ -1259,28 +1270,6 @@ def register_functions(root_module):
ns3_module_olsr__local.register_functions(root_module)
root_module.end_section('ns3_module_olsr')
root_module.begin_section('ns3_module_radvd')
ns3_module_radvd.register_functions(root_module)
try:
import ns3_module_radvd__local
except ImportError:
pass
else:
ns3_module_radvd__local.register_functions(root_module)
root_module.end_section('ns3_module_radvd')
root_module.begin_section('ns3_module_ping6')
ns3_module_ping6.register_functions(root_module)
try:
import ns3_module_ping6__local
except ImportError:
pass
else:
ns3_module_ping6__local.register_functions(root_module)
root_module.end_section('ns3_module_ping6')
root_module.begin_section('ns3_module_flow_monitor')
ns3_module_flow_monitor.register_functions(root_module)
@@ -1292,6 +1281,17 @@ def register_functions(root_module):
ns3_module_flow_monitor__local.register_functions(root_module)
root_module.end_section('ns3_module_flow_monitor')
root_module.begin_section('ns3_module_radvd')
ns3_module_radvd.register_functions(root_module)
try:
import ns3_module_radvd__local
except ImportError:
pass
else:
ns3_module_radvd__local.register_functions(root_module)
root_module.end_section('ns3_module_radvd')
root_module.begin_section('ns3_module_mesh')
ns3_module_mesh.register_functions(root_module)