diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_aodv.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_aodv.py index 537cb0afa..70ffe1159 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_aodv.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_aodv.py @@ -3,6 +3,8 @@ from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandler def register_types(module): root_module = module.get_root() + ## aodv-helper.h: ns3::AodvHelper [class] + module.add_class('AodvHelper', parent=root_module['ns3::Ipv4RoutingHelper']) ## Register a nested module for the namespace Config @@ -127,6 +129,7 @@ def register_types_ns3_olsr(module): def register_methods(root_module): + register_Ns3AodvHelper_methods(root_module, root_module['ns3::AodvHelper']) register_Ns3AodvDuplicatePacketDetection_methods(root_module, root_module['ns3::aodv::DuplicatePacketDetection']) register_Ns3AodvIdCache_methods(root_module, root_module['ns3::aodv::IdCache']) register_Ns3AodvNeighbors_methods(root_module, root_module['ns3::aodv::Neighbors']) @@ -143,6 +146,27 @@ def register_methods(root_module): register_Ns3AodvTypeHeader_methods(root_module, root_module['ns3::aodv::TypeHeader']) return +def register_Ns3AodvHelper_methods(root_module, cls): + ## aodv-helper.h: ns3::AodvHelper::AodvHelper(ns3::AodvHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AodvHelper const &', 'arg0')]) + ## aodv-helper.h: ns3::AodvHelper::AodvHelper() [constructor] + cls.add_constructor([]) + ## aodv-helper.h: ns3::AodvHelper * ns3::AodvHelper::Copy() const [member function] + cls.add_method('Copy', + 'ns3::AodvHelper *', + [], + is_const=True, is_virtual=True) + ## aodv-helper.h: ns3::Ptr ns3::AodvHelper::Create(ns3::Ptr node) const [member function] + cls.add_method('Create', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True, is_virtual=True) + ## aodv-helper.h: void ns3::AodvHelper::Set(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('Set', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + def register_Ns3AodvDuplicatePacketDetection_methods(root_module, cls): ## aodv-dpd.h: ns3::aodv::DuplicatePacketDetection::DuplicatePacketDetection(ns3::aodv::DuplicatePacketDetection const & arg0) [copy constructor] cls.add_constructor([param('ns3::aodv::DuplicatePacketDetection const &', 'arg0')]) diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_applications.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_applications.py new file mode 100644 index 000000000..66b562b46 --- /dev/null +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_applications.py @@ -0,0 +1,1230 @@ +from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers + +def register_types(module): + root_module = module.get_root() + + ## bulk-send-helper.h: ns3::BulkSendHelper [class] + module.add_class('BulkSendHelper') + ## on-off-helper.h: ns3::OnOffHelper [class] + module.add_class('OnOffHelper') + ## packet-loss-counter.h: ns3::PacketLossCounter [class] + module.add_class('PacketLossCounter') + ## packet-sink-helper.h: ns3::PacketSinkHelper [class] + module.add_class('PacketSinkHelper') + ## ping6-helper.h: ns3::Ping6Helper [class] + module.add_class('Ping6Helper') + ## udp-client-server-helper.h: ns3::UdpClientHelper [class] + module.add_class('UdpClientHelper') + ## udp-echo-helper.h: ns3::UdpEchoClientHelper [class] + module.add_class('UdpEchoClientHelper') + ## udp-echo-helper.h: ns3::UdpEchoServerHelper [class] + module.add_class('UdpEchoServerHelper') + ## udp-client-server-helper.h: ns3::UdpServerHelper [class] + module.add_class('UdpServerHelper') + ## udp-client-server-helper.h: ns3::UdpTraceClientHelper [class] + module.add_class('UdpTraceClientHelper') + ## v4ping-helper.h: ns3::V4PingHelper [class] + module.add_class('V4PingHelper') + ## seq-ts-header.h: ns3::SeqTsHeader [class] + module.add_class('SeqTsHeader', parent=root_module['ns3::Header']) + ## simple-ref-count.h: ns3::SimpleRefCount > [class] + module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdInterface', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simple-ref-count.h: ns3::SimpleRefCount > [class] + module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdPrefix', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## bulk-send-application.h: ns3::BulkSendApplication [class] + module.add_class('BulkSendApplication', parent=root_module['ns3::Application']) + ## onoff-application.h: ns3::OnOffApplication [class] + module.add_class('OnOffApplication', parent=root_module['ns3::Application']) + ## packet-sink.h: ns3::PacketSink [class] + module.add_class('PacketSink', parent=root_module['ns3::Application']) + ## ping6.h: ns3::Ping6 [class] + module.add_class('Ping6', parent=root_module['ns3::Application']) + ## radvd.h: ns3::Radvd [class] + module.add_class('Radvd', parent=root_module['ns3::Application']) + ## radvd-interface.h: ns3::RadvdInterface [class] + module.add_class('RadvdInterface', parent=root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty, ns3::DefaultDeleter >']) + ## radvd-prefix.h: ns3::RadvdPrefix [class] + module.add_class('RadvdPrefix', parent=root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter >']) + ## udp-client.h: ns3::UdpClient [class] + module.add_class('UdpClient', parent=root_module['ns3::Application']) + ## udp-echo-client.h: ns3::UdpEchoClient [class] + module.add_class('UdpEchoClient', parent=root_module['ns3::Application']) + ## udp-echo-server.h: ns3::UdpEchoServer [class] + module.add_class('UdpEchoServer', parent=root_module['ns3::Application']) + ## udp-server.h: ns3::UdpServer [class] + module.add_class('UdpServer', parent=root_module['ns3::Application']) + ## udp-trace-client.h: ns3::UdpTraceClient [class] + module.add_class('UdpTraceClient', parent=root_module['ns3::Application']) + ## v4ping.h: ns3::V4Ping [class] + module.add_class('V4Ping', parent=root_module['ns3::Application']) + + ## Register a nested module for the namespace Config + + nested_module = module.add_cpp_namespace('Config') + register_types_ns3_Config(nested_module) + + + ## Register a nested module for the namespace FatalImpl + + nested_module = module.add_cpp_namespace('FatalImpl') + register_types_ns3_FatalImpl(nested_module) + + + ## Register a nested module for the namespace addressUtils + + nested_module = module.add_cpp_namespace('addressUtils') + register_types_ns3_addressUtils(nested_module) + + + ## Register a nested module for the namespace aodv + + nested_module = module.add_cpp_namespace('aodv') + register_types_ns3_aodv(nested_module) + + + ## Register a nested module for the namespace dot11s + + nested_module = module.add_cpp_namespace('dot11s') + register_types_ns3_dot11s(nested_module) + + + ## Register a nested module for the namespace dsdv + + nested_module = module.add_cpp_namespace('dsdv') + register_types_ns3_dsdv(nested_module) + + + ## Register a nested module for the namespace flame + + nested_module = module.add_cpp_namespace('flame') + register_types_ns3_flame(nested_module) + + + ## Register a nested module for the namespace internal + + nested_module = module.add_cpp_namespace('internal') + register_types_ns3_internal(nested_module) + + + ## Register a nested module for the namespace olsr + + nested_module = module.add_cpp_namespace('olsr') + register_types_ns3_olsr(nested_module) + + +def register_types_ns3_Config(module): + root_module = module.get_root() + + +def register_types_ns3_FatalImpl(module): + root_module = module.get_root() + + +def register_types_ns3_addressUtils(module): + root_module = module.get_root() + + +def register_types_ns3_aodv(module): + root_module = module.get_root() + + +def register_types_ns3_dot11s(module): + root_module = module.get_root() + + +def register_types_ns3_dsdv(module): + root_module = module.get_root() + + +def register_types_ns3_flame(module): + root_module = module.get_root() + + +def register_types_ns3_internal(module): + root_module = module.get_root() + + +def register_types_ns3_olsr(module): + root_module = module.get_root() + + +def register_methods(root_module): + register_Ns3BulkSendHelper_methods(root_module, root_module['ns3::BulkSendHelper']) + register_Ns3OnOffHelper_methods(root_module, root_module['ns3::OnOffHelper']) + register_Ns3PacketLossCounter_methods(root_module, root_module['ns3::PacketLossCounter']) + register_Ns3PacketSinkHelper_methods(root_module, root_module['ns3::PacketSinkHelper']) + register_Ns3Ping6Helper_methods(root_module, root_module['ns3::Ping6Helper']) + register_Ns3UdpClientHelper_methods(root_module, root_module['ns3::UdpClientHelper']) + register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper']) + register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper']) + register_Ns3UdpServerHelper_methods(root_module, root_module['ns3::UdpServerHelper']) + register_Ns3UdpTraceClientHelper_methods(root_module, root_module['ns3::UdpTraceClientHelper']) + register_Ns3V4PingHelper_methods(root_module, root_module['ns3::V4PingHelper']) + register_Ns3SeqTsHeader_methods(root_module, root_module['ns3::SeqTsHeader']) + register_Ns3BulkSendApplication_methods(root_module, root_module['ns3::BulkSendApplication']) + register_Ns3OnOffApplication_methods(root_module, root_module['ns3::OnOffApplication']) + register_Ns3PacketSink_methods(root_module, root_module['ns3::PacketSink']) + register_Ns3Ping6_methods(root_module, root_module['ns3::Ping6']) + register_Ns3Radvd_methods(root_module, root_module['ns3::Radvd']) + register_Ns3RadvdInterface_methods(root_module, root_module['ns3::RadvdInterface']) + register_Ns3RadvdPrefix_methods(root_module, root_module['ns3::RadvdPrefix']) + register_Ns3UdpClient_methods(root_module, root_module['ns3::UdpClient']) + register_Ns3UdpEchoClient_methods(root_module, root_module['ns3::UdpEchoClient']) + register_Ns3UdpEchoServer_methods(root_module, root_module['ns3::UdpEchoServer']) + register_Ns3UdpServer_methods(root_module, root_module['ns3::UdpServer']) + register_Ns3UdpTraceClient_methods(root_module, root_module['ns3::UdpTraceClient']) + register_Ns3V4Ping_methods(root_module, root_module['ns3::V4Ping']) + return + +def register_Ns3BulkSendHelper_methods(root_module, cls): + ## bulk-send-helper.h: ns3::BulkSendHelper::BulkSendHelper(ns3::BulkSendHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::BulkSendHelper const &', 'arg0')]) + ## bulk-send-helper.h: ns3::BulkSendHelper::BulkSendHelper(std::string protocol, ns3::Address address) [constructor] + cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) + ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(ns3::NodeContainer c) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')], + is_const=True) + ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('std::string', 'nodeName')], + is_const=True) + ## bulk-send-helper.h: void ns3::BulkSendHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3OnOffHelper_methods(root_module, cls): + ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(ns3::OnOffHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::OnOffHelper const &', 'arg0')]) + ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(std::string protocol, ns3::Address address) [constructor] + cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) + ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::NodeContainer c) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')], + is_const=True) + ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('std::string', 'nodeName')], + is_const=True) + ## on-off-helper.h: void ns3::OnOffHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3PacketLossCounter_methods(root_module, cls): + ## packet-loss-counter.h: ns3::PacketLossCounter::PacketLossCounter(ns3::PacketLossCounter const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketLossCounter const &', 'arg0')]) + ## packet-loss-counter.h: ns3::PacketLossCounter::PacketLossCounter(uint8_t bitmapSize) [constructor] + cls.add_constructor([param('uint8_t', 'bitmapSize')]) + ## packet-loss-counter.h: uint16_t ns3::PacketLossCounter::GetBitMapSize() const [member function] + cls.add_method('GetBitMapSize', + 'uint16_t', + [], + is_const=True) + ## packet-loss-counter.h: uint32_t ns3::PacketLossCounter::GetLost() const [member function] + cls.add_method('GetLost', + 'uint32_t', + [], + is_const=True) + ## packet-loss-counter.h: void ns3::PacketLossCounter::NotifyReceived(uint32_t seq) [member function] + cls.add_method('NotifyReceived', + 'void', + [param('uint32_t', 'seq')]) + ## packet-loss-counter.h: void ns3::PacketLossCounter::SetBitMapSize(uint16_t size) [member function] + cls.add_method('SetBitMapSize', + 'void', + [param('uint16_t', 'size')]) + return + +def register_Ns3PacketSinkHelper_methods(root_module, cls): + ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(ns3::PacketSinkHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketSinkHelper const &', 'arg0')]) + ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(std::string protocol, ns3::Address address) [constructor] + cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) + ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::NodeContainer c) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')], + is_const=True) + ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('std::string', 'nodeName')], + is_const=True) + ## packet-sink-helper.h: void ns3::PacketSinkHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3Ping6Helper_methods(root_module, cls): + ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper(ns3::Ping6Helper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ping6Helper const &', 'arg0')]) + ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper() [constructor] + cls.add_constructor([]) + ## ping6-helper.h: ns3::ApplicationContainer ns3::Ping6Helper::Install(ns3::NodeContainer c) [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')]) + ## ping6-helper.h: void ns3::Ping6Helper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## ping6-helper.h: void ns3::Ping6Helper::SetIfIndex(uint32_t ifIndex) [member function] + cls.add_method('SetIfIndex', + 'void', + [param('uint32_t', 'ifIndex')]) + ## ping6-helper.h: void ns3::Ping6Helper::SetLocal(ns3::Ipv6Address ip) [member function] + cls.add_method('SetLocal', + 'void', + [param('ns3::Ipv6Address', 'ip')]) + ## ping6-helper.h: void ns3::Ping6Helper::SetRemote(ns3::Ipv6Address ip) [member function] + cls.add_method('SetRemote', + 'void', + [param('ns3::Ipv6Address', 'ip')]) + ## ping6-helper.h: void ns3::Ping6Helper::SetRoutersAddress(std::vector > routers) [member function] + cls.add_method('SetRoutersAddress', + 'void', + [param('std::vector< ns3::Ipv6Address >', 'routers')]) + return + +def register_Ns3UdpClientHelper_methods(root_module, cls): + ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::UdpClientHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpClientHelper const &', 'arg0')]) + ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper() [constructor] + cls.add_constructor([]) + ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor] + cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) + ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpClientHelper::Install(ns3::NodeContainer c) [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')]) + ## udp-client-server-helper.h: void ns3::UdpClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3UdpEchoClientHelper_methods(root_module, cls): + ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::UdpEchoClientHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpEchoClientHelper const &', 'arg0')]) + ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor] + cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) + ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('std::string', 'nodeName')], + is_const=True) + ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::NodeContainer c) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')], + is_const=True) + ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, std::string fill) [member function] + cls.add_method('SetFill', + 'void', + [param('ns3::Ptr< ns3::Application >', 'app'), param('std::string', 'fill')]) + ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, uint8_t fill, uint32_t dataLength) [member function] + cls.add_method('SetFill', + 'void', + [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t', 'fill'), param('uint32_t', 'dataLength')]) + ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, uint8_t * fill, uint32_t fillLength, uint32_t dataLength) [member function] + cls.add_method('SetFill', + 'void', + [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t *', 'fill'), param('uint32_t', 'fillLength'), param('uint32_t', 'dataLength')]) + return + +def register_Ns3UdpEchoServerHelper_methods(root_module, cls): + ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(ns3::UdpEchoServerHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpEchoServerHelper const &', 'arg0')]) + ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(uint16_t port) [constructor] + cls.add_constructor([param('uint16_t', 'port')]) + ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('std::string', 'nodeName')], + is_const=True) + ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::NodeContainer c) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')], + is_const=True) + ## udp-echo-helper.h: void ns3::UdpEchoServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3UdpServerHelper_methods(root_module, cls): + ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper(ns3::UdpServerHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpServerHelper const &', 'arg0')]) + ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper() [constructor] + cls.add_constructor([]) + ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper(uint16_t port) [constructor] + cls.add_constructor([param('uint16_t', 'port')]) + ## udp-client-server-helper.h: ns3::Ptr ns3::UdpServerHelper::GetServer() [member function] + cls.add_method('GetServer', + 'ns3::Ptr< ns3::UdpServer >', + []) + ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpServerHelper::Install(ns3::NodeContainer c) [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')]) + ## udp-client-server-helper.h: void ns3::UdpServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3UdpTraceClientHelper_methods(root_module, cls): + ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper(ns3::UdpTraceClientHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpTraceClientHelper const &', 'arg0')]) + ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper() [constructor] + cls.add_constructor([]) + ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper(ns3::Ipv4Address ip, uint16_t port, std::string filename) [constructor] + cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port'), param('std::string', 'filename')]) + ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpTraceClientHelper::Install(ns3::NodeContainer c) [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')]) + ## udp-client-server-helper.h: void ns3::UdpTraceClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3V4PingHelper_methods(root_module, cls): + ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::V4PingHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::V4PingHelper const &', 'arg0')]) + ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::Ipv4Address remote) [constructor] + cls.add_constructor([param('ns3::Ipv4Address', 'remote')]) + ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::NodeContainer nodes) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'nodes')], + is_const=True) + ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('std::string', 'nodeName')], + is_const=True) + ## v4ping-helper.h: void ns3::V4PingHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3SeqTsHeader_methods(root_module, cls): + ## seq-ts-header.h: ns3::SeqTsHeader::SeqTsHeader(ns3::SeqTsHeader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SeqTsHeader const &', 'arg0')]) + ## seq-ts-header.h: ns3::SeqTsHeader::SeqTsHeader() [constructor] + cls.add_constructor([]) + ## seq-ts-header.h: uint32_t ns3::SeqTsHeader::GetSeq() const [member function] + cls.add_method('GetSeq', + 'uint32_t', + [], + is_const=True) + ## seq-ts-header.h: ns3::Time ns3::SeqTsHeader::GetTs() const [member function] + cls.add_method('GetTs', + 'ns3::Time', + [], + is_const=True) + ## seq-ts-header.h: static ns3::TypeId ns3::SeqTsHeader::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## seq-ts-header.h: void ns3::SeqTsHeader::SetSeq(uint32_t seq) [member function] + cls.add_method('SetSeq', + 'void', + [param('uint32_t', 'seq')]) + ## seq-ts-header.h: uint32_t ns3::SeqTsHeader::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + visibility='private', is_virtual=True) + ## seq-ts-header.h: ns3::TypeId ns3::SeqTsHeader::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, visibility='private', is_virtual=True) + ## seq-ts-header.h: uint32_t ns3::SeqTsHeader::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, visibility='private', is_virtual=True) + ## seq-ts-header.h: void ns3::SeqTsHeader::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, visibility='private', is_virtual=True) + ## seq-ts-header.h: void ns3::SeqTsHeader::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, visibility='private', is_virtual=True) + return + +def register_Ns3BulkSendApplication_methods(root_module, cls): + ## bulk-send-application.h: ns3::BulkSendApplication::BulkSendApplication(ns3::BulkSendApplication const & arg0) [copy constructor] + cls.add_constructor([param('ns3::BulkSendApplication const &', 'arg0')]) + ## bulk-send-application.h: ns3::BulkSendApplication::BulkSendApplication() [constructor] + cls.add_constructor([]) + ## bulk-send-application.h: ns3::Ptr ns3::BulkSendApplication::GetSocket() const [member function] + cls.add_method('GetSocket', + 'ns3::Ptr< ns3::Socket >', + [], + is_const=True) + ## bulk-send-application.h: static ns3::TypeId ns3::BulkSendApplication::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## bulk-send-application.h: void ns3::BulkSendApplication::SetMaxBytes(uint32_t maxBytes) [member function] + cls.add_method('SetMaxBytes', + 'void', + [param('uint32_t', 'maxBytes')]) + ## bulk-send-application.h: void ns3::BulkSendApplication::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## bulk-send-application.h: void ns3::BulkSendApplication::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## bulk-send-application.h: void ns3::BulkSendApplication::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3OnOffApplication_methods(root_module, cls): + ## onoff-application.h: ns3::OnOffApplication::OnOffApplication(ns3::OnOffApplication const & arg0) [copy constructor] + cls.add_constructor([param('ns3::OnOffApplication const &', 'arg0')]) + ## onoff-application.h: ns3::OnOffApplication::OnOffApplication() [constructor] + cls.add_constructor([]) + ## onoff-application.h: ns3::Ptr ns3::OnOffApplication::GetSocket() const [member function] + cls.add_method('GetSocket', + 'ns3::Ptr< ns3::Socket >', + [], + is_const=True) + ## onoff-application.h: static ns3::TypeId ns3::OnOffApplication::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## onoff-application.h: void ns3::OnOffApplication::SetMaxBytes(uint32_t maxBytes) [member function] + cls.add_method('SetMaxBytes', + 'void', + [param('uint32_t', 'maxBytes')]) + ## onoff-application.h: void ns3::OnOffApplication::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## onoff-application.h: void ns3::OnOffApplication::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## onoff-application.h: void ns3::OnOffApplication::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3PacketSink_methods(root_module, cls): + ## packet-sink.h: ns3::PacketSink::PacketSink(ns3::PacketSink const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketSink const &', 'arg0')]) + ## packet-sink.h: ns3::PacketSink::PacketSink() [constructor] + cls.add_constructor([]) + ## packet-sink.h: std::list, std::allocator > > ns3::PacketSink::GetAcceptedSockets() const [member function] + cls.add_method('GetAcceptedSockets', + 'std::list< ns3::Ptr< ns3::Socket > >', + [], + is_const=True) + ## packet-sink.h: ns3::Ptr ns3::PacketSink::GetListeningSocket() const [member function] + cls.add_method('GetListeningSocket', + 'ns3::Ptr< ns3::Socket >', + [], + is_const=True) + ## packet-sink.h: uint32_t ns3::PacketSink::GetTotalRx() const [member function] + cls.add_method('GetTotalRx', + 'uint32_t', + [], + is_const=True) + ## packet-sink.h: static ns3::TypeId ns3::PacketSink::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## packet-sink.h: void ns3::PacketSink::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## packet-sink.h: void ns3::PacketSink::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## packet-sink.h: void ns3::PacketSink::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3Ping6_methods(root_module, cls): + ## ping6.h: ns3::Ping6::Ping6(ns3::Ping6 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ping6 const &', 'arg0')]) + ## ping6.h: ns3::Ping6::Ping6() [constructor] + cls.add_constructor([]) + ## ping6.h: static ns3::TypeId ns3::Ping6::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ping6.h: void ns3::Ping6::SetIfIndex(uint32_t ifIndex) [member function] + cls.add_method('SetIfIndex', + 'void', + [param('uint32_t', 'ifIndex')]) + ## ping6.h: void ns3::Ping6::SetLocal(ns3::Ipv6Address ipv6) [member function] + cls.add_method('SetLocal', + 'void', + [param('ns3::Ipv6Address', 'ipv6')]) + ## ping6.h: void ns3::Ping6::SetRemote(ns3::Ipv6Address ipv6) [member function] + cls.add_method('SetRemote', + 'void', + [param('ns3::Ipv6Address', 'ipv6')]) + ## ping6.h: void ns3::Ping6::SetRouters(std::vector > routers) [member function] + cls.add_method('SetRouters', + 'void', + [param('std::vector< ns3::Ipv6Address >', 'routers')]) + ## ping6.h: void ns3::Ping6::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## ping6.h: void ns3::Ping6::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## ping6.h: void ns3::Ping6::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3Radvd_methods(root_module, cls): + ## radvd.h: ns3::Radvd::Radvd(ns3::Radvd const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Radvd const &', 'arg0')]) + ## radvd.h: ns3::Radvd::Radvd() [constructor] + cls.add_constructor([]) + ## radvd.h: void ns3::Radvd::AddConfiguration(ns3::Ptr routerInterface) [member function] + cls.add_method('AddConfiguration', + 'void', + [param('ns3::Ptr< ns3::RadvdInterface >', 'routerInterface')]) + ## radvd.h: static ns3::TypeId ns3::Radvd::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## radvd.h: ns3::Radvd::MAX_RA_DELAY_TIME [variable] + cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True) + ## radvd.h: void ns3::Radvd::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## radvd.h: void ns3::Radvd::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## radvd.h: void ns3::Radvd::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3RadvdInterface_methods(root_module, cls): + ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(ns3::RadvdInterface const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RadvdInterface const &', 'arg0')]) + ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface) [constructor] + cls.add_constructor([param('uint32_t', 'interface')]) + ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface, uint32_t maxRtrAdvInterval, uint32_t minRtrAdvInterval) [constructor] + cls.add_constructor([param('uint32_t', 'interface'), param('uint32_t', 'maxRtrAdvInterval'), param('uint32_t', 'minRtrAdvInterval')]) + ## radvd-interface.h: void ns3::RadvdInterface::AddPrefix(ns3::Ptr routerPrefix) [member function] + cls.add_method('AddPrefix', + 'void', + [param('ns3::Ptr< ns3::RadvdPrefix >', 'routerPrefix')]) + ## radvd-interface.h: uint8_t ns3::RadvdInterface::GetCurHopLimit() const [member function] + cls.add_method('GetCurHopLimit', + 'uint8_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetDefaultLifeTime() const [member function] + cls.add_method('GetDefaultLifeTime', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint8_t ns3::RadvdInterface::GetDefaultPreference() const [member function] + cls.add_method('GetDefaultPreference', + 'uint8_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentLifeTime() const [member function] + cls.add_method('GetHomeAgentLifeTime', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentPreference() const [member function] + cls.add_method('GetHomeAgentPreference', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetInterface() const [member function] + cls.add_method('GetInterface', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetLinkMtu() const [member function] + cls.add_method('GetLinkMtu', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMaxRtrAdvInterval() const [member function] + cls.add_method('GetMaxRtrAdvInterval', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinDelayBetweenRAs() const [member function] + cls.add_method('GetMinDelayBetweenRAs', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinRtrAdvInterval() const [member function] + cls.add_method('GetMinRtrAdvInterval', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: std::list, std::allocator > > ns3::RadvdInterface::GetPrefixes() const [member function] + cls.add_method('GetPrefixes', + 'std::list< ns3::Ptr< ns3::RadvdPrefix > >', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetReachableTime() const [member function] + cls.add_method('GetReachableTime', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetRetransTimer() const [member function] + cls.add_method('GetRetransTimer', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentFlag() const [member function] + cls.add_method('IsHomeAgentFlag', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentInfo() const [member function] + cls.add_method('IsHomeAgentInfo', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsIntervalOpt() const [member function] + cls.add_method('IsIntervalOpt', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsManagedFlag() const [member function] + cls.add_method('IsManagedFlag', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsMobRtrSupportFlag() const [member function] + cls.add_method('IsMobRtrSupportFlag', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsOtherConfigFlag() const [member function] + cls.add_method('IsOtherConfigFlag', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsSendAdvert() const [member function] + cls.add_method('IsSendAdvert', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsSourceLLAddress() const [member function] + cls.add_method('IsSourceLLAddress', + 'bool', + [], + is_const=True) + ## radvd-interface.h: void ns3::RadvdInterface::SetCurHopLimit(uint8_t curHopLimit) [member function] + cls.add_method('SetCurHopLimit', + 'void', + [param('uint8_t', 'curHopLimit')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetDefaultLifeTime(uint32_t defaultLifeTime) [member function] + cls.add_method('SetDefaultLifeTime', + 'void', + [param('uint32_t', 'defaultLifeTime')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetDefaultPreference(uint8_t defaultPreference) [member function] + cls.add_method('SetDefaultPreference', + 'void', + [param('uint8_t', 'defaultPreference')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentFlag(bool homeAgentFlag) [member function] + cls.add_method('SetHomeAgentFlag', + 'void', + [param('bool', 'homeAgentFlag')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentInfo(bool homeAgentFlag) [member function] + cls.add_method('SetHomeAgentInfo', + 'void', + [param('bool', 'homeAgentFlag')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentLifeTime(uint32_t homeAgentLifeTime) [member function] + cls.add_method('SetHomeAgentLifeTime', + 'void', + [param('uint32_t', 'homeAgentLifeTime')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentPreference(uint32_t homeAgentPreference) [member function] + cls.add_method('SetHomeAgentPreference', + 'void', + [param('uint32_t', 'homeAgentPreference')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetIntervalOpt(bool intervalOpt) [member function] + cls.add_method('SetIntervalOpt', + 'void', + [param('bool', 'intervalOpt')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetLinkMtu(uint32_t linkMtu) [member function] + cls.add_method('SetLinkMtu', + 'void', + [param('uint32_t', 'linkMtu')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetManagedFlag(bool managedFlag) [member function] + cls.add_method('SetManagedFlag', + 'void', + [param('bool', 'managedFlag')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetMaxRtrAdvInterval(uint32_t maxRtrAdvInterval) [member function] + cls.add_method('SetMaxRtrAdvInterval', + 'void', + [param('uint32_t', 'maxRtrAdvInterval')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetMinDelayBetweenRAs(uint32_t minDelayBetweenRAs) [member function] + cls.add_method('SetMinDelayBetweenRAs', + 'void', + [param('uint32_t', 'minDelayBetweenRAs')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetMinRtrAdvInterval(uint32_t minRtrAdvInterval) [member function] + cls.add_method('SetMinRtrAdvInterval', + 'void', + [param('uint32_t', 'minRtrAdvInterval')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetMobRtrSupportFlag(bool mobRtrSupportFlag) [member function] + cls.add_method('SetMobRtrSupportFlag', + 'void', + [param('bool', 'mobRtrSupportFlag')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetOtherConfigFlag(bool otherConfigFlag) [member function] + cls.add_method('SetOtherConfigFlag', + 'void', + [param('bool', 'otherConfigFlag')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetReachableTime(uint32_t reachableTime) [member function] + cls.add_method('SetReachableTime', + 'void', + [param('uint32_t', 'reachableTime')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetRetransTimer(uint32_t retransTimer) [member function] + cls.add_method('SetRetransTimer', + 'void', + [param('uint32_t', 'retransTimer')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetSendAdvert(bool sendAdvert) [member function] + cls.add_method('SetSendAdvert', + 'void', + [param('bool', 'sendAdvert')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetSourceLLAddress(bool sourceLLAddress) [member function] + cls.add_method('SetSourceLLAddress', + 'void', + [param('bool', 'sourceLLAddress')]) + return + +def register_Ns3RadvdPrefix_methods(root_module, cls): + ## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::RadvdPrefix const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RadvdPrefix const &', 'arg0')]) + ## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::Ipv6Address network, uint8_t prefixLength, uint32_t preferredLifeTime=604800, uint32_t validLifeTime=2592000, bool onLinkFlag=true, bool autonomousFlag=true, bool routerAddrFlag=false) [constructor] + cls.add_constructor([param('ns3::Ipv6Address', 'network'), param('uint8_t', 'prefixLength'), param('uint32_t', 'preferredLifeTime', default_value='604800'), param('uint32_t', 'validLifeTime', default_value='2592000'), param('bool', 'onLinkFlag', default_value='true'), param('bool', 'autonomousFlag', default_value='true'), param('bool', 'routerAddrFlag', default_value='false')]) + ## radvd-prefix.h: ns3::Ipv6Address ns3::RadvdPrefix::GetNetwork() const [member function] + cls.add_method('GetNetwork', + 'ns3::Ipv6Address', + [], + is_const=True) + ## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetPreferredLifeTime() const [member function] + cls.add_method('GetPreferredLifeTime', + 'uint32_t', + [], + is_const=True) + ## radvd-prefix.h: uint8_t ns3::RadvdPrefix::GetPrefixLength() const [member function] + cls.add_method('GetPrefixLength', + 'uint8_t', + [], + is_const=True) + ## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetValidLifeTime() const [member function] + cls.add_method('GetValidLifeTime', + 'uint32_t', + [], + is_const=True) + ## radvd-prefix.h: bool ns3::RadvdPrefix::IsAutonomousFlag() const [member function] + cls.add_method('IsAutonomousFlag', + 'bool', + [], + is_const=True) + ## radvd-prefix.h: bool ns3::RadvdPrefix::IsOnLinkFlag() const [member function] + cls.add_method('IsOnLinkFlag', + 'bool', + [], + is_const=True) + ## radvd-prefix.h: bool ns3::RadvdPrefix::IsRouterAddrFlag() const [member function] + cls.add_method('IsRouterAddrFlag', + 'bool', + [], + is_const=True) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetAutonomousFlag(bool autonomousFlag) [member function] + cls.add_method('SetAutonomousFlag', + 'void', + [param('bool', 'autonomousFlag')]) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetNetwork(ns3::Ipv6Address network) [member function] + cls.add_method('SetNetwork', + 'void', + [param('ns3::Ipv6Address', 'network')]) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetOnLinkFlag(bool onLinkFlag) [member function] + cls.add_method('SetOnLinkFlag', + 'void', + [param('bool', 'onLinkFlag')]) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetPreferredLifeTime(uint32_t preferredLifeTime) [member function] + cls.add_method('SetPreferredLifeTime', + 'void', + [param('uint32_t', 'preferredLifeTime')]) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetPrefixLength(uint8_t prefixLength) [member function] + cls.add_method('SetPrefixLength', + 'void', + [param('uint8_t', 'prefixLength')]) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetRouterAddrFlag(bool routerAddrFlag) [member function] + cls.add_method('SetRouterAddrFlag', + 'void', + [param('bool', 'routerAddrFlag')]) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetValidLifeTime(uint32_t validLifeTime) [member function] + cls.add_method('SetValidLifeTime', + 'void', + [param('uint32_t', 'validLifeTime')]) + return + +def register_Ns3UdpClient_methods(root_module, cls): + ## udp-client.h: ns3::UdpClient::UdpClient(ns3::UdpClient const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpClient const &', 'arg0')]) + ## udp-client.h: ns3::UdpClient::UdpClient() [constructor] + cls.add_constructor([]) + ## udp-client.h: static ns3::TypeId ns3::UdpClient::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## udp-client.h: void ns3::UdpClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] + cls.add_method('SetRemote', + 'void', + [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) + ## udp-client.h: void ns3::UdpClient::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## udp-client.h: void ns3::UdpClient::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## udp-client.h: void ns3::UdpClient::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3UdpEchoClient_methods(root_module, cls): + ## udp-echo-client.h: ns3::UdpEchoClient::UdpEchoClient(ns3::UdpEchoClient const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpEchoClient const &', 'arg0')]) + ## udp-echo-client.h: ns3::UdpEchoClient::UdpEchoClient() [constructor] + cls.add_constructor([]) + ## udp-echo-client.h: uint32_t ns3::UdpEchoClient::GetDataSize() const [member function] + cls.add_method('GetDataSize', + 'uint32_t', + [], + is_const=True) + ## udp-echo-client.h: static ns3::TypeId ns3::UdpEchoClient::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## udp-echo-client.h: void ns3::UdpEchoClient::SetDataSize(uint32_t dataSize) [member function] + cls.add_method('SetDataSize', + 'void', + [param('uint32_t', 'dataSize')]) + ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(std::string fill) [member function] + cls.add_method('SetFill', + 'void', + [param('std::string', 'fill')]) + ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(uint8_t fill, uint32_t dataSize) [member function] + cls.add_method('SetFill', + 'void', + [param('uint8_t', 'fill'), param('uint32_t', 'dataSize')]) + ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(uint8_t * fill, uint32_t fillSize, uint32_t dataSize) [member function] + cls.add_method('SetFill', + 'void', + [param('uint8_t *', 'fill'), param('uint32_t', 'fillSize'), param('uint32_t', 'dataSize')]) + ## udp-echo-client.h: void ns3::UdpEchoClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] + cls.add_method('SetRemote', + 'void', + [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) + ## udp-echo-client.h: void ns3::UdpEchoClient::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## udp-echo-client.h: void ns3::UdpEchoClient::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## udp-echo-client.h: void ns3::UdpEchoClient::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3UdpEchoServer_methods(root_module, cls): + ## udp-echo-server.h: ns3::UdpEchoServer::UdpEchoServer(ns3::UdpEchoServer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpEchoServer const &', 'arg0')]) + ## udp-echo-server.h: ns3::UdpEchoServer::UdpEchoServer() [constructor] + cls.add_constructor([]) + ## udp-echo-server.h: static ns3::TypeId ns3::UdpEchoServer::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## udp-echo-server.h: void ns3::UdpEchoServer::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## udp-echo-server.h: void ns3::UdpEchoServer::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## udp-echo-server.h: void ns3::UdpEchoServer::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3UdpServer_methods(root_module, cls): + ## udp-server.h: ns3::UdpServer::UdpServer(ns3::UdpServer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpServer const &', 'arg0')]) + ## udp-server.h: ns3::UdpServer::UdpServer() [constructor] + cls.add_constructor([]) + ## udp-server.h: uint32_t ns3::UdpServer::GetLost() const [member function] + cls.add_method('GetLost', + 'uint32_t', + [], + is_const=True) + ## udp-server.h: uint16_t ns3::UdpServer::GetPacketWindowSize() const [member function] + cls.add_method('GetPacketWindowSize', + 'uint16_t', + [], + is_const=True) + ## udp-server.h: uint32_t ns3::UdpServer::GetReceived() const [member function] + cls.add_method('GetReceived', + 'uint32_t', + [], + is_const=True) + ## udp-server.h: static ns3::TypeId ns3::UdpServer::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## udp-server.h: void ns3::UdpServer::SetPacketWindowSize(uint16_t size) [member function] + cls.add_method('SetPacketWindowSize', + 'void', + [param('uint16_t', 'size')]) + ## udp-server.h: void ns3::UdpServer::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## udp-server.h: void ns3::UdpServer::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## udp-server.h: void ns3::UdpServer::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3UdpTraceClient_methods(root_module, cls): + ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient(ns3::UdpTraceClient const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpTraceClient const &', 'arg0')]) + ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient() [constructor] + cls.add_constructor([]) + ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient(ns3::Ipv4Address ip, uint16_t port, char * traceFile) [constructor] + cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port'), param('char *', 'traceFile')]) + ## udp-trace-client.h: uint16_t ns3::UdpTraceClient::GetMaxPacketSize() [member function] + cls.add_method('GetMaxPacketSize', + 'uint16_t', + []) + ## udp-trace-client.h: static ns3::TypeId ns3::UdpTraceClient::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## udp-trace-client.h: void ns3::UdpTraceClient::SetMaxPacketSize(uint16_t maxPacketSize) [member function] + cls.add_method('SetMaxPacketSize', + 'void', + [param('uint16_t', 'maxPacketSize')]) + ## udp-trace-client.h: void ns3::UdpTraceClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] + cls.add_method('SetRemote', + 'void', + [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) + ## udp-trace-client.h: void ns3::UdpTraceClient::SetTraceFile(std::string filename) [member function] + cls.add_method('SetTraceFile', + 'void', + [param('std::string', 'filename')]) + ## udp-trace-client.h: void ns3::UdpTraceClient::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## udp-trace-client.h: void ns3::UdpTraceClient::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## udp-trace-client.h: void ns3::UdpTraceClient::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3V4Ping_methods(root_module, cls): + ## v4ping.h: ns3::V4Ping::V4Ping(ns3::V4Ping const & arg0) [copy constructor] + cls.add_constructor([param('ns3::V4Ping const &', 'arg0')]) + ## v4ping.h: ns3::V4Ping::V4Ping() [constructor] + cls.add_constructor([]) + ## v4ping.h: static ns3::TypeId ns3::V4Ping::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## v4ping.h: void ns3::V4Ping::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='private', is_virtual=True) + ## v4ping.h: void ns3::V4Ping::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## v4ping.h: void ns3::V4Ping::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_functions(root_module): + module = root_module + register_functions_ns3_Config(module.get_submodule('Config'), root_module) + register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) + register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) + register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) + register_functions_ns3_flame(module.get_submodule('flame'), root_module) + register_functions_ns3_internal(module.get_submodule('internal'), root_module) + register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) + return + +def register_functions_ns3_Config(module, root_module): + return + +def register_functions_ns3_FatalImpl(module, root_module): + return + +def register_functions_ns3_addressUtils(module, root_module): + return + +def register_functions_ns3_aodv(module, root_module): + return + +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_dsdv(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + +def register_functions_ns3_internal(module, root_module): + return + +def register_functions_ns3_olsr(module, root_module): + return + diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_bulk_send.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_bulk_send.py deleted file mode 100644 index fffa271c3..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_bulk_send.py +++ /dev/null @@ -1,178 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## bulk-send-application.h: ns3::BulkSendApplication [class] - module.add_class('BulkSendApplication', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3BulkSendApplication_methods(root_module, root_module['ns3::BulkSendApplication']) - return - -def register_Ns3BulkSendApplication_methods(root_module, cls): - ## bulk-send-application.h: ns3::BulkSendApplication::BulkSendApplication(ns3::BulkSendApplication const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BulkSendApplication const &', 'arg0')]) - ## bulk-send-application.h: ns3::BulkSendApplication::BulkSendApplication() [constructor] - cls.add_constructor([]) - ## bulk-send-application.h: ns3::Ptr ns3::BulkSendApplication::GetSocket() const [member function] - cls.add_method('GetSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_const=True) - ## bulk-send-application.h: static ns3::TypeId ns3::BulkSendApplication::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bulk-send-application.h: void ns3::BulkSendApplication::SetMaxBytes(uint32_t maxBytes) [member function] - cls.add_method('SetMaxBytes', - 'void', - [param('uint32_t', 'maxBytes')]) - ## bulk-send-application.h: void ns3::BulkSendApplication::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## bulk-send-application.h: void ns3::BulkSendApplication::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## bulk-send-application.h: void ns3::BulkSendApplication::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py index 9c196294f..997fd5ae3 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py @@ -17,7 +17,7 @@ def register_types(module): module.add_class('EventId') ## global-value.h: ns3::GlobalValue [class] module.add_class('GlobalValue') - ## high-precision-double.h: ns3::HighPrecision [class] + ## high-precision-128.h: ns3::HighPrecision [class] module.add_class('HighPrecision') ## int-to-type.h: ns3::IntToType<0> [struct] module.add_class('IntToType', template_parameters=['0']) @@ -741,65 +741,67 @@ def register_Ns3GlobalValue_methods(root_module, cls): def register_Ns3HighPrecision_methods(root_module, cls): cls.add_output_stream_operator() - ## high-precision-double.h: ns3::HighPrecision::HighPrecision(ns3::HighPrecision const & arg0) [copy constructor] + ## high-precision-128.h: ns3::HighPrecision::HighPrecision(ns3::HighPrecision const & arg0) [copy constructor] cls.add_constructor([param('ns3::HighPrecision const &', 'arg0')]) - ## high-precision-double.h: ns3::HighPrecision::HighPrecision() [constructor] + ## high-precision-128.h: ns3::HighPrecision::HighPrecision(int64_t high, uint64_t low) [constructor] + cls.add_constructor([param('int64_t', 'high'), param('uint64_t', 'low')]) + ## high-precision-128.h: ns3::HighPrecision::HighPrecision() [constructor] cls.add_constructor([]) - ## high-precision-double.h: ns3::HighPrecision::HighPrecision(int64_t value, bool dummy) [constructor] + ## high-precision-128.h: ns3::HighPrecision::HighPrecision(int64_t value, bool dummy) [constructor] cls.add_constructor([param('int64_t', 'value'), param('bool', 'dummy')]) - ## high-precision-double.h: ns3::HighPrecision::HighPrecision(double value) [constructor] + ## high-precision-128.h: ns3::HighPrecision::HighPrecision(double value) [constructor] cls.add_constructor([param('double', 'value')]) - ## high-precision-double.h: void ns3::HighPrecision::Add(ns3::HighPrecision const & o) [member function] + ## high-precision-128.h: void ns3::HighPrecision::Add(ns3::HighPrecision const & o) [member function] cls.add_method('Add', 'void', [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-double.h: int ns3::HighPrecision::Compare(ns3::HighPrecision const & o) const [member function] + ## high-precision-128.h: int ns3::HighPrecision::Compare(ns3::HighPrecision const & o) const [member function] cls.add_method('Compare', 'int', [param('ns3::HighPrecision const &', 'o')], is_const=True) - ## high-precision-double.h: void ns3::HighPrecision::Div(ns3::HighPrecision const & o) [member function] + ## high-precision-128.h: void ns3::HighPrecision::Div(ns3::HighPrecision const & o) [member function] cls.add_method('Div', 'void', [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-double.h: double ns3::HighPrecision::GetDouble() const [member function] + ## high-precision-128.h: double ns3::HighPrecision::GetDouble() const [member function] cls.add_method('GetDouble', 'double', [], is_const=True) - ## high-precision-double.h: int64_t ns3::HighPrecision::GetHigh() const [member function] + ## high-precision-128.h: int64_t ns3::HighPrecision::GetHigh() const [member function] cls.add_method('GetHigh', 'int64_t', [], is_const=True) - ## high-precision-double.h: int64_t ns3::HighPrecision::GetInteger() const [member function] + ## high-precision-128.h: int64_t ns3::HighPrecision::GetInteger() const [member function] cls.add_method('GetInteger', 'int64_t', [], is_const=True) - ## high-precision-double.h: uint64_t ns3::HighPrecision::GetLow() const [member function] + ## high-precision-128.h: uint64_t ns3::HighPrecision::GetLow() const [member function] cls.add_method('GetLow', 'uint64_t', [], is_const=True) - ## high-precision-double.h: static ns3::HighPrecision ns3::HighPrecision::Invert(uint64_t v) [member function] + ## high-precision-128.h: static ns3::HighPrecision ns3::HighPrecision::Invert(uint64_t v) [member function] cls.add_method('Invert', 'ns3::HighPrecision', [param('uint64_t', 'v')], is_static=True) - ## high-precision-double.h: void ns3::HighPrecision::Mul(ns3::HighPrecision const & o) [member function] + ## high-precision-128.h: void ns3::HighPrecision::Mul(ns3::HighPrecision const & o) [member function] cls.add_method('Mul', 'void', [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-double.h: void ns3::HighPrecision::MulByInvert(ns3::HighPrecision const & o) [member function] + ## high-precision-128.h: void ns3::HighPrecision::MulByInvert(ns3::HighPrecision const & o) [member function] cls.add_method('MulByInvert', 'void', [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-double.h: void ns3::HighPrecision::Sub(ns3::HighPrecision const & o) [member function] + ## high-precision-128.h: void ns3::HighPrecision::Sub(ns3::HighPrecision const & o) [member function] cls.add_method('Sub', 'void', [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-double.h: static ns3::HighPrecision ns3::HighPrecision::Zero() [member function] + ## high-precision-128.h: static ns3::HighPrecision ns3::HighPrecision::Zero() [member function] cls.add_method('Zero', 'ns3::HighPrecision', [], diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py index 872189f17..ab9af1f4a 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py @@ -7,24 +7,12 @@ def register_types(module): module.add_class('AnimationInterface') ## athstats-helper.h: ns3::AthstatsHelper [class] module.add_class('AthstatsHelper') - ## bulk-send-helper.h: ns3::BulkSendHelper [class] - module.add_class('BulkSendHelper') ## csma-star-helper.h: ns3::CsmaStarHelper [class] module.add_class('CsmaStarHelper') ## mesh-helper.h: ns3::MeshHelper [class] module.add_class('MeshHelper') ## mesh-helper.h: ns3::MeshHelper::ChannelPolicy [enumeration] module.add_enum('ChannelPolicy', ['SPREAD_CHANNELS', 'ZERO_CHANNEL'], outer_class=root_module['ns3::MeshHelper']) - ## mobility-helper.h: ns3::MobilityHelper [class] - module.add_class('MobilityHelper') - ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper [class] - module.add_class('Ns2MobilityHelper') - ## on-off-helper.h: ns3::OnOffHelper [class] - module.add_class('OnOffHelper') - ## packet-sink-helper.h: ns3::PacketSinkHelper [class] - module.add_class('PacketSinkHelper') - ## ping6-helper.h: ns3::Ping6Helper [class] - module.add_class('Ping6Helper') ## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper [class] module.add_class('PointToPointDumbbellHelper') ## point-to-point-grid-helper.h: ns3::PointToPointGridHelper [class] @@ -37,18 +25,6 @@ def register_types(module): module.add_class('TapBridgeHelper') ## topology-reader-helper.h: ns3::TopologyReaderHelper [class] module.add_class('TopologyReaderHelper') - ## udp-client-server-helper.h: ns3::UdpClientHelper [class] - module.add_class('UdpClientHelper') - ## udp-echo-helper.h: ns3::UdpEchoClientHelper [class] - module.add_class('UdpEchoClientHelper') - ## udp-echo-helper.h: ns3::UdpEchoServerHelper [class] - module.add_class('UdpEchoServerHelper') - ## udp-client-server-helper.h: ns3::UdpServerHelper [class] - module.add_class('UdpServerHelper') - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper [class] - module.add_class('UdpTraceClientHelper') - ## v4ping-helper.h: ns3::V4PingHelper [class] - module.add_class('V4PingHelper') ## wifi-helper.h: ns3::WifiHelper [class] module.add_class('WifiHelper') ## wifi-helper.h: ns3::WifiMacHelper [class] @@ -69,14 +45,10 @@ def register_types(module): module.add_class('YansWifiPhyHelper', parent=[root_module['ns3::WifiPhyHelper'], root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) ## yans-wifi-helper.h: ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes [enumeration] module.add_enum('SupportedPcapDataLinkTypes', ['DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::YansWifiPhyHelper']) - ## aodv-helper.h: ns3::AodvHelper [class] - module.add_class('AodvHelper', parent=root_module['ns3::Ipv4RoutingHelper']) ## csma-helper.h: ns3::CsmaHelper [class] module.add_class('CsmaHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) ## emu-helper.h: ns3::EmuHelper [class] module.add_class('EmuHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper [class] - module.add_class('Ipv4NixVectorHelper', parent=root_module['ns3::Ipv4RoutingHelper']) ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper [class] module.add_class('NqosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper [class] @@ -185,36 +157,22 @@ def register_types_ns3_olsr(module): def register_methods(root_module): register_Ns3AnimationInterface_methods(root_module, root_module['ns3::AnimationInterface']) register_Ns3AthstatsHelper_methods(root_module, root_module['ns3::AthstatsHelper']) - register_Ns3BulkSendHelper_methods(root_module, root_module['ns3::BulkSendHelper']) register_Ns3CsmaStarHelper_methods(root_module, root_module['ns3::CsmaStarHelper']) register_Ns3MeshHelper_methods(root_module, root_module['ns3::MeshHelper']) - register_Ns3MobilityHelper_methods(root_module, root_module['ns3::MobilityHelper']) - register_Ns3Ns2MobilityHelper_methods(root_module, root_module['ns3::Ns2MobilityHelper']) - register_Ns3OnOffHelper_methods(root_module, root_module['ns3::OnOffHelper']) - register_Ns3PacketSinkHelper_methods(root_module, root_module['ns3::PacketSinkHelper']) - register_Ns3Ping6Helper_methods(root_module, root_module['ns3::Ping6Helper']) register_Ns3PointToPointDumbbellHelper_methods(root_module, root_module['ns3::PointToPointDumbbellHelper']) register_Ns3PointToPointGridHelper_methods(root_module, root_module['ns3::PointToPointGridHelper']) register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper']) register_Ns3PointToPointStarHelper_methods(root_module, root_module['ns3::PointToPointStarHelper']) register_Ns3TapBridgeHelper_methods(root_module, root_module['ns3::TapBridgeHelper']) register_Ns3TopologyReaderHelper_methods(root_module, root_module['ns3::TopologyReaderHelper']) - register_Ns3UdpClientHelper_methods(root_module, root_module['ns3::UdpClientHelper']) - register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper']) - register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper']) - register_Ns3UdpServerHelper_methods(root_module, root_module['ns3::UdpServerHelper']) - register_Ns3UdpTraceClientHelper_methods(root_module, root_module['ns3::UdpTraceClientHelper']) - register_Ns3V4PingHelper_methods(root_module, root_module['ns3::V4PingHelper']) register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper']) register_Ns3WifiMacHelper_methods(root_module, root_module['ns3::WifiMacHelper']) register_Ns3WifiPhyHelper_methods(root_module, root_module['ns3::WifiPhyHelper']) register_Ns3WimaxHelper_methods(root_module, root_module['ns3::WimaxHelper']) register_Ns3YansWifiChannelHelper_methods(root_module, root_module['ns3::YansWifiChannelHelper']) register_Ns3YansWifiPhyHelper_methods(root_module, root_module['ns3::YansWifiPhyHelper']) - register_Ns3AodvHelper_methods(root_module, root_module['ns3::AodvHelper']) register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper']) register_Ns3EmuHelper_methods(root_module, root_module['ns3::EmuHelper']) - register_Ns3Ipv4NixVectorHelper_methods(root_module, root_module['ns3::Ipv4NixVectorHelper']) register_Ns3NqosWifiMacHelper_methods(root_module, root_module['ns3::NqosWifiMacHelper']) register_Ns3QosWifiMacHelper_methods(root_module, root_module['ns3::QosWifiMacHelper']) register_Ns3AthstatsWifiTraceSink_methods(root_module, root_module['ns3::AthstatsWifiTraceSink']) @@ -270,32 +228,6 @@ def register_Ns3AthstatsHelper_methods(root_module, cls): [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')]) return -def register_Ns3BulkSendHelper_methods(root_module, cls): - ## bulk-send-helper.h: ns3::BulkSendHelper::BulkSendHelper(ns3::BulkSendHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BulkSendHelper const &', 'arg0')]) - ## bulk-send-helper.h: ns3::BulkSendHelper::BulkSendHelper(std::string protocol, ns3::Address address) [constructor] - cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) - ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## bulk-send-helper.h: void ns3::BulkSendHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - def register_Ns3CsmaStarHelper_methods(root_module, cls): ## csma-star-helper.h: ns3::CsmaStarHelper::CsmaStarHelper(ns3::CsmaStarHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::CsmaStarHelper const &', 'arg0')]) @@ -395,171 +327,6 @@ def register_Ns3MeshHelper_methods(root_module, cls): [param('ns3::WifiPhyStandard', 'standard')]) return -def register_Ns3MobilityHelper_methods(root_module, cls): - ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper(ns3::MobilityHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MobilityHelper const &', 'arg0')]) - ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper() [constructor] - cls.add_constructor([]) - ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, uint32_t nodeid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('uint32_t', 'nodeid')], - is_static=True) - ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], - is_static=True) - ## mobility-helper.h: static void ns3::MobilityHelper::EnableAsciiAll(std::ostream & os) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::ostream &', 'os')], - is_static=True) - ## mobility-helper.h: std::string ns3::MobilityHelper::GetMobilityModelType() const [member function] - cls.add_method('GetMobilityModelType', - 'std::string', - [], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'void', - [param('std::string', 'nodeName')], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::NodeContainer container) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::NodeContainer', 'container')], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::InstallAll() [member function] - cls.add_method('InstallAll', - 'void', - []) - ## mobility-helper.h: void ns3::MobilityHelper::PopReferenceMobilityModel() [member function] - cls.add_method('PopReferenceMobilityModel', - 'void', - []) - ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(ns3::Ptr reference) [member function] - cls.add_method('PushReferenceMobilityModel', - 'void', - [param('ns3::Ptr< ns3::Object >', 'reference')]) - ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(std::string referenceName) [member function] - cls.add_method('PushReferenceMobilityModel', - 'void', - [param('std::string', 'referenceName')]) - ## 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] - cls.add_method('SetMobilityModel', - 'void', - [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()')]) - ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(ns3::Ptr allocator) [member function] - cls.add_method('SetPositionAllocator', - 'void', - [param('ns3::Ptr< ns3::PositionAllocator >', 'allocator')]) - ## 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] - cls.add_method('SetPositionAllocator', - 'void', - [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()')]) - return - -def register_Ns3Ns2MobilityHelper_methods(root_module, cls): - ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(ns3::Ns2MobilityHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ns2MobilityHelper const &', 'arg0')]) - ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(std::string filename) [constructor] - cls.add_constructor([param('std::string', 'filename')]) - ## ns2-mobility-helper.h: void ns3::Ns2MobilityHelper::Install() const [member function] - cls.add_method('Install', - 'void', - [], - is_const=True) - return - -def register_Ns3OnOffHelper_methods(root_module, cls): - ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(ns3::OnOffHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OnOffHelper const &', 'arg0')]) - ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(std::string protocol, ns3::Address address) [constructor] - cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) - ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## on-off-helper.h: void ns3::OnOffHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3PacketSinkHelper_methods(root_module, cls): - ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(ns3::PacketSinkHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSinkHelper const &', 'arg0')]) - ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(std::string protocol, ns3::Address address) [constructor] - cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) - ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## packet-sink-helper.h: void ns3::PacketSinkHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3Ping6Helper_methods(root_module, cls): - ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper(ns3::Ping6Helper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ping6Helper const &', 'arg0')]) - ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper() [constructor] - cls.add_constructor([]) - ## ping6-helper.h: ns3::ApplicationContainer ns3::Ping6Helper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetIfIndex(uint32_t ifIndex) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t', 'ifIndex')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetLocal(ns3::Ipv6Address ip) [member function] - cls.add_method('SetLocal', - 'void', - [param('ns3::Ipv6Address', 'ip')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetRemote(ns3::Ipv6Address ip) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv6Address', 'ip')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetRoutersAddress(std::vector > routers) [member function] - cls.add_method('SetRoutersAddress', - 'void', - [param('std::vector< ns3::Ipv6Address >', 'routers')]) - return - def register_Ns3PointToPointDumbbellHelper_methods(root_module, cls): ## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(ns3::PointToPointDumbbellHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::PointToPointDumbbellHelper const &', 'arg0')]) @@ -791,151 +558,6 @@ def register_Ns3TopologyReaderHelper_methods(root_module, cls): [param('std::string const', 'fileType')]) return -def register_Ns3UdpClientHelper_methods(root_module, cls): - ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::UdpClientHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpClientHelper const &', 'arg0')]) - ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper() [constructor] - cls.add_constructor([]) - ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpClientHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## udp-client-server-helper.h: void ns3::UdpClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3UdpEchoClientHelper_methods(root_module, cls): - ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::UdpEchoClientHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoClientHelper const &', 'arg0')]) - ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, std::string fill) [member function] - cls.add_method('SetFill', - 'void', - [param('ns3::Ptr< ns3::Application >', 'app'), param('std::string', 'fill')]) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, uint8_t fill, uint32_t dataLength) [member function] - cls.add_method('SetFill', - 'void', - [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t', 'fill'), param('uint32_t', 'dataLength')]) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, uint8_t * fill, uint32_t fillLength, uint32_t dataLength) [member function] - cls.add_method('SetFill', - 'void', - [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t *', 'fill'), param('uint32_t', 'fillLength'), param('uint32_t', 'dataLength')]) - return - -def register_Ns3UdpEchoServerHelper_methods(root_module, cls): - ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(ns3::UdpEchoServerHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoServerHelper const &', 'arg0')]) - ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(uint16_t port) [constructor] - cls.add_constructor([param('uint16_t', 'port')]) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## udp-echo-helper.h: void ns3::UdpEchoServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3UdpServerHelper_methods(root_module, cls): - ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper(ns3::UdpServerHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpServerHelper const &', 'arg0')]) - ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper() [constructor] - cls.add_constructor([]) - ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper(uint16_t port) [constructor] - cls.add_constructor([param('uint16_t', 'port')]) - ## udp-client-server-helper.h: ns3::Ptr ns3::UdpServerHelper::GetServer() [member function] - cls.add_method('GetServer', - 'ns3::Ptr< ns3::UdpServer >', - []) - ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpServerHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## udp-client-server-helper.h: void ns3::UdpServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3UdpTraceClientHelper_methods(root_module, cls): - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper(ns3::UdpTraceClientHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpTraceClientHelper const &', 'arg0')]) - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper() [constructor] - cls.add_constructor([]) - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper(ns3::Ipv4Address ip, uint16_t port, std::string filename) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port'), param('std::string', 'filename')]) - ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpTraceClientHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## udp-client-server-helper.h: void ns3::UdpTraceClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3V4PingHelper_methods(root_module, cls): - ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::V4PingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::V4PingHelper const &', 'arg0')]) - ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::Ipv4Address remote) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'remote')]) - ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::NodeContainer nodes) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'nodes')], - is_const=True) - ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## v4ping-helper.h: void ns3::V4PingHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - def register_Ns3WifiHelper_methods(root_module, cls): ## wifi-helper.h: ns3::WifiHelper::WifiHelper(ns3::WifiHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::WifiHelper const &', 'arg0')]) @@ -1147,27 +769,6 @@ def register_Ns3YansWifiPhyHelper_methods(root_module, cls): visibility='private', is_virtual=True) return -def register_Ns3AodvHelper_methods(root_module, cls): - ## aodv-helper.h: ns3::AodvHelper::AodvHelper(ns3::AodvHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AodvHelper const &', 'arg0')]) - ## aodv-helper.h: ns3::AodvHelper::AodvHelper() [constructor] - cls.add_constructor([]) - ## aodv-helper.h: ns3::AodvHelper * ns3::AodvHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::AodvHelper *', - [], - is_const=True, is_virtual=True) - ## aodv-helper.h: ns3::Ptr ns3::AodvHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## aodv-helper.h: void ns3::AodvHelper::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - def register_Ns3CsmaHelper_methods(root_module, cls): ## csma-helper.h: ns3::CsmaHelper::CsmaHelper(ns3::CsmaHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::CsmaHelper const &', 'arg0')]) @@ -1282,23 +883,6 @@ def register_Ns3EmuHelper_methods(root_module, cls): visibility='private', is_virtual=True) return -def register_Ns3Ipv4NixVectorHelper_methods(root_module, cls): - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper() [constructor] - cls.add_constructor([]) - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper(ns3::Ipv4NixVectorHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4NixVectorHelper const &', 'arg0')]) - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper * ns3::Ipv4NixVectorHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4NixVectorHelper *', - [], - is_const=True, is_virtual=True) - ## ipv4-nix-vector-helper.h: ns3::Ptr ns3::Ipv4NixVectorHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - return - def register_Ns3NqosWifiMacHelper_methods(root_module, cls): ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper::NqosWifiMacHelper(ns3::NqosWifiMacHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::NqosWifiMacHelper const &', 'arg0')]) diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_internet.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_internet.py index 30b05e2bf..84e915fff 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_internet.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_internet.py @@ -5,13 +5,9 @@ def register_types(module): ## tcp-socket.h: ns3::TcpStates_t [enumeration] module.add_enum('TcpStates_t', ['CLOSED', 'LISTEN', 'SYN_SENT', 'SYN_RCVD', 'ESTABLISHED', 'CLOSE_WAIT', 'LAST_ACK', 'FIN_WAIT_1', 'FIN_WAIT_2', 'CLOSING', 'TIME_WAIT', 'LAST_STATE']) - ## trace-helper.h: ns3::AsciiTraceHelper [class] - module.add_class('AsciiTraceHelper') - ## trace-helper.h: ns3::AsciiTraceHelperForDevice [class] - module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True) - ## trace-helper.h: ns3::AsciiTraceHelperForIpv4 [class] + ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv4 [class] module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True) - ## trace-helper.h: ns3::AsciiTraceHelperForIpv6 [class] + ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv6 [class] module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True) ## global-route-manager.h: ns3::GlobalRouteManager [class] module.add_class('GlobalRouteManager') @@ -65,15 +61,9 @@ def register_types(module): module.add_class('Ipv6StaticRoutingHelper', parent=root_module['ns3::Ipv6RoutingHelper']) ## ipv6-extension-header.h: ns3::OptionField [class] module.add_class('OptionField') - ## trace-helper.h: ns3::PcapHelper [class] - module.add_class('PcapHelper') - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelperForDevice [class] - module.add_class('PcapHelperForDevice', allow_subclassing=True) - ## trace-helper.h: ns3::PcapHelperForIpv4 [class] + ## internet-trace-helper.h: ns3::PcapHelperForIpv4 [class] module.add_class('PcapHelperForIpv4', allow_subclassing=True) - ## trace-helper.h: ns3::PcapHelperForIpv6 [class] + ## internet-trace-helper.h: ns3::PcapHelperForIpv6 [class] module.add_class('PcapHelperForIpv6', allow_subclassing=True) ## icmpv4.h: ns3::Icmpv4DestinationUnreachable [class] module.add_class('Icmpv4DestinationUnreachable', parent=root_module['ns3::Header']) @@ -217,6 +207,8 @@ def register_types(module): module.add_class('Ipv4MulticastRoute', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter >']) ## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory [class] module.add_class('Ipv4RawSocketFactory', parent=root_module['ns3::SocketFactory']) + ## ipv4-raw-socket-impl.h: ns3::Ipv4RawSocketImpl [class] + module.add_class('Ipv4RawSocketImpl', parent=root_module['ns3::Socket']) ## ipv4-route.h: ns3::Ipv4Route [class] module.add_class('Ipv4Route', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter >']) ## ipv4-routing-protocol.h: ns3::Ipv4RoutingProtocol [class] @@ -367,8 +359,6 @@ def register_types_ns3_olsr(module): def register_methods(root_module): - register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) - register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4']) register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6']) register_Ns3GlobalRouteManager_methods(root_module, root_module['ns3::GlobalRouteManager']) @@ -391,8 +381,6 @@ def register_methods(root_module): register_Ns3Ipv6RoutingTableEntry_methods(root_module, root_module['ns3::Ipv6RoutingTableEntry']) register_Ns3Ipv6StaticRoutingHelper_methods(root_module, root_module['ns3::Ipv6StaticRoutingHelper']) register_Ns3OptionField_methods(root_module, root_module['ns3::OptionField']) - register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) - register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4']) register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6']) register_Ns3Icmpv4DestinationUnreachable_methods(root_module, root_module['ns3::Icmpv4DestinationUnreachable']) @@ -449,6 +437,7 @@ def register_methods(root_module): register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol']) register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute']) register_Ns3Ipv4RawSocketFactory_methods(root_module, root_module['ns3::Ipv4RawSocketFactory']) + register_Ns3Ipv4RawSocketImpl_methods(root_module, root_module['ns3::Ipv4RawSocketImpl']) register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route']) register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol']) register_Ns3Ipv4StaticRouting_methods(root_module, root_module['ns3::Ipv4StaticRouting']) @@ -478,179 +467,60 @@ def register_methods(root_module): register_Ns3LoopbackNetDevice_methods(root_module, root_module['ns3::LoopbackNetDevice']) return -def register_Ns3AsciiTraceHelper_methods(root_module, cls): - ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper(ns3::AsciiTraceHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')]) - ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::Ptr ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::_Ios_Openmode filemode=std::ios_base::out) [member function] - cls.add_method('CreateFileStream', - 'ns3::Ptr< ns3::OutputStreamWrapper >', - [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode', default_value='std::ios_base::out')]) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultDequeueSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultDequeueSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultDropSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultDropSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultEnqueueSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultEnqueueSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultReceiveSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultReceiveSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromDevice', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')]) - ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromInterfacePair', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) - return - -def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): - ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')]) - ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor] - cls.add_constructor([]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr nd, bool explicitFilename=false) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::Ptr nd) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName, bool explicitFilename=false) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, std::string ndName) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ndName')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NetDeviceContainer', 'd')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls): - ## trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor] + ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor] cls.add_constructor([param('ns3::AsciiTraceHelperForIpv4 const &', 'arg0')]) - ## trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor] + ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor] cls.add_constructor([]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ptr ipv4, uint32_t interface) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ptr ipv4, uint32_t interface) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, std::string ipv4Name, uint32_t interface) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, std::string ipv4Name, uint32_t interface) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ipv4InterfaceContainer c) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ipv4InterfaceContainer c) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::NodeContainer n) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::NodeContainer n) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function] cls.add_method('EnableAsciiIpv4All', 'void', [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr stream) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr stream) [member function] cls.add_method('EnableAsciiIpv4All', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnableAsciiIpv4Internal', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], @@ -658,59 +528,59 @@ def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls): return def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls): - ## trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor] + ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor] cls.add_constructor([param('ns3::AsciiTraceHelperForIpv6 const &', 'arg0')]) - ## trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor] + ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor] cls.add_constructor([]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ptr ipv6, uint32_t interface) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ptr ipv6, uint32_t interface) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, std::string ipv6Name, uint32_t interface) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, std::string ipv6Name, uint32_t interface) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ipv6InterfaceContainer c) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ipv6InterfaceContainer c) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::NodeContainer n) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::NodeContainer n) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function] cls.add_method('EnableAsciiIpv6All', 'void', [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr stream) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr stream) [member function] cls.add_method('EnableAsciiIpv6All', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnableAsciiIpv6Internal', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], @@ -1721,91 +1591,36 @@ def register_Ns3OptionField_methods(root_module, cls): is_const=True) return -def register_Ns3PcapHelper_methods(root_module, cls): - ## trace-helper.h: ns3::PcapHelper::PcapHelper(ns3::PcapHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')]) - ## trace-helper.h: ns3::PcapHelper::PcapHelper() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::Ptr ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=65535, int32_t tzCorrection=0) [member function] - cls.add_method('CreateFile', - 'ns3::Ptr< ns3::PcapFileWrapper >', - [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='65535'), param('int32_t', 'tzCorrection', default_value='0')]) - ## trace-helper.h: std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromDevice', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')]) - ## trace-helper.h: std::string ns3::PcapHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromInterfacePair', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) - return - -def register_Ns3PcapHelperForDevice_methods(root_module, cls): - ## trace-helper.h: ns3::PcapHelperForDevice::PcapHelperForDevice(ns3::PcapHelperForDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapHelperForDevice const &', 'arg0')]) - ## trace-helper.h: ns3::PcapHelperForDevice::PcapHelperForDevice() [constructor] - cls.add_constructor([]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::Ptr nd, bool promiscuous=false, bool explicitFilename=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, std::string ndName, bool promiscuous=false, bool explicitFilename=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NetDeviceContainer d, bool promiscuous=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NodeContainer n, bool promiscuous=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool promiscuous=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcapAll(std::string prefix, bool promiscuous=false) [member function] - cls.add_method('EnablePcapAll', - 'void', - [param('std::string', 'prefix'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - def register_Ns3PcapHelperForIpv4_methods(root_module, cls): - ## trace-helper.h: ns3::PcapHelperForIpv4::PcapHelperForIpv4(ns3::PcapHelperForIpv4 const & arg0) [copy constructor] + ## internet-trace-helper.h: ns3::PcapHelperForIpv4::PcapHelperForIpv4(ns3::PcapHelperForIpv4 const & arg0) [copy constructor] cls.add_constructor([param('ns3::PcapHelperForIpv4 const &', 'arg0')]) - ## trace-helper.h: ns3::PcapHelperForIpv4::PcapHelperForIpv4() [constructor] + ## internet-trace-helper.h: ns3::PcapHelperForIpv4::PcapHelperForIpv4() [constructor] cls.add_constructor([]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnablePcapIpv4', 'void', [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnablePcapIpv4', 'void', [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] cls.add_method('EnablePcapIpv4', 'void', [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::NodeContainer n) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::NodeContainer n) [member function] cls.add_method('EnablePcapIpv4', 'void', [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnablePcapIpv4', 'void', [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4All(std::string prefix) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4All(std::string prefix) [member function] cls.add_method('EnablePcapIpv4All', 'void', [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnablePcapIpv4Internal', 'void', [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], @@ -1813,35 +1628,35 @@ def register_Ns3PcapHelperForIpv4_methods(root_module, cls): return def register_Ns3PcapHelperForIpv6_methods(root_module, cls): - ## trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor] + ## internet-trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor] cls.add_constructor([param('ns3::PcapHelperForIpv6 const &', 'arg0')]) - ## trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor] + ## internet-trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor] cls.add_constructor([]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnablePcapIpv6', 'void', [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnablePcapIpv6', 'void', [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] cls.add_method('EnablePcapIpv6', 'void', [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function] cls.add_method('EnablePcapIpv6', 'void', [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnablePcapIpv6', 'void', [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function] cls.add_method('EnablePcapIpv6All', 'void', [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnablePcapIpv6Internal', 'void', [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], @@ -5294,6 +5109,130 @@ def register_Ns3Ipv4RawSocketFactory_methods(root_module, cls): is_static=True) return +def register_Ns3Ipv4RawSocketImpl_methods(root_module, cls): + ## ipv4-raw-socket-impl.h: ns3::Ipv4RawSocketImpl::Ipv4RawSocketImpl(ns3::Ipv4RawSocketImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4RawSocketImpl const &', 'arg0')]) + ## ipv4-raw-socket-impl.h: ns3::Ipv4RawSocketImpl::Ipv4RawSocketImpl() [constructor] + cls.add_constructor([]) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Bind(ns3::Address const & address) [member function] + cls.add_method('Bind', + 'int', + [param('ns3::Address const &', 'address')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Bind() [member function] + cls.add_method('Bind', + 'int', + [], + is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Close() [member function] + cls.add_method('Close', + 'int', + [], + is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Connect(ns3::Address const & address) [member function] + cls.add_method('Connect', + 'int', + [param('ns3::Address const &', 'address')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: bool ns3::Ipv4RawSocketImpl::ForwardUp(ns3::Ptr p, ns3::Ipv4Header ipHeader, ns3::Ptr incomingInterface) [member function] + cls.add_method('ForwardUp', + 'bool', + [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')]) + ## ipv4-raw-socket-impl.h: bool ns3::Ipv4RawSocketImpl::GetAllowBroadcast() const [member function] + cls.add_method('GetAllowBroadcast', + 'bool', + [], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: ns3::Socket::SocketErrno ns3::Ipv4RawSocketImpl::GetErrno() const [member function] + cls.add_method('GetErrno', + 'ns3::Socket::SocketErrno', + [], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: ns3::Ptr ns3::Ipv4RawSocketImpl::GetNode() const [member function] + cls.add_method('GetNode', + 'ns3::Ptr< ns3::Node >', + [], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: uint32_t ns3::Ipv4RawSocketImpl::GetRxAvailable() const [member function] + cls.add_method('GetRxAvailable', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::GetSockName(ns3::Address & address) const [member function] + cls.add_method('GetSockName', + 'int', + [param('ns3::Address &', 'address')], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: ns3::Socket::SocketType ns3::Ipv4RawSocketImpl::GetSocketType() const [member function] + cls.add_method('GetSocketType', + 'ns3::Socket::SocketType', + [], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: uint32_t ns3::Ipv4RawSocketImpl::GetTxAvailable() const [member function] + cls.add_method('GetTxAvailable', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: static ns3::TypeId ns3::Ipv4RawSocketImpl::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Listen() [member function] + cls.add_method('Listen', + 'int', + [], + is_virtual=True) + ## ipv4-raw-socket-impl.h: ns3::Ptr ns3::Ipv4RawSocketImpl::Recv(uint32_t maxSize, uint32_t flags) [member function] + cls.add_method('Recv', + 'ns3::Ptr< ns3::Packet >', + [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: ns3::Ptr ns3::Ipv4RawSocketImpl::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function] + cls.add_method('RecvFrom', + 'ns3::Ptr< ns3::Packet >', + [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Send(ns3::Ptr p, uint32_t flags) [member function] + cls.add_method('Send', + 'int', + [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::SendTo(ns3::Ptr p, uint32_t flags, ns3::Address const & toAddress) [member function] + cls.add_method('SendTo', + 'int', + [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: bool ns3::Ipv4RawSocketImpl::SetAllowBroadcast(bool allowBroadcast) [member function] + cls.add_method('SetAllowBroadcast', + 'bool', + [param('bool', 'allowBroadcast')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: void ns3::Ipv4RawSocketImpl::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-raw-socket-impl.h: void ns3::Ipv4RawSocketImpl::SetProtocol(uint16_t protocol) [member function] + cls.add_method('SetProtocol', + 'void', + [param('uint16_t', 'protocol')]) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::ShutdownRecv() [member function] + cls.add_method('ShutdownRecv', + 'int', + [], + is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::ShutdownSend() [member function] + cls.add_method('ShutdownSend', + 'int', + [], + is_virtual=True) + ## ipv4-raw-socket-impl.h: void ns3::Ipv4RawSocketImpl::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3Ipv4Route_methods(root_module, cls): cls.add_output_stream_operator() ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor] diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py index 997595928..62ffee68e 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py @@ -9,6 +9,10 @@ def register_types(module): module.add_enum('Side', ['RIGHT', 'LEFT', 'TOP', 'BOTTOM', 'UP', 'DOWN'], outer_class=root_module['ns3::Box']) ## constant-velocity-helper.h: ns3::ConstantVelocityHelper [class] module.add_class('ConstantVelocityHelper') + ## mobility-helper.h: ns3::MobilityHelper [class] + module.add_class('MobilityHelper') + ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper [class] + module.add_class('Ns2MobilityHelper') ## rectangle.h: ns3::Rectangle [class] module.add_class('Rectangle') ## rectangle.h: ns3::Rectangle::Side [enumeration] @@ -161,6 +165,8 @@ def register_types_ns3_olsr(module): def register_methods(root_module): register_Ns3Box_methods(root_module, root_module['ns3::Box']) register_Ns3ConstantVelocityHelper_methods(root_module, root_module['ns3::ConstantVelocityHelper']) + register_Ns3MobilityHelper_methods(root_module, root_module['ns3::MobilityHelper']) + register_Ns3Ns2MobilityHelper_methods(root_module, root_module['ns3::Ns2MobilityHelper']) register_Ns3Rectangle_methods(root_module, root_module['ns3::Rectangle']) register_Ns3Waypoint_methods(root_module, root_module['ns3::Waypoint']) register_Ns3PositionAllocator_methods(root_module, root_module['ns3::PositionAllocator']) @@ -278,6 +284,88 @@ def register_Ns3ConstantVelocityHelper_methods(root_module, cls): is_const=True) return +def register_Ns3MobilityHelper_methods(root_module, cls): + ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper(ns3::MobilityHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::MobilityHelper const &', 'arg0')]) + ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper() [constructor] + cls.add_constructor([]) + ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, uint32_t nodeid) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::ostream &', 'os'), param('uint32_t', 'nodeid')], + is_static=True) + ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], + is_static=True) + ## mobility-helper.h: static void ns3::MobilityHelper::EnableAsciiAll(std::ostream & os) [member function] + cls.add_method('EnableAsciiAll', + 'void', + [param('std::ostream &', 'os')], + is_static=True) + ## mobility-helper.h: std::string ns3::MobilityHelper::GetMobilityModelType() const [member function] + cls.add_method('GetMobilityModelType', + 'std::string', + [], + is_const=True) + ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## mobility-helper.h: void ns3::MobilityHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'void', + [param('std::string', 'nodeName')], + is_const=True) + ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::NodeContainer container) const [member function] + cls.add_method('Install', + 'void', + [param('ns3::NodeContainer', 'container')], + is_const=True) + ## mobility-helper.h: void ns3::MobilityHelper::InstallAll() [member function] + cls.add_method('InstallAll', + 'void', + []) + ## mobility-helper.h: void ns3::MobilityHelper::PopReferenceMobilityModel() [member function] + cls.add_method('PopReferenceMobilityModel', + 'void', + []) + ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(ns3::Ptr reference) [member function] + cls.add_method('PushReferenceMobilityModel', + 'void', + [param('ns3::Ptr< ns3::Object >', 'reference')]) + ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(std::string referenceName) [member function] + cls.add_method('PushReferenceMobilityModel', + 'void', + [param('std::string', 'referenceName')]) + ## 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] + cls.add_method('SetMobilityModel', + 'void', + [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()')]) + ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(ns3::Ptr allocator) [member function] + cls.add_method('SetPositionAllocator', + 'void', + [param('ns3::Ptr< ns3::PositionAllocator >', 'allocator')]) + ## 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] + cls.add_method('SetPositionAllocator', + 'void', + [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()')]) + return + +def register_Ns3Ns2MobilityHelper_methods(root_module, cls): + ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(ns3::Ns2MobilityHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ns2MobilityHelper const &', 'arg0')]) + ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(std::string filename) [constructor] + cls.add_constructor([param('std::string', 'filename')]) + ## ns2-mobility-helper.h: void ns3::Ns2MobilityHelper::Install() const [member function] + cls.add_method('Install', + 'void', + [], + is_const=True) + return + def register_Ns3Rectangle_methods(root_module, cls): cls.add_output_stream_operator() ## rectangle.h: ns3::Rectangle::Rectangle(ns3::Rectangle const & arg0) [copy constructor] diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_network.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_network.py index 0288870d9..d55c3ace7 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_network.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_network.py @@ -15,6 +15,10 @@ def register_types(module): module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address']) ## application-container.h: ns3::ApplicationContainer [class] module.add_class('ApplicationContainer') + ## trace-helper.h: ns3::AsciiTraceHelper [class] + module.add_class('AsciiTraceHelper') + ## trace-helper.h: ns3::AsciiTraceHelperForDevice [class] + module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True) ## buffer.h: ns3::Buffer [class] module.add_class('Buffer') ## buffer.h: ns3::Buffer::Iterator [class] @@ -95,6 +99,12 @@ def register_types(module): module.add_class('PbbTlvBlock') ## pcap-file.h: ns3::PcapFile [class] module.add_class('PcapFile') + ## trace-helper.h: ns3::PcapHelper [class] + module.add_class('PcapHelper') + ## trace-helper.h: ns3::PcapHelper [enumeration] + module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper']) + ## trace-helper.h: ns3::PcapHelperForDevice [class] + module.add_class('PcapHelperForDevice', allow_subclassing=True) ## sequence-number.h: ns3::SequenceNumber [class] module.add_class('SequenceNumber32') ## tag.h: ns3::Tag [class] @@ -354,6 +364,8 @@ def register_types_ns3_olsr(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer']) + register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) + register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -386,6 +398,8 @@ def register_methods(root_module): register_Ns3PbbAddressTlvBlock_methods(root_module, root_module['ns3::PbbAddressTlvBlock']) register_Ns3PbbTlvBlock_methods(root_module, root_module['ns3::PbbTlvBlock']) register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile']) + register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) + register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) register_Ns3SequenceNumber32_methods(root_module, root_module['ns3::SequenceNumber32']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) @@ -566,6 +580,125 @@ def register_Ns3ApplicationContainer_methods(root_module, cls): [param('ns3::Time', 'stop')]) return +def register_Ns3AsciiTraceHelper_methods(root_module, cls): + ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper(ns3::AsciiTraceHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')]) + ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor] + cls.add_constructor([]) + ## trace-helper.h: ns3::Ptr ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::_Ios_Openmode filemode=std::ios_base::out) [member function] + cls.add_method('CreateFileStream', + 'ns3::Ptr< ns3::OutputStreamWrapper >', + [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode', default_value='std::ios_base::out')]) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + cls.add_method('DefaultDequeueSinkWithContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + cls.add_method('DefaultDequeueSinkWithoutContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + cls.add_method('DefaultDropSinkWithContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + cls.add_method('DefaultDropSinkWithoutContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + cls.add_method('DefaultEnqueueSinkWithContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + cls.add_method('DefaultEnqueueSinkWithoutContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + cls.add_method('DefaultReceiveSinkWithContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + cls.add_method('DefaultReceiveSinkWithoutContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] + cls.add_method('GetFilenameFromDevice', + 'std::string', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')]) + ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function] + cls.add_method('GetFilenameFromInterfacePair', + 'std::string', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) + return + +def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): + ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')]) + ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor] + cls.add_constructor([]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr nd, bool explicitFilename=false) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename', default_value='false')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::Ptr nd) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName, bool explicitFilename=false) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'explicitFilename', default_value='false')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, std::string ndName) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ndName')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NetDeviceContainer d) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NetDeviceContainer', 'd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NodeContainer n) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, uint32_t nodeid, uint32_t deviceid) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function] + cls.add_method('EnableAsciiAll', + 'void', + [param('std::string', 'prefix')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr stream) [member function] + cls.add_method('EnableAsciiAll', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] + cls.add_method('EnableAsciiInternal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3Buffer_methods(root_module, cls): ## buffer.h: ns3::Buffer::Buffer() [constructor] cls.add_constructor([]) @@ -2249,6 +2382,61 @@ def register_Ns3PcapFile_methods(root_module, cls): cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True) return +def register_Ns3PcapHelper_methods(root_module, cls): + ## trace-helper.h: ns3::PcapHelper::PcapHelper(ns3::PcapHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')]) + ## trace-helper.h: ns3::PcapHelper::PcapHelper() [constructor] + cls.add_constructor([]) + ## trace-helper.h: ns3::Ptr ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=65535, int32_t tzCorrection=0) [member function] + cls.add_method('CreateFile', + 'ns3::Ptr< ns3::PcapFileWrapper >', + [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='65535'), param('int32_t', 'tzCorrection', default_value='0')]) + ## trace-helper.h: std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] + cls.add_method('GetFilenameFromDevice', + 'std::string', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')]) + ## trace-helper.h: std::string ns3::PcapHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function] + cls.add_method('GetFilenameFromInterfacePair', + 'std::string', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) + return + +def register_Ns3PcapHelperForDevice_methods(root_module, cls): + ## trace-helper.h: ns3::PcapHelperForDevice::PcapHelperForDevice(ns3::PcapHelperForDevice const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PcapHelperForDevice const &', 'arg0')]) + ## trace-helper.h: ns3::PcapHelperForDevice::PcapHelperForDevice() [constructor] + cls.add_constructor([]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::Ptr nd, bool promiscuous=false, bool explicitFilename=false) [member function] + cls.add_method('EnablePcap', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, std::string ndName, bool promiscuous=false, bool explicitFilename=false) [member function] + cls.add_method('EnablePcap', + 'void', + [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NetDeviceContainer d, bool promiscuous=false) [member function] + cls.add_method('EnablePcap', + 'void', + [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous', default_value='false')]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NodeContainer n, bool promiscuous=false) [member function] + cls.add_method('EnablePcap', + 'void', + [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous', default_value='false')]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool promiscuous=false) [member function] + cls.add_method('EnablePcap', + 'void', + [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous', default_value='false')]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcapAll(std::string prefix, bool promiscuous=false) [member function] + cls.add_method('EnablePcapAll', + 'void', + [param('std::string', 'prefix'), param('bool', 'promiscuous', default_value='false')]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] + cls.add_method('EnablePcapInternal', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3SequenceNumber32_methods(root_module, cls): cls.add_binary_comparison_operator('!=') cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('ns3::SequenceNumber< unsigned int, int > const &', 'right')) diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py index 16aebb320..db0c43e3c 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py @@ -3,6 +3,8 @@ from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandler def register_types(module): root_module = module.get_root() + ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper [class] + module.add_class('Ipv4NixVectorHelper', parent=root_module['ns3::Ipv4RoutingHelper']) ## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting [class] module.add_class('Ipv4NixVectorRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >', 'ns3::NixMap_t') @@ -103,9 +105,27 @@ def register_types_ns3_olsr(module): def register_methods(root_module): + register_Ns3Ipv4NixVectorHelper_methods(root_module, root_module['ns3::Ipv4NixVectorHelper']) register_Ns3Ipv4NixVectorRouting_methods(root_module, root_module['ns3::Ipv4NixVectorRouting']) return +def register_Ns3Ipv4NixVectorHelper_methods(root_module, cls): + ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper() [constructor] + cls.add_constructor([]) + ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper(ns3::Ipv4NixVectorHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4NixVectorHelper const &', 'arg0')]) + ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper * ns3::Ipv4NixVectorHelper::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ipv4NixVectorHelper *', + [], + is_const=True, is_virtual=True) + ## ipv4-nix-vector-helper.h: ns3::Ptr ns3::Ipv4NixVectorHelper::Create(ns3::Ptr node) const [member function] + cls.add_method('Create', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True, is_virtual=True) + return + def register_Ns3Ipv4NixVectorRouting_methods(root_module, cls): ## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting::Ipv4NixVectorRouting(ns3::Ipv4NixVectorRouting const & arg0) [copy constructor] cls.add_constructor([param('ns3::Ipv4NixVectorRouting const &', 'arg0')]) diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_onoff.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_onoff.py deleted file mode 100644 index 26496891e..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_onoff.py +++ /dev/null @@ -1,178 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## onoff-application.h: ns3::OnOffApplication [class] - module.add_class('OnOffApplication', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3OnOffApplication_methods(root_module, root_module['ns3::OnOffApplication']) - return - -def register_Ns3OnOffApplication_methods(root_module, cls): - ## onoff-application.h: ns3::OnOffApplication::OnOffApplication(ns3::OnOffApplication const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OnOffApplication const &', 'arg0')]) - ## onoff-application.h: ns3::OnOffApplication::OnOffApplication() [constructor] - cls.add_constructor([]) - ## onoff-application.h: ns3::Ptr ns3::OnOffApplication::GetSocket() const [member function] - cls.add_method('GetSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_const=True) - ## onoff-application.h: static ns3::TypeId ns3::OnOffApplication::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## onoff-application.h: void ns3::OnOffApplication::SetMaxBytes(uint32_t maxBytes) [member function] - cls.add_method('SetMaxBytes', - 'void', - [param('uint32_t', 'maxBytes')]) - ## onoff-application.h: void ns3::OnOffApplication::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## onoff-application.h: void ns3::OnOffApplication::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## onoff-application.h: void ns3::OnOffApplication::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_packet_sink.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_packet_sink.py deleted file mode 100644 index 927f85c6d..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_packet_sink.py +++ /dev/null @@ -1,184 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## packet-sink.h: ns3::PacketSink [class] - module.add_class('PacketSink', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3PacketSink_methods(root_module, root_module['ns3::PacketSink']) - return - -def register_Ns3PacketSink_methods(root_module, cls): - ## packet-sink.h: ns3::PacketSink::PacketSink(ns3::PacketSink const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSink const &', 'arg0')]) - ## packet-sink.h: ns3::PacketSink::PacketSink() [constructor] - cls.add_constructor([]) - ## packet-sink.h: std::list, std::allocator > > ns3::PacketSink::GetAcceptedSockets() const [member function] - cls.add_method('GetAcceptedSockets', - 'std::list< ns3::Ptr< ns3::Socket > >', - [], - is_const=True) - ## packet-sink.h: ns3::Ptr ns3::PacketSink::GetListeningSocket() const [member function] - cls.add_method('GetListeningSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_const=True) - ## packet-sink.h: uint32_t ns3::PacketSink::GetTotalRx() const [member function] - cls.add_method('GetTotalRx', - 'uint32_t', - [], - is_const=True) - ## packet-sink.h: static ns3::TypeId ns3::PacketSink::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packet-sink.h: void ns3::PacketSink::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## packet-sink.h: void ns3::PacketSink::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## packet-sink.h: void ns3::PacketSink::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_ping6.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_ping6.py deleted file mode 100644 index 991abeb48..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_ping6.py +++ /dev/null @@ -1,185 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## ping6.h: ns3::Ping6 [class] - module.add_class('Ping6', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Ping6_methods(root_module, root_module['ns3::Ping6']) - return - -def register_Ns3Ping6_methods(root_module, cls): - ## ping6.h: ns3::Ping6::Ping6(ns3::Ping6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ping6 const &', 'arg0')]) - ## ping6.h: ns3::Ping6::Ping6() [constructor] - cls.add_constructor([]) - ## ping6.h: static ns3::TypeId ns3::Ping6::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ping6.h: void ns3::Ping6::SetIfIndex(uint32_t ifIndex) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t', 'ifIndex')]) - ## ping6.h: void ns3::Ping6::SetLocal(ns3::Ipv6Address ipv6) [member function] - cls.add_method('SetLocal', - 'void', - [param('ns3::Ipv6Address', 'ipv6')]) - ## ping6.h: void ns3::Ping6::SetRemote(ns3::Ipv6Address ipv6) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv6Address', 'ipv6')]) - ## ping6.h: void ns3::Ping6::SetRouters(std::vector > routers) [member function] - cls.add_method('SetRouters', - 'void', - [param('std::vector< ns3::Ipv6Address >', 'routers')]) - ## ping6.h: void ns3::Ping6::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## ping6.h: void ns3::Ping6::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## ping6.h: void ns3::Ping6::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_radvd.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_radvd.py deleted file mode 100644 index d87637abf..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_radvd.py +++ /dev/null @@ -1,449 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdInterface', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdPrefix', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## radvd.h: ns3::Radvd [class] - module.add_class('Radvd', parent=root_module['ns3::Application']) - ## radvd-interface.h: ns3::RadvdInterface [class] - module.add_class('RadvdInterface', parent=root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty, ns3::DefaultDeleter >']) - ## radvd-prefix.h: ns3::RadvdPrefix [class] - module.add_class('RadvdPrefix', parent=root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter >']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Radvd_methods(root_module, root_module['ns3::Radvd']) - register_Ns3RadvdInterface_methods(root_module, root_module['ns3::RadvdInterface']) - register_Ns3RadvdPrefix_methods(root_module, root_module['ns3::RadvdPrefix']) - return - -def register_Ns3Radvd_methods(root_module, cls): - ## radvd.h: ns3::Radvd::Radvd(ns3::Radvd const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Radvd const &', 'arg0')]) - ## radvd.h: ns3::Radvd::Radvd() [constructor] - cls.add_constructor([]) - ## radvd.h: void ns3::Radvd::AddConfiguration(ns3::Ptr routerInterface) [member function] - cls.add_method('AddConfiguration', - 'void', - [param('ns3::Ptr< ns3::RadvdInterface >', 'routerInterface')]) - ## radvd.h: static ns3::TypeId ns3::Radvd::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## radvd.h: ns3::Radvd::MAX_RA_DELAY_TIME [variable] - cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True) - ## radvd.h: void ns3::Radvd::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## radvd.h: void ns3::Radvd::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## radvd.h: void ns3::Radvd::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RadvdInterface_methods(root_module, cls): - ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(ns3::RadvdInterface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RadvdInterface const &', 'arg0')]) - ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface) [constructor] - cls.add_constructor([param('uint32_t', 'interface')]) - ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface, uint32_t maxRtrAdvInterval, uint32_t minRtrAdvInterval) [constructor] - cls.add_constructor([param('uint32_t', 'interface'), param('uint32_t', 'maxRtrAdvInterval'), param('uint32_t', 'minRtrAdvInterval')]) - ## radvd-interface.h: void ns3::RadvdInterface::AddPrefix(ns3::Ptr routerPrefix) [member function] - cls.add_method('AddPrefix', - 'void', - [param('ns3::Ptr< ns3::RadvdPrefix >', 'routerPrefix')]) - ## radvd-interface.h: uint8_t ns3::RadvdInterface::GetCurHopLimit() const [member function] - cls.add_method('GetCurHopLimit', - 'uint8_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetDefaultLifeTime() const [member function] - cls.add_method('GetDefaultLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint8_t ns3::RadvdInterface::GetDefaultPreference() const [member function] - cls.add_method('GetDefaultPreference', - 'uint8_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentLifeTime() const [member function] - cls.add_method('GetHomeAgentLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentPreference() const [member function] - cls.add_method('GetHomeAgentPreference', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetInterface() const [member function] - cls.add_method('GetInterface', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetLinkMtu() const [member function] - cls.add_method('GetLinkMtu', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMaxRtrAdvInterval() const [member function] - cls.add_method('GetMaxRtrAdvInterval', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinDelayBetweenRAs() const [member function] - cls.add_method('GetMinDelayBetweenRAs', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinRtrAdvInterval() const [member function] - cls.add_method('GetMinRtrAdvInterval', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: std::list, std::allocator > > ns3::RadvdInterface::GetPrefixes() const [member function] - cls.add_method('GetPrefixes', - 'std::list< ns3::Ptr< ns3::RadvdPrefix > >', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetReachableTime() const [member function] - cls.add_method('GetReachableTime', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetRetransTimer() const [member function] - cls.add_method('GetRetransTimer', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentFlag() const [member function] - cls.add_method('IsHomeAgentFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentInfo() const [member function] - cls.add_method('IsHomeAgentInfo', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsIntervalOpt() const [member function] - cls.add_method('IsIntervalOpt', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsManagedFlag() const [member function] - cls.add_method('IsManagedFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsMobRtrSupportFlag() const [member function] - cls.add_method('IsMobRtrSupportFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsOtherConfigFlag() const [member function] - cls.add_method('IsOtherConfigFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsSendAdvert() const [member function] - cls.add_method('IsSendAdvert', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsSourceLLAddress() const [member function] - cls.add_method('IsSourceLLAddress', - 'bool', - [], - is_const=True) - ## radvd-interface.h: void ns3::RadvdInterface::SetCurHopLimit(uint8_t curHopLimit) [member function] - cls.add_method('SetCurHopLimit', - 'void', - [param('uint8_t', 'curHopLimit')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetDefaultLifeTime(uint32_t defaultLifeTime) [member function] - cls.add_method('SetDefaultLifeTime', - 'void', - [param('uint32_t', 'defaultLifeTime')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetDefaultPreference(uint8_t defaultPreference) [member function] - cls.add_method('SetDefaultPreference', - 'void', - [param('uint8_t', 'defaultPreference')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentFlag(bool homeAgentFlag) [member function] - cls.add_method('SetHomeAgentFlag', - 'void', - [param('bool', 'homeAgentFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentInfo(bool homeAgentFlag) [member function] - cls.add_method('SetHomeAgentInfo', - 'void', - [param('bool', 'homeAgentFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentLifeTime(uint32_t homeAgentLifeTime) [member function] - cls.add_method('SetHomeAgentLifeTime', - 'void', - [param('uint32_t', 'homeAgentLifeTime')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentPreference(uint32_t homeAgentPreference) [member function] - cls.add_method('SetHomeAgentPreference', - 'void', - [param('uint32_t', 'homeAgentPreference')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetIntervalOpt(bool intervalOpt) [member function] - cls.add_method('SetIntervalOpt', - 'void', - [param('bool', 'intervalOpt')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetLinkMtu(uint32_t linkMtu) [member function] - cls.add_method('SetLinkMtu', - 'void', - [param('uint32_t', 'linkMtu')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetManagedFlag(bool managedFlag) [member function] - cls.add_method('SetManagedFlag', - 'void', - [param('bool', 'managedFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMaxRtrAdvInterval(uint32_t maxRtrAdvInterval) [member function] - cls.add_method('SetMaxRtrAdvInterval', - 'void', - [param('uint32_t', 'maxRtrAdvInterval')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMinDelayBetweenRAs(uint32_t minDelayBetweenRAs) [member function] - cls.add_method('SetMinDelayBetweenRAs', - 'void', - [param('uint32_t', 'minDelayBetweenRAs')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMinRtrAdvInterval(uint32_t minRtrAdvInterval) [member function] - cls.add_method('SetMinRtrAdvInterval', - 'void', - [param('uint32_t', 'minRtrAdvInterval')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMobRtrSupportFlag(bool mobRtrSupportFlag) [member function] - cls.add_method('SetMobRtrSupportFlag', - 'void', - [param('bool', 'mobRtrSupportFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetOtherConfigFlag(bool otherConfigFlag) [member function] - cls.add_method('SetOtherConfigFlag', - 'void', - [param('bool', 'otherConfigFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetReachableTime(uint32_t reachableTime) [member function] - cls.add_method('SetReachableTime', - 'void', - [param('uint32_t', 'reachableTime')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetRetransTimer(uint32_t retransTimer) [member function] - cls.add_method('SetRetransTimer', - 'void', - [param('uint32_t', 'retransTimer')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetSendAdvert(bool sendAdvert) [member function] - cls.add_method('SetSendAdvert', - 'void', - [param('bool', 'sendAdvert')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetSourceLLAddress(bool sourceLLAddress) [member function] - cls.add_method('SetSourceLLAddress', - 'void', - [param('bool', 'sourceLLAddress')]) - return - -def register_Ns3RadvdPrefix_methods(root_module, cls): - ## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::RadvdPrefix const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RadvdPrefix const &', 'arg0')]) - ## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::Ipv6Address network, uint8_t prefixLength, uint32_t preferredLifeTime=604800, uint32_t validLifeTime=2592000, bool onLinkFlag=true, bool autonomousFlag=true, bool routerAddrFlag=false) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'network'), param('uint8_t', 'prefixLength'), param('uint32_t', 'preferredLifeTime', default_value='604800'), param('uint32_t', 'validLifeTime', default_value='2592000'), param('bool', 'onLinkFlag', default_value='true'), param('bool', 'autonomousFlag', default_value='true'), param('bool', 'routerAddrFlag', default_value='false')]) - ## radvd-prefix.h: ns3::Ipv6Address ns3::RadvdPrefix::GetNetwork() const [member function] - cls.add_method('GetNetwork', - 'ns3::Ipv6Address', - [], - is_const=True) - ## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetPreferredLifeTime() const [member function] - cls.add_method('GetPreferredLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-prefix.h: uint8_t ns3::RadvdPrefix::GetPrefixLength() const [member function] - cls.add_method('GetPrefixLength', - 'uint8_t', - [], - is_const=True) - ## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetValidLifeTime() const [member function] - cls.add_method('GetValidLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-prefix.h: bool ns3::RadvdPrefix::IsAutonomousFlag() const [member function] - cls.add_method('IsAutonomousFlag', - 'bool', - [], - is_const=True) - ## radvd-prefix.h: bool ns3::RadvdPrefix::IsOnLinkFlag() const [member function] - cls.add_method('IsOnLinkFlag', - 'bool', - [], - is_const=True) - ## radvd-prefix.h: bool ns3::RadvdPrefix::IsRouterAddrFlag() const [member function] - cls.add_method('IsRouterAddrFlag', - 'bool', - [], - is_const=True) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetAutonomousFlag(bool autonomousFlag) [member function] - cls.add_method('SetAutonomousFlag', - 'void', - [param('bool', 'autonomousFlag')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetNetwork(ns3::Ipv6Address network) [member function] - cls.add_method('SetNetwork', - 'void', - [param('ns3::Ipv6Address', 'network')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetOnLinkFlag(bool onLinkFlag) [member function] - cls.add_method('SetOnLinkFlag', - 'void', - [param('bool', 'onLinkFlag')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetPreferredLifeTime(uint32_t preferredLifeTime) [member function] - cls.add_method('SetPreferredLifeTime', - 'void', - [param('uint32_t', 'preferredLifeTime')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetPrefixLength(uint8_t prefixLength) [member function] - cls.add_method('SetPrefixLength', - 'void', - [param('uint8_t', 'prefixLength')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetRouterAddrFlag(bool routerAddrFlag) [member function] - cls.add_method('SetRouterAddrFlag', - 'void', - [param('bool', 'routerAddrFlag')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetValidLifeTime(uint32_t validLifeTime) [member function] - cls.add_method('SetValidLifeTime', - 'void', - [param('uint32_t', 'validLifeTime')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_udp_client_server.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_udp_client_server.py deleted file mode 100644 index aef6e659b..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_udp_client_server.py +++ /dev/null @@ -1,298 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## packet-loss-counter.h: ns3::PacketLossCounter [class] - module.add_class('PacketLossCounter') - ## udp-client.h: ns3::UdpClient [class] - module.add_class('UdpClient', parent=root_module['ns3::Application']) - ## udp-server.h: ns3::UdpServer [class] - module.add_class('UdpServer', parent=root_module['ns3::Application']) - ## udp-trace-client.h: ns3::UdpTraceClient [class] - module.add_class('UdpTraceClient', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3PacketLossCounter_methods(root_module, root_module['ns3::PacketLossCounter']) - register_Ns3UdpClient_methods(root_module, root_module['ns3::UdpClient']) - register_Ns3UdpServer_methods(root_module, root_module['ns3::UdpServer']) - register_Ns3UdpTraceClient_methods(root_module, root_module['ns3::UdpTraceClient']) - return - -def register_Ns3PacketLossCounter_methods(root_module, cls): - ## packet-loss-counter.h: ns3::PacketLossCounter::PacketLossCounter(ns3::PacketLossCounter const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketLossCounter const &', 'arg0')]) - ## packet-loss-counter.h: ns3::PacketLossCounter::PacketLossCounter(uint8_t bitmapSize) [constructor] - cls.add_constructor([param('uint8_t', 'bitmapSize')]) - ## packet-loss-counter.h: uint16_t ns3::PacketLossCounter::GetBitMapSize() const [member function] - cls.add_method('GetBitMapSize', - 'uint16_t', - [], - is_const=True) - ## packet-loss-counter.h: uint32_t ns3::PacketLossCounter::GetLost() const [member function] - cls.add_method('GetLost', - 'uint32_t', - [], - is_const=True) - ## packet-loss-counter.h: void ns3::PacketLossCounter::NotifyReceived(uint32_t seq) [member function] - cls.add_method('NotifyReceived', - 'void', - [param('uint32_t', 'seq')]) - ## packet-loss-counter.h: void ns3::PacketLossCounter::SetBitMapSize(uint16_t size) [member function] - cls.add_method('SetBitMapSize', - 'void', - [param('uint16_t', 'size')]) - return - -def register_Ns3UdpClient_methods(root_module, cls): - ## udp-client.h: ns3::UdpClient::UdpClient(ns3::UdpClient const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpClient const &', 'arg0')]) - ## udp-client.h: ns3::UdpClient::UdpClient() [constructor] - cls.add_constructor([]) - ## udp-client.h: static ns3::TypeId ns3::UdpClient::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-client.h: void ns3::UdpClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-client.h: void ns3::UdpClient::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-client.h: void ns3::UdpClient::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-client.h: void ns3::UdpClient::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpServer_methods(root_module, cls): - ## udp-server.h: ns3::UdpServer::UdpServer(ns3::UdpServer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpServer const &', 'arg0')]) - ## udp-server.h: ns3::UdpServer::UdpServer() [constructor] - cls.add_constructor([]) - ## udp-server.h: uint32_t ns3::UdpServer::GetLost() const [member function] - cls.add_method('GetLost', - 'uint32_t', - [], - is_const=True) - ## udp-server.h: uint16_t ns3::UdpServer::GetPacketWindowSize() const [member function] - cls.add_method('GetPacketWindowSize', - 'uint16_t', - [], - is_const=True) - ## udp-server.h: uint32_t ns3::UdpServer::GetReceived() const [member function] - cls.add_method('GetReceived', - 'uint32_t', - [], - is_const=True) - ## udp-server.h: static ns3::TypeId ns3::UdpServer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-server.h: void ns3::UdpServer::SetPacketWindowSize(uint16_t size) [member function] - cls.add_method('SetPacketWindowSize', - 'void', - [param('uint16_t', 'size')]) - ## udp-server.h: void ns3::UdpServer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-server.h: void ns3::UdpServer::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-server.h: void ns3::UdpServer::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpTraceClient_methods(root_module, cls): - ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient(ns3::UdpTraceClient const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpTraceClient const &', 'arg0')]) - ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient() [constructor] - cls.add_constructor([]) - ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient(ns3::Ipv4Address ip, uint16_t port, char * traceFile) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port'), param('char *', 'traceFile')]) - ## udp-trace-client.h: uint16_t ns3::UdpTraceClient::GetMaxPacketSize() [member function] - cls.add_method('GetMaxPacketSize', - 'uint16_t', - []) - ## udp-trace-client.h: static ns3::TypeId ns3::UdpTraceClient::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-trace-client.h: void ns3::UdpTraceClient::SetMaxPacketSize(uint16_t maxPacketSize) [member function] - cls.add_method('SetMaxPacketSize', - 'void', - [param('uint16_t', 'maxPacketSize')]) - ## udp-trace-client.h: void ns3::UdpTraceClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-trace-client.h: void ns3::UdpTraceClient::SetTraceFile(std::string filename) [member function] - cls.add_method('SetTraceFile', - 'void', - [param('std::string', 'filename')]) - ## udp-trace-client.h: void ns3::UdpTraceClient::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-trace-client.h: void ns3::UdpTraceClient::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-trace-client.h: void ns3::UdpTraceClient::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_udp_echo.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_udp_echo.py deleted file mode 100644 index b161c4ec6..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_udp_echo.py +++ /dev/null @@ -1,224 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## udp-echo-client.h: ns3::UdpEchoClient [class] - module.add_class('UdpEchoClient', parent=root_module['ns3::Application']) - ## udp-echo-server.h: ns3::UdpEchoServer [class] - module.add_class('UdpEchoServer', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3UdpEchoClient_methods(root_module, root_module['ns3::UdpEchoClient']) - register_Ns3UdpEchoServer_methods(root_module, root_module['ns3::UdpEchoServer']) - return - -def register_Ns3UdpEchoClient_methods(root_module, cls): - ## udp-echo-client.h: ns3::UdpEchoClient::UdpEchoClient(ns3::UdpEchoClient const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoClient const &', 'arg0')]) - ## udp-echo-client.h: ns3::UdpEchoClient::UdpEchoClient() [constructor] - cls.add_constructor([]) - ## udp-echo-client.h: uint32_t ns3::UdpEchoClient::GetDataSize() const [member function] - cls.add_method('GetDataSize', - 'uint32_t', - [], - is_const=True) - ## udp-echo-client.h: static ns3::TypeId ns3::UdpEchoClient::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetDataSize(uint32_t dataSize) [member function] - cls.add_method('SetDataSize', - 'void', - [param('uint32_t', 'dataSize')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(std::string fill) [member function] - cls.add_method('SetFill', - 'void', - [param('std::string', 'fill')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(uint8_t fill, uint32_t dataSize) [member function] - cls.add_method('SetFill', - 'void', - [param('uint8_t', 'fill'), param('uint32_t', 'dataSize')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(uint8_t * fill, uint32_t fillSize, uint32_t dataSize) [member function] - cls.add_method('SetFill', - 'void', - [param('uint8_t *', 'fill'), param('uint32_t', 'fillSize'), param('uint32_t', 'dataSize')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-echo-client.h: void ns3::UdpEchoClient::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-echo-client.h: void ns3::UdpEchoClient::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpEchoServer_methods(root_module, cls): - ## udp-echo-server.h: ns3::UdpEchoServer::UdpEchoServer(ns3::UdpEchoServer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoServer const &', 'arg0')]) - ## udp-echo-server.h: ns3::UdpEchoServer::UdpEchoServer() [constructor] - cls.add_constructor([]) - ## udp-echo-server.h: static ns3::TypeId ns3::UdpEchoServer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-echo-server.h: void ns3::UdpEchoServer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-echo-server.h: void ns3::UdpEchoServer::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-echo-server.h: void ns3::UdpEchoServer::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_v4ping.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_v4ping.py deleted file mode 100644 index e026e3844..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_v4ping.py +++ /dev/null @@ -1,169 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## v4ping.h: ns3::V4Ping [class] - module.add_class('V4Ping', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3V4Ping_methods(root_module, root_module['ns3::V4Ping']) - return - -def register_Ns3V4Ping_methods(root_module, cls): - ## v4ping.h: ns3::V4Ping::V4Ping(ns3::V4Ping const & arg0) [copy constructor] - cls.add_constructor([param('ns3::V4Ping const &', 'arg0')]) - ## v4ping.h: ns3::V4Ping::V4Ping() [constructor] - cls.add_constructor([]) - ## v4ping.h: static ns3::TypeId ns3::V4Ping::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## v4ping.h: void ns3::V4Ping::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## v4ping.h: void ns3::V4Ping::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## v4ping.h: void ns3::V4Ping::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py b/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py index 2e12fb326..fd2374d23 100644 --- a/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py +++ b/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py @@ -13,46 +13,39 @@ pybindgen.settings.error_handler = ErrorHandler() import sys import ns3_module_core -import ns3_module_mobility import ns3_module_network import ns3_module_test import ns3_module_visualizer import ns3_module_bridge -import ns3_module_bulk_send import ns3_module_contrib import ns3_module_csma import ns3_module_emu +import ns3_module_mobility import ns3_module_mpi -import ns3_module_onoff -import ns3_module_packet_sink -import ns3_module_propagation import ns3_module_stats -import ns3_module_tap_bridge import ns3_module_topology_read -import ns3_module_v4ping import ns3_module_virtual_net_device -import ns3_module_wifi -import ns3_module_wimax +import ns3_module_propagation import ns3_module_internet import ns3_module_point_to_point import ns3_module_spectrum -import ns3_module_energy -import ns3_module_mesh +import ns3_module_wifi import ns3_module_aodv +import ns3_module_applications import ns3_module_click +import ns3_module_dsdv import ns3_module_flow_monitor import ns3_module_nix_vector_routing -import ns3_module_ping6 -import ns3_module_radvd -import ns3_module_udp_client_server -import ns3_module_udp_echo +import ns3_module_olsr +import ns3_module_tap_bridge import ns3_module_lte +import ns3_module_wimax +import ns3_module_energy +import ns3_module_helper +import ns3_module_mesh import ns3_module_uan import ns3_module_dot11s import ns3_module_flame -import ns3_module_helper -import ns3_module_dsdv -import ns3_module_olsr def module_init(): root_module = Module('ns3', cpp_namespace='::ns3') @@ -72,17 +65,6 @@ def register_types(module): ns3_module_core__local.register_types(module) root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_mobility') - ns3_module_mobility.register_types(module) - - try: - import ns3_module_mobility__local - except ImportError: - pass - else: - ns3_module_mobility__local.register_types(module) - - root_module.end_section('ns3_module_mobility') root_module.begin_section('ns3_module_network') ns3_module_network.register_types(module) @@ -127,17 +109,6 @@ def register_types(module): ns3_module_bridge__local.register_types(module) root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_bulk_send') - ns3_module_bulk_send.register_types(module) - - try: - import ns3_module_bulk_send__local - except ImportError: - pass - else: - ns3_module_bulk_send__local.register_types(module) - - root_module.end_section('ns3_module_bulk_send') root_module.begin_section('ns3_module_contrib') ns3_module_contrib.register_types(module) @@ -171,6 +142,17 @@ def register_types(module): ns3_module_emu__local.register_types(module) root_module.end_section('ns3_module_emu') + root_module.begin_section('ns3_module_mobility') + ns3_module_mobility.register_types(module) + + try: + import ns3_module_mobility__local + except ImportError: + pass + else: + ns3_module_mobility__local.register_types(module) + + root_module.end_section('ns3_module_mobility') root_module.begin_section('ns3_module_mpi') ns3_module_mpi.register_types(module) @@ -182,39 +164,6 @@ def register_types(module): ns3_module_mpi__local.register_types(module) root_module.end_section('ns3_module_mpi') - 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.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_propagation') - ns3_module_propagation.register_types(module) - - try: - import ns3_module_propagation__local - except ImportError: - pass - else: - ns3_module_propagation__local.register_types(module) - - root_module.end_section('ns3_module_propagation') root_module.begin_section('ns3_module_stats') ns3_module_stats.register_types(module) @@ -226,17 +175,6 @@ def register_types(module): ns3_module_stats__local.register_types(module) root_module.end_section('ns3_module_stats') - 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_topology_read') ns3_module_topology_read.register_types(module) @@ -248,17 +186,6 @@ def register_types(module): ns3_module_topology_read__local.register_types(module) root_module.end_section('ns3_module_topology_read') - 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) @@ -270,28 +197,17 @@ def register_types(module): 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) + root_module.begin_section('ns3_module_propagation') + ns3_module_propagation.register_types(module) try: - import ns3_module_wifi__local + import ns3_module_propagation__local except ImportError: pass else: - ns3_module_wifi__local.register_types(module) + ns3_module_propagation__local.register_types(module) - root_module.end_section('ns3_module_wifi') - root_module.begin_section('ns3_module_wimax') - ns3_module_wimax.register_types(module) - - try: - import ns3_module_wimax__local - except ImportError: - pass - else: - ns3_module_wimax__local.register_types(module) - - root_module.end_section('ns3_module_wimax') + root_module.end_section('ns3_module_propagation') root_module.begin_section('ns3_module_internet') ns3_module_internet.register_types(module) @@ -325,28 +241,17 @@ def register_types(module): ns3_module_spectrum__local.register_types(module) root_module.end_section('ns3_module_spectrum') - root_module.begin_section('ns3_module_energy') - ns3_module_energy.register_types(module) + root_module.begin_section('ns3_module_wifi') + ns3_module_wifi.register_types(module) try: - import ns3_module_energy__local + import ns3_module_wifi__local except ImportError: pass else: - ns3_module_energy__local.register_types(module) + ns3_module_wifi__local.register_types(module) - root_module.end_section('ns3_module_energy') - root_module.begin_section('ns3_module_mesh') - ns3_module_mesh.register_types(module) - - try: - import ns3_module_mesh__local - except ImportError: - pass - else: - ns3_module_mesh__local.register_types(module) - - root_module.end_section('ns3_module_mesh') + root_module.end_section('ns3_module_wifi') root_module.begin_section('ns3_module_aodv') ns3_module_aodv.register_types(module) @@ -358,6 +263,17 @@ def register_types(module): ns3_module_aodv__local.register_types(module) root_module.end_section('ns3_module_aodv') + root_module.begin_section('ns3_module_applications') + ns3_module_applications.register_types(module) + + try: + import ns3_module_applications__local + except ImportError: + pass + else: + ns3_module_applications__local.register_types(module) + + root_module.end_section('ns3_module_applications') root_module.begin_section('ns3_module_click') ns3_module_click.register_types(module) @@ -369,6 +285,17 @@ def register_types(module): ns3_module_click__local.register_types(module) root_module.end_section('ns3_module_click') + root_module.begin_section('ns3_module_dsdv') + ns3_module_dsdv.register_types(module) + + try: + import ns3_module_dsdv__local + except ImportError: + pass + else: + ns3_module_dsdv__local.register_types(module) + + root_module.end_section('ns3_module_dsdv') root_module.begin_section('ns3_module_flow_monitor') ns3_module_flow_monitor.register_types(module) @@ -391,50 +318,28 @@ def register_types(module): ns3_module_nix_vector_routing__local.register_types(module) root_module.end_section('ns3_module_nix_vector_routing') - root_module.begin_section('ns3_module_ping6') - ns3_module_ping6.register_types(module) + root_module.begin_section('ns3_module_olsr') + ns3_module_olsr.register_types(module) try: - import ns3_module_ping6__local + import ns3_module_olsr__local except ImportError: pass else: - ns3_module_ping6__local.register_types(module) + ns3_module_olsr__local.register_types(module) - root_module.end_section('ns3_module_ping6') - root_module.begin_section('ns3_module_radvd') - ns3_module_radvd.register_types(module) + root_module.end_section('ns3_module_olsr') + root_module.begin_section('ns3_module_tap_bridge') + ns3_module_tap_bridge.register_types(module) try: - import ns3_module_radvd__local + import ns3_module_tap_bridge__local except ImportError: pass else: - ns3_module_radvd__local.register_types(module) + ns3_module_tap_bridge__local.register_types(module) - root_module.end_section('ns3_module_radvd') - root_module.begin_section('ns3_module_udp_client_server') - ns3_module_udp_client_server.register_types(module) - - try: - import ns3_module_udp_client_server__local - except ImportError: - pass - else: - ns3_module_udp_client_server__local.register_types(module) - - root_module.end_section('ns3_module_udp_client_server') - root_module.begin_section('ns3_module_udp_echo') - ns3_module_udp_echo.register_types(module) - - try: - import ns3_module_udp_echo__local - except ImportError: - pass - else: - ns3_module_udp_echo__local.register_types(module) - - root_module.end_section('ns3_module_udp_echo') + root_module.end_section('ns3_module_tap_bridge') root_module.begin_section('ns3_module_lte') ns3_module_lte.register_types(module) @@ -446,6 +351,50 @@ def register_types(module): ns3_module_lte__local.register_types(module) root_module.end_section('ns3_module_lte') + root_module.begin_section('ns3_module_wimax') + ns3_module_wimax.register_types(module) + + try: + import ns3_module_wimax__local + except ImportError: + pass + else: + ns3_module_wimax__local.register_types(module) + + root_module.end_section('ns3_module_wimax') + root_module.begin_section('ns3_module_energy') + ns3_module_energy.register_types(module) + + try: + import ns3_module_energy__local + except ImportError: + pass + else: + ns3_module_energy__local.register_types(module) + + root_module.end_section('ns3_module_energy') + root_module.begin_section('ns3_module_helper') + ns3_module_helper.register_types(module) + + try: + import ns3_module_helper__local + except ImportError: + pass + else: + ns3_module_helper__local.register_types(module) + + root_module.end_section('ns3_module_helper') + root_module.begin_section('ns3_module_mesh') + ns3_module_mesh.register_types(module) + + try: + import ns3_module_mesh__local + except ImportError: + pass + else: + ns3_module_mesh__local.register_types(module) + + root_module.end_section('ns3_module_mesh') root_module.begin_section('ns3_module_uan') ns3_module_uan.register_types(module) @@ -479,39 +428,6 @@ def register_types(module): ns3_module_flame__local.register_types(module) root_module.end_section('ns3_module_flame') - root_module.begin_section('ns3_module_helper') - ns3_module_helper.register_types(module) - - try: - import ns3_module_helper__local - except ImportError: - pass - else: - ns3_module_helper__local.register_types(module) - - root_module.end_section('ns3_module_helper') - root_module.begin_section('ns3_module_dsdv') - ns3_module_dsdv.register_types(module) - - try: - import ns3_module_dsdv__local - except ImportError: - pass - else: - ns3_module_dsdv__local.register_types(module) - - root_module.end_section('ns3_module_dsdv') - root_module.begin_section('ns3_module_olsr') - ns3_module_olsr.register_types(module) - - try: - import ns3_module_olsr__local - except ImportError: - pass - else: - ns3_module_olsr__local.register_types(module) - - root_module.end_section('ns3_module_olsr') module.add_container('std::vector< unsigned int >', 'unsigned int', container_type='vector') module.add_container('std::vector< bool >', 'bool', container_type='vector') module.add_container('std::vector< int >', 'int', container_type='vector') @@ -635,17 +551,6 @@ def register_methods(root_module): ns3_module_core__local.register_methods(root_module) root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_mobility') - ns3_module_mobility.register_methods(root_module) - - try: - import ns3_module_mobility__local - except ImportError: - pass - else: - ns3_module_mobility__local.register_methods(root_module) - - root_module.end_section('ns3_module_mobility') root_module.begin_section('ns3_module_network') ns3_module_network.register_methods(root_module) @@ -690,17 +595,6 @@ 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_bulk_send') - ns3_module_bulk_send.register_methods(root_module) - - try: - import ns3_module_bulk_send__local - except ImportError: - pass - else: - ns3_module_bulk_send__local.register_methods(root_module) - - root_module.end_section('ns3_module_bulk_send') root_module.begin_section('ns3_module_contrib') ns3_module_contrib.register_methods(root_module) @@ -734,6 +628,17 @@ def register_methods(root_module): ns3_module_emu__local.register_methods(root_module) root_module.end_section('ns3_module_emu') + root_module.begin_section('ns3_module_mobility') + ns3_module_mobility.register_methods(root_module) + + try: + import ns3_module_mobility__local + except ImportError: + pass + else: + ns3_module_mobility__local.register_methods(root_module) + + root_module.end_section('ns3_module_mobility') root_module.begin_section('ns3_module_mpi') ns3_module_mpi.register_methods(root_module) @@ -745,39 +650,6 @@ def register_methods(root_module): ns3_module_mpi__local.register_methods(root_module) root_module.end_section('ns3_module_mpi') - 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.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_propagation') - ns3_module_propagation.register_methods(root_module) - - try: - import ns3_module_propagation__local - except ImportError: - pass - else: - ns3_module_propagation__local.register_methods(root_module) - - root_module.end_section('ns3_module_propagation') root_module.begin_section('ns3_module_stats') ns3_module_stats.register_methods(root_module) @@ -789,17 +661,6 @@ def register_methods(root_module): ns3_module_stats__local.register_methods(root_module) root_module.end_section('ns3_module_stats') - 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_topology_read') ns3_module_topology_read.register_methods(root_module) @@ -811,17 +672,6 @@ def register_methods(root_module): ns3_module_topology_read__local.register_methods(root_module) root_module.end_section('ns3_module_topology_read') - 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) @@ -833,28 +683,17 @@ def register_methods(root_module): 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) + root_module.begin_section('ns3_module_propagation') + ns3_module_propagation.register_methods(root_module) try: - import ns3_module_wifi__local + import ns3_module_propagation__local except ImportError: pass else: - ns3_module_wifi__local.register_methods(root_module) + ns3_module_propagation__local.register_methods(root_module) - root_module.end_section('ns3_module_wifi') - root_module.begin_section('ns3_module_wimax') - ns3_module_wimax.register_methods(root_module) - - try: - import ns3_module_wimax__local - except ImportError: - pass - else: - ns3_module_wimax__local.register_methods(root_module) - - root_module.end_section('ns3_module_wimax') + root_module.end_section('ns3_module_propagation') root_module.begin_section('ns3_module_internet') ns3_module_internet.register_methods(root_module) @@ -888,28 +727,17 @@ def register_methods(root_module): ns3_module_spectrum__local.register_methods(root_module) root_module.end_section('ns3_module_spectrum') - root_module.begin_section('ns3_module_energy') - ns3_module_energy.register_methods(root_module) + root_module.begin_section('ns3_module_wifi') + ns3_module_wifi.register_methods(root_module) try: - import ns3_module_energy__local + import ns3_module_wifi__local except ImportError: pass else: - ns3_module_energy__local.register_methods(root_module) + ns3_module_wifi__local.register_methods(root_module) - root_module.end_section('ns3_module_energy') - root_module.begin_section('ns3_module_mesh') - ns3_module_mesh.register_methods(root_module) - - try: - import ns3_module_mesh__local - except ImportError: - pass - else: - ns3_module_mesh__local.register_methods(root_module) - - root_module.end_section('ns3_module_mesh') + root_module.end_section('ns3_module_wifi') root_module.begin_section('ns3_module_aodv') ns3_module_aodv.register_methods(root_module) @@ -921,6 +749,17 @@ def register_methods(root_module): ns3_module_aodv__local.register_methods(root_module) root_module.end_section('ns3_module_aodv') + root_module.begin_section('ns3_module_applications') + ns3_module_applications.register_methods(root_module) + + try: + import ns3_module_applications__local + except ImportError: + pass + else: + ns3_module_applications__local.register_methods(root_module) + + root_module.end_section('ns3_module_applications') root_module.begin_section('ns3_module_click') ns3_module_click.register_methods(root_module) @@ -932,6 +771,17 @@ def register_methods(root_module): ns3_module_click__local.register_methods(root_module) root_module.end_section('ns3_module_click') + root_module.begin_section('ns3_module_dsdv') + ns3_module_dsdv.register_methods(root_module) + + try: + import ns3_module_dsdv__local + except ImportError: + pass + else: + ns3_module_dsdv__local.register_methods(root_module) + + root_module.end_section('ns3_module_dsdv') root_module.begin_section('ns3_module_flow_monitor') ns3_module_flow_monitor.register_methods(root_module) @@ -954,50 +804,28 @@ def register_methods(root_module): ns3_module_nix_vector_routing__local.register_methods(root_module) root_module.end_section('ns3_module_nix_vector_routing') - root_module.begin_section('ns3_module_ping6') - ns3_module_ping6.register_methods(root_module) + root_module.begin_section('ns3_module_olsr') + ns3_module_olsr.register_methods(root_module) try: - import ns3_module_ping6__local + import ns3_module_olsr__local except ImportError: pass else: - ns3_module_ping6__local.register_methods(root_module) + ns3_module_olsr__local.register_methods(root_module) - root_module.end_section('ns3_module_ping6') - root_module.begin_section('ns3_module_radvd') - ns3_module_radvd.register_methods(root_module) + root_module.end_section('ns3_module_olsr') + root_module.begin_section('ns3_module_tap_bridge') + ns3_module_tap_bridge.register_methods(root_module) try: - import ns3_module_radvd__local + import ns3_module_tap_bridge__local except ImportError: pass else: - ns3_module_radvd__local.register_methods(root_module) + ns3_module_tap_bridge__local.register_methods(root_module) - root_module.end_section('ns3_module_radvd') - root_module.begin_section('ns3_module_udp_client_server') - ns3_module_udp_client_server.register_methods(root_module) - - try: - import ns3_module_udp_client_server__local - except ImportError: - pass - else: - ns3_module_udp_client_server__local.register_methods(root_module) - - root_module.end_section('ns3_module_udp_client_server') - root_module.begin_section('ns3_module_udp_echo') - ns3_module_udp_echo.register_methods(root_module) - - try: - import ns3_module_udp_echo__local - except ImportError: - pass - else: - ns3_module_udp_echo__local.register_methods(root_module) - - root_module.end_section('ns3_module_udp_echo') + root_module.end_section('ns3_module_tap_bridge') root_module.begin_section('ns3_module_lte') ns3_module_lte.register_methods(root_module) @@ -1009,6 +837,50 @@ def register_methods(root_module): ns3_module_lte__local.register_methods(root_module) root_module.end_section('ns3_module_lte') + root_module.begin_section('ns3_module_wimax') + ns3_module_wimax.register_methods(root_module) + + try: + import ns3_module_wimax__local + except ImportError: + pass + else: + ns3_module_wimax__local.register_methods(root_module) + + root_module.end_section('ns3_module_wimax') + root_module.begin_section('ns3_module_energy') + ns3_module_energy.register_methods(root_module) + + try: + import ns3_module_energy__local + except ImportError: + pass + else: + ns3_module_energy__local.register_methods(root_module) + + root_module.end_section('ns3_module_energy') + root_module.begin_section('ns3_module_helper') + ns3_module_helper.register_methods(root_module) + + try: + import ns3_module_helper__local + except ImportError: + pass + else: + ns3_module_helper__local.register_methods(root_module) + + root_module.end_section('ns3_module_helper') + root_module.begin_section('ns3_module_mesh') + ns3_module_mesh.register_methods(root_module) + + try: + import ns3_module_mesh__local + except ImportError: + pass + else: + ns3_module_mesh__local.register_methods(root_module) + + root_module.end_section('ns3_module_mesh') root_module.begin_section('ns3_module_uan') ns3_module_uan.register_methods(root_module) @@ -1042,39 +914,6 @@ def register_methods(root_module): ns3_module_flame__local.register_methods(root_module) root_module.end_section('ns3_module_flame') - root_module.begin_section('ns3_module_helper') - ns3_module_helper.register_methods(root_module) - - try: - import ns3_module_helper__local - except ImportError: - pass - else: - ns3_module_helper__local.register_methods(root_module) - - root_module.end_section('ns3_module_helper') - root_module.begin_section('ns3_module_dsdv') - ns3_module_dsdv.register_methods(root_module) - - try: - import ns3_module_dsdv__local - except ImportError: - pass - else: - ns3_module_dsdv__local.register_methods(root_module) - - root_module.end_section('ns3_module_dsdv') - root_module.begin_section('ns3_module_olsr') - ns3_module_olsr.register_methods(root_module) - - try: - import ns3_module_olsr__local - except ImportError: - pass - else: - ns3_module_olsr__local.register_methods(root_module) - - root_module.end_section('ns3_module_olsr') return def register_functions(root_module): @@ -1090,17 +929,6 @@ def register_functions(root_module): ns3_module_core__local.register_functions(root_module) root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_mobility') - ns3_module_mobility.register_functions(root_module) - - try: - import ns3_module_mobility__local - except ImportError: - pass - else: - ns3_module_mobility__local.register_functions(root_module) - - root_module.end_section('ns3_module_mobility') root_module.begin_section('ns3_module_network') ns3_module_network.register_functions(root_module) @@ -1145,17 +973,6 @@ 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_bulk_send') - ns3_module_bulk_send.register_functions(root_module) - - try: - import ns3_module_bulk_send__local - except ImportError: - pass - else: - ns3_module_bulk_send__local.register_functions(root_module) - - root_module.end_section('ns3_module_bulk_send') root_module.begin_section('ns3_module_contrib') ns3_module_contrib.register_functions(root_module) @@ -1189,6 +1006,17 @@ def register_functions(root_module): ns3_module_emu__local.register_functions(root_module) root_module.end_section('ns3_module_emu') + root_module.begin_section('ns3_module_mobility') + ns3_module_mobility.register_functions(root_module) + + try: + import ns3_module_mobility__local + except ImportError: + pass + else: + ns3_module_mobility__local.register_functions(root_module) + + root_module.end_section('ns3_module_mobility') root_module.begin_section('ns3_module_mpi') ns3_module_mpi.register_functions(root_module) @@ -1200,39 +1028,6 @@ def register_functions(root_module): ns3_module_mpi__local.register_functions(root_module) root_module.end_section('ns3_module_mpi') - 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.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_propagation') - ns3_module_propagation.register_functions(root_module) - - try: - import ns3_module_propagation__local - except ImportError: - pass - else: - ns3_module_propagation__local.register_functions(root_module) - - root_module.end_section('ns3_module_propagation') root_module.begin_section('ns3_module_stats') ns3_module_stats.register_functions(root_module) @@ -1244,17 +1039,6 @@ def register_functions(root_module): ns3_module_stats__local.register_functions(root_module) root_module.end_section('ns3_module_stats') - 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_topology_read') ns3_module_topology_read.register_functions(root_module) @@ -1266,17 +1050,6 @@ def register_functions(root_module): ns3_module_topology_read__local.register_functions(root_module) root_module.end_section('ns3_module_topology_read') - 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) @@ -1288,28 +1061,17 @@ def register_functions(root_module): 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) + root_module.begin_section('ns3_module_propagation') + ns3_module_propagation.register_functions(root_module) try: - import ns3_module_wifi__local + import ns3_module_propagation__local except ImportError: pass else: - ns3_module_wifi__local.register_functions(root_module) + ns3_module_propagation__local.register_functions(root_module) - root_module.end_section('ns3_module_wifi') - root_module.begin_section('ns3_module_wimax') - ns3_module_wimax.register_functions(root_module) - - try: - import ns3_module_wimax__local - except ImportError: - pass - else: - ns3_module_wimax__local.register_functions(root_module) - - root_module.end_section('ns3_module_wimax') + root_module.end_section('ns3_module_propagation') root_module.begin_section('ns3_module_internet') ns3_module_internet.register_functions(root_module) @@ -1343,28 +1105,17 @@ def register_functions(root_module): ns3_module_spectrum__local.register_functions(root_module) root_module.end_section('ns3_module_spectrum') - root_module.begin_section('ns3_module_energy') - ns3_module_energy.register_functions(root_module) + root_module.begin_section('ns3_module_wifi') + ns3_module_wifi.register_functions(root_module) try: - import ns3_module_energy__local + import ns3_module_wifi__local except ImportError: pass else: - ns3_module_energy__local.register_functions(root_module) + ns3_module_wifi__local.register_functions(root_module) - root_module.end_section('ns3_module_energy') - root_module.begin_section('ns3_module_mesh') - ns3_module_mesh.register_functions(root_module) - - try: - import ns3_module_mesh__local - except ImportError: - pass - else: - ns3_module_mesh__local.register_functions(root_module) - - root_module.end_section('ns3_module_mesh') + root_module.end_section('ns3_module_wifi') root_module.begin_section('ns3_module_aodv') ns3_module_aodv.register_functions(root_module) @@ -1376,6 +1127,17 @@ def register_functions(root_module): ns3_module_aodv__local.register_functions(root_module) root_module.end_section('ns3_module_aodv') + root_module.begin_section('ns3_module_applications') + ns3_module_applications.register_functions(root_module) + + try: + import ns3_module_applications__local + except ImportError: + pass + else: + ns3_module_applications__local.register_functions(root_module) + + root_module.end_section('ns3_module_applications') root_module.begin_section('ns3_module_click') ns3_module_click.register_functions(root_module) @@ -1387,6 +1149,17 @@ def register_functions(root_module): ns3_module_click__local.register_functions(root_module) root_module.end_section('ns3_module_click') + root_module.begin_section('ns3_module_dsdv') + ns3_module_dsdv.register_functions(root_module) + + try: + import ns3_module_dsdv__local + except ImportError: + pass + else: + ns3_module_dsdv__local.register_functions(root_module) + + root_module.end_section('ns3_module_dsdv') root_module.begin_section('ns3_module_flow_monitor') ns3_module_flow_monitor.register_functions(root_module) @@ -1409,50 +1182,28 @@ def register_functions(root_module): ns3_module_nix_vector_routing__local.register_functions(root_module) root_module.end_section('ns3_module_nix_vector_routing') - root_module.begin_section('ns3_module_ping6') - ns3_module_ping6.register_functions(root_module) + root_module.begin_section('ns3_module_olsr') + ns3_module_olsr.register_functions(root_module) try: - import ns3_module_ping6__local + import ns3_module_olsr__local except ImportError: pass else: - ns3_module_ping6__local.register_functions(root_module) + ns3_module_olsr__local.register_functions(root_module) - root_module.end_section('ns3_module_ping6') - root_module.begin_section('ns3_module_radvd') - ns3_module_radvd.register_functions(root_module) + root_module.end_section('ns3_module_olsr') + root_module.begin_section('ns3_module_tap_bridge') + ns3_module_tap_bridge.register_functions(root_module) try: - import ns3_module_radvd__local + import ns3_module_tap_bridge__local except ImportError: pass else: - ns3_module_radvd__local.register_functions(root_module) + ns3_module_tap_bridge__local.register_functions(root_module) - root_module.end_section('ns3_module_radvd') - root_module.begin_section('ns3_module_udp_client_server') - ns3_module_udp_client_server.register_functions(root_module) - - try: - import ns3_module_udp_client_server__local - except ImportError: - pass - else: - ns3_module_udp_client_server__local.register_functions(root_module) - - root_module.end_section('ns3_module_udp_client_server') - root_module.begin_section('ns3_module_udp_echo') - ns3_module_udp_echo.register_functions(root_module) - - try: - import ns3_module_udp_echo__local - except ImportError: - pass - else: - ns3_module_udp_echo__local.register_functions(root_module) - - root_module.end_section('ns3_module_udp_echo') + root_module.end_section('ns3_module_tap_bridge') root_module.begin_section('ns3_module_lte') ns3_module_lte.register_functions(root_module) @@ -1464,6 +1215,50 @@ def register_functions(root_module): ns3_module_lte__local.register_functions(root_module) root_module.end_section('ns3_module_lte') + root_module.begin_section('ns3_module_wimax') + ns3_module_wimax.register_functions(root_module) + + try: + import ns3_module_wimax__local + except ImportError: + pass + else: + ns3_module_wimax__local.register_functions(root_module) + + root_module.end_section('ns3_module_wimax') + root_module.begin_section('ns3_module_energy') + ns3_module_energy.register_functions(root_module) + + try: + import ns3_module_energy__local + except ImportError: + pass + else: + ns3_module_energy__local.register_functions(root_module) + + root_module.end_section('ns3_module_energy') + root_module.begin_section('ns3_module_helper') + ns3_module_helper.register_functions(root_module) + + try: + import ns3_module_helper__local + except ImportError: + pass + else: + ns3_module_helper__local.register_functions(root_module) + + root_module.end_section('ns3_module_helper') + root_module.begin_section('ns3_module_mesh') + ns3_module_mesh.register_functions(root_module) + + try: + import ns3_module_mesh__local + except ImportError: + pass + else: + ns3_module_mesh__local.register_functions(root_module) + + root_module.end_section('ns3_module_mesh') root_module.begin_section('ns3_module_uan') ns3_module_uan.register_functions(root_module) @@ -1497,39 +1292,6 @@ def register_functions(root_module): ns3_module_flame__local.register_functions(root_module) root_module.end_section('ns3_module_flame') - root_module.begin_section('ns3_module_helper') - ns3_module_helper.register_functions(root_module) - - try: - import ns3_module_helper__local - except ImportError: - pass - else: - ns3_module_helper__local.register_functions(root_module) - - root_module.end_section('ns3_module_helper') - root_module.begin_section('ns3_module_dsdv') - ns3_module_dsdv.register_functions(root_module) - - try: - import ns3_module_dsdv__local - except ImportError: - pass - else: - ns3_module_dsdv__local.register_functions(root_module) - - root_module.end_section('ns3_module_dsdv') - root_module.begin_section('ns3_module_olsr') - ns3_module_olsr.register_functions(root_module) - - try: - import ns3_module_olsr__local - except ImportError: - pass - else: - ns3_module_olsr__local.register_functions(root_module) - - root_module.end_section('ns3_module_olsr') register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_aodv.py b/bindings/python/apidefs/gcc-LP64/ns3_module_aodv.py index 537cb0afa..70ffe1159 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_aodv.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_aodv.py @@ -3,6 +3,8 @@ from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandler def register_types(module): root_module = module.get_root() + ## aodv-helper.h: ns3::AodvHelper [class] + module.add_class('AodvHelper', parent=root_module['ns3::Ipv4RoutingHelper']) ## Register a nested module for the namespace Config @@ -127,6 +129,7 @@ def register_types_ns3_olsr(module): def register_methods(root_module): + register_Ns3AodvHelper_methods(root_module, root_module['ns3::AodvHelper']) register_Ns3AodvDuplicatePacketDetection_methods(root_module, root_module['ns3::aodv::DuplicatePacketDetection']) register_Ns3AodvIdCache_methods(root_module, root_module['ns3::aodv::IdCache']) register_Ns3AodvNeighbors_methods(root_module, root_module['ns3::aodv::Neighbors']) @@ -143,6 +146,27 @@ def register_methods(root_module): register_Ns3AodvTypeHeader_methods(root_module, root_module['ns3::aodv::TypeHeader']) return +def register_Ns3AodvHelper_methods(root_module, cls): + ## aodv-helper.h: ns3::AodvHelper::AodvHelper(ns3::AodvHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AodvHelper const &', 'arg0')]) + ## aodv-helper.h: ns3::AodvHelper::AodvHelper() [constructor] + cls.add_constructor([]) + ## aodv-helper.h: ns3::AodvHelper * ns3::AodvHelper::Copy() const [member function] + cls.add_method('Copy', + 'ns3::AodvHelper *', + [], + is_const=True, is_virtual=True) + ## aodv-helper.h: ns3::Ptr ns3::AodvHelper::Create(ns3::Ptr node) const [member function] + cls.add_method('Create', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True, is_virtual=True) + ## aodv-helper.h: void ns3::AodvHelper::Set(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('Set', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + def register_Ns3AodvDuplicatePacketDetection_methods(root_module, cls): ## aodv-dpd.h: ns3::aodv::DuplicatePacketDetection::DuplicatePacketDetection(ns3::aodv::DuplicatePacketDetection const & arg0) [copy constructor] cls.add_constructor([param('ns3::aodv::DuplicatePacketDetection const &', 'arg0')]) diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_applications.py b/bindings/python/apidefs/gcc-LP64/ns3_module_applications.py new file mode 100644 index 000000000..66b562b46 --- /dev/null +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_applications.py @@ -0,0 +1,1230 @@ +from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers + +def register_types(module): + root_module = module.get_root() + + ## bulk-send-helper.h: ns3::BulkSendHelper [class] + module.add_class('BulkSendHelper') + ## on-off-helper.h: ns3::OnOffHelper [class] + module.add_class('OnOffHelper') + ## packet-loss-counter.h: ns3::PacketLossCounter [class] + module.add_class('PacketLossCounter') + ## packet-sink-helper.h: ns3::PacketSinkHelper [class] + module.add_class('PacketSinkHelper') + ## ping6-helper.h: ns3::Ping6Helper [class] + module.add_class('Ping6Helper') + ## udp-client-server-helper.h: ns3::UdpClientHelper [class] + module.add_class('UdpClientHelper') + ## udp-echo-helper.h: ns3::UdpEchoClientHelper [class] + module.add_class('UdpEchoClientHelper') + ## udp-echo-helper.h: ns3::UdpEchoServerHelper [class] + module.add_class('UdpEchoServerHelper') + ## udp-client-server-helper.h: ns3::UdpServerHelper [class] + module.add_class('UdpServerHelper') + ## udp-client-server-helper.h: ns3::UdpTraceClientHelper [class] + module.add_class('UdpTraceClientHelper') + ## v4ping-helper.h: ns3::V4PingHelper [class] + module.add_class('V4PingHelper') + ## seq-ts-header.h: ns3::SeqTsHeader [class] + module.add_class('SeqTsHeader', parent=root_module['ns3::Header']) + ## simple-ref-count.h: ns3::SimpleRefCount > [class] + module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdInterface', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simple-ref-count.h: ns3::SimpleRefCount > [class] + module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdPrefix', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## bulk-send-application.h: ns3::BulkSendApplication [class] + module.add_class('BulkSendApplication', parent=root_module['ns3::Application']) + ## onoff-application.h: ns3::OnOffApplication [class] + module.add_class('OnOffApplication', parent=root_module['ns3::Application']) + ## packet-sink.h: ns3::PacketSink [class] + module.add_class('PacketSink', parent=root_module['ns3::Application']) + ## ping6.h: ns3::Ping6 [class] + module.add_class('Ping6', parent=root_module['ns3::Application']) + ## radvd.h: ns3::Radvd [class] + module.add_class('Radvd', parent=root_module['ns3::Application']) + ## radvd-interface.h: ns3::RadvdInterface [class] + module.add_class('RadvdInterface', parent=root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty, ns3::DefaultDeleter >']) + ## radvd-prefix.h: ns3::RadvdPrefix [class] + module.add_class('RadvdPrefix', parent=root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter >']) + ## udp-client.h: ns3::UdpClient [class] + module.add_class('UdpClient', parent=root_module['ns3::Application']) + ## udp-echo-client.h: ns3::UdpEchoClient [class] + module.add_class('UdpEchoClient', parent=root_module['ns3::Application']) + ## udp-echo-server.h: ns3::UdpEchoServer [class] + module.add_class('UdpEchoServer', parent=root_module['ns3::Application']) + ## udp-server.h: ns3::UdpServer [class] + module.add_class('UdpServer', parent=root_module['ns3::Application']) + ## udp-trace-client.h: ns3::UdpTraceClient [class] + module.add_class('UdpTraceClient', parent=root_module['ns3::Application']) + ## v4ping.h: ns3::V4Ping [class] + module.add_class('V4Ping', parent=root_module['ns3::Application']) + + ## Register a nested module for the namespace Config + + nested_module = module.add_cpp_namespace('Config') + register_types_ns3_Config(nested_module) + + + ## Register a nested module for the namespace FatalImpl + + nested_module = module.add_cpp_namespace('FatalImpl') + register_types_ns3_FatalImpl(nested_module) + + + ## Register a nested module for the namespace addressUtils + + nested_module = module.add_cpp_namespace('addressUtils') + register_types_ns3_addressUtils(nested_module) + + + ## Register a nested module for the namespace aodv + + nested_module = module.add_cpp_namespace('aodv') + register_types_ns3_aodv(nested_module) + + + ## Register a nested module for the namespace dot11s + + nested_module = module.add_cpp_namespace('dot11s') + register_types_ns3_dot11s(nested_module) + + + ## Register a nested module for the namespace dsdv + + nested_module = module.add_cpp_namespace('dsdv') + register_types_ns3_dsdv(nested_module) + + + ## Register a nested module for the namespace flame + + nested_module = module.add_cpp_namespace('flame') + register_types_ns3_flame(nested_module) + + + ## Register a nested module for the namespace internal + + nested_module = module.add_cpp_namespace('internal') + register_types_ns3_internal(nested_module) + + + ## Register a nested module for the namespace olsr + + nested_module = module.add_cpp_namespace('olsr') + register_types_ns3_olsr(nested_module) + + +def register_types_ns3_Config(module): + root_module = module.get_root() + + +def register_types_ns3_FatalImpl(module): + root_module = module.get_root() + + +def register_types_ns3_addressUtils(module): + root_module = module.get_root() + + +def register_types_ns3_aodv(module): + root_module = module.get_root() + + +def register_types_ns3_dot11s(module): + root_module = module.get_root() + + +def register_types_ns3_dsdv(module): + root_module = module.get_root() + + +def register_types_ns3_flame(module): + root_module = module.get_root() + + +def register_types_ns3_internal(module): + root_module = module.get_root() + + +def register_types_ns3_olsr(module): + root_module = module.get_root() + + +def register_methods(root_module): + register_Ns3BulkSendHelper_methods(root_module, root_module['ns3::BulkSendHelper']) + register_Ns3OnOffHelper_methods(root_module, root_module['ns3::OnOffHelper']) + register_Ns3PacketLossCounter_methods(root_module, root_module['ns3::PacketLossCounter']) + register_Ns3PacketSinkHelper_methods(root_module, root_module['ns3::PacketSinkHelper']) + register_Ns3Ping6Helper_methods(root_module, root_module['ns3::Ping6Helper']) + register_Ns3UdpClientHelper_methods(root_module, root_module['ns3::UdpClientHelper']) + register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper']) + register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper']) + register_Ns3UdpServerHelper_methods(root_module, root_module['ns3::UdpServerHelper']) + register_Ns3UdpTraceClientHelper_methods(root_module, root_module['ns3::UdpTraceClientHelper']) + register_Ns3V4PingHelper_methods(root_module, root_module['ns3::V4PingHelper']) + register_Ns3SeqTsHeader_methods(root_module, root_module['ns3::SeqTsHeader']) + register_Ns3BulkSendApplication_methods(root_module, root_module['ns3::BulkSendApplication']) + register_Ns3OnOffApplication_methods(root_module, root_module['ns3::OnOffApplication']) + register_Ns3PacketSink_methods(root_module, root_module['ns3::PacketSink']) + register_Ns3Ping6_methods(root_module, root_module['ns3::Ping6']) + register_Ns3Radvd_methods(root_module, root_module['ns3::Radvd']) + register_Ns3RadvdInterface_methods(root_module, root_module['ns3::RadvdInterface']) + register_Ns3RadvdPrefix_methods(root_module, root_module['ns3::RadvdPrefix']) + register_Ns3UdpClient_methods(root_module, root_module['ns3::UdpClient']) + register_Ns3UdpEchoClient_methods(root_module, root_module['ns3::UdpEchoClient']) + register_Ns3UdpEchoServer_methods(root_module, root_module['ns3::UdpEchoServer']) + register_Ns3UdpServer_methods(root_module, root_module['ns3::UdpServer']) + register_Ns3UdpTraceClient_methods(root_module, root_module['ns3::UdpTraceClient']) + register_Ns3V4Ping_methods(root_module, root_module['ns3::V4Ping']) + return + +def register_Ns3BulkSendHelper_methods(root_module, cls): + ## bulk-send-helper.h: ns3::BulkSendHelper::BulkSendHelper(ns3::BulkSendHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::BulkSendHelper const &', 'arg0')]) + ## bulk-send-helper.h: ns3::BulkSendHelper::BulkSendHelper(std::string protocol, ns3::Address address) [constructor] + cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) + ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(ns3::NodeContainer c) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')], + is_const=True) + ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('std::string', 'nodeName')], + is_const=True) + ## bulk-send-helper.h: void ns3::BulkSendHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3OnOffHelper_methods(root_module, cls): + ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(ns3::OnOffHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::OnOffHelper const &', 'arg0')]) + ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(std::string protocol, ns3::Address address) [constructor] + cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) + ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::NodeContainer c) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')], + is_const=True) + ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('std::string', 'nodeName')], + is_const=True) + ## on-off-helper.h: void ns3::OnOffHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3PacketLossCounter_methods(root_module, cls): + ## packet-loss-counter.h: ns3::PacketLossCounter::PacketLossCounter(ns3::PacketLossCounter const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketLossCounter const &', 'arg0')]) + ## packet-loss-counter.h: ns3::PacketLossCounter::PacketLossCounter(uint8_t bitmapSize) [constructor] + cls.add_constructor([param('uint8_t', 'bitmapSize')]) + ## packet-loss-counter.h: uint16_t ns3::PacketLossCounter::GetBitMapSize() const [member function] + cls.add_method('GetBitMapSize', + 'uint16_t', + [], + is_const=True) + ## packet-loss-counter.h: uint32_t ns3::PacketLossCounter::GetLost() const [member function] + cls.add_method('GetLost', + 'uint32_t', + [], + is_const=True) + ## packet-loss-counter.h: void ns3::PacketLossCounter::NotifyReceived(uint32_t seq) [member function] + cls.add_method('NotifyReceived', + 'void', + [param('uint32_t', 'seq')]) + ## packet-loss-counter.h: void ns3::PacketLossCounter::SetBitMapSize(uint16_t size) [member function] + cls.add_method('SetBitMapSize', + 'void', + [param('uint16_t', 'size')]) + return + +def register_Ns3PacketSinkHelper_methods(root_module, cls): + ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(ns3::PacketSinkHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketSinkHelper const &', 'arg0')]) + ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(std::string protocol, ns3::Address address) [constructor] + cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) + ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::NodeContainer c) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')], + is_const=True) + ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('std::string', 'nodeName')], + is_const=True) + ## packet-sink-helper.h: void ns3::PacketSinkHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3Ping6Helper_methods(root_module, cls): + ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper(ns3::Ping6Helper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ping6Helper const &', 'arg0')]) + ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper() [constructor] + cls.add_constructor([]) + ## ping6-helper.h: ns3::ApplicationContainer ns3::Ping6Helper::Install(ns3::NodeContainer c) [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')]) + ## ping6-helper.h: void ns3::Ping6Helper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## ping6-helper.h: void ns3::Ping6Helper::SetIfIndex(uint32_t ifIndex) [member function] + cls.add_method('SetIfIndex', + 'void', + [param('uint32_t', 'ifIndex')]) + ## ping6-helper.h: void ns3::Ping6Helper::SetLocal(ns3::Ipv6Address ip) [member function] + cls.add_method('SetLocal', + 'void', + [param('ns3::Ipv6Address', 'ip')]) + ## ping6-helper.h: void ns3::Ping6Helper::SetRemote(ns3::Ipv6Address ip) [member function] + cls.add_method('SetRemote', + 'void', + [param('ns3::Ipv6Address', 'ip')]) + ## ping6-helper.h: void ns3::Ping6Helper::SetRoutersAddress(std::vector > routers) [member function] + cls.add_method('SetRoutersAddress', + 'void', + [param('std::vector< ns3::Ipv6Address >', 'routers')]) + return + +def register_Ns3UdpClientHelper_methods(root_module, cls): + ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::UdpClientHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpClientHelper const &', 'arg0')]) + ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper() [constructor] + cls.add_constructor([]) + ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor] + cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) + ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpClientHelper::Install(ns3::NodeContainer c) [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')]) + ## udp-client-server-helper.h: void ns3::UdpClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3UdpEchoClientHelper_methods(root_module, cls): + ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::UdpEchoClientHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpEchoClientHelper const &', 'arg0')]) + ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor] + cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) + ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('std::string', 'nodeName')], + is_const=True) + ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::NodeContainer c) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')], + is_const=True) + ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, std::string fill) [member function] + cls.add_method('SetFill', + 'void', + [param('ns3::Ptr< ns3::Application >', 'app'), param('std::string', 'fill')]) + ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, uint8_t fill, uint32_t dataLength) [member function] + cls.add_method('SetFill', + 'void', + [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t', 'fill'), param('uint32_t', 'dataLength')]) + ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, uint8_t * fill, uint32_t fillLength, uint32_t dataLength) [member function] + cls.add_method('SetFill', + 'void', + [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t *', 'fill'), param('uint32_t', 'fillLength'), param('uint32_t', 'dataLength')]) + return + +def register_Ns3UdpEchoServerHelper_methods(root_module, cls): + ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(ns3::UdpEchoServerHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpEchoServerHelper const &', 'arg0')]) + ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(uint16_t port) [constructor] + cls.add_constructor([param('uint16_t', 'port')]) + ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('std::string', 'nodeName')], + is_const=True) + ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::NodeContainer c) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')], + is_const=True) + ## udp-echo-helper.h: void ns3::UdpEchoServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3UdpServerHelper_methods(root_module, cls): + ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper(ns3::UdpServerHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpServerHelper const &', 'arg0')]) + ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper() [constructor] + cls.add_constructor([]) + ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper(uint16_t port) [constructor] + cls.add_constructor([param('uint16_t', 'port')]) + ## udp-client-server-helper.h: ns3::Ptr ns3::UdpServerHelper::GetServer() [member function] + cls.add_method('GetServer', + 'ns3::Ptr< ns3::UdpServer >', + []) + ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpServerHelper::Install(ns3::NodeContainer c) [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')]) + ## udp-client-server-helper.h: void ns3::UdpServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3UdpTraceClientHelper_methods(root_module, cls): + ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper(ns3::UdpTraceClientHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpTraceClientHelper const &', 'arg0')]) + ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper() [constructor] + cls.add_constructor([]) + ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper(ns3::Ipv4Address ip, uint16_t port, std::string filename) [constructor] + cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port'), param('std::string', 'filename')]) + ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpTraceClientHelper::Install(ns3::NodeContainer c) [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'c')]) + ## udp-client-server-helper.h: void ns3::UdpTraceClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3V4PingHelper_methods(root_module, cls): + ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::V4PingHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::V4PingHelper const &', 'arg0')]) + ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::Ipv4Address remote) [constructor] + cls.add_constructor([param('ns3::Ipv4Address', 'remote')]) + ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::NodeContainer nodes) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::NodeContainer', 'nodes')], + is_const=True) + ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'ns3::ApplicationContainer', + [param('std::string', 'nodeName')], + is_const=True) + ## v4ping-helper.h: void ns3::V4PingHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('SetAttribute', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + +def register_Ns3SeqTsHeader_methods(root_module, cls): + ## seq-ts-header.h: ns3::SeqTsHeader::SeqTsHeader(ns3::SeqTsHeader const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SeqTsHeader const &', 'arg0')]) + ## seq-ts-header.h: ns3::SeqTsHeader::SeqTsHeader() [constructor] + cls.add_constructor([]) + ## seq-ts-header.h: uint32_t ns3::SeqTsHeader::GetSeq() const [member function] + cls.add_method('GetSeq', + 'uint32_t', + [], + is_const=True) + ## seq-ts-header.h: ns3::Time ns3::SeqTsHeader::GetTs() const [member function] + cls.add_method('GetTs', + 'ns3::Time', + [], + is_const=True) + ## seq-ts-header.h: static ns3::TypeId ns3::SeqTsHeader::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## seq-ts-header.h: void ns3::SeqTsHeader::SetSeq(uint32_t seq) [member function] + cls.add_method('SetSeq', + 'void', + [param('uint32_t', 'seq')]) + ## seq-ts-header.h: uint32_t ns3::SeqTsHeader::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + visibility='private', is_virtual=True) + ## seq-ts-header.h: ns3::TypeId ns3::SeqTsHeader::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, visibility='private', is_virtual=True) + ## seq-ts-header.h: uint32_t ns3::SeqTsHeader::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, visibility='private', is_virtual=True) + ## seq-ts-header.h: void ns3::SeqTsHeader::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, visibility='private', is_virtual=True) + ## seq-ts-header.h: void ns3::SeqTsHeader::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, visibility='private', is_virtual=True) + return + +def register_Ns3BulkSendApplication_methods(root_module, cls): + ## bulk-send-application.h: ns3::BulkSendApplication::BulkSendApplication(ns3::BulkSendApplication const & arg0) [copy constructor] + cls.add_constructor([param('ns3::BulkSendApplication const &', 'arg0')]) + ## bulk-send-application.h: ns3::BulkSendApplication::BulkSendApplication() [constructor] + cls.add_constructor([]) + ## bulk-send-application.h: ns3::Ptr ns3::BulkSendApplication::GetSocket() const [member function] + cls.add_method('GetSocket', + 'ns3::Ptr< ns3::Socket >', + [], + is_const=True) + ## bulk-send-application.h: static ns3::TypeId ns3::BulkSendApplication::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## bulk-send-application.h: void ns3::BulkSendApplication::SetMaxBytes(uint32_t maxBytes) [member function] + cls.add_method('SetMaxBytes', + 'void', + [param('uint32_t', 'maxBytes')]) + ## bulk-send-application.h: void ns3::BulkSendApplication::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## bulk-send-application.h: void ns3::BulkSendApplication::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## bulk-send-application.h: void ns3::BulkSendApplication::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3OnOffApplication_methods(root_module, cls): + ## onoff-application.h: ns3::OnOffApplication::OnOffApplication(ns3::OnOffApplication const & arg0) [copy constructor] + cls.add_constructor([param('ns3::OnOffApplication const &', 'arg0')]) + ## onoff-application.h: ns3::OnOffApplication::OnOffApplication() [constructor] + cls.add_constructor([]) + ## onoff-application.h: ns3::Ptr ns3::OnOffApplication::GetSocket() const [member function] + cls.add_method('GetSocket', + 'ns3::Ptr< ns3::Socket >', + [], + is_const=True) + ## onoff-application.h: static ns3::TypeId ns3::OnOffApplication::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## onoff-application.h: void ns3::OnOffApplication::SetMaxBytes(uint32_t maxBytes) [member function] + cls.add_method('SetMaxBytes', + 'void', + [param('uint32_t', 'maxBytes')]) + ## onoff-application.h: void ns3::OnOffApplication::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## onoff-application.h: void ns3::OnOffApplication::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## onoff-application.h: void ns3::OnOffApplication::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3PacketSink_methods(root_module, cls): + ## packet-sink.h: ns3::PacketSink::PacketSink(ns3::PacketSink const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketSink const &', 'arg0')]) + ## packet-sink.h: ns3::PacketSink::PacketSink() [constructor] + cls.add_constructor([]) + ## packet-sink.h: std::list, std::allocator > > ns3::PacketSink::GetAcceptedSockets() const [member function] + cls.add_method('GetAcceptedSockets', + 'std::list< ns3::Ptr< ns3::Socket > >', + [], + is_const=True) + ## packet-sink.h: ns3::Ptr ns3::PacketSink::GetListeningSocket() const [member function] + cls.add_method('GetListeningSocket', + 'ns3::Ptr< ns3::Socket >', + [], + is_const=True) + ## packet-sink.h: uint32_t ns3::PacketSink::GetTotalRx() const [member function] + cls.add_method('GetTotalRx', + 'uint32_t', + [], + is_const=True) + ## packet-sink.h: static ns3::TypeId ns3::PacketSink::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## packet-sink.h: void ns3::PacketSink::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## packet-sink.h: void ns3::PacketSink::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## packet-sink.h: void ns3::PacketSink::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3Ping6_methods(root_module, cls): + ## ping6.h: ns3::Ping6::Ping6(ns3::Ping6 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ping6 const &', 'arg0')]) + ## ping6.h: ns3::Ping6::Ping6() [constructor] + cls.add_constructor([]) + ## ping6.h: static ns3::TypeId ns3::Ping6::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ping6.h: void ns3::Ping6::SetIfIndex(uint32_t ifIndex) [member function] + cls.add_method('SetIfIndex', + 'void', + [param('uint32_t', 'ifIndex')]) + ## ping6.h: void ns3::Ping6::SetLocal(ns3::Ipv6Address ipv6) [member function] + cls.add_method('SetLocal', + 'void', + [param('ns3::Ipv6Address', 'ipv6')]) + ## ping6.h: void ns3::Ping6::SetRemote(ns3::Ipv6Address ipv6) [member function] + cls.add_method('SetRemote', + 'void', + [param('ns3::Ipv6Address', 'ipv6')]) + ## ping6.h: void ns3::Ping6::SetRouters(std::vector > routers) [member function] + cls.add_method('SetRouters', + 'void', + [param('std::vector< ns3::Ipv6Address >', 'routers')]) + ## ping6.h: void ns3::Ping6::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## ping6.h: void ns3::Ping6::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## ping6.h: void ns3::Ping6::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3Radvd_methods(root_module, cls): + ## radvd.h: ns3::Radvd::Radvd(ns3::Radvd const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Radvd const &', 'arg0')]) + ## radvd.h: ns3::Radvd::Radvd() [constructor] + cls.add_constructor([]) + ## radvd.h: void ns3::Radvd::AddConfiguration(ns3::Ptr routerInterface) [member function] + cls.add_method('AddConfiguration', + 'void', + [param('ns3::Ptr< ns3::RadvdInterface >', 'routerInterface')]) + ## radvd.h: static ns3::TypeId ns3::Radvd::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## radvd.h: ns3::Radvd::MAX_RA_DELAY_TIME [variable] + cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True) + ## radvd.h: void ns3::Radvd::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## radvd.h: void ns3::Radvd::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## radvd.h: void ns3::Radvd::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3RadvdInterface_methods(root_module, cls): + ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(ns3::RadvdInterface const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RadvdInterface const &', 'arg0')]) + ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface) [constructor] + cls.add_constructor([param('uint32_t', 'interface')]) + ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface, uint32_t maxRtrAdvInterval, uint32_t minRtrAdvInterval) [constructor] + cls.add_constructor([param('uint32_t', 'interface'), param('uint32_t', 'maxRtrAdvInterval'), param('uint32_t', 'minRtrAdvInterval')]) + ## radvd-interface.h: void ns3::RadvdInterface::AddPrefix(ns3::Ptr routerPrefix) [member function] + cls.add_method('AddPrefix', + 'void', + [param('ns3::Ptr< ns3::RadvdPrefix >', 'routerPrefix')]) + ## radvd-interface.h: uint8_t ns3::RadvdInterface::GetCurHopLimit() const [member function] + cls.add_method('GetCurHopLimit', + 'uint8_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetDefaultLifeTime() const [member function] + cls.add_method('GetDefaultLifeTime', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint8_t ns3::RadvdInterface::GetDefaultPreference() const [member function] + cls.add_method('GetDefaultPreference', + 'uint8_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentLifeTime() const [member function] + cls.add_method('GetHomeAgentLifeTime', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentPreference() const [member function] + cls.add_method('GetHomeAgentPreference', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetInterface() const [member function] + cls.add_method('GetInterface', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetLinkMtu() const [member function] + cls.add_method('GetLinkMtu', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMaxRtrAdvInterval() const [member function] + cls.add_method('GetMaxRtrAdvInterval', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinDelayBetweenRAs() const [member function] + cls.add_method('GetMinDelayBetweenRAs', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinRtrAdvInterval() const [member function] + cls.add_method('GetMinRtrAdvInterval', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: std::list, std::allocator > > ns3::RadvdInterface::GetPrefixes() const [member function] + cls.add_method('GetPrefixes', + 'std::list< ns3::Ptr< ns3::RadvdPrefix > >', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetReachableTime() const [member function] + cls.add_method('GetReachableTime', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetRetransTimer() const [member function] + cls.add_method('GetRetransTimer', + 'uint32_t', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentFlag() const [member function] + cls.add_method('IsHomeAgentFlag', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentInfo() const [member function] + cls.add_method('IsHomeAgentInfo', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsIntervalOpt() const [member function] + cls.add_method('IsIntervalOpt', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsManagedFlag() const [member function] + cls.add_method('IsManagedFlag', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsMobRtrSupportFlag() const [member function] + cls.add_method('IsMobRtrSupportFlag', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsOtherConfigFlag() const [member function] + cls.add_method('IsOtherConfigFlag', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsSendAdvert() const [member function] + cls.add_method('IsSendAdvert', + 'bool', + [], + is_const=True) + ## radvd-interface.h: bool ns3::RadvdInterface::IsSourceLLAddress() const [member function] + cls.add_method('IsSourceLLAddress', + 'bool', + [], + is_const=True) + ## radvd-interface.h: void ns3::RadvdInterface::SetCurHopLimit(uint8_t curHopLimit) [member function] + cls.add_method('SetCurHopLimit', + 'void', + [param('uint8_t', 'curHopLimit')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetDefaultLifeTime(uint32_t defaultLifeTime) [member function] + cls.add_method('SetDefaultLifeTime', + 'void', + [param('uint32_t', 'defaultLifeTime')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetDefaultPreference(uint8_t defaultPreference) [member function] + cls.add_method('SetDefaultPreference', + 'void', + [param('uint8_t', 'defaultPreference')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentFlag(bool homeAgentFlag) [member function] + cls.add_method('SetHomeAgentFlag', + 'void', + [param('bool', 'homeAgentFlag')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentInfo(bool homeAgentFlag) [member function] + cls.add_method('SetHomeAgentInfo', + 'void', + [param('bool', 'homeAgentFlag')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentLifeTime(uint32_t homeAgentLifeTime) [member function] + cls.add_method('SetHomeAgentLifeTime', + 'void', + [param('uint32_t', 'homeAgentLifeTime')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentPreference(uint32_t homeAgentPreference) [member function] + cls.add_method('SetHomeAgentPreference', + 'void', + [param('uint32_t', 'homeAgentPreference')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetIntervalOpt(bool intervalOpt) [member function] + cls.add_method('SetIntervalOpt', + 'void', + [param('bool', 'intervalOpt')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetLinkMtu(uint32_t linkMtu) [member function] + cls.add_method('SetLinkMtu', + 'void', + [param('uint32_t', 'linkMtu')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetManagedFlag(bool managedFlag) [member function] + cls.add_method('SetManagedFlag', + 'void', + [param('bool', 'managedFlag')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetMaxRtrAdvInterval(uint32_t maxRtrAdvInterval) [member function] + cls.add_method('SetMaxRtrAdvInterval', + 'void', + [param('uint32_t', 'maxRtrAdvInterval')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetMinDelayBetweenRAs(uint32_t minDelayBetweenRAs) [member function] + cls.add_method('SetMinDelayBetweenRAs', + 'void', + [param('uint32_t', 'minDelayBetweenRAs')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetMinRtrAdvInterval(uint32_t minRtrAdvInterval) [member function] + cls.add_method('SetMinRtrAdvInterval', + 'void', + [param('uint32_t', 'minRtrAdvInterval')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetMobRtrSupportFlag(bool mobRtrSupportFlag) [member function] + cls.add_method('SetMobRtrSupportFlag', + 'void', + [param('bool', 'mobRtrSupportFlag')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetOtherConfigFlag(bool otherConfigFlag) [member function] + cls.add_method('SetOtherConfigFlag', + 'void', + [param('bool', 'otherConfigFlag')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetReachableTime(uint32_t reachableTime) [member function] + cls.add_method('SetReachableTime', + 'void', + [param('uint32_t', 'reachableTime')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetRetransTimer(uint32_t retransTimer) [member function] + cls.add_method('SetRetransTimer', + 'void', + [param('uint32_t', 'retransTimer')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetSendAdvert(bool sendAdvert) [member function] + cls.add_method('SetSendAdvert', + 'void', + [param('bool', 'sendAdvert')]) + ## radvd-interface.h: void ns3::RadvdInterface::SetSourceLLAddress(bool sourceLLAddress) [member function] + cls.add_method('SetSourceLLAddress', + 'void', + [param('bool', 'sourceLLAddress')]) + return + +def register_Ns3RadvdPrefix_methods(root_module, cls): + ## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::RadvdPrefix const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RadvdPrefix const &', 'arg0')]) + ## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::Ipv6Address network, uint8_t prefixLength, uint32_t preferredLifeTime=604800, uint32_t validLifeTime=2592000, bool onLinkFlag=true, bool autonomousFlag=true, bool routerAddrFlag=false) [constructor] + cls.add_constructor([param('ns3::Ipv6Address', 'network'), param('uint8_t', 'prefixLength'), param('uint32_t', 'preferredLifeTime', default_value='604800'), param('uint32_t', 'validLifeTime', default_value='2592000'), param('bool', 'onLinkFlag', default_value='true'), param('bool', 'autonomousFlag', default_value='true'), param('bool', 'routerAddrFlag', default_value='false')]) + ## radvd-prefix.h: ns3::Ipv6Address ns3::RadvdPrefix::GetNetwork() const [member function] + cls.add_method('GetNetwork', + 'ns3::Ipv6Address', + [], + is_const=True) + ## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetPreferredLifeTime() const [member function] + cls.add_method('GetPreferredLifeTime', + 'uint32_t', + [], + is_const=True) + ## radvd-prefix.h: uint8_t ns3::RadvdPrefix::GetPrefixLength() const [member function] + cls.add_method('GetPrefixLength', + 'uint8_t', + [], + is_const=True) + ## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetValidLifeTime() const [member function] + cls.add_method('GetValidLifeTime', + 'uint32_t', + [], + is_const=True) + ## radvd-prefix.h: bool ns3::RadvdPrefix::IsAutonomousFlag() const [member function] + cls.add_method('IsAutonomousFlag', + 'bool', + [], + is_const=True) + ## radvd-prefix.h: bool ns3::RadvdPrefix::IsOnLinkFlag() const [member function] + cls.add_method('IsOnLinkFlag', + 'bool', + [], + is_const=True) + ## radvd-prefix.h: bool ns3::RadvdPrefix::IsRouterAddrFlag() const [member function] + cls.add_method('IsRouterAddrFlag', + 'bool', + [], + is_const=True) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetAutonomousFlag(bool autonomousFlag) [member function] + cls.add_method('SetAutonomousFlag', + 'void', + [param('bool', 'autonomousFlag')]) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetNetwork(ns3::Ipv6Address network) [member function] + cls.add_method('SetNetwork', + 'void', + [param('ns3::Ipv6Address', 'network')]) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetOnLinkFlag(bool onLinkFlag) [member function] + cls.add_method('SetOnLinkFlag', + 'void', + [param('bool', 'onLinkFlag')]) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetPreferredLifeTime(uint32_t preferredLifeTime) [member function] + cls.add_method('SetPreferredLifeTime', + 'void', + [param('uint32_t', 'preferredLifeTime')]) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetPrefixLength(uint8_t prefixLength) [member function] + cls.add_method('SetPrefixLength', + 'void', + [param('uint8_t', 'prefixLength')]) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetRouterAddrFlag(bool routerAddrFlag) [member function] + cls.add_method('SetRouterAddrFlag', + 'void', + [param('bool', 'routerAddrFlag')]) + ## radvd-prefix.h: void ns3::RadvdPrefix::SetValidLifeTime(uint32_t validLifeTime) [member function] + cls.add_method('SetValidLifeTime', + 'void', + [param('uint32_t', 'validLifeTime')]) + return + +def register_Ns3UdpClient_methods(root_module, cls): + ## udp-client.h: ns3::UdpClient::UdpClient(ns3::UdpClient const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpClient const &', 'arg0')]) + ## udp-client.h: ns3::UdpClient::UdpClient() [constructor] + cls.add_constructor([]) + ## udp-client.h: static ns3::TypeId ns3::UdpClient::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## udp-client.h: void ns3::UdpClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] + cls.add_method('SetRemote', + 'void', + [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) + ## udp-client.h: void ns3::UdpClient::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## udp-client.h: void ns3::UdpClient::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## udp-client.h: void ns3::UdpClient::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3UdpEchoClient_methods(root_module, cls): + ## udp-echo-client.h: ns3::UdpEchoClient::UdpEchoClient(ns3::UdpEchoClient const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpEchoClient const &', 'arg0')]) + ## udp-echo-client.h: ns3::UdpEchoClient::UdpEchoClient() [constructor] + cls.add_constructor([]) + ## udp-echo-client.h: uint32_t ns3::UdpEchoClient::GetDataSize() const [member function] + cls.add_method('GetDataSize', + 'uint32_t', + [], + is_const=True) + ## udp-echo-client.h: static ns3::TypeId ns3::UdpEchoClient::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## udp-echo-client.h: void ns3::UdpEchoClient::SetDataSize(uint32_t dataSize) [member function] + cls.add_method('SetDataSize', + 'void', + [param('uint32_t', 'dataSize')]) + ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(std::string fill) [member function] + cls.add_method('SetFill', + 'void', + [param('std::string', 'fill')]) + ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(uint8_t fill, uint32_t dataSize) [member function] + cls.add_method('SetFill', + 'void', + [param('uint8_t', 'fill'), param('uint32_t', 'dataSize')]) + ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(uint8_t * fill, uint32_t fillSize, uint32_t dataSize) [member function] + cls.add_method('SetFill', + 'void', + [param('uint8_t *', 'fill'), param('uint32_t', 'fillSize'), param('uint32_t', 'dataSize')]) + ## udp-echo-client.h: void ns3::UdpEchoClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] + cls.add_method('SetRemote', + 'void', + [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) + ## udp-echo-client.h: void ns3::UdpEchoClient::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## udp-echo-client.h: void ns3::UdpEchoClient::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## udp-echo-client.h: void ns3::UdpEchoClient::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3UdpEchoServer_methods(root_module, cls): + ## udp-echo-server.h: ns3::UdpEchoServer::UdpEchoServer(ns3::UdpEchoServer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpEchoServer const &', 'arg0')]) + ## udp-echo-server.h: ns3::UdpEchoServer::UdpEchoServer() [constructor] + cls.add_constructor([]) + ## udp-echo-server.h: static ns3::TypeId ns3::UdpEchoServer::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## udp-echo-server.h: void ns3::UdpEchoServer::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## udp-echo-server.h: void ns3::UdpEchoServer::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## udp-echo-server.h: void ns3::UdpEchoServer::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3UdpServer_methods(root_module, cls): + ## udp-server.h: ns3::UdpServer::UdpServer(ns3::UdpServer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpServer const &', 'arg0')]) + ## udp-server.h: ns3::UdpServer::UdpServer() [constructor] + cls.add_constructor([]) + ## udp-server.h: uint32_t ns3::UdpServer::GetLost() const [member function] + cls.add_method('GetLost', + 'uint32_t', + [], + is_const=True) + ## udp-server.h: uint16_t ns3::UdpServer::GetPacketWindowSize() const [member function] + cls.add_method('GetPacketWindowSize', + 'uint16_t', + [], + is_const=True) + ## udp-server.h: uint32_t ns3::UdpServer::GetReceived() const [member function] + cls.add_method('GetReceived', + 'uint32_t', + [], + is_const=True) + ## udp-server.h: static ns3::TypeId ns3::UdpServer::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## udp-server.h: void ns3::UdpServer::SetPacketWindowSize(uint16_t size) [member function] + cls.add_method('SetPacketWindowSize', + 'void', + [param('uint16_t', 'size')]) + ## udp-server.h: void ns3::UdpServer::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## udp-server.h: void ns3::UdpServer::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## udp-server.h: void ns3::UdpServer::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3UdpTraceClient_methods(root_module, cls): + ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient(ns3::UdpTraceClient const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UdpTraceClient const &', 'arg0')]) + ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient() [constructor] + cls.add_constructor([]) + ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient(ns3::Ipv4Address ip, uint16_t port, char * traceFile) [constructor] + cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port'), param('char *', 'traceFile')]) + ## udp-trace-client.h: uint16_t ns3::UdpTraceClient::GetMaxPacketSize() [member function] + cls.add_method('GetMaxPacketSize', + 'uint16_t', + []) + ## udp-trace-client.h: static ns3::TypeId ns3::UdpTraceClient::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## udp-trace-client.h: void ns3::UdpTraceClient::SetMaxPacketSize(uint16_t maxPacketSize) [member function] + cls.add_method('SetMaxPacketSize', + 'void', + [param('uint16_t', 'maxPacketSize')]) + ## udp-trace-client.h: void ns3::UdpTraceClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] + cls.add_method('SetRemote', + 'void', + [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) + ## udp-trace-client.h: void ns3::UdpTraceClient::SetTraceFile(std::string filename) [member function] + cls.add_method('SetTraceFile', + 'void', + [param('std::string', 'filename')]) + ## udp-trace-client.h: void ns3::UdpTraceClient::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + ## udp-trace-client.h: void ns3::UdpTraceClient::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## udp-trace-client.h: void ns3::UdpTraceClient::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3V4Ping_methods(root_module, cls): + ## v4ping.h: ns3::V4Ping::V4Ping(ns3::V4Ping const & arg0) [copy constructor] + cls.add_constructor([param('ns3::V4Ping const &', 'arg0')]) + ## v4ping.h: ns3::V4Ping::V4Ping() [constructor] + cls.add_constructor([]) + ## v4ping.h: static ns3::TypeId ns3::V4Ping::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## v4ping.h: void ns3::V4Ping::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='private', is_virtual=True) + ## v4ping.h: void ns3::V4Ping::StartApplication() [member function] + cls.add_method('StartApplication', + 'void', + [], + visibility='private', is_virtual=True) + ## v4ping.h: void ns3::V4Ping::StopApplication() [member function] + cls.add_method('StopApplication', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_functions(root_module): + module = root_module + register_functions_ns3_Config(module.get_submodule('Config'), root_module) + register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) + register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) + register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) + register_functions_ns3_flame(module.get_submodule('flame'), root_module) + register_functions_ns3_internal(module.get_submodule('internal'), root_module) + register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) + return + +def register_functions_ns3_Config(module, root_module): + return + +def register_functions_ns3_FatalImpl(module, root_module): + return + +def register_functions_ns3_addressUtils(module, root_module): + return + +def register_functions_ns3_aodv(module, root_module): + return + +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_dsdv(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + +def register_functions_ns3_internal(module, root_module): + return + +def register_functions_ns3_olsr(module, root_module): + return + diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_bulk_send.py b/bindings/python/apidefs/gcc-LP64/ns3_module_bulk_send.py deleted file mode 100644 index fffa271c3..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_bulk_send.py +++ /dev/null @@ -1,178 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## bulk-send-application.h: ns3::BulkSendApplication [class] - module.add_class('BulkSendApplication', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3BulkSendApplication_methods(root_module, root_module['ns3::BulkSendApplication']) - return - -def register_Ns3BulkSendApplication_methods(root_module, cls): - ## bulk-send-application.h: ns3::BulkSendApplication::BulkSendApplication(ns3::BulkSendApplication const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BulkSendApplication const &', 'arg0')]) - ## bulk-send-application.h: ns3::BulkSendApplication::BulkSendApplication() [constructor] - cls.add_constructor([]) - ## bulk-send-application.h: ns3::Ptr ns3::BulkSendApplication::GetSocket() const [member function] - cls.add_method('GetSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_const=True) - ## bulk-send-application.h: static ns3::TypeId ns3::BulkSendApplication::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bulk-send-application.h: void ns3::BulkSendApplication::SetMaxBytes(uint32_t maxBytes) [member function] - cls.add_method('SetMaxBytes', - 'void', - [param('uint32_t', 'maxBytes')]) - ## bulk-send-application.h: void ns3::BulkSendApplication::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## bulk-send-application.h: void ns3::BulkSendApplication::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## bulk-send-application.h: void ns3::BulkSendApplication::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_core.py b/bindings/python/apidefs/gcc-LP64/ns3_module_core.py index 72c735465..185056b8e 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_core.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_core.py @@ -17,7 +17,7 @@ def register_types(module): module.add_class('EventId') ## global-value.h: ns3::GlobalValue [class] module.add_class('GlobalValue') - ## high-precision-double.h: ns3::HighPrecision [class] + ## high-precision-128.h: ns3::HighPrecision [class] module.add_class('HighPrecision') ## int-to-type.h: ns3::IntToType<0> [struct] module.add_class('IntToType', template_parameters=['0']) @@ -741,65 +741,67 @@ def register_Ns3GlobalValue_methods(root_module, cls): def register_Ns3HighPrecision_methods(root_module, cls): cls.add_output_stream_operator() - ## high-precision-double.h: ns3::HighPrecision::HighPrecision(ns3::HighPrecision const & arg0) [copy constructor] + ## high-precision-128.h: ns3::HighPrecision::HighPrecision(ns3::HighPrecision const & arg0) [copy constructor] cls.add_constructor([param('ns3::HighPrecision const &', 'arg0')]) - ## high-precision-double.h: ns3::HighPrecision::HighPrecision() [constructor] + ## high-precision-128.h: ns3::HighPrecision::HighPrecision(int64_t high, uint64_t low) [constructor] + cls.add_constructor([param('int64_t', 'high'), param('uint64_t', 'low')]) + ## high-precision-128.h: ns3::HighPrecision::HighPrecision() [constructor] cls.add_constructor([]) - ## high-precision-double.h: ns3::HighPrecision::HighPrecision(int64_t value, bool dummy) [constructor] + ## high-precision-128.h: ns3::HighPrecision::HighPrecision(int64_t value, bool dummy) [constructor] cls.add_constructor([param('int64_t', 'value'), param('bool', 'dummy')]) - ## high-precision-double.h: ns3::HighPrecision::HighPrecision(double value) [constructor] + ## high-precision-128.h: ns3::HighPrecision::HighPrecision(double value) [constructor] cls.add_constructor([param('double', 'value')]) - ## high-precision-double.h: void ns3::HighPrecision::Add(ns3::HighPrecision const & o) [member function] + ## high-precision-128.h: void ns3::HighPrecision::Add(ns3::HighPrecision const & o) [member function] cls.add_method('Add', 'void', [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-double.h: int ns3::HighPrecision::Compare(ns3::HighPrecision const & o) const [member function] + ## high-precision-128.h: int ns3::HighPrecision::Compare(ns3::HighPrecision const & o) const [member function] cls.add_method('Compare', 'int', [param('ns3::HighPrecision const &', 'o')], is_const=True) - ## high-precision-double.h: void ns3::HighPrecision::Div(ns3::HighPrecision const & o) [member function] + ## high-precision-128.h: void ns3::HighPrecision::Div(ns3::HighPrecision const & o) [member function] cls.add_method('Div', 'void', [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-double.h: double ns3::HighPrecision::GetDouble() const [member function] + ## high-precision-128.h: double ns3::HighPrecision::GetDouble() const [member function] cls.add_method('GetDouble', 'double', [], is_const=True) - ## high-precision-double.h: int64_t ns3::HighPrecision::GetHigh() const [member function] + ## high-precision-128.h: int64_t ns3::HighPrecision::GetHigh() const [member function] cls.add_method('GetHigh', 'int64_t', [], is_const=True) - ## high-precision-double.h: int64_t ns3::HighPrecision::GetInteger() const [member function] + ## high-precision-128.h: int64_t ns3::HighPrecision::GetInteger() const [member function] cls.add_method('GetInteger', 'int64_t', [], is_const=True) - ## high-precision-double.h: uint64_t ns3::HighPrecision::GetLow() const [member function] + ## high-precision-128.h: uint64_t ns3::HighPrecision::GetLow() const [member function] cls.add_method('GetLow', 'uint64_t', [], is_const=True) - ## high-precision-double.h: static ns3::HighPrecision ns3::HighPrecision::Invert(uint64_t v) [member function] + ## high-precision-128.h: static ns3::HighPrecision ns3::HighPrecision::Invert(uint64_t v) [member function] cls.add_method('Invert', 'ns3::HighPrecision', [param('uint64_t', 'v')], is_static=True) - ## high-precision-double.h: void ns3::HighPrecision::Mul(ns3::HighPrecision const & o) [member function] + ## high-precision-128.h: void ns3::HighPrecision::Mul(ns3::HighPrecision const & o) [member function] cls.add_method('Mul', 'void', [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-double.h: void ns3::HighPrecision::MulByInvert(ns3::HighPrecision const & o) [member function] + ## high-precision-128.h: void ns3::HighPrecision::MulByInvert(ns3::HighPrecision const & o) [member function] cls.add_method('MulByInvert', 'void', [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-double.h: void ns3::HighPrecision::Sub(ns3::HighPrecision const & o) [member function] + ## high-precision-128.h: void ns3::HighPrecision::Sub(ns3::HighPrecision const & o) [member function] cls.add_method('Sub', 'void', [param('ns3::HighPrecision const &', 'o')]) - ## high-precision-double.h: static ns3::HighPrecision ns3::HighPrecision::Zero() [member function] + ## high-precision-128.h: static ns3::HighPrecision ns3::HighPrecision::Zero() [member function] cls.add_method('Zero', 'ns3::HighPrecision', [], diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_helper.py b/bindings/python/apidefs/gcc-LP64/ns3_module_helper.py index 872189f17..ab9af1f4a 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_helper.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_helper.py @@ -7,24 +7,12 @@ def register_types(module): module.add_class('AnimationInterface') ## athstats-helper.h: ns3::AthstatsHelper [class] module.add_class('AthstatsHelper') - ## bulk-send-helper.h: ns3::BulkSendHelper [class] - module.add_class('BulkSendHelper') ## csma-star-helper.h: ns3::CsmaStarHelper [class] module.add_class('CsmaStarHelper') ## mesh-helper.h: ns3::MeshHelper [class] module.add_class('MeshHelper') ## mesh-helper.h: ns3::MeshHelper::ChannelPolicy [enumeration] module.add_enum('ChannelPolicy', ['SPREAD_CHANNELS', 'ZERO_CHANNEL'], outer_class=root_module['ns3::MeshHelper']) - ## mobility-helper.h: ns3::MobilityHelper [class] - module.add_class('MobilityHelper') - ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper [class] - module.add_class('Ns2MobilityHelper') - ## on-off-helper.h: ns3::OnOffHelper [class] - module.add_class('OnOffHelper') - ## packet-sink-helper.h: ns3::PacketSinkHelper [class] - module.add_class('PacketSinkHelper') - ## ping6-helper.h: ns3::Ping6Helper [class] - module.add_class('Ping6Helper') ## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper [class] module.add_class('PointToPointDumbbellHelper') ## point-to-point-grid-helper.h: ns3::PointToPointGridHelper [class] @@ -37,18 +25,6 @@ def register_types(module): module.add_class('TapBridgeHelper') ## topology-reader-helper.h: ns3::TopologyReaderHelper [class] module.add_class('TopologyReaderHelper') - ## udp-client-server-helper.h: ns3::UdpClientHelper [class] - module.add_class('UdpClientHelper') - ## udp-echo-helper.h: ns3::UdpEchoClientHelper [class] - module.add_class('UdpEchoClientHelper') - ## udp-echo-helper.h: ns3::UdpEchoServerHelper [class] - module.add_class('UdpEchoServerHelper') - ## udp-client-server-helper.h: ns3::UdpServerHelper [class] - module.add_class('UdpServerHelper') - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper [class] - module.add_class('UdpTraceClientHelper') - ## v4ping-helper.h: ns3::V4PingHelper [class] - module.add_class('V4PingHelper') ## wifi-helper.h: ns3::WifiHelper [class] module.add_class('WifiHelper') ## wifi-helper.h: ns3::WifiMacHelper [class] @@ -69,14 +45,10 @@ def register_types(module): module.add_class('YansWifiPhyHelper', parent=[root_module['ns3::WifiPhyHelper'], root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) ## yans-wifi-helper.h: ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes [enumeration] module.add_enum('SupportedPcapDataLinkTypes', ['DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::YansWifiPhyHelper']) - ## aodv-helper.h: ns3::AodvHelper [class] - module.add_class('AodvHelper', parent=root_module['ns3::Ipv4RoutingHelper']) ## csma-helper.h: ns3::CsmaHelper [class] module.add_class('CsmaHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) ## emu-helper.h: ns3::EmuHelper [class] module.add_class('EmuHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper [class] - module.add_class('Ipv4NixVectorHelper', parent=root_module['ns3::Ipv4RoutingHelper']) ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper [class] module.add_class('NqosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper [class] @@ -185,36 +157,22 @@ def register_types_ns3_olsr(module): def register_methods(root_module): register_Ns3AnimationInterface_methods(root_module, root_module['ns3::AnimationInterface']) register_Ns3AthstatsHelper_methods(root_module, root_module['ns3::AthstatsHelper']) - register_Ns3BulkSendHelper_methods(root_module, root_module['ns3::BulkSendHelper']) register_Ns3CsmaStarHelper_methods(root_module, root_module['ns3::CsmaStarHelper']) register_Ns3MeshHelper_methods(root_module, root_module['ns3::MeshHelper']) - register_Ns3MobilityHelper_methods(root_module, root_module['ns3::MobilityHelper']) - register_Ns3Ns2MobilityHelper_methods(root_module, root_module['ns3::Ns2MobilityHelper']) - register_Ns3OnOffHelper_methods(root_module, root_module['ns3::OnOffHelper']) - register_Ns3PacketSinkHelper_methods(root_module, root_module['ns3::PacketSinkHelper']) - register_Ns3Ping6Helper_methods(root_module, root_module['ns3::Ping6Helper']) register_Ns3PointToPointDumbbellHelper_methods(root_module, root_module['ns3::PointToPointDumbbellHelper']) register_Ns3PointToPointGridHelper_methods(root_module, root_module['ns3::PointToPointGridHelper']) register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper']) register_Ns3PointToPointStarHelper_methods(root_module, root_module['ns3::PointToPointStarHelper']) register_Ns3TapBridgeHelper_methods(root_module, root_module['ns3::TapBridgeHelper']) register_Ns3TopologyReaderHelper_methods(root_module, root_module['ns3::TopologyReaderHelper']) - register_Ns3UdpClientHelper_methods(root_module, root_module['ns3::UdpClientHelper']) - register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper']) - register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper']) - register_Ns3UdpServerHelper_methods(root_module, root_module['ns3::UdpServerHelper']) - register_Ns3UdpTraceClientHelper_methods(root_module, root_module['ns3::UdpTraceClientHelper']) - register_Ns3V4PingHelper_methods(root_module, root_module['ns3::V4PingHelper']) register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper']) register_Ns3WifiMacHelper_methods(root_module, root_module['ns3::WifiMacHelper']) register_Ns3WifiPhyHelper_methods(root_module, root_module['ns3::WifiPhyHelper']) register_Ns3WimaxHelper_methods(root_module, root_module['ns3::WimaxHelper']) register_Ns3YansWifiChannelHelper_methods(root_module, root_module['ns3::YansWifiChannelHelper']) register_Ns3YansWifiPhyHelper_methods(root_module, root_module['ns3::YansWifiPhyHelper']) - register_Ns3AodvHelper_methods(root_module, root_module['ns3::AodvHelper']) register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper']) register_Ns3EmuHelper_methods(root_module, root_module['ns3::EmuHelper']) - register_Ns3Ipv4NixVectorHelper_methods(root_module, root_module['ns3::Ipv4NixVectorHelper']) register_Ns3NqosWifiMacHelper_methods(root_module, root_module['ns3::NqosWifiMacHelper']) register_Ns3QosWifiMacHelper_methods(root_module, root_module['ns3::QosWifiMacHelper']) register_Ns3AthstatsWifiTraceSink_methods(root_module, root_module['ns3::AthstatsWifiTraceSink']) @@ -270,32 +228,6 @@ def register_Ns3AthstatsHelper_methods(root_module, cls): [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')]) return -def register_Ns3BulkSendHelper_methods(root_module, cls): - ## bulk-send-helper.h: ns3::BulkSendHelper::BulkSendHelper(ns3::BulkSendHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BulkSendHelper const &', 'arg0')]) - ## bulk-send-helper.h: ns3::BulkSendHelper::BulkSendHelper(std::string protocol, ns3::Address address) [constructor] - cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) - ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## bulk-send-helper.h: void ns3::BulkSendHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - def register_Ns3CsmaStarHelper_methods(root_module, cls): ## csma-star-helper.h: ns3::CsmaStarHelper::CsmaStarHelper(ns3::CsmaStarHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::CsmaStarHelper const &', 'arg0')]) @@ -395,171 +327,6 @@ def register_Ns3MeshHelper_methods(root_module, cls): [param('ns3::WifiPhyStandard', 'standard')]) return -def register_Ns3MobilityHelper_methods(root_module, cls): - ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper(ns3::MobilityHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MobilityHelper const &', 'arg0')]) - ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper() [constructor] - cls.add_constructor([]) - ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, uint32_t nodeid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('uint32_t', 'nodeid')], - is_static=True) - ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], - is_static=True) - ## mobility-helper.h: static void ns3::MobilityHelper::EnableAsciiAll(std::ostream & os) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::ostream &', 'os')], - is_static=True) - ## mobility-helper.h: std::string ns3::MobilityHelper::GetMobilityModelType() const [member function] - cls.add_method('GetMobilityModelType', - 'std::string', - [], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'void', - [param('std::string', 'nodeName')], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::NodeContainer container) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::NodeContainer', 'container')], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::InstallAll() [member function] - cls.add_method('InstallAll', - 'void', - []) - ## mobility-helper.h: void ns3::MobilityHelper::PopReferenceMobilityModel() [member function] - cls.add_method('PopReferenceMobilityModel', - 'void', - []) - ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(ns3::Ptr reference) [member function] - cls.add_method('PushReferenceMobilityModel', - 'void', - [param('ns3::Ptr< ns3::Object >', 'reference')]) - ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(std::string referenceName) [member function] - cls.add_method('PushReferenceMobilityModel', - 'void', - [param('std::string', 'referenceName')]) - ## 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] - cls.add_method('SetMobilityModel', - 'void', - [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()')]) - ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(ns3::Ptr allocator) [member function] - cls.add_method('SetPositionAllocator', - 'void', - [param('ns3::Ptr< ns3::PositionAllocator >', 'allocator')]) - ## 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] - cls.add_method('SetPositionAllocator', - 'void', - [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()')]) - return - -def register_Ns3Ns2MobilityHelper_methods(root_module, cls): - ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(ns3::Ns2MobilityHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ns2MobilityHelper const &', 'arg0')]) - ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(std::string filename) [constructor] - cls.add_constructor([param('std::string', 'filename')]) - ## ns2-mobility-helper.h: void ns3::Ns2MobilityHelper::Install() const [member function] - cls.add_method('Install', - 'void', - [], - is_const=True) - return - -def register_Ns3OnOffHelper_methods(root_module, cls): - ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(ns3::OnOffHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OnOffHelper const &', 'arg0')]) - ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(std::string protocol, ns3::Address address) [constructor] - cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) - ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## on-off-helper.h: void ns3::OnOffHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3PacketSinkHelper_methods(root_module, cls): - ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(ns3::PacketSinkHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSinkHelper const &', 'arg0')]) - ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(std::string protocol, ns3::Address address) [constructor] - cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) - ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## packet-sink-helper.h: void ns3::PacketSinkHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3Ping6Helper_methods(root_module, cls): - ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper(ns3::Ping6Helper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ping6Helper const &', 'arg0')]) - ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper() [constructor] - cls.add_constructor([]) - ## ping6-helper.h: ns3::ApplicationContainer ns3::Ping6Helper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetIfIndex(uint32_t ifIndex) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t', 'ifIndex')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetLocal(ns3::Ipv6Address ip) [member function] - cls.add_method('SetLocal', - 'void', - [param('ns3::Ipv6Address', 'ip')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetRemote(ns3::Ipv6Address ip) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv6Address', 'ip')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetRoutersAddress(std::vector > routers) [member function] - cls.add_method('SetRoutersAddress', - 'void', - [param('std::vector< ns3::Ipv6Address >', 'routers')]) - return - def register_Ns3PointToPointDumbbellHelper_methods(root_module, cls): ## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(ns3::PointToPointDumbbellHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::PointToPointDumbbellHelper const &', 'arg0')]) @@ -791,151 +558,6 @@ def register_Ns3TopologyReaderHelper_methods(root_module, cls): [param('std::string const', 'fileType')]) return -def register_Ns3UdpClientHelper_methods(root_module, cls): - ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::UdpClientHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpClientHelper const &', 'arg0')]) - ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper() [constructor] - cls.add_constructor([]) - ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpClientHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## udp-client-server-helper.h: void ns3::UdpClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3UdpEchoClientHelper_methods(root_module, cls): - ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::UdpEchoClientHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoClientHelper const &', 'arg0')]) - ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, std::string fill) [member function] - cls.add_method('SetFill', - 'void', - [param('ns3::Ptr< ns3::Application >', 'app'), param('std::string', 'fill')]) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, uint8_t fill, uint32_t dataLength) [member function] - cls.add_method('SetFill', - 'void', - [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t', 'fill'), param('uint32_t', 'dataLength')]) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, uint8_t * fill, uint32_t fillLength, uint32_t dataLength) [member function] - cls.add_method('SetFill', - 'void', - [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t *', 'fill'), param('uint32_t', 'fillLength'), param('uint32_t', 'dataLength')]) - return - -def register_Ns3UdpEchoServerHelper_methods(root_module, cls): - ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(ns3::UdpEchoServerHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoServerHelper const &', 'arg0')]) - ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(uint16_t port) [constructor] - cls.add_constructor([param('uint16_t', 'port')]) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## udp-echo-helper.h: void ns3::UdpEchoServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3UdpServerHelper_methods(root_module, cls): - ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper(ns3::UdpServerHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpServerHelper const &', 'arg0')]) - ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper() [constructor] - cls.add_constructor([]) - ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper(uint16_t port) [constructor] - cls.add_constructor([param('uint16_t', 'port')]) - ## udp-client-server-helper.h: ns3::Ptr ns3::UdpServerHelper::GetServer() [member function] - cls.add_method('GetServer', - 'ns3::Ptr< ns3::UdpServer >', - []) - ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpServerHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## udp-client-server-helper.h: void ns3::UdpServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3UdpTraceClientHelper_methods(root_module, cls): - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper(ns3::UdpTraceClientHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpTraceClientHelper const &', 'arg0')]) - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper() [constructor] - cls.add_constructor([]) - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper(ns3::Ipv4Address ip, uint16_t port, std::string filename) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port'), param('std::string', 'filename')]) - ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpTraceClientHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## udp-client-server-helper.h: void ns3::UdpTraceClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3V4PingHelper_methods(root_module, cls): - ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::V4PingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::V4PingHelper const &', 'arg0')]) - ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::Ipv4Address remote) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'remote')]) - ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::NodeContainer nodes) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'nodes')], - is_const=True) - ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## v4ping-helper.h: void ns3::V4PingHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - def register_Ns3WifiHelper_methods(root_module, cls): ## wifi-helper.h: ns3::WifiHelper::WifiHelper(ns3::WifiHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::WifiHelper const &', 'arg0')]) @@ -1147,27 +769,6 @@ def register_Ns3YansWifiPhyHelper_methods(root_module, cls): visibility='private', is_virtual=True) return -def register_Ns3AodvHelper_methods(root_module, cls): - ## aodv-helper.h: ns3::AodvHelper::AodvHelper(ns3::AodvHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AodvHelper const &', 'arg0')]) - ## aodv-helper.h: ns3::AodvHelper::AodvHelper() [constructor] - cls.add_constructor([]) - ## aodv-helper.h: ns3::AodvHelper * ns3::AodvHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::AodvHelper *', - [], - is_const=True, is_virtual=True) - ## aodv-helper.h: ns3::Ptr ns3::AodvHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## aodv-helper.h: void ns3::AodvHelper::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - def register_Ns3CsmaHelper_methods(root_module, cls): ## csma-helper.h: ns3::CsmaHelper::CsmaHelper(ns3::CsmaHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::CsmaHelper const &', 'arg0')]) @@ -1282,23 +883,6 @@ def register_Ns3EmuHelper_methods(root_module, cls): visibility='private', is_virtual=True) return -def register_Ns3Ipv4NixVectorHelper_methods(root_module, cls): - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper() [constructor] - cls.add_constructor([]) - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper(ns3::Ipv4NixVectorHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4NixVectorHelper const &', 'arg0')]) - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper * ns3::Ipv4NixVectorHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4NixVectorHelper *', - [], - is_const=True, is_virtual=True) - ## ipv4-nix-vector-helper.h: ns3::Ptr ns3::Ipv4NixVectorHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - return - def register_Ns3NqosWifiMacHelper_methods(root_module, cls): ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper::NqosWifiMacHelper(ns3::NqosWifiMacHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::NqosWifiMacHelper const &', 'arg0')]) diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_internet.py b/bindings/python/apidefs/gcc-LP64/ns3_module_internet.py index 30b05e2bf..84e915fff 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_internet.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_internet.py @@ -5,13 +5,9 @@ def register_types(module): ## tcp-socket.h: ns3::TcpStates_t [enumeration] module.add_enum('TcpStates_t', ['CLOSED', 'LISTEN', 'SYN_SENT', 'SYN_RCVD', 'ESTABLISHED', 'CLOSE_WAIT', 'LAST_ACK', 'FIN_WAIT_1', 'FIN_WAIT_2', 'CLOSING', 'TIME_WAIT', 'LAST_STATE']) - ## trace-helper.h: ns3::AsciiTraceHelper [class] - module.add_class('AsciiTraceHelper') - ## trace-helper.h: ns3::AsciiTraceHelperForDevice [class] - module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True) - ## trace-helper.h: ns3::AsciiTraceHelperForIpv4 [class] + ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv4 [class] module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True) - ## trace-helper.h: ns3::AsciiTraceHelperForIpv6 [class] + ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv6 [class] module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True) ## global-route-manager.h: ns3::GlobalRouteManager [class] module.add_class('GlobalRouteManager') @@ -65,15 +61,9 @@ def register_types(module): module.add_class('Ipv6StaticRoutingHelper', parent=root_module['ns3::Ipv6RoutingHelper']) ## ipv6-extension-header.h: ns3::OptionField [class] module.add_class('OptionField') - ## trace-helper.h: ns3::PcapHelper [class] - module.add_class('PcapHelper') - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelperForDevice [class] - module.add_class('PcapHelperForDevice', allow_subclassing=True) - ## trace-helper.h: ns3::PcapHelperForIpv4 [class] + ## internet-trace-helper.h: ns3::PcapHelperForIpv4 [class] module.add_class('PcapHelperForIpv4', allow_subclassing=True) - ## trace-helper.h: ns3::PcapHelperForIpv6 [class] + ## internet-trace-helper.h: ns3::PcapHelperForIpv6 [class] module.add_class('PcapHelperForIpv6', allow_subclassing=True) ## icmpv4.h: ns3::Icmpv4DestinationUnreachable [class] module.add_class('Icmpv4DestinationUnreachable', parent=root_module['ns3::Header']) @@ -217,6 +207,8 @@ def register_types(module): module.add_class('Ipv4MulticastRoute', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter >']) ## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory [class] module.add_class('Ipv4RawSocketFactory', parent=root_module['ns3::SocketFactory']) + ## ipv4-raw-socket-impl.h: ns3::Ipv4RawSocketImpl [class] + module.add_class('Ipv4RawSocketImpl', parent=root_module['ns3::Socket']) ## ipv4-route.h: ns3::Ipv4Route [class] module.add_class('Ipv4Route', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter >']) ## ipv4-routing-protocol.h: ns3::Ipv4RoutingProtocol [class] @@ -367,8 +359,6 @@ def register_types_ns3_olsr(module): def register_methods(root_module): - register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) - register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4']) register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6']) register_Ns3GlobalRouteManager_methods(root_module, root_module['ns3::GlobalRouteManager']) @@ -391,8 +381,6 @@ def register_methods(root_module): register_Ns3Ipv6RoutingTableEntry_methods(root_module, root_module['ns3::Ipv6RoutingTableEntry']) register_Ns3Ipv6StaticRoutingHelper_methods(root_module, root_module['ns3::Ipv6StaticRoutingHelper']) register_Ns3OptionField_methods(root_module, root_module['ns3::OptionField']) - register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) - register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4']) register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6']) register_Ns3Icmpv4DestinationUnreachable_methods(root_module, root_module['ns3::Icmpv4DestinationUnreachable']) @@ -449,6 +437,7 @@ def register_methods(root_module): register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol']) register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute']) register_Ns3Ipv4RawSocketFactory_methods(root_module, root_module['ns3::Ipv4RawSocketFactory']) + register_Ns3Ipv4RawSocketImpl_methods(root_module, root_module['ns3::Ipv4RawSocketImpl']) register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route']) register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol']) register_Ns3Ipv4StaticRouting_methods(root_module, root_module['ns3::Ipv4StaticRouting']) @@ -478,179 +467,60 @@ def register_methods(root_module): register_Ns3LoopbackNetDevice_methods(root_module, root_module['ns3::LoopbackNetDevice']) return -def register_Ns3AsciiTraceHelper_methods(root_module, cls): - ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper(ns3::AsciiTraceHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')]) - ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::Ptr ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::_Ios_Openmode filemode=std::ios_base::out) [member function] - cls.add_method('CreateFileStream', - 'ns3::Ptr< ns3::OutputStreamWrapper >', - [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode', default_value='std::ios_base::out')]) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultDequeueSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultDequeueSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultDropSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultDropSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultEnqueueSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultEnqueueSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultReceiveSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultReceiveSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromDevice', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')]) - ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromInterfacePair', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) - return - -def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): - ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')]) - ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor] - cls.add_constructor([]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr nd, bool explicitFilename=false) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::Ptr nd) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName, bool explicitFilename=false) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, std::string ndName) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ndName')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NetDeviceContainer', 'd')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls): - ## trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor] + ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor] cls.add_constructor([param('ns3::AsciiTraceHelperForIpv4 const &', 'arg0')]) - ## trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor] + ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor] cls.add_constructor([]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ptr ipv4, uint32_t interface) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ptr ipv4, uint32_t interface) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, std::string ipv4Name, uint32_t interface) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, std::string ipv4Name, uint32_t interface) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ipv4InterfaceContainer c) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ipv4InterfaceContainer c) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::NodeContainer n) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::NodeContainer n) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnableAsciiIpv4', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function] cls.add_method('EnableAsciiIpv4All', 'void', [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr stream) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr stream) [member function] cls.add_method('EnableAsciiIpv4All', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnableAsciiIpv4Internal', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], @@ -658,59 +528,59 @@ def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls): return def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls): - ## trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor] + ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor] cls.add_constructor([param('ns3::AsciiTraceHelperForIpv6 const &', 'arg0')]) - ## trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor] + ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor] cls.add_constructor([]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ptr ipv6, uint32_t interface) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ptr ipv6, uint32_t interface) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, std::string ipv6Name, uint32_t interface) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, std::string ipv6Name, uint32_t interface) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ipv6InterfaceContainer c) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ipv6InterfaceContainer c) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::NodeContainer n) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::NodeContainer n) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] cls.add_method('EnableAsciiIpv6', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function] cls.add_method('EnableAsciiIpv6All', 'void', [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr stream) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr stream) [member function] cls.add_method('EnableAsciiIpv6All', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnableAsciiIpv6Internal', 'void', [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], @@ -1721,91 +1591,36 @@ def register_Ns3OptionField_methods(root_module, cls): is_const=True) return -def register_Ns3PcapHelper_methods(root_module, cls): - ## trace-helper.h: ns3::PcapHelper::PcapHelper(ns3::PcapHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')]) - ## trace-helper.h: ns3::PcapHelper::PcapHelper() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::Ptr ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=65535, int32_t tzCorrection=0) [member function] - cls.add_method('CreateFile', - 'ns3::Ptr< ns3::PcapFileWrapper >', - [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='65535'), param('int32_t', 'tzCorrection', default_value='0')]) - ## trace-helper.h: std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromDevice', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')]) - ## trace-helper.h: std::string ns3::PcapHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromInterfacePair', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) - return - -def register_Ns3PcapHelperForDevice_methods(root_module, cls): - ## trace-helper.h: ns3::PcapHelperForDevice::PcapHelperForDevice(ns3::PcapHelperForDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapHelperForDevice const &', 'arg0')]) - ## trace-helper.h: ns3::PcapHelperForDevice::PcapHelperForDevice() [constructor] - cls.add_constructor([]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::Ptr nd, bool promiscuous=false, bool explicitFilename=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, std::string ndName, bool promiscuous=false, bool explicitFilename=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NetDeviceContainer d, bool promiscuous=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NodeContainer n, bool promiscuous=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool promiscuous=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcapAll(std::string prefix, bool promiscuous=false) [member function] - cls.add_method('EnablePcapAll', - 'void', - [param('std::string', 'prefix'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - def register_Ns3PcapHelperForIpv4_methods(root_module, cls): - ## trace-helper.h: ns3::PcapHelperForIpv4::PcapHelperForIpv4(ns3::PcapHelperForIpv4 const & arg0) [copy constructor] + ## internet-trace-helper.h: ns3::PcapHelperForIpv4::PcapHelperForIpv4(ns3::PcapHelperForIpv4 const & arg0) [copy constructor] cls.add_constructor([param('ns3::PcapHelperForIpv4 const &', 'arg0')]) - ## trace-helper.h: ns3::PcapHelperForIpv4::PcapHelperForIpv4() [constructor] + ## internet-trace-helper.h: ns3::PcapHelperForIpv4::PcapHelperForIpv4() [constructor] cls.add_constructor([]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnablePcapIpv4', 'void', [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnablePcapIpv4', 'void', [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] cls.add_method('EnablePcapIpv4', 'void', [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::NodeContainer n) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::NodeContainer n) [member function] cls.add_method('EnablePcapIpv4', 'void', [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnablePcapIpv4', 'void', [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4All(std::string prefix) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4All(std::string prefix) [member function] cls.add_method('EnablePcapIpv4All', 'void', [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnablePcapIpv4Internal', 'void', [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], @@ -1813,35 +1628,35 @@ def register_Ns3PcapHelperForIpv4_methods(root_module, cls): return def register_Ns3PcapHelperForIpv6_methods(root_module, cls): - ## trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor] + ## internet-trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor] cls.add_constructor([param('ns3::PcapHelperForIpv6 const &', 'arg0')]) - ## trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor] + ## internet-trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor] cls.add_constructor([]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnablePcapIpv6', 'void', [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function] cls.add_method('EnablePcapIpv6', 'void', [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] cls.add_method('EnablePcapIpv6', 'void', [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function] cls.add_method('EnablePcapIpv6', 'void', [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnablePcapIpv6', 'void', [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function] cls.add_method('EnablePcapIpv6All', 'void', [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] + ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] cls.add_method('EnablePcapIpv6Internal', 'void', [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], @@ -5294,6 +5109,130 @@ def register_Ns3Ipv4RawSocketFactory_methods(root_module, cls): is_static=True) return +def register_Ns3Ipv4RawSocketImpl_methods(root_module, cls): + ## ipv4-raw-socket-impl.h: ns3::Ipv4RawSocketImpl::Ipv4RawSocketImpl(ns3::Ipv4RawSocketImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4RawSocketImpl const &', 'arg0')]) + ## ipv4-raw-socket-impl.h: ns3::Ipv4RawSocketImpl::Ipv4RawSocketImpl() [constructor] + cls.add_constructor([]) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Bind(ns3::Address const & address) [member function] + cls.add_method('Bind', + 'int', + [param('ns3::Address const &', 'address')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Bind() [member function] + cls.add_method('Bind', + 'int', + [], + is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Close() [member function] + cls.add_method('Close', + 'int', + [], + is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Connect(ns3::Address const & address) [member function] + cls.add_method('Connect', + 'int', + [param('ns3::Address const &', 'address')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: bool ns3::Ipv4RawSocketImpl::ForwardUp(ns3::Ptr p, ns3::Ipv4Header ipHeader, ns3::Ptr incomingInterface) [member function] + cls.add_method('ForwardUp', + 'bool', + [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')]) + ## ipv4-raw-socket-impl.h: bool ns3::Ipv4RawSocketImpl::GetAllowBroadcast() const [member function] + cls.add_method('GetAllowBroadcast', + 'bool', + [], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: ns3::Socket::SocketErrno ns3::Ipv4RawSocketImpl::GetErrno() const [member function] + cls.add_method('GetErrno', + 'ns3::Socket::SocketErrno', + [], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: ns3::Ptr ns3::Ipv4RawSocketImpl::GetNode() const [member function] + cls.add_method('GetNode', + 'ns3::Ptr< ns3::Node >', + [], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: uint32_t ns3::Ipv4RawSocketImpl::GetRxAvailable() const [member function] + cls.add_method('GetRxAvailable', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::GetSockName(ns3::Address & address) const [member function] + cls.add_method('GetSockName', + 'int', + [param('ns3::Address &', 'address')], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: ns3::Socket::SocketType ns3::Ipv4RawSocketImpl::GetSocketType() const [member function] + cls.add_method('GetSocketType', + 'ns3::Socket::SocketType', + [], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: uint32_t ns3::Ipv4RawSocketImpl::GetTxAvailable() const [member function] + cls.add_method('GetTxAvailable', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## ipv4-raw-socket-impl.h: static ns3::TypeId ns3::Ipv4RawSocketImpl::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Listen() [member function] + cls.add_method('Listen', + 'int', + [], + is_virtual=True) + ## ipv4-raw-socket-impl.h: ns3::Ptr ns3::Ipv4RawSocketImpl::Recv(uint32_t maxSize, uint32_t flags) [member function] + cls.add_method('Recv', + 'ns3::Ptr< ns3::Packet >', + [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: ns3::Ptr ns3::Ipv4RawSocketImpl::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function] + cls.add_method('RecvFrom', + 'ns3::Ptr< ns3::Packet >', + [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Send(ns3::Ptr p, uint32_t flags) [member function] + cls.add_method('Send', + 'int', + [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::SendTo(ns3::Ptr p, uint32_t flags, ns3::Address const & toAddress) [member function] + cls.add_method('SendTo', + 'int', + [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: bool ns3::Ipv4RawSocketImpl::SetAllowBroadcast(bool allowBroadcast) [member function] + cls.add_method('SetAllowBroadcast', + 'bool', + [param('bool', 'allowBroadcast')], + is_virtual=True) + ## ipv4-raw-socket-impl.h: void ns3::Ipv4RawSocketImpl::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-raw-socket-impl.h: void ns3::Ipv4RawSocketImpl::SetProtocol(uint16_t protocol) [member function] + cls.add_method('SetProtocol', + 'void', + [param('uint16_t', 'protocol')]) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::ShutdownRecv() [member function] + cls.add_method('ShutdownRecv', + 'int', + [], + is_virtual=True) + ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::ShutdownSend() [member function] + cls.add_method('ShutdownSend', + 'int', + [], + is_virtual=True) + ## ipv4-raw-socket-impl.h: void ns3::Ipv4RawSocketImpl::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3Ipv4Route_methods(root_module, cls): cls.add_output_stream_operator() ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor] diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py b/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py index 997595928..62ffee68e 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py @@ -9,6 +9,10 @@ def register_types(module): module.add_enum('Side', ['RIGHT', 'LEFT', 'TOP', 'BOTTOM', 'UP', 'DOWN'], outer_class=root_module['ns3::Box']) ## constant-velocity-helper.h: ns3::ConstantVelocityHelper [class] module.add_class('ConstantVelocityHelper') + ## mobility-helper.h: ns3::MobilityHelper [class] + module.add_class('MobilityHelper') + ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper [class] + module.add_class('Ns2MobilityHelper') ## rectangle.h: ns3::Rectangle [class] module.add_class('Rectangle') ## rectangle.h: ns3::Rectangle::Side [enumeration] @@ -161,6 +165,8 @@ def register_types_ns3_olsr(module): def register_methods(root_module): register_Ns3Box_methods(root_module, root_module['ns3::Box']) register_Ns3ConstantVelocityHelper_methods(root_module, root_module['ns3::ConstantVelocityHelper']) + register_Ns3MobilityHelper_methods(root_module, root_module['ns3::MobilityHelper']) + register_Ns3Ns2MobilityHelper_methods(root_module, root_module['ns3::Ns2MobilityHelper']) register_Ns3Rectangle_methods(root_module, root_module['ns3::Rectangle']) register_Ns3Waypoint_methods(root_module, root_module['ns3::Waypoint']) register_Ns3PositionAllocator_methods(root_module, root_module['ns3::PositionAllocator']) @@ -278,6 +284,88 @@ def register_Ns3ConstantVelocityHelper_methods(root_module, cls): is_const=True) return +def register_Ns3MobilityHelper_methods(root_module, cls): + ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper(ns3::MobilityHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::MobilityHelper const &', 'arg0')]) + ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper() [constructor] + cls.add_constructor([]) + ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, uint32_t nodeid) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::ostream &', 'os'), param('uint32_t', 'nodeid')], + is_static=True) + ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], + is_static=True) + ## mobility-helper.h: static void ns3::MobilityHelper::EnableAsciiAll(std::ostream & os) [member function] + cls.add_method('EnableAsciiAll', + 'void', + [param('std::ostream &', 'os')], + is_static=True) + ## mobility-helper.h: std::string ns3::MobilityHelper::GetMobilityModelType() const [member function] + cls.add_method('GetMobilityModelType', + 'std::string', + [], + is_const=True) + ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::Ptr node) const [member function] + cls.add_method('Install', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True) + ## mobility-helper.h: void ns3::MobilityHelper::Install(std::string nodeName) const [member function] + cls.add_method('Install', + 'void', + [param('std::string', 'nodeName')], + is_const=True) + ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::NodeContainer container) const [member function] + cls.add_method('Install', + 'void', + [param('ns3::NodeContainer', 'container')], + is_const=True) + ## mobility-helper.h: void ns3::MobilityHelper::InstallAll() [member function] + cls.add_method('InstallAll', + 'void', + []) + ## mobility-helper.h: void ns3::MobilityHelper::PopReferenceMobilityModel() [member function] + cls.add_method('PopReferenceMobilityModel', + 'void', + []) + ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(ns3::Ptr reference) [member function] + cls.add_method('PushReferenceMobilityModel', + 'void', + [param('ns3::Ptr< ns3::Object >', 'reference')]) + ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(std::string referenceName) [member function] + cls.add_method('PushReferenceMobilityModel', + 'void', + [param('std::string', 'referenceName')]) + ## 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] + cls.add_method('SetMobilityModel', + 'void', + [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()')]) + ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(ns3::Ptr allocator) [member function] + cls.add_method('SetPositionAllocator', + 'void', + [param('ns3::Ptr< ns3::PositionAllocator >', 'allocator')]) + ## 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] + cls.add_method('SetPositionAllocator', + 'void', + [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()')]) + return + +def register_Ns3Ns2MobilityHelper_methods(root_module, cls): + ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(ns3::Ns2MobilityHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ns2MobilityHelper const &', 'arg0')]) + ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(std::string filename) [constructor] + cls.add_constructor([param('std::string', 'filename')]) + ## ns2-mobility-helper.h: void ns3::Ns2MobilityHelper::Install() const [member function] + cls.add_method('Install', + 'void', + [], + is_const=True) + return + def register_Ns3Rectangle_methods(root_module, cls): cls.add_output_stream_operator() ## rectangle.h: ns3::Rectangle::Rectangle(ns3::Rectangle const & arg0) [copy constructor] diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_network.py b/bindings/python/apidefs/gcc-LP64/ns3_module_network.py index 0288870d9..d55c3ace7 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_network.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_network.py @@ -15,6 +15,10 @@ def register_types(module): module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address']) ## application-container.h: ns3::ApplicationContainer [class] module.add_class('ApplicationContainer') + ## trace-helper.h: ns3::AsciiTraceHelper [class] + module.add_class('AsciiTraceHelper') + ## trace-helper.h: ns3::AsciiTraceHelperForDevice [class] + module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True) ## buffer.h: ns3::Buffer [class] module.add_class('Buffer') ## buffer.h: ns3::Buffer::Iterator [class] @@ -95,6 +99,12 @@ def register_types(module): module.add_class('PbbTlvBlock') ## pcap-file.h: ns3::PcapFile [class] module.add_class('PcapFile') + ## trace-helper.h: ns3::PcapHelper [class] + module.add_class('PcapHelper') + ## trace-helper.h: ns3::PcapHelper [enumeration] + module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper']) + ## trace-helper.h: ns3::PcapHelperForDevice [class] + module.add_class('PcapHelperForDevice', allow_subclassing=True) ## sequence-number.h: ns3::SequenceNumber [class] module.add_class('SequenceNumber32') ## tag.h: ns3::Tag [class] @@ -354,6 +364,8 @@ def register_types_ns3_olsr(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer']) + register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) + register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -386,6 +398,8 @@ def register_methods(root_module): register_Ns3PbbAddressTlvBlock_methods(root_module, root_module['ns3::PbbAddressTlvBlock']) register_Ns3PbbTlvBlock_methods(root_module, root_module['ns3::PbbTlvBlock']) register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile']) + register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) + register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) register_Ns3SequenceNumber32_methods(root_module, root_module['ns3::SequenceNumber32']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) @@ -566,6 +580,125 @@ def register_Ns3ApplicationContainer_methods(root_module, cls): [param('ns3::Time', 'stop')]) return +def register_Ns3AsciiTraceHelper_methods(root_module, cls): + ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper(ns3::AsciiTraceHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')]) + ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor] + cls.add_constructor([]) + ## trace-helper.h: ns3::Ptr ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::_Ios_Openmode filemode=std::ios_base::out) [member function] + cls.add_method('CreateFileStream', + 'ns3::Ptr< ns3::OutputStreamWrapper >', + [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode', default_value='std::ios_base::out')]) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + cls.add_method('DefaultDequeueSinkWithContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + cls.add_method('DefaultDequeueSinkWithoutContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + cls.add_method('DefaultDropSinkWithContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + cls.add_method('DefaultDropSinkWithoutContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + cls.add_method('DefaultEnqueueSinkWithContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + cls.add_method('DefaultEnqueueSinkWithoutContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] + cls.add_method('DefaultReceiveSinkWithContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] + cls.add_method('DefaultReceiveSinkWithoutContext', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], + is_static=True) + ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] + cls.add_method('GetFilenameFromDevice', + 'std::string', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')]) + ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function] + cls.add_method('GetFilenameFromInterfacePair', + 'std::string', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) + return + +def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): + ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')]) + ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor] + cls.add_constructor([]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr nd, bool explicitFilename=false) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename', default_value='false')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::Ptr nd) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName, bool explicitFilename=false) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'explicitFilename', default_value='false')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, std::string ndName) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ndName')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NetDeviceContainer d) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NetDeviceContainer', 'd')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NodeContainer n) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function] + cls.add_method('EnableAscii', + 'void', + [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, uint32_t nodeid, uint32_t deviceid) [member function] + cls.add_method('EnableAscii', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function] + cls.add_method('EnableAsciiAll', + 'void', + [param('std::string', 'prefix')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr stream) [member function] + cls.add_method('EnableAsciiAll', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) + ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] + cls.add_method('EnableAsciiInternal', + 'void', + [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3Buffer_methods(root_module, cls): ## buffer.h: ns3::Buffer::Buffer() [constructor] cls.add_constructor([]) @@ -2249,6 +2382,61 @@ def register_Ns3PcapFile_methods(root_module, cls): cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True) return +def register_Ns3PcapHelper_methods(root_module, cls): + ## trace-helper.h: ns3::PcapHelper::PcapHelper(ns3::PcapHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')]) + ## trace-helper.h: ns3::PcapHelper::PcapHelper() [constructor] + cls.add_constructor([]) + ## trace-helper.h: ns3::Ptr ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=65535, int32_t tzCorrection=0) [member function] + cls.add_method('CreateFile', + 'ns3::Ptr< ns3::PcapFileWrapper >', + [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='65535'), param('int32_t', 'tzCorrection', default_value='0')]) + ## trace-helper.h: std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] + cls.add_method('GetFilenameFromDevice', + 'std::string', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')]) + ## trace-helper.h: std::string ns3::PcapHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function] + cls.add_method('GetFilenameFromInterfacePair', + 'std::string', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) + return + +def register_Ns3PcapHelperForDevice_methods(root_module, cls): + ## trace-helper.h: ns3::PcapHelperForDevice::PcapHelperForDevice(ns3::PcapHelperForDevice const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PcapHelperForDevice const &', 'arg0')]) + ## trace-helper.h: ns3::PcapHelperForDevice::PcapHelperForDevice() [constructor] + cls.add_constructor([]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::Ptr nd, bool promiscuous=false, bool explicitFilename=false) [member function] + cls.add_method('EnablePcap', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, std::string ndName, bool promiscuous=false, bool explicitFilename=false) [member function] + cls.add_method('EnablePcap', + 'void', + [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NetDeviceContainer d, bool promiscuous=false) [member function] + cls.add_method('EnablePcap', + 'void', + [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous', default_value='false')]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NodeContainer n, bool promiscuous=false) [member function] + cls.add_method('EnablePcap', + 'void', + [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous', default_value='false')]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool promiscuous=false) [member function] + cls.add_method('EnablePcap', + 'void', + [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous', default_value='false')]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcapAll(std::string prefix, bool promiscuous=false) [member function] + cls.add_method('EnablePcapAll', + 'void', + [param('std::string', 'prefix'), param('bool', 'promiscuous', default_value='false')]) + ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] + cls.add_method('EnablePcapInternal', + 'void', + [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3SequenceNumber32_methods(root_module, cls): cls.add_binary_comparison_operator('!=') cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('ns3::SequenceNumber< unsigned int, int > const &', 'right')) diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_nix_vector_routing.py b/bindings/python/apidefs/gcc-LP64/ns3_module_nix_vector_routing.py index 16aebb320..db0c43e3c 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_nix_vector_routing.py +++ b/bindings/python/apidefs/gcc-LP64/ns3_module_nix_vector_routing.py @@ -3,6 +3,8 @@ from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandler def register_types(module): root_module = module.get_root() + ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper [class] + module.add_class('Ipv4NixVectorHelper', parent=root_module['ns3::Ipv4RoutingHelper']) ## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting [class] module.add_class('Ipv4NixVectorRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >', 'ns3::NixMap_t') @@ -103,9 +105,27 @@ def register_types_ns3_olsr(module): def register_methods(root_module): + register_Ns3Ipv4NixVectorHelper_methods(root_module, root_module['ns3::Ipv4NixVectorHelper']) register_Ns3Ipv4NixVectorRouting_methods(root_module, root_module['ns3::Ipv4NixVectorRouting']) return +def register_Ns3Ipv4NixVectorHelper_methods(root_module, cls): + ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper() [constructor] + cls.add_constructor([]) + ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper(ns3::Ipv4NixVectorHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Ipv4NixVectorHelper const &', 'arg0')]) + ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper * ns3::Ipv4NixVectorHelper::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ipv4NixVectorHelper *', + [], + is_const=True, is_virtual=True) + ## ipv4-nix-vector-helper.h: ns3::Ptr ns3::Ipv4NixVectorHelper::Create(ns3::Ptr node) const [member function] + cls.add_method('Create', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_const=True, is_virtual=True) + return + def register_Ns3Ipv4NixVectorRouting_methods(root_module, cls): ## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting::Ipv4NixVectorRouting(ns3::Ipv4NixVectorRouting const & arg0) [copy constructor] cls.add_constructor([param('ns3::Ipv4NixVectorRouting const &', 'arg0')]) diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_onoff.py b/bindings/python/apidefs/gcc-LP64/ns3_module_onoff.py deleted file mode 100644 index 26496891e..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_onoff.py +++ /dev/null @@ -1,178 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## onoff-application.h: ns3::OnOffApplication [class] - module.add_class('OnOffApplication', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3OnOffApplication_methods(root_module, root_module['ns3::OnOffApplication']) - return - -def register_Ns3OnOffApplication_methods(root_module, cls): - ## onoff-application.h: ns3::OnOffApplication::OnOffApplication(ns3::OnOffApplication const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OnOffApplication const &', 'arg0')]) - ## onoff-application.h: ns3::OnOffApplication::OnOffApplication() [constructor] - cls.add_constructor([]) - ## onoff-application.h: ns3::Ptr ns3::OnOffApplication::GetSocket() const [member function] - cls.add_method('GetSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_const=True) - ## onoff-application.h: static ns3::TypeId ns3::OnOffApplication::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## onoff-application.h: void ns3::OnOffApplication::SetMaxBytes(uint32_t maxBytes) [member function] - cls.add_method('SetMaxBytes', - 'void', - [param('uint32_t', 'maxBytes')]) - ## onoff-application.h: void ns3::OnOffApplication::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## onoff-application.h: void ns3::OnOffApplication::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## onoff-application.h: void ns3::OnOffApplication::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_packet_sink.py b/bindings/python/apidefs/gcc-LP64/ns3_module_packet_sink.py deleted file mode 100644 index 927f85c6d..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_packet_sink.py +++ /dev/null @@ -1,184 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## packet-sink.h: ns3::PacketSink [class] - module.add_class('PacketSink', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3PacketSink_methods(root_module, root_module['ns3::PacketSink']) - return - -def register_Ns3PacketSink_methods(root_module, cls): - ## packet-sink.h: ns3::PacketSink::PacketSink(ns3::PacketSink const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSink const &', 'arg0')]) - ## packet-sink.h: ns3::PacketSink::PacketSink() [constructor] - cls.add_constructor([]) - ## packet-sink.h: std::list, std::allocator > > ns3::PacketSink::GetAcceptedSockets() const [member function] - cls.add_method('GetAcceptedSockets', - 'std::list< ns3::Ptr< ns3::Socket > >', - [], - is_const=True) - ## packet-sink.h: ns3::Ptr ns3::PacketSink::GetListeningSocket() const [member function] - cls.add_method('GetListeningSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_const=True) - ## packet-sink.h: uint32_t ns3::PacketSink::GetTotalRx() const [member function] - cls.add_method('GetTotalRx', - 'uint32_t', - [], - is_const=True) - ## packet-sink.h: static ns3::TypeId ns3::PacketSink::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packet-sink.h: void ns3::PacketSink::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## packet-sink.h: void ns3::PacketSink::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## packet-sink.h: void ns3::PacketSink::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_ping6.py b/bindings/python/apidefs/gcc-LP64/ns3_module_ping6.py deleted file mode 100644 index 991abeb48..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_ping6.py +++ /dev/null @@ -1,185 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## ping6.h: ns3::Ping6 [class] - module.add_class('Ping6', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Ping6_methods(root_module, root_module['ns3::Ping6']) - return - -def register_Ns3Ping6_methods(root_module, cls): - ## ping6.h: ns3::Ping6::Ping6(ns3::Ping6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ping6 const &', 'arg0')]) - ## ping6.h: ns3::Ping6::Ping6() [constructor] - cls.add_constructor([]) - ## ping6.h: static ns3::TypeId ns3::Ping6::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ping6.h: void ns3::Ping6::SetIfIndex(uint32_t ifIndex) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t', 'ifIndex')]) - ## ping6.h: void ns3::Ping6::SetLocal(ns3::Ipv6Address ipv6) [member function] - cls.add_method('SetLocal', - 'void', - [param('ns3::Ipv6Address', 'ipv6')]) - ## ping6.h: void ns3::Ping6::SetRemote(ns3::Ipv6Address ipv6) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv6Address', 'ipv6')]) - ## ping6.h: void ns3::Ping6::SetRouters(std::vector > routers) [member function] - cls.add_method('SetRouters', - 'void', - [param('std::vector< ns3::Ipv6Address >', 'routers')]) - ## ping6.h: void ns3::Ping6::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## ping6.h: void ns3::Ping6::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## ping6.h: void ns3::Ping6::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_radvd.py b/bindings/python/apidefs/gcc-LP64/ns3_module_radvd.py deleted file mode 100644 index d87637abf..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_radvd.py +++ /dev/null @@ -1,449 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdInterface', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdPrefix', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## radvd.h: ns3::Radvd [class] - module.add_class('Radvd', parent=root_module['ns3::Application']) - ## radvd-interface.h: ns3::RadvdInterface [class] - module.add_class('RadvdInterface', parent=root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty, ns3::DefaultDeleter >']) - ## radvd-prefix.h: ns3::RadvdPrefix [class] - module.add_class('RadvdPrefix', parent=root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter >']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Radvd_methods(root_module, root_module['ns3::Radvd']) - register_Ns3RadvdInterface_methods(root_module, root_module['ns3::RadvdInterface']) - register_Ns3RadvdPrefix_methods(root_module, root_module['ns3::RadvdPrefix']) - return - -def register_Ns3Radvd_methods(root_module, cls): - ## radvd.h: ns3::Radvd::Radvd(ns3::Radvd const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Radvd const &', 'arg0')]) - ## radvd.h: ns3::Radvd::Radvd() [constructor] - cls.add_constructor([]) - ## radvd.h: void ns3::Radvd::AddConfiguration(ns3::Ptr routerInterface) [member function] - cls.add_method('AddConfiguration', - 'void', - [param('ns3::Ptr< ns3::RadvdInterface >', 'routerInterface')]) - ## radvd.h: static ns3::TypeId ns3::Radvd::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## radvd.h: ns3::Radvd::MAX_RA_DELAY_TIME [variable] - cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True) - ## radvd.h: void ns3::Radvd::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## radvd.h: void ns3::Radvd::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## radvd.h: void ns3::Radvd::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RadvdInterface_methods(root_module, cls): - ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(ns3::RadvdInterface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RadvdInterface const &', 'arg0')]) - ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface) [constructor] - cls.add_constructor([param('uint32_t', 'interface')]) - ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface, uint32_t maxRtrAdvInterval, uint32_t minRtrAdvInterval) [constructor] - cls.add_constructor([param('uint32_t', 'interface'), param('uint32_t', 'maxRtrAdvInterval'), param('uint32_t', 'minRtrAdvInterval')]) - ## radvd-interface.h: void ns3::RadvdInterface::AddPrefix(ns3::Ptr routerPrefix) [member function] - cls.add_method('AddPrefix', - 'void', - [param('ns3::Ptr< ns3::RadvdPrefix >', 'routerPrefix')]) - ## radvd-interface.h: uint8_t ns3::RadvdInterface::GetCurHopLimit() const [member function] - cls.add_method('GetCurHopLimit', - 'uint8_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetDefaultLifeTime() const [member function] - cls.add_method('GetDefaultLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint8_t ns3::RadvdInterface::GetDefaultPreference() const [member function] - cls.add_method('GetDefaultPreference', - 'uint8_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentLifeTime() const [member function] - cls.add_method('GetHomeAgentLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentPreference() const [member function] - cls.add_method('GetHomeAgentPreference', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetInterface() const [member function] - cls.add_method('GetInterface', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetLinkMtu() const [member function] - cls.add_method('GetLinkMtu', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMaxRtrAdvInterval() const [member function] - cls.add_method('GetMaxRtrAdvInterval', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinDelayBetweenRAs() const [member function] - cls.add_method('GetMinDelayBetweenRAs', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinRtrAdvInterval() const [member function] - cls.add_method('GetMinRtrAdvInterval', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: std::list, std::allocator > > ns3::RadvdInterface::GetPrefixes() const [member function] - cls.add_method('GetPrefixes', - 'std::list< ns3::Ptr< ns3::RadvdPrefix > >', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetReachableTime() const [member function] - cls.add_method('GetReachableTime', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetRetransTimer() const [member function] - cls.add_method('GetRetransTimer', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentFlag() const [member function] - cls.add_method('IsHomeAgentFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentInfo() const [member function] - cls.add_method('IsHomeAgentInfo', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsIntervalOpt() const [member function] - cls.add_method('IsIntervalOpt', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsManagedFlag() const [member function] - cls.add_method('IsManagedFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsMobRtrSupportFlag() const [member function] - cls.add_method('IsMobRtrSupportFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsOtherConfigFlag() const [member function] - cls.add_method('IsOtherConfigFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsSendAdvert() const [member function] - cls.add_method('IsSendAdvert', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsSourceLLAddress() const [member function] - cls.add_method('IsSourceLLAddress', - 'bool', - [], - is_const=True) - ## radvd-interface.h: void ns3::RadvdInterface::SetCurHopLimit(uint8_t curHopLimit) [member function] - cls.add_method('SetCurHopLimit', - 'void', - [param('uint8_t', 'curHopLimit')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetDefaultLifeTime(uint32_t defaultLifeTime) [member function] - cls.add_method('SetDefaultLifeTime', - 'void', - [param('uint32_t', 'defaultLifeTime')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetDefaultPreference(uint8_t defaultPreference) [member function] - cls.add_method('SetDefaultPreference', - 'void', - [param('uint8_t', 'defaultPreference')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentFlag(bool homeAgentFlag) [member function] - cls.add_method('SetHomeAgentFlag', - 'void', - [param('bool', 'homeAgentFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentInfo(bool homeAgentFlag) [member function] - cls.add_method('SetHomeAgentInfo', - 'void', - [param('bool', 'homeAgentFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentLifeTime(uint32_t homeAgentLifeTime) [member function] - cls.add_method('SetHomeAgentLifeTime', - 'void', - [param('uint32_t', 'homeAgentLifeTime')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentPreference(uint32_t homeAgentPreference) [member function] - cls.add_method('SetHomeAgentPreference', - 'void', - [param('uint32_t', 'homeAgentPreference')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetIntervalOpt(bool intervalOpt) [member function] - cls.add_method('SetIntervalOpt', - 'void', - [param('bool', 'intervalOpt')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetLinkMtu(uint32_t linkMtu) [member function] - cls.add_method('SetLinkMtu', - 'void', - [param('uint32_t', 'linkMtu')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetManagedFlag(bool managedFlag) [member function] - cls.add_method('SetManagedFlag', - 'void', - [param('bool', 'managedFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMaxRtrAdvInterval(uint32_t maxRtrAdvInterval) [member function] - cls.add_method('SetMaxRtrAdvInterval', - 'void', - [param('uint32_t', 'maxRtrAdvInterval')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMinDelayBetweenRAs(uint32_t minDelayBetweenRAs) [member function] - cls.add_method('SetMinDelayBetweenRAs', - 'void', - [param('uint32_t', 'minDelayBetweenRAs')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMinRtrAdvInterval(uint32_t minRtrAdvInterval) [member function] - cls.add_method('SetMinRtrAdvInterval', - 'void', - [param('uint32_t', 'minRtrAdvInterval')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMobRtrSupportFlag(bool mobRtrSupportFlag) [member function] - cls.add_method('SetMobRtrSupportFlag', - 'void', - [param('bool', 'mobRtrSupportFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetOtherConfigFlag(bool otherConfigFlag) [member function] - cls.add_method('SetOtherConfigFlag', - 'void', - [param('bool', 'otherConfigFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetReachableTime(uint32_t reachableTime) [member function] - cls.add_method('SetReachableTime', - 'void', - [param('uint32_t', 'reachableTime')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetRetransTimer(uint32_t retransTimer) [member function] - cls.add_method('SetRetransTimer', - 'void', - [param('uint32_t', 'retransTimer')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetSendAdvert(bool sendAdvert) [member function] - cls.add_method('SetSendAdvert', - 'void', - [param('bool', 'sendAdvert')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetSourceLLAddress(bool sourceLLAddress) [member function] - cls.add_method('SetSourceLLAddress', - 'void', - [param('bool', 'sourceLLAddress')]) - return - -def register_Ns3RadvdPrefix_methods(root_module, cls): - ## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::RadvdPrefix const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RadvdPrefix const &', 'arg0')]) - ## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::Ipv6Address network, uint8_t prefixLength, uint32_t preferredLifeTime=604800, uint32_t validLifeTime=2592000, bool onLinkFlag=true, bool autonomousFlag=true, bool routerAddrFlag=false) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'network'), param('uint8_t', 'prefixLength'), param('uint32_t', 'preferredLifeTime', default_value='604800'), param('uint32_t', 'validLifeTime', default_value='2592000'), param('bool', 'onLinkFlag', default_value='true'), param('bool', 'autonomousFlag', default_value='true'), param('bool', 'routerAddrFlag', default_value='false')]) - ## radvd-prefix.h: ns3::Ipv6Address ns3::RadvdPrefix::GetNetwork() const [member function] - cls.add_method('GetNetwork', - 'ns3::Ipv6Address', - [], - is_const=True) - ## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetPreferredLifeTime() const [member function] - cls.add_method('GetPreferredLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-prefix.h: uint8_t ns3::RadvdPrefix::GetPrefixLength() const [member function] - cls.add_method('GetPrefixLength', - 'uint8_t', - [], - is_const=True) - ## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetValidLifeTime() const [member function] - cls.add_method('GetValidLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-prefix.h: bool ns3::RadvdPrefix::IsAutonomousFlag() const [member function] - cls.add_method('IsAutonomousFlag', - 'bool', - [], - is_const=True) - ## radvd-prefix.h: bool ns3::RadvdPrefix::IsOnLinkFlag() const [member function] - cls.add_method('IsOnLinkFlag', - 'bool', - [], - is_const=True) - ## radvd-prefix.h: bool ns3::RadvdPrefix::IsRouterAddrFlag() const [member function] - cls.add_method('IsRouterAddrFlag', - 'bool', - [], - is_const=True) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetAutonomousFlag(bool autonomousFlag) [member function] - cls.add_method('SetAutonomousFlag', - 'void', - [param('bool', 'autonomousFlag')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetNetwork(ns3::Ipv6Address network) [member function] - cls.add_method('SetNetwork', - 'void', - [param('ns3::Ipv6Address', 'network')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetOnLinkFlag(bool onLinkFlag) [member function] - cls.add_method('SetOnLinkFlag', - 'void', - [param('bool', 'onLinkFlag')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetPreferredLifeTime(uint32_t preferredLifeTime) [member function] - cls.add_method('SetPreferredLifeTime', - 'void', - [param('uint32_t', 'preferredLifeTime')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetPrefixLength(uint8_t prefixLength) [member function] - cls.add_method('SetPrefixLength', - 'void', - [param('uint8_t', 'prefixLength')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetRouterAddrFlag(bool routerAddrFlag) [member function] - cls.add_method('SetRouterAddrFlag', - 'void', - [param('bool', 'routerAddrFlag')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetValidLifeTime(uint32_t validLifeTime) [member function] - cls.add_method('SetValidLifeTime', - 'void', - [param('uint32_t', 'validLifeTime')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_udp_client_server.py b/bindings/python/apidefs/gcc-LP64/ns3_module_udp_client_server.py deleted file mode 100644 index aef6e659b..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_udp_client_server.py +++ /dev/null @@ -1,298 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## packet-loss-counter.h: ns3::PacketLossCounter [class] - module.add_class('PacketLossCounter') - ## udp-client.h: ns3::UdpClient [class] - module.add_class('UdpClient', parent=root_module['ns3::Application']) - ## udp-server.h: ns3::UdpServer [class] - module.add_class('UdpServer', parent=root_module['ns3::Application']) - ## udp-trace-client.h: ns3::UdpTraceClient [class] - module.add_class('UdpTraceClient', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3PacketLossCounter_methods(root_module, root_module['ns3::PacketLossCounter']) - register_Ns3UdpClient_methods(root_module, root_module['ns3::UdpClient']) - register_Ns3UdpServer_methods(root_module, root_module['ns3::UdpServer']) - register_Ns3UdpTraceClient_methods(root_module, root_module['ns3::UdpTraceClient']) - return - -def register_Ns3PacketLossCounter_methods(root_module, cls): - ## packet-loss-counter.h: ns3::PacketLossCounter::PacketLossCounter(ns3::PacketLossCounter const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketLossCounter const &', 'arg0')]) - ## packet-loss-counter.h: ns3::PacketLossCounter::PacketLossCounter(uint8_t bitmapSize) [constructor] - cls.add_constructor([param('uint8_t', 'bitmapSize')]) - ## packet-loss-counter.h: uint16_t ns3::PacketLossCounter::GetBitMapSize() const [member function] - cls.add_method('GetBitMapSize', - 'uint16_t', - [], - is_const=True) - ## packet-loss-counter.h: uint32_t ns3::PacketLossCounter::GetLost() const [member function] - cls.add_method('GetLost', - 'uint32_t', - [], - is_const=True) - ## packet-loss-counter.h: void ns3::PacketLossCounter::NotifyReceived(uint32_t seq) [member function] - cls.add_method('NotifyReceived', - 'void', - [param('uint32_t', 'seq')]) - ## packet-loss-counter.h: void ns3::PacketLossCounter::SetBitMapSize(uint16_t size) [member function] - cls.add_method('SetBitMapSize', - 'void', - [param('uint16_t', 'size')]) - return - -def register_Ns3UdpClient_methods(root_module, cls): - ## udp-client.h: ns3::UdpClient::UdpClient(ns3::UdpClient const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpClient const &', 'arg0')]) - ## udp-client.h: ns3::UdpClient::UdpClient() [constructor] - cls.add_constructor([]) - ## udp-client.h: static ns3::TypeId ns3::UdpClient::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-client.h: void ns3::UdpClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-client.h: void ns3::UdpClient::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-client.h: void ns3::UdpClient::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-client.h: void ns3::UdpClient::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpServer_methods(root_module, cls): - ## udp-server.h: ns3::UdpServer::UdpServer(ns3::UdpServer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpServer const &', 'arg0')]) - ## udp-server.h: ns3::UdpServer::UdpServer() [constructor] - cls.add_constructor([]) - ## udp-server.h: uint32_t ns3::UdpServer::GetLost() const [member function] - cls.add_method('GetLost', - 'uint32_t', - [], - is_const=True) - ## udp-server.h: uint16_t ns3::UdpServer::GetPacketWindowSize() const [member function] - cls.add_method('GetPacketWindowSize', - 'uint16_t', - [], - is_const=True) - ## udp-server.h: uint32_t ns3::UdpServer::GetReceived() const [member function] - cls.add_method('GetReceived', - 'uint32_t', - [], - is_const=True) - ## udp-server.h: static ns3::TypeId ns3::UdpServer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-server.h: void ns3::UdpServer::SetPacketWindowSize(uint16_t size) [member function] - cls.add_method('SetPacketWindowSize', - 'void', - [param('uint16_t', 'size')]) - ## udp-server.h: void ns3::UdpServer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-server.h: void ns3::UdpServer::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-server.h: void ns3::UdpServer::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpTraceClient_methods(root_module, cls): - ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient(ns3::UdpTraceClient const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpTraceClient const &', 'arg0')]) - ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient() [constructor] - cls.add_constructor([]) - ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient(ns3::Ipv4Address ip, uint16_t port, char * traceFile) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port'), param('char *', 'traceFile')]) - ## udp-trace-client.h: uint16_t ns3::UdpTraceClient::GetMaxPacketSize() [member function] - cls.add_method('GetMaxPacketSize', - 'uint16_t', - []) - ## udp-trace-client.h: static ns3::TypeId ns3::UdpTraceClient::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-trace-client.h: void ns3::UdpTraceClient::SetMaxPacketSize(uint16_t maxPacketSize) [member function] - cls.add_method('SetMaxPacketSize', - 'void', - [param('uint16_t', 'maxPacketSize')]) - ## udp-trace-client.h: void ns3::UdpTraceClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-trace-client.h: void ns3::UdpTraceClient::SetTraceFile(std::string filename) [member function] - cls.add_method('SetTraceFile', - 'void', - [param('std::string', 'filename')]) - ## udp-trace-client.h: void ns3::UdpTraceClient::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-trace-client.h: void ns3::UdpTraceClient::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-trace-client.h: void ns3::UdpTraceClient::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_udp_echo.py b/bindings/python/apidefs/gcc-LP64/ns3_module_udp_echo.py deleted file mode 100644 index b161c4ec6..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_udp_echo.py +++ /dev/null @@ -1,224 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## udp-echo-client.h: ns3::UdpEchoClient [class] - module.add_class('UdpEchoClient', parent=root_module['ns3::Application']) - ## udp-echo-server.h: ns3::UdpEchoServer [class] - module.add_class('UdpEchoServer', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3UdpEchoClient_methods(root_module, root_module['ns3::UdpEchoClient']) - register_Ns3UdpEchoServer_methods(root_module, root_module['ns3::UdpEchoServer']) - return - -def register_Ns3UdpEchoClient_methods(root_module, cls): - ## udp-echo-client.h: ns3::UdpEchoClient::UdpEchoClient(ns3::UdpEchoClient const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoClient const &', 'arg0')]) - ## udp-echo-client.h: ns3::UdpEchoClient::UdpEchoClient() [constructor] - cls.add_constructor([]) - ## udp-echo-client.h: uint32_t ns3::UdpEchoClient::GetDataSize() const [member function] - cls.add_method('GetDataSize', - 'uint32_t', - [], - is_const=True) - ## udp-echo-client.h: static ns3::TypeId ns3::UdpEchoClient::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetDataSize(uint32_t dataSize) [member function] - cls.add_method('SetDataSize', - 'void', - [param('uint32_t', 'dataSize')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(std::string fill) [member function] - cls.add_method('SetFill', - 'void', - [param('std::string', 'fill')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(uint8_t fill, uint32_t dataSize) [member function] - cls.add_method('SetFill', - 'void', - [param('uint8_t', 'fill'), param('uint32_t', 'dataSize')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(uint8_t * fill, uint32_t fillSize, uint32_t dataSize) [member function] - cls.add_method('SetFill', - 'void', - [param('uint8_t *', 'fill'), param('uint32_t', 'fillSize'), param('uint32_t', 'dataSize')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-echo-client.h: void ns3::UdpEchoClient::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-echo-client.h: void ns3::UdpEchoClient::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpEchoServer_methods(root_module, cls): - ## udp-echo-server.h: ns3::UdpEchoServer::UdpEchoServer(ns3::UdpEchoServer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoServer const &', 'arg0')]) - ## udp-echo-server.h: ns3::UdpEchoServer::UdpEchoServer() [constructor] - cls.add_constructor([]) - ## udp-echo-server.h: static ns3::TypeId ns3::UdpEchoServer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-echo-server.h: void ns3::UdpEchoServer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-echo-server.h: void ns3::UdpEchoServer::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-echo-server.h: void ns3::UdpEchoServer::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_v4ping.py b/bindings/python/apidefs/gcc-LP64/ns3_module_v4ping.py deleted file mode 100644 index e026e3844..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_v4ping.py +++ /dev/null @@ -1,169 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## v4ping.h: ns3::V4Ping [class] - module.add_class('V4Ping', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3V4Ping_methods(root_module, root_module['ns3::V4Ping']) - return - -def register_Ns3V4Ping_methods(root_module, cls): - ## v4ping.h: ns3::V4Ping::V4Ping(ns3::V4Ping const & arg0) [copy constructor] - cls.add_constructor([param('ns3::V4Ping const &', 'arg0')]) - ## v4ping.h: ns3::V4Ping::V4Ping() [constructor] - cls.add_constructor([]) - ## v4ping.h: static ns3::TypeId ns3::V4Ping::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## v4ping.h: void ns3::V4Ping::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## v4ping.h: void ns3::V4Ping::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## v4ping.h: void ns3::V4Ping::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py b/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py index ecdd88b54..8a412d405 100644 --- a/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py +++ b/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py @@ -13,46 +13,39 @@ pybindgen.settings.error_handler = ErrorHandler() import sys import ns3_module_core -import ns3_module_mobility import ns3_module_network import ns3_module_test import ns3_module_visualizer import ns3_module_bridge -import ns3_module_bulk_send import ns3_module_contrib import ns3_module_csma import ns3_module_emu +import ns3_module_mobility import ns3_module_mpi -import ns3_module_onoff -import ns3_module_packet_sink -import ns3_module_propagation import ns3_module_stats -import ns3_module_tap_bridge import ns3_module_topology_read -import ns3_module_v4ping import ns3_module_virtual_net_device -import ns3_module_wifi -import ns3_module_wimax +import ns3_module_propagation import ns3_module_internet import ns3_module_point_to_point import ns3_module_spectrum -import ns3_module_energy -import ns3_module_mesh +import ns3_module_wifi import ns3_module_aodv +import ns3_module_applications import ns3_module_click +import ns3_module_dsdv import ns3_module_flow_monitor import ns3_module_nix_vector_routing -import ns3_module_ping6 -import ns3_module_radvd -import ns3_module_udp_client_server -import ns3_module_udp_echo +import ns3_module_olsr +import ns3_module_tap_bridge import ns3_module_lte +import ns3_module_wimax +import ns3_module_energy +import ns3_module_helper +import ns3_module_mesh import ns3_module_uan import ns3_module_dot11s import ns3_module_flame -import ns3_module_helper -import ns3_module_dsdv -import ns3_module_olsr def module_init(): root_module = Module('ns3', cpp_namespace='::ns3') @@ -72,17 +65,6 @@ def register_types(module): ns3_module_core__local.register_types(module) root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_mobility') - ns3_module_mobility.register_types(module) - - try: - import ns3_module_mobility__local - except ImportError: - pass - else: - ns3_module_mobility__local.register_types(module) - - root_module.end_section('ns3_module_mobility') root_module.begin_section('ns3_module_network') ns3_module_network.register_types(module) @@ -127,17 +109,6 @@ def register_types(module): ns3_module_bridge__local.register_types(module) root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_bulk_send') - ns3_module_bulk_send.register_types(module) - - try: - import ns3_module_bulk_send__local - except ImportError: - pass - else: - ns3_module_bulk_send__local.register_types(module) - - root_module.end_section('ns3_module_bulk_send') root_module.begin_section('ns3_module_contrib') ns3_module_contrib.register_types(module) @@ -171,6 +142,17 @@ def register_types(module): ns3_module_emu__local.register_types(module) root_module.end_section('ns3_module_emu') + root_module.begin_section('ns3_module_mobility') + ns3_module_mobility.register_types(module) + + try: + import ns3_module_mobility__local + except ImportError: + pass + else: + ns3_module_mobility__local.register_types(module) + + root_module.end_section('ns3_module_mobility') root_module.begin_section('ns3_module_mpi') ns3_module_mpi.register_types(module) @@ -182,39 +164,6 @@ def register_types(module): ns3_module_mpi__local.register_types(module) root_module.end_section('ns3_module_mpi') - 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.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_propagation') - ns3_module_propagation.register_types(module) - - try: - import ns3_module_propagation__local - except ImportError: - pass - else: - ns3_module_propagation__local.register_types(module) - - root_module.end_section('ns3_module_propagation') root_module.begin_section('ns3_module_stats') ns3_module_stats.register_types(module) @@ -226,17 +175,6 @@ def register_types(module): ns3_module_stats__local.register_types(module) root_module.end_section('ns3_module_stats') - 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_topology_read') ns3_module_topology_read.register_types(module) @@ -248,17 +186,6 @@ def register_types(module): ns3_module_topology_read__local.register_types(module) root_module.end_section('ns3_module_topology_read') - 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) @@ -270,28 +197,17 @@ def register_types(module): 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) + root_module.begin_section('ns3_module_propagation') + ns3_module_propagation.register_types(module) try: - import ns3_module_wifi__local + import ns3_module_propagation__local except ImportError: pass else: - ns3_module_wifi__local.register_types(module) + ns3_module_propagation__local.register_types(module) - root_module.end_section('ns3_module_wifi') - root_module.begin_section('ns3_module_wimax') - ns3_module_wimax.register_types(module) - - try: - import ns3_module_wimax__local - except ImportError: - pass - else: - ns3_module_wimax__local.register_types(module) - - root_module.end_section('ns3_module_wimax') + root_module.end_section('ns3_module_propagation') root_module.begin_section('ns3_module_internet') ns3_module_internet.register_types(module) @@ -325,28 +241,17 @@ def register_types(module): ns3_module_spectrum__local.register_types(module) root_module.end_section('ns3_module_spectrum') - root_module.begin_section('ns3_module_energy') - ns3_module_energy.register_types(module) + root_module.begin_section('ns3_module_wifi') + ns3_module_wifi.register_types(module) try: - import ns3_module_energy__local + import ns3_module_wifi__local except ImportError: pass else: - ns3_module_energy__local.register_types(module) + ns3_module_wifi__local.register_types(module) - root_module.end_section('ns3_module_energy') - root_module.begin_section('ns3_module_mesh') - ns3_module_mesh.register_types(module) - - try: - import ns3_module_mesh__local - except ImportError: - pass - else: - ns3_module_mesh__local.register_types(module) - - root_module.end_section('ns3_module_mesh') + root_module.end_section('ns3_module_wifi') root_module.begin_section('ns3_module_aodv') ns3_module_aodv.register_types(module) @@ -358,6 +263,17 @@ def register_types(module): ns3_module_aodv__local.register_types(module) root_module.end_section('ns3_module_aodv') + root_module.begin_section('ns3_module_applications') + ns3_module_applications.register_types(module) + + try: + import ns3_module_applications__local + except ImportError: + pass + else: + ns3_module_applications__local.register_types(module) + + root_module.end_section('ns3_module_applications') root_module.begin_section('ns3_module_click') ns3_module_click.register_types(module) @@ -369,6 +285,17 @@ def register_types(module): ns3_module_click__local.register_types(module) root_module.end_section('ns3_module_click') + root_module.begin_section('ns3_module_dsdv') + ns3_module_dsdv.register_types(module) + + try: + import ns3_module_dsdv__local + except ImportError: + pass + else: + ns3_module_dsdv__local.register_types(module) + + root_module.end_section('ns3_module_dsdv') root_module.begin_section('ns3_module_flow_monitor') ns3_module_flow_monitor.register_types(module) @@ -391,50 +318,28 @@ def register_types(module): ns3_module_nix_vector_routing__local.register_types(module) root_module.end_section('ns3_module_nix_vector_routing') - root_module.begin_section('ns3_module_ping6') - ns3_module_ping6.register_types(module) + root_module.begin_section('ns3_module_olsr') + ns3_module_olsr.register_types(module) try: - import ns3_module_ping6__local + import ns3_module_olsr__local except ImportError: pass else: - ns3_module_ping6__local.register_types(module) + ns3_module_olsr__local.register_types(module) - root_module.end_section('ns3_module_ping6') - root_module.begin_section('ns3_module_radvd') - ns3_module_radvd.register_types(module) + root_module.end_section('ns3_module_olsr') + root_module.begin_section('ns3_module_tap_bridge') + ns3_module_tap_bridge.register_types(module) try: - import ns3_module_radvd__local + import ns3_module_tap_bridge__local except ImportError: pass else: - ns3_module_radvd__local.register_types(module) + ns3_module_tap_bridge__local.register_types(module) - root_module.end_section('ns3_module_radvd') - root_module.begin_section('ns3_module_udp_client_server') - ns3_module_udp_client_server.register_types(module) - - try: - import ns3_module_udp_client_server__local - except ImportError: - pass - else: - ns3_module_udp_client_server__local.register_types(module) - - root_module.end_section('ns3_module_udp_client_server') - root_module.begin_section('ns3_module_udp_echo') - ns3_module_udp_echo.register_types(module) - - try: - import ns3_module_udp_echo__local - except ImportError: - pass - else: - ns3_module_udp_echo__local.register_types(module) - - root_module.end_section('ns3_module_udp_echo') + root_module.end_section('ns3_module_tap_bridge') root_module.begin_section('ns3_module_lte') ns3_module_lte.register_types(module) @@ -446,6 +351,50 @@ def register_types(module): ns3_module_lte__local.register_types(module) root_module.end_section('ns3_module_lte') + root_module.begin_section('ns3_module_wimax') + ns3_module_wimax.register_types(module) + + try: + import ns3_module_wimax__local + except ImportError: + pass + else: + ns3_module_wimax__local.register_types(module) + + root_module.end_section('ns3_module_wimax') + root_module.begin_section('ns3_module_energy') + ns3_module_energy.register_types(module) + + try: + import ns3_module_energy__local + except ImportError: + pass + else: + ns3_module_energy__local.register_types(module) + + root_module.end_section('ns3_module_energy') + root_module.begin_section('ns3_module_helper') + ns3_module_helper.register_types(module) + + try: + import ns3_module_helper__local + except ImportError: + pass + else: + ns3_module_helper__local.register_types(module) + + root_module.end_section('ns3_module_helper') + root_module.begin_section('ns3_module_mesh') + ns3_module_mesh.register_types(module) + + try: + import ns3_module_mesh__local + except ImportError: + pass + else: + ns3_module_mesh__local.register_types(module) + + root_module.end_section('ns3_module_mesh') root_module.begin_section('ns3_module_uan') ns3_module_uan.register_types(module) @@ -479,39 +428,6 @@ def register_types(module): ns3_module_flame__local.register_types(module) root_module.end_section('ns3_module_flame') - root_module.begin_section('ns3_module_helper') - ns3_module_helper.register_types(module) - - try: - import ns3_module_helper__local - except ImportError: - pass - else: - ns3_module_helper__local.register_types(module) - - root_module.end_section('ns3_module_helper') - root_module.begin_section('ns3_module_dsdv') - ns3_module_dsdv.register_types(module) - - try: - import ns3_module_dsdv__local - except ImportError: - pass - else: - ns3_module_dsdv__local.register_types(module) - - root_module.end_section('ns3_module_dsdv') - root_module.begin_section('ns3_module_olsr') - ns3_module_olsr.register_types(module) - - try: - import ns3_module_olsr__local - except ImportError: - pass - else: - ns3_module_olsr__local.register_types(module) - - root_module.end_section('ns3_module_olsr') module.add_container('std::vector< unsigned int >', 'unsigned int', container_type='vector') module.add_container('std::vector< bool >', 'bool', container_type='vector') module.add_container('std::vector< int >', 'int', container_type='vector') @@ -635,17 +551,6 @@ def register_methods(root_module): ns3_module_core__local.register_methods(root_module) root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_mobility') - ns3_module_mobility.register_methods(root_module) - - try: - import ns3_module_mobility__local - except ImportError: - pass - else: - ns3_module_mobility__local.register_methods(root_module) - - root_module.end_section('ns3_module_mobility') root_module.begin_section('ns3_module_network') ns3_module_network.register_methods(root_module) @@ -690,17 +595,6 @@ 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_bulk_send') - ns3_module_bulk_send.register_methods(root_module) - - try: - import ns3_module_bulk_send__local - except ImportError: - pass - else: - ns3_module_bulk_send__local.register_methods(root_module) - - root_module.end_section('ns3_module_bulk_send') root_module.begin_section('ns3_module_contrib') ns3_module_contrib.register_methods(root_module) @@ -734,6 +628,17 @@ def register_methods(root_module): ns3_module_emu__local.register_methods(root_module) root_module.end_section('ns3_module_emu') + root_module.begin_section('ns3_module_mobility') + ns3_module_mobility.register_methods(root_module) + + try: + import ns3_module_mobility__local + except ImportError: + pass + else: + ns3_module_mobility__local.register_methods(root_module) + + root_module.end_section('ns3_module_mobility') root_module.begin_section('ns3_module_mpi') ns3_module_mpi.register_methods(root_module) @@ -745,39 +650,6 @@ def register_methods(root_module): ns3_module_mpi__local.register_methods(root_module) root_module.end_section('ns3_module_mpi') - 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.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_propagation') - ns3_module_propagation.register_methods(root_module) - - try: - import ns3_module_propagation__local - except ImportError: - pass - else: - ns3_module_propagation__local.register_methods(root_module) - - root_module.end_section('ns3_module_propagation') root_module.begin_section('ns3_module_stats') ns3_module_stats.register_methods(root_module) @@ -789,17 +661,6 @@ def register_methods(root_module): ns3_module_stats__local.register_methods(root_module) root_module.end_section('ns3_module_stats') - 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_topology_read') ns3_module_topology_read.register_methods(root_module) @@ -811,17 +672,6 @@ def register_methods(root_module): ns3_module_topology_read__local.register_methods(root_module) root_module.end_section('ns3_module_topology_read') - 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) @@ -833,28 +683,17 @@ def register_methods(root_module): 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) + root_module.begin_section('ns3_module_propagation') + ns3_module_propagation.register_methods(root_module) try: - import ns3_module_wifi__local + import ns3_module_propagation__local except ImportError: pass else: - ns3_module_wifi__local.register_methods(root_module) + ns3_module_propagation__local.register_methods(root_module) - root_module.end_section('ns3_module_wifi') - root_module.begin_section('ns3_module_wimax') - ns3_module_wimax.register_methods(root_module) - - try: - import ns3_module_wimax__local - except ImportError: - pass - else: - ns3_module_wimax__local.register_methods(root_module) - - root_module.end_section('ns3_module_wimax') + root_module.end_section('ns3_module_propagation') root_module.begin_section('ns3_module_internet') ns3_module_internet.register_methods(root_module) @@ -888,28 +727,17 @@ def register_methods(root_module): ns3_module_spectrum__local.register_methods(root_module) root_module.end_section('ns3_module_spectrum') - root_module.begin_section('ns3_module_energy') - ns3_module_energy.register_methods(root_module) + root_module.begin_section('ns3_module_wifi') + ns3_module_wifi.register_methods(root_module) try: - import ns3_module_energy__local + import ns3_module_wifi__local except ImportError: pass else: - ns3_module_energy__local.register_methods(root_module) + ns3_module_wifi__local.register_methods(root_module) - root_module.end_section('ns3_module_energy') - root_module.begin_section('ns3_module_mesh') - ns3_module_mesh.register_methods(root_module) - - try: - import ns3_module_mesh__local - except ImportError: - pass - else: - ns3_module_mesh__local.register_methods(root_module) - - root_module.end_section('ns3_module_mesh') + root_module.end_section('ns3_module_wifi') root_module.begin_section('ns3_module_aodv') ns3_module_aodv.register_methods(root_module) @@ -921,6 +749,17 @@ def register_methods(root_module): ns3_module_aodv__local.register_methods(root_module) root_module.end_section('ns3_module_aodv') + root_module.begin_section('ns3_module_applications') + ns3_module_applications.register_methods(root_module) + + try: + import ns3_module_applications__local + except ImportError: + pass + else: + ns3_module_applications__local.register_methods(root_module) + + root_module.end_section('ns3_module_applications') root_module.begin_section('ns3_module_click') ns3_module_click.register_methods(root_module) @@ -932,6 +771,17 @@ def register_methods(root_module): ns3_module_click__local.register_methods(root_module) root_module.end_section('ns3_module_click') + root_module.begin_section('ns3_module_dsdv') + ns3_module_dsdv.register_methods(root_module) + + try: + import ns3_module_dsdv__local + except ImportError: + pass + else: + ns3_module_dsdv__local.register_methods(root_module) + + root_module.end_section('ns3_module_dsdv') root_module.begin_section('ns3_module_flow_monitor') ns3_module_flow_monitor.register_methods(root_module) @@ -954,50 +804,28 @@ def register_methods(root_module): ns3_module_nix_vector_routing__local.register_methods(root_module) root_module.end_section('ns3_module_nix_vector_routing') - root_module.begin_section('ns3_module_ping6') - ns3_module_ping6.register_methods(root_module) + root_module.begin_section('ns3_module_olsr') + ns3_module_olsr.register_methods(root_module) try: - import ns3_module_ping6__local + import ns3_module_olsr__local except ImportError: pass else: - ns3_module_ping6__local.register_methods(root_module) + ns3_module_olsr__local.register_methods(root_module) - root_module.end_section('ns3_module_ping6') - root_module.begin_section('ns3_module_radvd') - ns3_module_radvd.register_methods(root_module) + root_module.end_section('ns3_module_olsr') + root_module.begin_section('ns3_module_tap_bridge') + ns3_module_tap_bridge.register_methods(root_module) try: - import ns3_module_radvd__local + import ns3_module_tap_bridge__local except ImportError: pass else: - ns3_module_radvd__local.register_methods(root_module) + ns3_module_tap_bridge__local.register_methods(root_module) - root_module.end_section('ns3_module_radvd') - root_module.begin_section('ns3_module_udp_client_server') - ns3_module_udp_client_server.register_methods(root_module) - - try: - import ns3_module_udp_client_server__local - except ImportError: - pass - else: - ns3_module_udp_client_server__local.register_methods(root_module) - - root_module.end_section('ns3_module_udp_client_server') - root_module.begin_section('ns3_module_udp_echo') - ns3_module_udp_echo.register_methods(root_module) - - try: - import ns3_module_udp_echo__local - except ImportError: - pass - else: - ns3_module_udp_echo__local.register_methods(root_module) - - root_module.end_section('ns3_module_udp_echo') + root_module.end_section('ns3_module_tap_bridge') root_module.begin_section('ns3_module_lte') ns3_module_lte.register_methods(root_module) @@ -1009,6 +837,50 @@ def register_methods(root_module): ns3_module_lte__local.register_methods(root_module) root_module.end_section('ns3_module_lte') + root_module.begin_section('ns3_module_wimax') + ns3_module_wimax.register_methods(root_module) + + try: + import ns3_module_wimax__local + except ImportError: + pass + else: + ns3_module_wimax__local.register_methods(root_module) + + root_module.end_section('ns3_module_wimax') + root_module.begin_section('ns3_module_energy') + ns3_module_energy.register_methods(root_module) + + try: + import ns3_module_energy__local + except ImportError: + pass + else: + ns3_module_energy__local.register_methods(root_module) + + root_module.end_section('ns3_module_energy') + root_module.begin_section('ns3_module_helper') + ns3_module_helper.register_methods(root_module) + + try: + import ns3_module_helper__local + except ImportError: + pass + else: + ns3_module_helper__local.register_methods(root_module) + + root_module.end_section('ns3_module_helper') + root_module.begin_section('ns3_module_mesh') + ns3_module_mesh.register_methods(root_module) + + try: + import ns3_module_mesh__local + except ImportError: + pass + else: + ns3_module_mesh__local.register_methods(root_module) + + root_module.end_section('ns3_module_mesh') root_module.begin_section('ns3_module_uan') ns3_module_uan.register_methods(root_module) @@ -1042,39 +914,6 @@ def register_methods(root_module): ns3_module_flame__local.register_methods(root_module) root_module.end_section('ns3_module_flame') - root_module.begin_section('ns3_module_helper') - ns3_module_helper.register_methods(root_module) - - try: - import ns3_module_helper__local - except ImportError: - pass - else: - ns3_module_helper__local.register_methods(root_module) - - root_module.end_section('ns3_module_helper') - root_module.begin_section('ns3_module_dsdv') - ns3_module_dsdv.register_methods(root_module) - - try: - import ns3_module_dsdv__local - except ImportError: - pass - else: - ns3_module_dsdv__local.register_methods(root_module) - - root_module.end_section('ns3_module_dsdv') - root_module.begin_section('ns3_module_olsr') - ns3_module_olsr.register_methods(root_module) - - try: - import ns3_module_olsr__local - except ImportError: - pass - else: - ns3_module_olsr__local.register_methods(root_module) - - root_module.end_section('ns3_module_olsr') return def register_functions(root_module): @@ -1090,17 +929,6 @@ def register_functions(root_module): ns3_module_core__local.register_functions(root_module) root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_mobility') - ns3_module_mobility.register_functions(root_module) - - try: - import ns3_module_mobility__local - except ImportError: - pass - else: - ns3_module_mobility__local.register_functions(root_module) - - root_module.end_section('ns3_module_mobility') root_module.begin_section('ns3_module_network') ns3_module_network.register_functions(root_module) @@ -1145,17 +973,6 @@ 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_bulk_send') - ns3_module_bulk_send.register_functions(root_module) - - try: - import ns3_module_bulk_send__local - except ImportError: - pass - else: - ns3_module_bulk_send__local.register_functions(root_module) - - root_module.end_section('ns3_module_bulk_send') root_module.begin_section('ns3_module_contrib') ns3_module_contrib.register_functions(root_module) @@ -1189,6 +1006,17 @@ def register_functions(root_module): ns3_module_emu__local.register_functions(root_module) root_module.end_section('ns3_module_emu') + root_module.begin_section('ns3_module_mobility') + ns3_module_mobility.register_functions(root_module) + + try: + import ns3_module_mobility__local + except ImportError: + pass + else: + ns3_module_mobility__local.register_functions(root_module) + + root_module.end_section('ns3_module_mobility') root_module.begin_section('ns3_module_mpi') ns3_module_mpi.register_functions(root_module) @@ -1200,39 +1028,6 @@ def register_functions(root_module): ns3_module_mpi__local.register_functions(root_module) root_module.end_section('ns3_module_mpi') - 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.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_propagation') - ns3_module_propagation.register_functions(root_module) - - try: - import ns3_module_propagation__local - except ImportError: - pass - else: - ns3_module_propagation__local.register_functions(root_module) - - root_module.end_section('ns3_module_propagation') root_module.begin_section('ns3_module_stats') ns3_module_stats.register_functions(root_module) @@ -1244,17 +1039,6 @@ def register_functions(root_module): ns3_module_stats__local.register_functions(root_module) root_module.end_section('ns3_module_stats') - 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_topology_read') ns3_module_topology_read.register_functions(root_module) @@ -1266,17 +1050,6 @@ def register_functions(root_module): ns3_module_topology_read__local.register_functions(root_module) root_module.end_section('ns3_module_topology_read') - 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) @@ -1288,28 +1061,17 @@ def register_functions(root_module): 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) + root_module.begin_section('ns3_module_propagation') + ns3_module_propagation.register_functions(root_module) try: - import ns3_module_wifi__local + import ns3_module_propagation__local except ImportError: pass else: - ns3_module_wifi__local.register_functions(root_module) + ns3_module_propagation__local.register_functions(root_module) - root_module.end_section('ns3_module_wifi') - root_module.begin_section('ns3_module_wimax') - ns3_module_wimax.register_functions(root_module) - - try: - import ns3_module_wimax__local - except ImportError: - pass - else: - ns3_module_wimax__local.register_functions(root_module) - - root_module.end_section('ns3_module_wimax') + root_module.end_section('ns3_module_propagation') root_module.begin_section('ns3_module_internet') ns3_module_internet.register_functions(root_module) @@ -1343,28 +1105,17 @@ def register_functions(root_module): ns3_module_spectrum__local.register_functions(root_module) root_module.end_section('ns3_module_spectrum') - root_module.begin_section('ns3_module_energy') - ns3_module_energy.register_functions(root_module) + root_module.begin_section('ns3_module_wifi') + ns3_module_wifi.register_functions(root_module) try: - import ns3_module_energy__local + import ns3_module_wifi__local except ImportError: pass else: - ns3_module_energy__local.register_functions(root_module) + ns3_module_wifi__local.register_functions(root_module) - root_module.end_section('ns3_module_energy') - root_module.begin_section('ns3_module_mesh') - ns3_module_mesh.register_functions(root_module) - - try: - import ns3_module_mesh__local - except ImportError: - pass - else: - ns3_module_mesh__local.register_functions(root_module) - - root_module.end_section('ns3_module_mesh') + root_module.end_section('ns3_module_wifi') root_module.begin_section('ns3_module_aodv') ns3_module_aodv.register_functions(root_module) @@ -1376,6 +1127,17 @@ def register_functions(root_module): ns3_module_aodv__local.register_functions(root_module) root_module.end_section('ns3_module_aodv') + root_module.begin_section('ns3_module_applications') + ns3_module_applications.register_functions(root_module) + + try: + import ns3_module_applications__local + except ImportError: + pass + else: + ns3_module_applications__local.register_functions(root_module) + + root_module.end_section('ns3_module_applications') root_module.begin_section('ns3_module_click') ns3_module_click.register_functions(root_module) @@ -1387,6 +1149,17 @@ def register_functions(root_module): ns3_module_click__local.register_functions(root_module) root_module.end_section('ns3_module_click') + root_module.begin_section('ns3_module_dsdv') + ns3_module_dsdv.register_functions(root_module) + + try: + import ns3_module_dsdv__local + except ImportError: + pass + else: + ns3_module_dsdv__local.register_functions(root_module) + + root_module.end_section('ns3_module_dsdv') root_module.begin_section('ns3_module_flow_monitor') ns3_module_flow_monitor.register_functions(root_module) @@ -1409,50 +1182,28 @@ def register_functions(root_module): ns3_module_nix_vector_routing__local.register_functions(root_module) root_module.end_section('ns3_module_nix_vector_routing') - root_module.begin_section('ns3_module_ping6') - ns3_module_ping6.register_functions(root_module) + root_module.begin_section('ns3_module_olsr') + ns3_module_olsr.register_functions(root_module) try: - import ns3_module_ping6__local + import ns3_module_olsr__local except ImportError: pass else: - ns3_module_ping6__local.register_functions(root_module) + ns3_module_olsr__local.register_functions(root_module) - root_module.end_section('ns3_module_ping6') - root_module.begin_section('ns3_module_radvd') - ns3_module_radvd.register_functions(root_module) + root_module.end_section('ns3_module_olsr') + root_module.begin_section('ns3_module_tap_bridge') + ns3_module_tap_bridge.register_functions(root_module) try: - import ns3_module_radvd__local + import ns3_module_tap_bridge__local except ImportError: pass else: - ns3_module_radvd__local.register_functions(root_module) + ns3_module_tap_bridge__local.register_functions(root_module) - root_module.end_section('ns3_module_radvd') - root_module.begin_section('ns3_module_udp_client_server') - ns3_module_udp_client_server.register_functions(root_module) - - try: - import ns3_module_udp_client_server__local - except ImportError: - pass - else: - ns3_module_udp_client_server__local.register_functions(root_module) - - root_module.end_section('ns3_module_udp_client_server') - root_module.begin_section('ns3_module_udp_echo') - ns3_module_udp_echo.register_functions(root_module) - - try: - import ns3_module_udp_echo__local - except ImportError: - pass - else: - ns3_module_udp_echo__local.register_functions(root_module) - - root_module.end_section('ns3_module_udp_echo') + root_module.end_section('ns3_module_tap_bridge') root_module.begin_section('ns3_module_lte') ns3_module_lte.register_functions(root_module) @@ -1464,6 +1215,50 @@ def register_functions(root_module): ns3_module_lte__local.register_functions(root_module) root_module.end_section('ns3_module_lte') + root_module.begin_section('ns3_module_wimax') + ns3_module_wimax.register_functions(root_module) + + try: + import ns3_module_wimax__local + except ImportError: + pass + else: + ns3_module_wimax__local.register_functions(root_module) + + root_module.end_section('ns3_module_wimax') + root_module.begin_section('ns3_module_energy') + ns3_module_energy.register_functions(root_module) + + try: + import ns3_module_energy__local + except ImportError: + pass + else: + ns3_module_energy__local.register_functions(root_module) + + root_module.end_section('ns3_module_energy') + root_module.begin_section('ns3_module_helper') + ns3_module_helper.register_functions(root_module) + + try: + import ns3_module_helper__local + except ImportError: + pass + else: + ns3_module_helper__local.register_functions(root_module) + + root_module.end_section('ns3_module_helper') + root_module.begin_section('ns3_module_mesh') + ns3_module_mesh.register_functions(root_module) + + try: + import ns3_module_mesh__local + except ImportError: + pass + else: + ns3_module_mesh__local.register_functions(root_module) + + root_module.end_section('ns3_module_mesh') root_module.begin_section('ns3_module_uan') ns3_module_uan.register_functions(root_module) @@ -1497,39 +1292,6 @@ def register_functions(root_module): ns3_module_flame__local.register_functions(root_module) root_module.end_section('ns3_module_flame') - root_module.begin_section('ns3_module_helper') - ns3_module_helper.register_functions(root_module) - - try: - import ns3_module_helper__local - except ImportError: - pass - else: - ns3_module_helper__local.register_functions(root_module) - - root_module.end_section('ns3_module_helper') - root_module.begin_section('ns3_module_dsdv') - ns3_module_dsdv.register_functions(root_module) - - try: - import ns3_module_dsdv__local - except ImportError: - pass - else: - ns3_module_dsdv__local.register_functions(root_module) - - root_module.end_section('ns3_module_dsdv') - root_module.begin_section('ns3_module_olsr') - ns3_module_olsr.register_functions(root_module) - - try: - import ns3_module_olsr__local - except ImportError: - pass - else: - ns3_module_olsr__local.register_functions(root_module) - - root_module.end_section('ns3_module_olsr') register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) diff --git a/examples/animation/dumbbell-animation.cc b/examples/animation/dumbbell-animation.cc index b3b835dfc..a3a93052c 100644 --- a/examples/animation/dumbbell-animation.cc +++ b/examples/animation/dumbbell-animation.cc @@ -21,6 +21,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-global-routing-helper.h" using namespace ns3; diff --git a/examples/animation/grid-animation.cc b/examples/animation/grid-animation.cc index 791e5c4cc..f4496835d 100644 --- a/examples/animation/grid-animation.cc +++ b/examples/animation/grid-animation.cc @@ -21,6 +21,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-global-routing-helper.h" using namespace ns3; diff --git a/examples/animation/star-animation.cc b/examples/animation/star-animation.cc index 49e4d7c39..cecbc9004 100644 --- a/examples/animation/star-animation.cc +++ b/examples/animation/star-animation.cc @@ -18,6 +18,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-global-routing-helper.h" // Network topology (default) diff --git a/examples/csma/csma-broadcast.cc b/examples/csma/csma-broadcast.cc index eda97dce8..2da6d8e00 100644 --- a/examples/csma/csma-broadcast.cc +++ b/examples/csma/csma-broadcast.cc @@ -35,6 +35,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/csma/csma-multicast.cc b/examples/csma/csma-multicast.cc index 359f470ae..b91a28e39 100644 --- a/examples/csma/csma-multicast.cc +++ b/examples/csma/csma-multicast.cc @@ -35,6 +35,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-static-routing-helper.h" #include "ns3/ipv4-list-routing-helper.h" diff --git a/examples/csma/csma-one-subnet.cc b/examples/csma/csma-one-subnet.cc index f21be554b..08ef7a539 100644 --- a/examples/csma/csma-one-subnet.cc +++ b/examples/csma/csma-one-subnet.cc @@ -31,6 +31,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/csma/csma-packet-socket.cc b/examples/csma/csma-packet-socket.cc index a6dc7d170..e7ab69187 100644 --- a/examples/csma/csma-packet-socket.cc +++ b/examples/csma/csma-packet-socket.cc @@ -35,6 +35,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/csma/csma-ping.cc b/examples/csma/csma-ping.cc index 423937f3e..09f4ea19c 100644 --- a/examples/csma/csma-ping.cc +++ b/examples/csma/csma-ping.cc @@ -31,6 +31,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/csma/csma-raw-ip-socket.cc b/examples/csma/csma-raw-ip-socket.cc index 3fe43371b..41eba0d62 100644 --- a/examples/csma/csma-raw-ip-socket.cc +++ b/examples/csma/csma-raw-ip-socket.cc @@ -34,6 +34,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/csma/csma-star.cc b/examples/csma/csma-star.cc index c3e5c25ea..8d7ac256d 100644 --- a/examples/csma/csma-star.cc +++ b/examples/csma/csma-star.cc @@ -18,6 +18,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/csma-module.h" #include "ns3/ipv4-global-routing-helper.h" diff --git a/examples/emulation/emu-ping.cc b/examples/emulation/emu-ping.cc index 59f64ed4a..3054d4810 100644 --- a/examples/emulation/emu-ping.cc +++ b/examples/emulation/emu-ping.cc @@ -55,7 +55,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/emu-module.h" -#include "ns3/v4ping-module.h" +#include "ns3/applications-module.h" #include "ns3/helper-module.h" #include "ns3/ipv4-static-routing-helper.h" #include "ns3/ipv4-list-routing-helper.h" diff --git a/examples/emulation/emu-udp-echo.cc b/examples/emulation/emu-udp-echo.cc index 3b5bc24aa..11339e814 100644 --- a/examples/emulation/emu-udp-echo.cc +++ b/examples/emulation/emu-udp-echo.cc @@ -64,6 +64,7 @@ #include #include "ns3/core-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/emu-helper.h" using namespace ns3; diff --git a/examples/error-model/simple-error-model.cc b/examples/error-model/simple-error-model.cc index f52689c2c..46ab2912b 100644 --- a/examples/error-model/simple-error-model.cc +++ b/examples/error-model/simple-error-model.cc @@ -38,6 +38,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-global-routing-helper.h" using namespace ns3; diff --git a/examples/ipv6/fragmentation-ipv6.cc b/examples/ipv6/fragmentation-ipv6.cc index cca7ece30..ed4737ffb 100644 --- a/examples/ipv6/fragmentation-ipv6.cc +++ b/examples/ipv6/fragmentation-ipv6.cc @@ -32,6 +32,7 @@ #include "ns3/core-module.h" #include "ns3/internet-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv6-static-routing-helper.h" #include "ns3/ipv6-routing-table-entry.h" diff --git a/examples/ipv6/icmpv6-redirect.cc b/examples/ipv6/icmpv6-redirect.cc index 5d76c95e2..dde536b28 100644 --- a/examples/ipv6/icmpv6-redirect.cc +++ b/examples/ipv6/icmpv6-redirect.cc @@ -44,6 +44,7 @@ #include "ns3/core-module.h" #include "ns3/internet-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv6-static-routing-helper.h" #include "ns3/ipv6-routing-table-entry.h" diff --git a/examples/ipv6/loose-routing-ipv6.cc b/examples/ipv6/loose-routing-ipv6.cc index b81447b20..fc293e8eb 100644 --- a/examples/ipv6/loose-routing-ipv6.cc +++ b/examples/ipv6/loose-routing-ipv6.cc @@ -42,6 +42,7 @@ #include "ns3/core-module.h" #include "ns3/internet-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv6-header.h" using namespace ns3; diff --git a/examples/ipv6/ping6.cc b/examples/ipv6/ping6.cc index 2de797ddd..da91b9b89 100644 --- a/examples/ipv6/ping6.cc +++ b/examples/ipv6/ping6.cc @@ -33,6 +33,7 @@ #include "ns3/core-module.h" #include "ns3/internet-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/ipv6/radvd-two-prefix.cc b/examples/ipv6/radvd-two-prefix.cc index acffb9790..964392785 100644 --- a/examples/ipv6/radvd-two-prefix.cc +++ b/examples/ipv6/radvd-two-prefix.cc @@ -36,6 +36,7 @@ #include "ns3/core-module.h" #include "ns3/internet-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv6-routing-table-entry.h" #include "ns3/radvd.h" diff --git a/examples/ipv6/radvd.cc b/examples/ipv6/radvd.cc index a3380ae3e..c3698f9c1 100644 --- a/examples/ipv6/radvd.cc +++ b/examples/ipv6/radvd.cc @@ -35,6 +35,7 @@ #include "ns3/core-module.h" #include "ns3/internet-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/radvd.h" #include "ns3/radvd-interface.h" diff --git a/examples/matrix-topology/matrix-topology.cc b/examples/matrix-topology/matrix-topology.cc index b232badc8..16bb71698 100644 --- a/examples/matrix-topology/matrix-topology.cc +++ b/examples/matrix-topology/matrix-topology.cc @@ -49,6 +49,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/global-route-manager.h" #include "ns3/mobility-module.h" #include "ns3/assert.h" diff --git a/examples/mesh/mesh.cc b/examples/mesh/mesh.cc index 82a326527..8e4e64af2 100644 --- a/examples/mesh/mesh.cc +++ b/examples/mesh/mesh.cc @@ -48,6 +48,7 @@ #include "ns3/internet-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/wifi-module.h" #include "ns3/mesh-module.h" #include "ns3/mobility-module.h" diff --git a/examples/naming/object-names.cc b/examples/naming/object-names.cc index 776a66141..ac988ae39 100644 --- a/examples/naming/object-names.cc +++ b/examples/naming/object-names.cc @@ -24,6 +24,7 @@ #include "ns3/core-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/realtime/realtime-udp-echo.cc b/examples/realtime/realtime-udp-echo.cc index aab730529..d85eae0e3 100644 --- a/examples/realtime/realtime-udp-echo.cc +++ b/examples/realtime/realtime-udp-echo.cc @@ -28,6 +28,7 @@ #include #include "ns3/core-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/routing/dynamic-global-routing.cc b/examples/routing/dynamic-global-routing.cc index a8deea65c..7547a7a44 100644 --- a/examples/routing/dynamic-global-routing.cc +++ b/examples/routing/dynamic-global-routing.cc @@ -70,6 +70,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-global-routing-helper.h" using namespace ns3; diff --git a/examples/routing/global-injection-slash32.cc b/examples/routing/global-injection-slash32.cc index 4dc970f12..a070e3f94 100644 --- a/examples/routing/global-injection-slash32.cc +++ b/examples/routing/global-injection-slash32.cc @@ -28,6 +28,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-static-routing.h" #include "ns3/ipv4-global-routing.h" #include "ns3/ipv4-list-routing.h" diff --git a/examples/routing/global-routing-slash32.cc b/examples/routing/global-routing-slash32.cc index 25f92459f..8249b26d9 100644 --- a/examples/routing/global-routing-slash32.cc +++ b/examples/routing/global-routing-slash32.cc @@ -28,6 +28,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-global-routing-helper.h" using namespace ns3; diff --git a/examples/routing/mixed-global-routing.cc b/examples/routing/mixed-global-routing.cc index 014974949..2f238fd56 100644 --- a/examples/routing/mixed-global-routing.cc +++ b/examples/routing/mixed-global-routing.cc @@ -39,6 +39,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-global-routing-helper.h" using namespace ns3; diff --git a/examples/routing/simple-alternate-routing.cc b/examples/routing/simple-alternate-routing.cc index 16ed89dc5..d59943bda 100644 --- a/examples/routing/simple-alternate-routing.cc +++ b/examples/routing/simple-alternate-routing.cc @@ -40,6 +40,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-global-routing-helper.h" using namespace ns3; diff --git a/examples/routing/simple-global-routing.cc b/examples/routing/simple-global-routing.cc index 443374a13..ad997a16a 100644 --- a/examples/routing/simple-global-routing.cc +++ b/examples/routing/simple-global-routing.cc @@ -42,6 +42,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/flow-monitor-helper.h" #include "ns3/ipv4-global-routing-helper.h" diff --git a/examples/routing/simple-routing-ping6.cc b/examples/routing/simple-routing-ping6.cc index 12dff1d7a..1b27d7952 100644 --- a/examples/routing/simple-routing-ping6.cc +++ b/examples/routing/simple-routing-ping6.cc @@ -32,6 +32,7 @@ #include "ns3/core-module.h" #include "ns3/internet-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv6-static-routing-helper.h" #include "ns3/ipv6-routing-table-entry.h" diff --git a/examples/routing/static-routing-slash32.cc b/examples/routing/static-routing-slash32.cc index 88b581203..246718c70 100644 --- a/examples/routing/static-routing-slash32.cc +++ b/examples/routing/static-routing-slash32.cc @@ -28,6 +28,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-static-routing-helper.h" using namespace ns3; diff --git a/examples/socket/socket-bound-tcp-static-routing.cc b/examples/socket/socket-bound-tcp-static-routing.cc index 49d2310aa..9c173d07b 100644 --- a/examples/socket/socket-bound-tcp-static-routing.cc +++ b/examples/socket/socket-bound-tcp-static-routing.cc @@ -38,6 +38,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-static-routing-helper.h" #include "ns3/ipv4-list-routing-helper.h" diff --git a/examples/tap/tap-wifi-dumbbell.cc b/examples/tap/tap-wifi-dumbbell.cc index 70574d8cf..6ddaa7263 100644 --- a/examples/tap/tap-wifi-dumbbell.cc +++ b/examples/tap/tap-wifi-dumbbell.cc @@ -104,6 +104,7 @@ #include "ns3/mobility-module.h" #include "ns3/wifi-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-global-routing-helper.h" using namespace ns3; diff --git a/examples/tcp/star.cc b/examples/tcp/star.cc index eac8e786f..08aa4d188 100644 --- a/examples/tcp/star.cc +++ b/examples/tcp/star.cc @@ -18,6 +18,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-global-routing-helper.h" // Network topology (default) diff --git a/examples/tcp/tcp-bulk-send.cc b/examples/tcp/tcp-bulk-send.cc index 270d938bd..d42024316 100644 --- a/examples/tcp/tcp-bulk-send.cc +++ b/examples/tcp/tcp-bulk-send.cc @@ -28,6 +28,7 @@ #include #include "ns3/core-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/network-module.h" #include "ns3/packet-sink.h" diff --git a/examples/tcp/tcp-large-transfer.cc b/examples/tcp/tcp-large-transfer.cc index 390058bff..fca2ddac3 100644 --- a/examples/tcp/tcp-large-transfer.cc +++ b/examples/tcp/tcp-large-transfer.cc @@ -38,6 +38,7 @@ #include "ns3/core-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/network-module.h" #include "ns3/internet-module.h" #include "ns3/ipv4-global-routing-helper.h" diff --git a/examples/tcp/tcp-nsc-lfn.cc b/examples/tcp/tcp-nsc-lfn.cc index cfa5827ab..4e359616c 100644 --- a/examples/tcp/tcp-nsc-lfn.cc +++ b/examples/tcp/tcp-nsc-lfn.cc @@ -35,6 +35,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-global-routing-helper.h" using namespace ns3; diff --git a/examples/tcp/tcp-nsc-zoo.cc b/examples/tcp/tcp-nsc-zoo.cc index a4345e121..3ba05f1cb 100644 --- a/examples/tcp/tcp-nsc-zoo.cc +++ b/examples/tcp/tcp-nsc-zoo.cc @@ -32,6 +32,7 @@ #include "ns3/core-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/network-module.h" #include "ns3/ipv4-global-routing-helper.h" diff --git a/examples/tcp/tcp-star-server.cc b/examples/tcp/tcp-star-server.cc index 52569a9ab..1b16e14a4 100644 --- a/examples/tcp/tcp-star-server.cc +++ b/examples/tcp/tcp-star-server.cc @@ -51,6 +51,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-global-routing-helper.h" using namespace ns3; diff --git a/examples/topology-read/topology-example-sim.cc b/examples/topology-read/topology-example-sim.cc index fce561595..1a7178605 100644 --- a/examples/topology-read/topology-example-sim.cc +++ b/examples/topology-read/topology-example-sim.cc @@ -29,6 +29,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-static-routing-helper.h" #include "ns3/ipv4-list-routing-helper.h" #include "ns3/ipv4-nix-vector-helper.h" diff --git a/examples/tutorial/fifth.cc b/examples/tutorial/fifth.cc index 437325643..20849e5fb 100644 --- a/examples/tutorial/fifth.cc +++ b/examples/tutorial/fifth.cc @@ -19,6 +19,7 @@ #include "ns3/network-module.h" #include "ns3/internet-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/tutorial/first.cc b/examples/tutorial/first.cc index a09492536..4be50be36 100644 --- a/examples/tutorial/first.cc +++ b/examples/tutorial/first.cc @@ -17,6 +17,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/tutorial/second.cc b/examples/tutorial/second.cc index 16037a2be..808e6adbf 100644 --- a/examples/tutorial/second.cc +++ b/examples/tutorial/second.cc @@ -17,6 +17,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-global-routing-helper.h" // Default Network Topology diff --git a/examples/tutorial/sixth.cc b/examples/tutorial/sixth.cc index eded0005f..13e31ea83 100644 --- a/examples/tutorial/sixth.cc +++ b/examples/tutorial/sixth.cc @@ -19,6 +19,7 @@ #include "ns3/network-module.h" #include "ns3/internet-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/tutorial/third.cc b/examples/tutorial/third.cc index 956bf8e0b..16b18a786 100644 --- a/examples/tutorial/third.cc +++ b/examples/tutorial/third.cc @@ -17,6 +17,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/wifi-module.h" #include "ns3/mobility-module.h" #include "ns3/ipv4-global-routing-helper.h" diff --git a/examples/udp-client-server/udp-client-server.cc b/examples/udp-client-server/udp-client-server.cc index 872a9652f..0118fc084 100644 --- a/examples/udp-client-server/udp-client-server.cc +++ b/examples/udp-client-server/udp-client-server.cc @@ -26,6 +26,7 @@ #include #include "ns3/core-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/udp-client-server/udp-trace-client-server.cc b/examples/udp-client-server/udp-trace-client-server.cc index b7b97bab5..acd4ddbc7 100644 --- a/examples/udp-client-server/udp-trace-client-server.cc +++ b/examples/udp-client-server/udp-trace-client-server.cc @@ -26,6 +26,7 @@ #include #include "ns3/core-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/udp/udp-echo.cc b/examples/udp/udp-echo.cc index d76836d6e..d21b28241 100644 --- a/examples/udp/udp-echo.cc +++ b/examples/udp/udp-echo.cc @@ -28,6 +28,7 @@ #include #include "ns3/core-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" using namespace ns3; diff --git a/examples/wimax/wimax-ipv4.cc b/examples/wimax/wimax-ipv4.cc index b9e92e637..c2d17f9ca 100644 --- a/examples/wimax/wimax-ipv4.cc +++ b/examples/wimax/wimax-ipv4.cc @@ -53,6 +53,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/mobility-module.h" #include "ns3/contrib-module.h" #include "ns3/wimax-module.h" diff --git a/examples/wimax/wimax-multicast.cc b/examples/wimax/wimax-multicast.cc index 19ab74143..bc75b4cba 100644 --- a/examples/wimax/wimax-multicast.cc +++ b/examples/wimax/wimax-multicast.cc @@ -53,6 +53,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/mobility-module.h" #include "ns3/contrib-module.h" #include "ns3/wimax-module.h" diff --git a/examples/wimax/wimax-simple.cc b/examples/wimax/wimax-simple.cc index 9e224f640..0d28fc078 100644 --- a/examples/wimax/wimax-simple.cc +++ b/examples/wimax/wimax-simple.cc @@ -45,6 +45,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/mobility-module.h" #include "ns3/contrib-module.h" #include "ns3/wimax-module.h" diff --git a/examples/wireless/mixed-wireless.cc b/examples/wireless/mixed-wireless.cc index 82da6e919..c6467f29c 100644 --- a/examples/wireless/mixed-wireless.cc +++ b/examples/wireless/mixed-wireless.cc @@ -63,6 +63,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/mobility-module.h" #include "ns3/contrib-module.h" #include "ns3/wifi-module.h" diff --git a/examples/wireless/multirate.cc b/examples/wireless/multirate.cc index 7514f8dd3..f00fc8b2a 100644 --- a/examples/wireless/multirate.cc +++ b/examples/wireless/multirate.cc @@ -51,6 +51,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/mobility-module.h" #include "ns3/contrib-module.h" #include "ns3/random-variable.h" diff --git a/examples/wireless/simple-wifi-frame-aggregation.cc b/examples/wireless/simple-wifi-frame-aggregation.cc index fe797f458..2972c6aa5 100644 --- a/examples/wireless/simple-wifi-frame-aggregation.cc +++ b/examples/wireless/simple-wifi-frame-aggregation.cc @@ -20,6 +20,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/wifi-module.h" #include "ns3/mobility-module.h" #include "ns3/ipv4-global-routing-helper.h" diff --git a/examples/wireless/wifi-adhoc.cc b/examples/wireless/wifi-adhoc.cc index 28296bb95..ecfa454ca 100644 --- a/examples/wireless/wifi-adhoc.cc +++ b/examples/wireless/wifi-adhoc.cc @@ -21,6 +21,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/mobility-module.h" #include "ns3/contrib-module.h" diff --git a/examples/wireless/wifi-ap.cc b/examples/wireless/wifi-ap.cc index 08f020505..20f98ab12 100644 --- a/examples/wireless/wifi-ap.cc +++ b/examples/wireless/wifi-ap.cc @@ -22,6 +22,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/mobility-module.h" #include "ns3/contrib-module.h" #include "ns3/wifi-module.h" diff --git a/examples/wireless/wifi-blockack.cc b/examples/wireless/wifi-blockack.cc index 8d4a77d54..4bf81013b 100644 --- a/examples/wireless/wifi-blockack.cc +++ b/examples/wireless/wifi-blockack.cc @@ -43,6 +43,7 @@ #include "ns3/internet-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/wifi-module.h" #include "ns3/mobility-module.h" diff --git a/examples/wireless/wifi-hidden-terminal.cc b/examples/wireless/wifi-hidden-terminal.cc index 6a5addc90..a77fb4519 100644 --- a/examples/wireless/wifi-hidden-terminal.cc +++ b/examples/wireless/wifi-hidden-terminal.cc @@ -33,6 +33,7 @@ #include "ns3/propagation-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/mobility-module.h" #include "ns3/flow-monitor-module.h" diff --git a/examples/wireless/wifi-wired-bridging.cc b/examples/wireless/wifi-wired-bridging.cc index 3edfa260b..87d810f53 100644 --- a/examples/wireless/wifi-wired-bridging.cc +++ b/examples/wireless/wifi-wired-bridging.cc @@ -46,6 +46,7 @@ #include "ns3/core-module.h" #include "ns3/mobility-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/wifi-module.h" #include "ns3/network-module.h" #include "ns3/bridge-helper.h" diff --git a/samples/wscript b/samples/wscript index befef419e..6cca593b6 100644 --- a/samples/wscript +++ b/samples/wscript @@ -31,7 +31,7 @@ def build(bld): obj.source = 'main-test-sync.cc' obj = bld.create_ns3_program('main-simple', - ['node', 'internet', 'onoff']) + ['node', 'internet', 'applications']) obj.source = 'main-simple.cc' obj = bld.create_ns3_program('main-grid-topology', diff --git a/src/applications/bulk-send/wscript b/src/applications/bulk-send/wscript deleted file mode 100644 index 2f8393fa1..000000000 --- a/src/applications/bulk-send/wscript +++ /dev/null @@ -1,13 +0,0 @@ -## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- - -def build(bld): - module = bld.create_ns3_module('bulk-send', ['core', 'internet']) - module.source = [ - 'bulk-send-application.cc', - ] - headers = bld.new_task_gen('ns3header') - headers.module = 'bulk-send' - headers.source = [ - 'bulk-send-application.h', - ] - diff --git a/src/helper/bulk-send-helper.cc b/src/applications/helper/bulk-send-helper.cc similarity index 100% rename from src/helper/bulk-send-helper.cc rename to src/applications/helper/bulk-send-helper.cc diff --git a/src/helper/bulk-send-helper.h b/src/applications/helper/bulk-send-helper.h similarity index 100% rename from src/helper/bulk-send-helper.h rename to src/applications/helper/bulk-send-helper.h diff --git a/src/helper/on-off-helper.cc b/src/applications/helper/on-off-helper.cc similarity index 100% rename from src/helper/on-off-helper.cc rename to src/applications/helper/on-off-helper.cc diff --git a/src/helper/on-off-helper.h b/src/applications/helper/on-off-helper.h similarity index 100% rename from src/helper/on-off-helper.h rename to src/applications/helper/on-off-helper.h diff --git a/src/helper/packet-sink-helper.cc b/src/applications/helper/packet-sink-helper.cc similarity index 100% rename from src/helper/packet-sink-helper.cc rename to src/applications/helper/packet-sink-helper.cc diff --git a/src/helper/packet-sink-helper.h b/src/applications/helper/packet-sink-helper.h similarity index 100% rename from src/helper/packet-sink-helper.h rename to src/applications/helper/packet-sink-helper.h diff --git a/src/helper/ping6-helper.cc b/src/applications/helper/ping6-helper.cc similarity index 100% rename from src/helper/ping6-helper.cc rename to src/applications/helper/ping6-helper.cc diff --git a/src/helper/ping6-helper.h b/src/applications/helper/ping6-helper.h similarity index 100% rename from src/helper/ping6-helper.h rename to src/applications/helper/ping6-helper.h diff --git a/src/helper/udp-client-server-helper.cc b/src/applications/helper/udp-client-server-helper.cc similarity index 100% rename from src/helper/udp-client-server-helper.cc rename to src/applications/helper/udp-client-server-helper.cc diff --git a/src/helper/udp-client-server-helper.h b/src/applications/helper/udp-client-server-helper.h similarity index 100% rename from src/helper/udp-client-server-helper.h rename to src/applications/helper/udp-client-server-helper.h diff --git a/src/helper/udp-echo-helper.cc b/src/applications/helper/udp-echo-helper.cc similarity index 100% rename from src/helper/udp-echo-helper.cc rename to src/applications/helper/udp-echo-helper.cc diff --git a/src/helper/udp-echo-helper.h b/src/applications/helper/udp-echo-helper.h similarity index 100% rename from src/helper/udp-echo-helper.h rename to src/applications/helper/udp-echo-helper.h diff --git a/src/helper/v4ping-helper.cc b/src/applications/helper/v4ping-helper.cc similarity index 100% rename from src/helper/v4ping-helper.cc rename to src/applications/helper/v4ping-helper.cc diff --git a/src/helper/v4ping-helper.h b/src/applications/helper/v4ping-helper.h similarity index 100% rename from src/helper/v4ping-helper.h rename to src/applications/helper/v4ping-helper.h diff --git a/src/applications/bulk-send/bulk-send-application.cc b/src/applications/model/bulk-send-application.cc similarity index 100% rename from src/applications/bulk-send/bulk-send-application.cc rename to src/applications/model/bulk-send-application.cc diff --git a/src/applications/bulk-send/bulk-send-application.h b/src/applications/model/bulk-send-application.h similarity index 100% rename from src/applications/bulk-send/bulk-send-application.h rename to src/applications/model/bulk-send-application.h diff --git a/src/applications/onoff/onoff-application.cc b/src/applications/model/onoff-application.cc similarity index 100% rename from src/applications/onoff/onoff-application.cc rename to src/applications/model/onoff-application.cc diff --git a/src/applications/onoff/onoff-application.h b/src/applications/model/onoff-application.h similarity index 100% rename from src/applications/onoff/onoff-application.h rename to src/applications/model/onoff-application.h diff --git a/src/applications/udp-client-server/packet-loss-counter.cc b/src/applications/model/packet-loss-counter.cc similarity index 100% rename from src/applications/udp-client-server/packet-loss-counter.cc rename to src/applications/model/packet-loss-counter.cc diff --git a/src/applications/udp-client-server/packet-loss-counter.h b/src/applications/model/packet-loss-counter.h similarity index 100% rename from src/applications/udp-client-server/packet-loss-counter.h rename to src/applications/model/packet-loss-counter.h diff --git a/src/applications/packet-sink/packet-sink.cc b/src/applications/model/packet-sink.cc similarity index 100% rename from src/applications/packet-sink/packet-sink.cc rename to src/applications/model/packet-sink.cc diff --git a/src/applications/packet-sink/packet-sink.h b/src/applications/model/packet-sink.h similarity index 100% rename from src/applications/packet-sink/packet-sink.h rename to src/applications/model/packet-sink.h diff --git a/src/applications/ping6/ping6.cc b/src/applications/model/ping6.cc similarity index 100% rename from src/applications/ping6/ping6.cc rename to src/applications/model/ping6.cc diff --git a/src/applications/ping6/ping6.h b/src/applications/model/ping6.h similarity index 100% rename from src/applications/ping6/ping6.h rename to src/applications/model/ping6.h diff --git a/src/applications/radvd/radvd-interface.cc b/src/applications/model/radvd-interface.cc similarity index 100% rename from src/applications/radvd/radvd-interface.cc rename to src/applications/model/radvd-interface.cc diff --git a/src/applications/radvd/radvd-interface.h b/src/applications/model/radvd-interface.h similarity index 100% rename from src/applications/radvd/radvd-interface.h rename to src/applications/model/radvd-interface.h diff --git a/src/applications/radvd/radvd-prefix.cc b/src/applications/model/radvd-prefix.cc similarity index 100% rename from src/applications/radvd/radvd-prefix.cc rename to src/applications/model/radvd-prefix.cc diff --git a/src/applications/radvd/radvd-prefix.h b/src/applications/model/radvd-prefix.h similarity index 100% rename from src/applications/radvd/radvd-prefix.h rename to src/applications/model/radvd-prefix.h diff --git a/src/applications/radvd/radvd.cc b/src/applications/model/radvd.cc similarity index 100% rename from src/applications/radvd/radvd.cc rename to src/applications/model/radvd.cc diff --git a/src/applications/radvd/radvd.h b/src/applications/model/radvd.h similarity index 100% rename from src/applications/radvd/radvd.h rename to src/applications/model/radvd.h diff --git a/src/applications/udp-client-server/seq-ts-header.cc b/src/applications/model/seq-ts-header.cc similarity index 100% rename from src/applications/udp-client-server/seq-ts-header.cc rename to src/applications/model/seq-ts-header.cc diff --git a/src/applications/udp-client-server/seq-ts-header.h b/src/applications/model/seq-ts-header.h similarity index 100% rename from src/applications/udp-client-server/seq-ts-header.h rename to src/applications/model/seq-ts-header.h diff --git a/src/applications/udp-client-server/udp-client.cc b/src/applications/model/udp-client.cc similarity index 100% rename from src/applications/udp-client-server/udp-client.cc rename to src/applications/model/udp-client.cc diff --git a/src/applications/udp-client-server/udp-client.h b/src/applications/model/udp-client.h similarity index 100% rename from src/applications/udp-client-server/udp-client.h rename to src/applications/model/udp-client.h diff --git a/src/applications/udp-echo/udp-echo-client.cc b/src/applications/model/udp-echo-client.cc similarity index 100% rename from src/applications/udp-echo/udp-echo-client.cc rename to src/applications/model/udp-echo-client.cc diff --git a/src/applications/udp-echo/udp-echo-client.h b/src/applications/model/udp-echo-client.h similarity index 100% rename from src/applications/udp-echo/udp-echo-client.h rename to src/applications/model/udp-echo-client.h diff --git a/src/applications/udp-echo/udp-echo-server.cc b/src/applications/model/udp-echo-server.cc similarity index 100% rename from src/applications/udp-echo/udp-echo-server.cc rename to src/applications/model/udp-echo-server.cc diff --git a/src/applications/udp-echo/udp-echo-server.h b/src/applications/model/udp-echo-server.h similarity index 100% rename from src/applications/udp-echo/udp-echo-server.h rename to src/applications/model/udp-echo-server.h diff --git a/src/applications/udp-client-server/udp-server.cc b/src/applications/model/udp-server.cc similarity index 100% rename from src/applications/udp-client-server/udp-server.cc rename to src/applications/model/udp-server.cc diff --git a/src/applications/udp-client-server/udp-server.h b/src/applications/model/udp-server.h similarity index 100% rename from src/applications/udp-client-server/udp-server.h rename to src/applications/model/udp-server.h diff --git a/src/applications/udp-client-server/udp-trace-client.cc b/src/applications/model/udp-trace-client.cc similarity index 100% rename from src/applications/udp-client-server/udp-trace-client.cc rename to src/applications/model/udp-trace-client.cc diff --git a/src/applications/udp-client-server/udp-trace-client.h b/src/applications/model/udp-trace-client.h similarity index 100% rename from src/applications/udp-client-server/udp-trace-client.h rename to src/applications/model/udp-trace-client.h diff --git a/src/applications/v4ping/v4ping.cc b/src/applications/model/v4ping.cc similarity index 100% rename from src/applications/v4ping/v4ping.cc rename to src/applications/model/v4ping.cc diff --git a/src/applications/v4ping/v4ping.h b/src/applications/model/v4ping.h similarity index 100% rename from src/applications/v4ping/v4ping.h rename to src/applications/model/v4ping.h diff --git a/src/applications/onoff/waf b/src/applications/onoff/waf deleted file mode 100755 index 4283ec141..000000000 --- a/src/applications/onoff/waf +++ /dev/null @@ -1 +0,0 @@ -exec "`dirname "$0"`"/../../../waf "$@" diff --git a/src/applications/onoff/wscript b/src/applications/onoff/wscript deleted file mode 100644 index 3185c2d20..000000000 --- a/src/applications/onoff/wscript +++ /dev/null @@ -1,13 +0,0 @@ -## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- - -def build(bld): - module = bld.create_ns3_module('onoff', ['core', 'network', 'internet']) - module.source = [ - 'onoff-application.cc', - ] - headers = bld.new_task_gen('ns3header') - headers.module = 'onoff' - headers.source = [ - 'onoff-application.h', - ] - diff --git a/src/applications/packet-sink/waf b/src/applications/packet-sink/waf deleted file mode 100755 index 4283ec141..000000000 --- a/src/applications/packet-sink/waf +++ /dev/null @@ -1 +0,0 @@ -exec "`dirname "$0"`"/../../../waf "$@" diff --git a/src/applications/packet-sink/wscript b/src/applications/packet-sink/wscript deleted file mode 100644 index c003ed54f..000000000 --- a/src/applications/packet-sink/wscript +++ /dev/null @@ -1,13 +0,0 @@ -## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- - -def build(bld): - module = bld.create_ns3_module('packet-sink', ['internet']) - module.source = [ - 'packet-sink.cc', - ] - headers = bld.new_task_gen('ns3header') - headers.module = 'packet-sink' - headers.source = [ - 'packet-sink.h', - ] - diff --git a/src/applications/ping6/waf b/src/applications/ping6/waf deleted file mode 100644 index 4283ec141..000000000 --- a/src/applications/ping6/waf +++ /dev/null @@ -1 +0,0 @@ -exec "`dirname "$0"`"/../../../waf "$@" diff --git a/src/applications/ping6/wscript b/src/applications/ping6/wscript deleted file mode 100644 index 7e1600183..000000000 --- a/src/applications/ping6/wscript +++ /dev/null @@ -1,13 +0,0 @@ -## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- - -def build(bld): - module = bld.create_ns3_module('ping6', ['internet']) - module.source = [ - 'ping6.cc', - ] - headers = bld.new_task_gen('ns3header') - headers.module = 'ping6' - headers.source = [ - 'ping6.h', - ] - diff --git a/src/applications/radvd/wscript b/src/applications/radvd/wscript deleted file mode 100644 index 91129aad5..000000000 --- a/src/applications/radvd/wscript +++ /dev/null @@ -1,17 +0,0 @@ -## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- - -def build(bld): - module = bld.create_ns3_module('radvd', ['internet']) - module.source = [ - 'radvd.cc', - 'radvd-interface.cc', - 'radvd-prefix.cc', - ] - headers = bld.new_task_gen('ns3header') - headers.module = 'radvd' - headers.source = [ - 'radvd.h', - 'radvd-interface.h', - 'radvd-prefix.h', - ] - diff --git a/src/applications/udp-client-server/udp-client-server-test.cc b/src/applications/test/udp-client-server-test.cc similarity index 100% rename from src/applications/udp-client-server/udp-client-server-test.cc rename to src/applications/test/udp-client-server-test.cc diff --git a/src/applications/udp-client-server/waf b/src/applications/udp-client-server/waf deleted file mode 100644 index 4283ec141..000000000 --- a/src/applications/udp-client-server/waf +++ /dev/null @@ -1 +0,0 @@ -exec "`dirname "$0"`"/../../../waf "$@" diff --git a/src/applications/udp-client-server/wscript b/src/applications/udp-client-server/wscript deleted file mode 100644 index f5be1ad4f..000000000 --- a/src/applications/udp-client-server/wscript +++ /dev/null @@ -1,21 +0,0 @@ -## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- - -def build(bld): - module = bld.create_ns3_module('udp-client-server', ['internet']) - module.source = [ - 'udp-client.cc', - 'udp-server.cc', - 'seq-ts-header.cc', - 'udp-trace-client.cc', - 'udp-client-server-test.cc', - 'packet-loss-counter.cc', - ] - headers = bld.new_task_gen('ns3header') - headers.module = 'udp-client-server' - headers.source = [ - 'udp-client.h', - 'udp-server.h', - 'udp-trace-client.h', - 'packet-loss-counter.h', - ] - diff --git a/src/applications/udp-echo/waf b/src/applications/udp-echo/waf deleted file mode 100755 index 4283ec141..000000000 --- a/src/applications/udp-echo/waf +++ /dev/null @@ -1 +0,0 @@ -exec "`dirname "$0"`"/../../../waf "$@" diff --git a/src/applications/udp-echo/wscript b/src/applications/udp-echo/wscript deleted file mode 100644 index 4fe44788f..000000000 --- a/src/applications/udp-echo/wscript +++ /dev/null @@ -1,15 +0,0 @@ -## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- - -def build(bld): - module = bld.create_ns3_module('udp-echo', ['internet']) - module.source = [ - 'udp-echo-client.cc', - 'udp-echo-server.cc', - ] - headers = bld.new_task_gen('ns3header') - headers.module = 'udp-echo' - headers.source = [ - 'udp-echo-client.h', - 'udp-echo-server.h', - ] - diff --git a/src/applications/v4ping/wscript b/src/applications/v4ping/wscript deleted file mode 100644 index 637009db8..000000000 --- a/src/applications/v4ping/wscript +++ /dev/null @@ -1,13 +0,0 @@ -## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- - -def build(bld): - module = bld.create_ns3_module('v4ping', ['network']) - module.source = [ - 'v4ping.cc', - ] - headers = bld.new_task_gen('ns3header') - headers.module = 'v4ping' - headers.source = [ - 'v4ping.h', - ] - diff --git a/src/applications/waf b/src/applications/waf new file mode 100755 index 000000000..22d00ed29 Binary files /dev/null and b/src/applications/waf differ diff --git a/src/applications/wscript b/src/applications/wscript new file mode 100644 index 000000000..30c7cbf87 --- /dev/null +++ b/src/applications/wscript @@ -0,0 +1,56 @@ +## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- + +def build(bld): + module = bld.create_ns3_module('applications', ['internet']) + module.source = [ + 'model/bulk-send-application.cc', + 'model/onoff-application.cc', + 'model/packet-sink.cc', + 'model/ping6.cc', + 'model/radvd.cc', + 'model/radvd-interface.cc', + 'model/radvd-prefix.cc', + 'model/udp-client.cc', + 'model/udp-server.cc', + 'model/seq-ts-header.cc', + 'model/udp-trace-client.cc', + 'model/packet-loss-counter.cc', + 'model/udp-echo-client.cc', + 'model/udp-echo-server.cc', + 'model/v4ping.cc', + 'helper/bulk-send-helper.cc', + 'helper/on-off-helper.cc', + 'helper/packet-sink-helper.cc', + 'helper/ping6-helper.cc', + 'helper/udp-client-server-helper.cc', + 'helper/udp-echo-helper.cc', + 'helper/v4ping-helper.cc', + 'test/udp-client-server-test.cc', + ] + headers = bld.new_task_gen('ns3header') + headers.module = 'applications' + headers.source = [ + 'model/bulk-send-application.h', + 'model/onoff-application.h', + 'model/packet-sink.h', + 'model/ping6.h', + 'model/radvd.h', + 'model/radvd-interface.h', + 'model/radvd-prefix.h', + 'model/udp-client.h', + 'model/udp-server.h', + 'model/seq-ts-header.h', + 'model/udp-trace-client.h', + 'model/packet-loss-counter.h', + 'model/udp-echo-client.h', + 'model/udp-echo-server.h', + 'model/v4ping.h', + 'helper/bulk-send-helper.h', + 'helper/on-off-helper.h', + 'helper/packet-sink-helper.h', + 'helper/ping6-helper.h', + 'helper/udp-client-server-helper.h', + 'helper/udp-echo-helper.h', + 'helper/v4ping-helper.h', + ] + diff --git a/src/devices/bridge/examples/csma-bridge-one-hop.cc b/src/devices/bridge/examples/csma-bridge-one-hop.cc index 80b26e4a1..3d28a3deb 100644 --- a/src/devices/bridge/examples/csma-bridge-one-hop.cc +++ b/src/devices/bridge/examples/csma-bridge-one-hop.cc @@ -72,6 +72,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/bridge-module.h" #include "ns3/ipv4-global-routing-helper.h" diff --git a/src/devices/bridge/examples/csma-bridge.cc b/src/devices/bridge/examples/csma-bridge.cc index 7adcd5416..07fbba446 100644 --- a/src/devices/bridge/examples/csma-bridge.cc +++ b/src/devices/bridge/examples/csma-bridge.cc @@ -35,6 +35,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/bridge-module.h" using namespace ns3; diff --git a/src/devices/lte/examples/lte-device.cc b/src/devices/lte/examples/lte-device.cc index 42b91491d..b0a23a85f 100644 --- a/src/devices/lte/examples/lte-device.cc +++ b/src/devices/lte/examples/lte-device.cc @@ -13,6 +13,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/mobility-module.h" #include "ns3/contrib-module.h" #include "ns3/lte-module.h" diff --git a/src/devices/lte/examples/lte-multiple-flows.cc b/src/devices/lte/examples/lte-multiple-flows.cc index 4cf196028..be7f0871f 100644 --- a/src/devices/lte/examples/lte-multiple-flows.cc +++ b/src/devices/lte/examples/lte-multiple-flows.cc @@ -13,6 +13,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/mobility-module.h" #include "ns3/contrib-module.h" #include "ns3/lte-module.h" diff --git a/src/devices/uan/examples/uan-cw-example.cc b/src/devices/uan/examples/uan-cw-example.cc index 9d2663cbd..cab28b3b0 100644 --- a/src/devices/uan/examples/uan-cw-example.cc +++ b/src/devices/uan/examples/uan-cw-example.cc @@ -42,6 +42,7 @@ #include "ns3/mobility-module.h" #include "ns3/contrib-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include diff --git a/src/devices/uan/examples/uan-rc-example.cc b/src/devices/uan/examples/uan-rc-example.cc index dc2b5a3d5..902b75531 100644 --- a/src/devices/uan/examples/uan-rc-example.cc +++ b/src/devices/uan/examples/uan-rc-example.cc @@ -55,6 +55,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/mobility-module.h" #include "ns3/log.h" #include "ns3/config.h" diff --git a/src/devices/virtual-net-device/examples/virtual-net-device.cc b/src/devices/virtual-net-device/examples/virtual-net-device.cc index 026019ea1..c0fddd81f 100644 --- a/src/devices/virtual-net-device/examples/virtual-net-device.cc +++ b/src/devices/virtual-net-device/examples/virtual-net-device.cc @@ -54,6 +54,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/virtual-net-device.h" #include "ns3/ipv4-global-routing-helper.h" diff --git a/src/helper/wscript b/src/helper/wscript index e06c335d1..d7617d40b 100644 --- a/src/helper/wscript +++ b/src/helper/wscript @@ -1,33 +1,26 @@ ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): - helper = bld.create_ns3_module('helper', ['mobility', 'network', 'internet', 'wifi', 'point-to-point', 'csma', 'onoff', 'packet-sink', 'udp-echo', 'spectrum']) + helper = bld.create_ns3_module('helper', ['mobility', 'network', 'internet', 'wifi', 'point-to-point', 'csma', 'spectrum']) helper.source = [ 'wifi-helper.cc', 'point-to-point-helper.cc', 'csma-helper.cc', - 'on-off-helper.cc', - 'packet-sink-helper.cc', - 'udp-echo-helper.cc', 'yans-wifi-helper.cc', - 'v4ping-helper.cc', 'nqos-wifi-mac-helper.cc', 'qos-wifi-mac-helper.cc', 'mesh-helper.cc', 'dot11s-installer.cc', 'flame-installer.cc', 'athstats-helper.cc', - 'ping6-helper.cc', 'animation-interface.cc', 'canvas-location.cc', 'point-to-point-dumbbell-helper.cc', 'point-to-point-grid-helper.cc', 'point-to-point-star-helper.cc', 'csma-star-helper.cc', - 'udp-client-server-helper.cc', 'wimax-helper.cc', 'topology-reader-helper.cc', - 'bulk-send-helper.cc', ] headers = bld.new_task_gen('ns3header') @@ -36,11 +29,7 @@ def build(bld): 'wifi-helper.h', 'point-to-point-helper.h', 'csma-helper.h', - 'on-off-helper.h', - 'packet-sink-helper.h', - 'udp-echo-helper.h', 'yans-wifi-helper.h', - 'v4ping-helper.h', 'nqos-wifi-mac-helper.h', 'qos-wifi-mac-helper.h', 'mesh-helper.h', @@ -48,17 +37,14 @@ def build(bld): 'dot11s-installer.h', 'flame-installer.h', 'athstats-helper.h', - 'ping6-helper.h', 'animation-interface.h', 'canvas-location.h', 'point-to-point-dumbbell-helper.h', 'point-to-point-grid-helper.h', 'point-to-point-star-helper.h', 'csma-star-helper.h', - 'udp-client-server-helper.h', 'wimax-helper.h', 'topology-reader-helper.h', - 'bulk-send-helper.h', ] env = bld.env_of_name('default') diff --git a/src/routing/dsdv/examples/dsdv-manet.cc b/src/routing/dsdv/examples/dsdv-manet.cc index 250ac416f..12bdd09d6 100644 --- a/src/routing/dsdv/examples/dsdv-manet.cc +++ b/src/routing/dsdv/examples/dsdv-manet.cc @@ -31,6 +31,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/mobility-module.h" #include "ns3/contrib-module.h" #include "ns3/wifi-module.h" diff --git a/src/routing/nix-vector-routing/examples/nix-simple.cc b/src/routing/nix-vector-routing/examples/nix-simple.cc index 7fd6aa2eb..0b284edc8 100644 --- a/src/routing/nix-vector-routing/examples/nix-simple.cc +++ b/src/routing/nix-vector-routing/examples/nix-simple.cc @@ -17,6 +17,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/ipv4-static-routing-helper.h" #include "ns3/ipv4-list-routing-helper.h" #include "ns3/ipv4-nix-vector-helper.h" diff --git a/src/routing/nix-vector-routing/examples/nms-p2p-nix.cc b/src/routing/nix-vector-routing/examples/nms-p2p-nix.cc index 0f4452cd8..2cdcca22f 100644 --- a/src/routing/nix-vector-routing/examples/nms-p2p-nix.cc +++ b/src/routing/nix-vector-routing/examples/nms-p2p-nix.cc @@ -40,6 +40,7 @@ #include "ns3/internet-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/onoff-application.h" #include "ns3/packet-sink.h" #include "ns3/point-to-point-net-device.h" diff --git a/src/routing/olsr/examples/simple-point-to-point-olsr.cc b/src/routing/olsr/examples/simple-point-to-point-olsr.cc index efcb569d2..affc166ed 100644 --- a/src/routing/olsr/examples/simple-point-to-point-olsr.cc +++ b/src/routing/olsr/examples/simple-point-to-point-olsr.cc @@ -43,6 +43,7 @@ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/helper-module.h" +#include "ns3/applications-module.h" #include "ns3/olsr-helper.h" #include "ns3/ipv4-static-routing-helper.h" #include "ns3/ipv4-list-routing-helper.h" diff --git a/src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc b/src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc index e95348876..2a701ea90 100644 --- a/src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc +++ b/src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include diff --git a/src/spectrum/examples/adhoc-aloha-ideal-phy.cc b/src/spectrum/examples/adhoc-aloha-ideal-phy.cc index c17771d6e..fc22d628e 100644 --- a/src/spectrum/examples/adhoc-aloha-ideal-phy.cc +++ b/src/spectrum/examples/adhoc-aloha-ideal-phy.cc @@ -37,6 +37,7 @@ #include #include #include +#include #include NS_LOG_COMPONENT_DEFINE ("TestAdhocOfdmAloha"); diff --git a/src/wscript b/src/wscript index fa548a87c..19a60cb37 100644 --- a/src/wscript +++ b/src/wscript @@ -29,10 +29,7 @@ all_modules = ( 'devices/bridge', 'devices/tap-bridge', 'devices/virtual-net-device', - 'applications/onoff', - 'applications/packet-sink', - 'applications/udp-echo', - 'applications/bulk-send', + 'applications', 'routing/nix-vector-routing', 'routing/olsr', 'routing/aodv', @@ -42,21 +39,17 @@ all_modules = ( 'devices/wifi', 'helper', 'contrib/stats', - 'applications/v4ping', 'devices/uan', 'spectrum', 'devices/mesh', 'devices/mesh/dot11s', 'devices/mesh/flame', - 'applications/ping6', - 'applications/radvd', 'test', 'test/perf', 'test/ns3tcp', 'test/nsctcp', 'test/ns3wifi', 'contrib/flow-monitor', - 'applications/udp-client-server', 'devices/wimax', 'devices/lte', 'mpi',