From d40fbea6de8524496ccbd7f700bf4ad90b079f06 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Wed, 16 Sep 2009 15:03:25 +0100 Subject: [PATCH] Python bindings rescan --- bindings/python/callbacks_list.py | 7 +- bindings/python/ns3_module_bridge.py | 28 + bindings/python/ns3_module_common.py | 94 ++ bindings/python/ns3_module_contrib.py | 28 + bindings/python/ns3_module_core.py | 275 +++- bindings/python/ns3_module_csma.py | 28 + bindings/python/ns3_module_dot11s.py | 782 ++++++++++ bindings/python/ns3_module_emu.py | 28 + bindings/python/ns3_module_flame.py | 200 +++ bindings/python/ns3_module_global_routing.py | 28 + bindings/python/ns3_module_helper.py | 177 +++ bindings/python/ns3_module_internet_stack.py | 28 + bindings/python/ns3_module_list_routing.py | 28 + bindings/python/ns3_module_mesh.py | 727 +++++++++ bindings/python/ns3_module_mobility.py | 28 + bindings/python/ns3_module_node.py | 1344 +++++++++++++++++ bindings/python/ns3_module_olsr.py | 40 +- bindings/python/ns3_module_onoff.py | 28 + bindings/python/ns3_module_packet_sink.py | 28 + bindings/python/ns3_module_ping6.py | 28 + bindings/python/ns3_module_point_to_point.py | 28 + bindings/python/ns3_module_radvd.py | 28 + bindings/python/ns3_module_simulator.py | 28 + bindings/python/ns3_module_static_routing.py | 28 + bindings/python/ns3_module_stats.py | 28 + bindings/python/ns3_module_tap_bridge.py | 28 + bindings/python/ns3_module_udp_echo.py | 28 + bindings/python/ns3_module_v4ping.py | 28 + .../python/ns3_module_virtual_net_device.py | 28 + bindings/python/ns3_module_wifi.py | 61 +- bindings/python/ns3modulegen_generated.py | 266 +++- bindings/python/wscript | 15 +- 32 files changed, 4464 insertions(+), 84 deletions(-) create mode 100644 bindings/python/ns3_module_dot11s.py create mode 100644 bindings/python/ns3_module_flame.py create mode 100644 bindings/python/ns3_module_mesh.py diff --git a/bindings/python/callbacks_list.py b/bindings/python/callbacks_list.py index bfe090aa6..da45e917c 100644 --- a/bindings/python/callbacks_list.py +++ b/bindings/python/callbacks_list.py @@ -2,12 +2,17 @@ callback_classes = [ ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['bool', 'ns3::Ptr', 'ns3::Address const&', 'ns3::Address const&', 'unsigned short', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::Mac48Address', 'ns3::Mac48Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['void', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned int', 'bool', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['void', 'unsigned int', 'ns3::Mac48Address', 'ns3::Mac48Address', 'ns3::dot11s::PeerLink::PeerState', 'ns3::dot11s::PeerLink::PeerState', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['void', 'ns3::WifiMacHeader const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['unsigned int', 'ns3::Mac48Address', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::WifiMacHeader const*', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['bool', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::WifiMacHeader const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['std::vector >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['void', 'bool', 'ns3::Ptr', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned short', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['bool', 'std::string', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['bool', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['bool', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], diff --git a/bindings/python/ns3_module_bridge.py b/bindings/python/ns3_module_bridge.py index 011a75fc2..76c1401b9 100644 --- a/bindings/python/ns3_module_bridge.py +++ b/bindings/python/ns3_module_bridge.py @@ -26,6 +26,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -50,6 +62,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -270,6 +290,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -283,6 +305,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_common.py b/bindings/python/ns3_module_common.py index 4175cfe55..bdffb32c8 100644 --- a/bindings/python/ns3_module_common.py +++ b/bindings/python/ns3_module_common.py @@ -39,6 +39,8 @@ def register_types(module): module.add_class('PacketTagList') ## packet-tag-list.h: ns3::PacketTagList::TagData [struct] module.add_class('TagData', outer_class=root_module['ns3::PacketTagList']) + ## pcap-file.h: ns3::PcapFile [class] + module.add_class('PcapFile') ## tag.h: ns3::Tag [class] module.add_class('Tag', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h: ns3::TagBuffer [class] @@ -84,6 +86,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -108,6 +122,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -133,6 +155,7 @@ def register_methods(root_module): register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item']) register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList']) register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData']) + register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3AsciiWriter_methods(root_module, root_module['ns3::AsciiWriter']) @@ -859,6 +882,69 @@ def register_Ns3PacketTagListTagData_methods(root_module, cls): cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) return +def register_Ns3PcapFile_methods(root_module, cls): + ## pcap-file.h: ns3::PcapFile::PcapFile(ns3::PcapFile const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PcapFile const &', 'arg0')]) + ## pcap-file.h: ns3::PcapFile::PcapFile() [constructor] + cls.add_constructor([]) + ## pcap-file.h: void ns3::PcapFile::Close() [member function] + cls.add_method('Close', + 'void', + []) + ## pcap-file.h: uint32_t ns3::PcapFile::GetDataLinkType() [member function] + cls.add_method('GetDataLinkType', + 'uint32_t', + []) + ## pcap-file.h: uint32_t ns3::PcapFile::GetMagic() [member function] + cls.add_method('GetMagic', + 'uint32_t', + []) + ## pcap-file.h: uint32_t ns3::PcapFile::GetSigFigs() [member function] + cls.add_method('GetSigFigs', + 'uint32_t', + []) + ## pcap-file.h: uint32_t ns3::PcapFile::GetSnapLen() [member function] + cls.add_method('GetSnapLen', + 'uint32_t', + []) + ## pcap-file.h: bool ns3::PcapFile::GetSwapMode() [member function] + cls.add_method('GetSwapMode', + 'bool', + []) + ## pcap-file.h: int32_t ns3::PcapFile::GetTimeZoneOffset() [member function] + cls.add_method('GetTimeZoneOffset', + 'int32_t', + []) + ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMajor() [member function] + cls.add_method('GetVersionMajor', + 'uint16_t', + []) + ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMinor() [member function] + cls.add_method('GetVersionMinor', + 'uint16_t', + []) + ## pcap-file.h: bool ns3::PcapFile::Init(uint32_t dataLinkType, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT, int32_t timeZoneCorrection=ns3::PcapFile::ZONE_DEFAULT, bool swapMode=false) [member function] + cls.add_method('Init', + 'bool', + [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT'), param('int32_t', 'timeZoneCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT'), param('bool', 'swapMode', default_value='false')]) + ## pcap-file.h: bool ns3::PcapFile::Open(std::string const & filename, std::string const & mode) [member function] + cls.add_method('Open', + 'bool', + [param('std::string const &', 'filename'), param('std::string const &', 'mode')]) + ## pcap-file.h: bool ns3::PcapFile::Read(uint8_t * const data, uint32_t maxBytes, uint32_t & tsSec, uint32_t & tsUsec, uint32_t & inclLen, uint32_t & origLen, uint32_t & readLen) [member function] + cls.add_method('Read', + 'bool', + [param('uint8_t * const', 'data'), param('uint32_t', 'maxBytes'), param('uint32_t &', 'tsSec'), param('uint32_t &', 'tsUsec'), param('uint32_t &', 'inclLen'), param('uint32_t &', 'origLen'), param('uint32_t &', 'readLen')]) + ## pcap-file.h: bool ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, uint8_t const * const data, uint32_t totalLen) [member function] + cls.add_method('Write', + 'bool', + [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('uint8_t const * const', 'data'), param('uint32_t', 'totalLen')]) + ## pcap-file.h: ns3::PcapFile::SNAPLEN_DEFAULT [variable] + cls.add_static_attribute('SNAPLEN_DEFAULT', 'uint32_t const', is_const=True) + ## pcap-file.h: ns3::PcapFile::ZONE_DEFAULT [variable] + cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True) + return + def register_Ns3Tag_methods(root_module, cls): ## tag.h: ns3::Tag::Tag() [constructor] cls.add_constructor([]) @@ -1290,6 +1376,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -1303,6 +1391,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_contrib.py b/bindings/python/ns3_module_contrib.py index ef8989f31..e953c1869 100644 --- a/bindings/python/ns3_module_contrib.py +++ b/bindings/python/ns3_module_contrib.py @@ -58,6 +58,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -82,6 +94,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -481,6 +501,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -494,6 +516,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_core.py b/bindings/python/ns3_module_core.py index 06d6e8014..633425089 100644 --- a/bindings/python/ns3_module_core.py +++ b/bindings/python/ns3_module_core.py @@ -69,6 +69,14 @@ def register_types(module): module.add_class('SystemThread') ## system-wall-clock-ms.h: ns3::SystemWallClockMs [class] module.add_class('SystemWallClockMs') + ## test.h: ns3::TestCase [class] + module.add_class('TestCase', allow_subclassing=True) + ## test.h: ns3::TestRunner [class] + module.add_class('TestRunner') + ## test.h: ns3::TestSuite [class] + module.add_class('TestSuite', allow_subclassing=True) + ## test.h: ns3::TestSuite::TestType [enumeration] + module.add_enum('TestType', ['BVT', 'UNIT', 'SYSTEM', 'EXAMPLE', 'PERFORMANCE'], outer_class=root_module['ns3::TestSuite']) ## trace-source-accessor.h: ns3::TraceSourceAccessor [class] module.add_class('TraceSourceAccessor', allow_subclassing=True) ## random-variable.h: ns3::TriangularVariable [class] @@ -189,6 +197,7 @@ def register_types(module): root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::EnumValue']) module.add_container('std::list< ns3::Ptr< ns3::RadvdPrefix > >', 'ns3::Ptr< ns3::RadvdPrefix >', container_type='list') module.add_container('std::list< ns3::Ptr< ns3::Packet > >', 'ns3::Ptr< ns3::Packet >', container_type='list') + module.add_container('std::vector< ns3::Ptr< ns3::NetDevice > >', 'ns3::Ptr< ns3::NetDevice >', container_type='vector') typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') @@ -220,6 +229,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -247,6 +268,15 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(module): + root_module = module.get_root() + + module.add_container('std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >', 'ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit >', container_type='vector') + +def register_types_ns3_flame(module): + root_module = module.get_root() + + def register_types_ns3_internal(module): root_module = module.get_root() @@ -281,6 +311,9 @@ def register_methods(root_module): register_Ns3SystemMutex_methods(root_module, root_module['ns3::SystemMutex']) register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread']) register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) + register_Ns3TestCase_methods(root_module, root_module['ns3::TestCase']) + register_Ns3TestRunner_methods(root_module, root_module['ns3::TestRunner']) + register_Ns3TestSuite_methods(root_module, root_module['ns3::TestSuite']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) @@ -937,6 +970,228 @@ def register_Ns3SystemWallClockMs_methods(root_module, cls): []) return +def register_Ns3TestCase_methods(root_module, cls): + ## test.h: ns3::TestCase::TestCase(std::string name) [constructor] + cls.add_constructor([param('std::string', 'name')]) + ## test.h: bool ns3::TestCase::Run() [member function] + cls.add_method('Run', + 'bool', + []) + ## test.h: void ns3::TestCase::SetVerbose(bool verbose) [member function] + cls.add_method('SetVerbose', + 'void', + [param('bool', 'verbose')]) + ## test.h: void ns3::TestCase::SetName(std::string name) [member function] + cls.add_method('SetName', + 'void', + [param('std::string', 'name')]) + ## test.h: std::string ns3::TestCase::GetName() [member function] + cls.add_method('GetName', + 'std::string', + []) + ## test.h: void ns3::TestCase::SetBaseDir(std::string dir) [member function] + cls.add_method('SetBaseDir', + 'void', + [param('std::string', 'dir')]) + ## test.h: std::string ns3::TestCase::GetBaseDir() [member function] + cls.add_method('GetBaseDir', + 'std::string', + []) + ## test.h: std::string ns3::TestCase::GetSourceDir(std::string file) [member function] + cls.add_method('GetSourceDir', + 'std::string', + [param('std::string', 'file')]) + ## test.h: void ns3::TestCase::SetStream(std::ofstream * ofs) [member function] + cls.add_method('SetStream', + 'void', + [param('std::ofstream *', 'ofs')]) + ## test.h: std::ofstream * ns3::TestCase::GetStream() [member function] + cls.add_method('GetStream', + 'std::ofstream *', + []) + ## test.h: void ns3::TestCase::SetErrorStatus(bool error) [member function] + cls.add_method('SetErrorStatus', + 'void', + [param('bool', 'error')]) + ## test.h: bool ns3::TestCase::GetErrorStatus() [member function] + cls.add_method('GetErrorStatus', + 'bool', + []) + ## test.h: void ns3::TestCase::ReportStart() [member function] + cls.add_method('ReportStart', + 'void', + []) + ## test.h: void ns3::TestCase::ReportSuccess() [member function] + cls.add_method('ReportSuccess', + 'void', + []) + ## test.h: void ns3::TestCase::ReportFailure(std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) [member function] + cls.add_method('ReportFailure', + 'void', + [param('std::string', 'cond'), param('std::string', 'actual'), param('std::string', 'limit'), param('std::string', 'message'), param('std::string', 'file'), param('int32_t', 'line')]) + ## test.h: void ns3::TestCase::ReportEnd() [member function] + cls.add_method('ReportEnd', + 'void', + []) + ## test.h: void ns3::TestCase::DoReportStart() [member function] + cls.add_method('DoReportStart', + 'void', + [], + visibility='protected', is_virtual=True) + ## test.h: void ns3::TestCase::DoReportSuccess() [member function] + cls.add_method('DoReportSuccess', + 'void', + [], + visibility='protected', is_virtual=True) + ## test.h: void ns3::TestCase::DoReportFailure(std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) [member function] + cls.add_method('DoReportFailure', + 'void', + [param('std::string', 'cond'), param('std::string', 'actual'), param('std::string', 'limit'), param('std::string', 'message'), param('std::string', 'file'), param('int32_t', 'line')], + visibility='protected', is_virtual=True) + ## test.h: void ns3::TestCase::DoReportEnd() [member function] + cls.add_method('DoReportEnd', + 'void', + [], + visibility='protected', is_virtual=True) + ## test.h: void ns3::TestCase::DoSetup() [member function] + cls.add_method('DoSetup', + 'void', + [], + visibility='protected', is_virtual=True) + ## test.h: bool ns3::TestCase::DoRun() [member function] + cls.add_method('DoRun', + 'bool', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + ## test.h: void ns3::TestCase::DoTeardown() [member function] + cls.add_method('DoTeardown', + 'void', + [], + visibility='protected', is_virtual=True) + return + +def register_Ns3TestRunner_methods(root_module, cls): + ## test.h: ns3::TestRunner::TestRunner() [constructor] + cls.add_constructor([]) + ## test.h: ns3::TestRunner::TestRunner(ns3::TestRunner const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TestRunner const &', 'arg0')]) + ## test.h: static uint32_t ns3::TestRunner::AddTestSuite(ns3::TestSuite * testSuite) [member function] + cls.add_method('AddTestSuite', + 'uint32_t', + [param('ns3::TestSuite *', 'testSuite')], + is_static=True) + ## test.h: static uint32_t ns3::TestRunner::GetNTestSuites() [member function] + cls.add_method('GetNTestSuites', + 'uint32_t', + [], + is_static=True) + ## test.h: static ns3::TestSuite * ns3::TestRunner::GetTestSuite(uint32_t n) [member function] + cls.add_method('GetTestSuite', + 'ns3::TestSuite *', + [param('uint32_t', 'n')], + is_static=True) + return + +def register_Ns3TestSuite_methods(root_module, cls): + ## test.h: ns3::TestSuite::TestSuite(std::string name, ns3::TestSuite::TestType type=::ns3::TestSuite::UNIT) [constructor] + cls.add_constructor([param('std::string', 'name'), param('ns3::TestSuite::TestType', 'type', default_value='::ns3::TestSuite::UNIT')]) + ## test.h: bool ns3::TestSuite::Run() [member function] + cls.add_method('Run', + 'bool', + []) + ## test.h: uint32_t ns3::TestSuite::AddTestCase(ns3::TestCase * testCase) [member function] + cls.add_method('AddTestCase', + 'uint32_t', + [param('ns3::TestCase *', 'testCase')]) + ## test.h: uint32_t ns3::TestSuite::GetNTestCases() [member function] + cls.add_method('GetNTestCases', + 'uint32_t', + []) + ## test.h: ns3::TestCase * ns3::TestSuite::GetTestCase(uint32_t i) [member function] + cls.add_method('GetTestCase', + 'ns3::TestCase *', + [param('uint32_t', 'i')]) + ## test.h: ns3::TestSuite::TestType ns3::TestSuite::GetTestType() [member function] + cls.add_method('GetTestType', + 'ns3::TestSuite::TestType', + []) + ## test.h: void ns3::TestSuite::SetVerbose(bool verbose) [member function] + cls.add_method('SetVerbose', + 'void', + [param('bool', 'verbose')]) + ## test.h: void ns3::TestSuite::SetName(std::string name) [member function] + cls.add_method('SetName', + 'void', + [param('std::string', 'name')]) + ## test.h: std::string ns3::TestSuite::GetName() [member function] + cls.add_method('GetName', + 'std::string', + []) + ## test.h: void ns3::TestSuite::SetBaseDir(std::string basedir) [member function] + cls.add_method('SetBaseDir', + 'void', + [param('std::string', 'basedir')]) + ## test.h: std::string ns3::TestSuite::GetBaseDir() [member function] + cls.add_method('GetBaseDir', + 'std::string', + []) + ## test.h: void ns3::TestSuite::SetStream(std::ofstream * ofs) [member function] + cls.add_method('SetStream', + 'void', + [param('std::ofstream *', 'ofs')]) + ## test.h: void ns3::TestSuite::ReportStart() [member function] + cls.add_method('ReportStart', + 'void', + []) + ## test.h: void ns3::TestSuite::ReportSuccess() [member function] + cls.add_method('ReportSuccess', + 'void', + []) + ## test.h: void ns3::TestSuite::ReportFailure() [member function] + cls.add_method('ReportFailure', + 'void', + []) + ## test.h: void ns3::TestSuite::ReportEnd() [member function] + cls.add_method('ReportEnd', + 'void', + []) + ## test.h: void ns3::TestSuite::DoReportStart() [member function] + cls.add_method('DoReportStart', + 'void', + [], + visibility='protected', is_virtual=True) + ## test.h: void ns3::TestSuite::DoReportSuccess() [member function] + cls.add_method('DoReportSuccess', + 'void', + [], + visibility='protected', is_virtual=True) + ## test.h: void ns3::TestSuite::DoReportFailure() [member function] + cls.add_method('DoReportFailure', + 'void', + [], + visibility='protected', is_virtual=True) + ## test.h: void ns3::TestSuite::DoReportEnd() [member function] + cls.add_method('DoReportEnd', + 'void', + [], + visibility='protected', is_virtual=True) + ## test.h: void ns3::TestSuite::DoSetup() [member function] + cls.add_method('DoSetup', + 'void', + [], + visibility='protected', is_virtual=True) + ## test.h: bool ns3::TestSuite::DoRun() [member function] + cls.add_method('DoRun', + 'bool', + [], + visibility='protected', is_virtual=True) + ## test.h: void ns3::TestSuite::DoTeardown() [member function] + cls.add_method('DoTeardown', + 'void', + [], + visibility='protected', is_virtual=True) + return + def register_Ns3TraceSourceAccessor_methods(root_module, cls): ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) @@ -2203,7 +2458,7 @@ def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls): cls.add_constructor([param('ns3::BooleanValue const &', 'value')]) ## traced-value.h: ns3::TracedValue::TracedValue(ns3::EnumValue const & value) [constructor] cls.add_constructor([param('ns3::EnumValue const &', 'value')]) - ## traced-value.h: void ns3::TracedValue::Connect(ns3::CallbackBase const & cb, std::string path) [member function] + ## traced-value.h: void ns3::TracedValue::Connect(ns3::CallbackBase const & cb, std::basic_string,std::allocator > path) [member function] cls.add_method('Connect', 'void', [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')]) @@ -2211,7 +2466,7 @@ def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls): cls.add_method('ConnectWithoutContext', 'void', [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h: void ns3::TracedValue::Disconnect(ns3::CallbackBase const & cb, std::string path) [member function] + ## traced-value.h: void ns3::TracedValue::Disconnect(ns3::CallbackBase const & cb, std::basic_string,std::allocator > path) [member function] cls.add_method('Disconnect', 'void', [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')]) @@ -2369,6 +2624,10 @@ def register_functions(root_module): module.add_function('MakeVectorChecker', 'ns3::Ptr< ns3::AttributeChecker const >', []) + ## test.h: extern bool ns3::TestDoubleIsEqual(double const a, double const b, double const epsilon=std::numeric_limits::epsilon()) [free function] + module.add_function('TestDoubleIsEqual', + 'bool', + [param('double const', 'a'), param('double const', 'b'), param('double const', 'epsilon', default_value='std::numeric_limits::epsilon()')]) ## type-name.h: extern std::string ns3::TypeNameGet() [free function] module.add_function('TypeNameGet', 'std::string', @@ -2383,7 +2642,7 @@ def register_functions(root_module): module.add_function('TypeNameGet', 'std::string', [], - template_parameters=['long long']) + template_parameters=['long']) ## type-name.h: extern std::string ns3::TypeNameGet() [free function] module.add_function('TypeNameGet', 'std::string', @@ -2403,7 +2662,7 @@ def register_functions(root_module): module.add_function('TypeNameGet', 'std::string', [], - template_parameters=['unsigned long long']) + template_parameters=['unsigned long']) ## type-name.h: extern std::string ns3::TypeNameGet() [free function] module.add_function('TypeNameGet', 'std::string', @@ -2422,6 +2681,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -2491,6 +2752,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): ## double.h: extern ns3::Ptr ns3::internal::MakeDoubleChecker(double min, double max, std::string name) [free function] module.add_function('MakeDoubleChecker', diff --git a/bindings/python/ns3_module_csma.py b/bindings/python/ns3_module_csma.py index 7ce291dd1..f70b6d99b 100644 --- a/bindings/python/ns3_module_csma.py +++ b/bindings/python/ns3_module_csma.py @@ -34,6 +34,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -58,6 +70,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -424,6 +444,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -437,6 +459,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_dot11s.py b/bindings/python/ns3_module_dot11s.py new file mode 100644 index 000000000..6d72fd5a7 --- /dev/null +++ b/bindings/python/ns3_module_dot11s.py @@ -0,0 +1,782 @@ +from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers + +def register_types(module): + root_module = module.get_root() + + + ## 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 TimeStepPrecision + + nested_module = module.add_cpp_namespace('TimeStepPrecision') + register_types_ns3_TimeStepPrecision(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 dot11s + + nested_module = module.add_cpp_namespace('dot11s') + register_types_ns3_dot11s(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_TimeStepPrecision(module): + root_module = module.get_root() + + +def register_types_ns3_addressUtils(module): + root_module = module.get_root() + + +def register_types_ns3_dot11s(module): + root_module = module.get_root() + + ## ie-dot11s-configuration.h: ns3::dot11s::dot11sSynchronizationProtocolIdentifier [enumeration] + module.add_enum('dot11sSynchronizationProtocolIdentifier', ['SYNC_NEIGHBOUR_OFFSET', 'SYNC_NULL']) + ## ie-dot11s-configuration.h: ns3::dot11s::dot11sCongestionControlMode [enumeration] + module.add_enum('dot11sCongestionControlMode', ['CONGESTION_SIGNALING', 'CONGESTION_NULL']) + ## ie-dot11s-configuration.h: ns3::dot11s::dot11sAuthenticationProtocol [enumeration] + module.add_enum('dot11sAuthenticationProtocol', ['AUTH_NULL', 'AUTH_SAE']) + ## ie-dot11s-peer-management.h: ns3::dot11s::PmpReasonCode [enumeration] + module.add_enum('PmpReasonCode', ['REASON11S_PEERING_CANCELLED', 'REASON11S_MESH_MAX_PEERS', 'REASON11S_MESH_CAPABILITY_POLICY_VIOLATION', 'REASON11S_MESH_CLOSE_RCVD', 'REASON11S_MESH_MAX_RETRIES', 'REASON11S_MESH_CONFIRM_TIMEOUT', 'REASON11S_MESH_INVALID_GTK', 'REASON11S_MESH_INCONSISTENT_PARAMETERS', 'REASON11S_MESH_INVALID_SECURITY_CAPABILITY', 'REASON11S_RESERVED']) + ## ie-dot11s-configuration.h: ns3::dot11s::dot11sPathSelectionMetric [enumeration] + module.add_enum('dot11sPathSelectionMetric', ['METRIC_AIRTIME']) + ## ie-dot11s-configuration.h: ns3::dot11s::dot11sPathSelectionProtocol [enumeration] + module.add_enum('dot11sPathSelectionProtocol', ['PROTOCOL_HWMP']) + ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability [class] + module.add_class('Dot11sMeshCapability') + ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol [class] + module.add_class('HwmpProtocol', parent=root_module['ns3::MeshL2RoutingProtocol']) + ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination [struct] + module.add_class('FailedDestination', outer_class=root_module['ns3::dot11s::HwmpProtocol']) + ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming [class] + module.add_class('IeBeaconTiming', parent=root_module['ns3::WifiInformationElement']) + ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit [class] + module.add_class('IeBeaconTimingUnit', parent=root_module['ns3::RefCountBase']) + ## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration [class] + module.add_class('IeConfiguration', parent=root_module['ns3::WifiInformationElement']) + ## ie-dot11s-id.h: ns3::dot11s::IeMeshId [class] + module.add_class('IeMeshId', parent=root_module['ns3::WifiInformationElement']) + ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker [class] + module.add_class('IeMeshIdChecker', parent=root_module['ns3::AttributeChecker']) + ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue [class] + module.add_class('IeMeshIdValue', parent=root_module['ns3::AttributeValue']) + ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement [class] + module.add_class('IePeerManagement', parent=root_module['ns3::WifiInformationElement']) + ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::Subtype [enumeration] + module.add_enum('Subtype', ['PEER_OPEN', 'PEER_CONFIRM', 'PEER_CLOSE'], outer_class=root_module['ns3::dot11s::IePeerManagement']) + ## peer-link.h: ns3::dot11s::PeerLink [class] + module.add_class('PeerLink', parent=root_module['ns3::Object']) + ## peer-link.h: ns3::dot11s::PeerLink::PeerState [enumeration] + module.add_enum('PeerState', ['IDLE', 'OPN_SNT', 'CNF_RCVD', 'OPN_RCVD', 'ESTAB', 'HOLDING'], outer_class=root_module['ns3::dot11s::PeerLink']) + ## peer-management-protocol.h: ns3::dot11s::PeerManagementProtocol [class] + module.add_class('PeerManagementProtocol', parent=root_module['ns3::Object']) + +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_Ns3Dot11sDot11sMeshCapability_methods(root_module, root_module['ns3::dot11s::Dot11sMeshCapability']) + register_Ns3Dot11sHwmpProtocol_methods(root_module, root_module['ns3::dot11s::HwmpProtocol']) + register_Ns3Dot11sHwmpProtocolFailedDestination_methods(root_module, root_module['ns3::dot11s::HwmpProtocol::FailedDestination']) + register_Ns3Dot11sIeBeaconTiming_methods(root_module, root_module['ns3::dot11s::IeBeaconTiming']) + register_Ns3Dot11sIeBeaconTimingUnit_methods(root_module, root_module['ns3::dot11s::IeBeaconTimingUnit']) + register_Ns3Dot11sIeConfiguration_methods(root_module, root_module['ns3::dot11s::IeConfiguration']) + register_Ns3Dot11sIeMeshId_methods(root_module, root_module['ns3::dot11s::IeMeshId']) + register_Ns3Dot11sIeMeshIdChecker_methods(root_module, root_module['ns3::dot11s::IeMeshIdChecker']) + register_Ns3Dot11sIeMeshIdValue_methods(root_module, root_module['ns3::dot11s::IeMeshIdValue']) + register_Ns3Dot11sIePeerManagement_methods(root_module, root_module['ns3::dot11s::IePeerManagement']) + register_Ns3Dot11sPeerLink_methods(root_module, root_module['ns3::dot11s::PeerLink']) + register_Ns3Dot11sPeerManagementProtocol_methods(root_module, root_module['ns3::dot11s::PeerManagementProtocol']) + return + +def register_Ns3Dot11sDot11sMeshCapability_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::Dot11sMeshCapability(ns3::dot11s::Dot11sMeshCapability const & arg0) [copy constructor] + cls.add_constructor([param('ns3::dot11s::Dot11sMeshCapability const &', 'arg0')]) + ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::Dot11sMeshCapability() [constructor] + cls.add_constructor([]) + ## ie-dot11s-configuration.h: ns3::Buffer::Iterator ns3::dot11s::Dot11sMeshCapability::Deserialize(ns3::Buffer::Iterator i) [member function] + cls.add_method('Deserialize', + 'ns3::Buffer::Iterator', + [param('ns3::Buffer::Iterator', 'i')]) + ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::Dot11sMeshCapability::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint8_t', + [], + is_const=True) + ## ie-dot11s-configuration.h: uint16_t ns3::dot11s::Dot11sMeshCapability::GetUint16() const [member function] + cls.add_method('GetUint16', + 'uint16_t', + [], + is_const=True) + ## ie-dot11s-configuration.h: bool ns3::dot11s::Dot11sMeshCapability::Is(uint16_t cap, uint8_t n) const [member function] + cls.add_method('Is', + 'bool', + [param('uint16_t', 'cap'), param('uint8_t', 'n')], + is_const=True) + ## ie-dot11s-configuration.h: ns3::Buffer::Iterator ns3::dot11s::Dot11sMeshCapability::Serialize(ns3::Buffer::Iterator i) const [member function] + cls.add_method('Serialize', + 'ns3::Buffer::Iterator', + [param('ns3::Buffer::Iterator', 'i')], + is_const=True) + ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::MCCAEnabled [variable] + cls.add_instance_attribute('MCCAEnabled', 'bool', is_const=False) + ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::MCCASupported [variable] + cls.add_instance_attribute('MCCASupported', 'bool', is_const=False) + ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::TBTTAdjustment [variable] + cls.add_instance_attribute('TBTTAdjustment', 'bool', is_const=False) + ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::acceptPeerLinks [variable] + cls.add_instance_attribute('acceptPeerLinks', 'bool', is_const=False) + ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::beaconTimingReport [variable] + cls.add_instance_attribute('beaconTimingReport', 'bool', is_const=False) + ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::forwarding [variable] + cls.add_instance_attribute('forwarding', 'bool', is_const=False) + ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::powerSaveLevel [variable] + cls.add_instance_attribute('powerSaveLevel', 'bool', is_const=False) + return + +def register_Ns3Dot11sHwmpProtocol_methods(root_module, cls): + ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::HwmpProtocol() [constructor] + cls.add_constructor([]) + ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + is_virtual=True) + ## hwmp-protocol.h: static ns3::TypeId ns3::dot11s::HwmpProtocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::Install(ns3::Ptr arg0) [member function] + cls.add_method('Install', + 'bool', + [param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')]) + ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::PeerLinkStatus(ns3::Mac48Address meshPontAddress, ns3::Mac48Address peerAddress, uint32_t interface, bool status) [member function] + cls.add_method('PeerLinkStatus', + 'void', + [param('ns3::Mac48Address', 'meshPontAddress'), param('ns3::Mac48Address', 'peerAddress'), param('uint32_t', 'interface'), param('bool', 'status')]) + ## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::RemoveRoutingStuff(uint32_t fromIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t & protocolType) [member function] + cls.add_method('RemoveRoutingStuff', + 'bool', + [param('uint32_t', 'fromIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t &', 'protocolType')], + is_virtual=True) + ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::Report(std::ostream & arg0) const [member function] + cls.add_method('Report', + 'void', + [param('std::ostream &', 'arg0')], + is_const=True) + ## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::RequestRoute(uint32_t sourceIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t protocolType, ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty> routeReply) [member function] + cls.add_method('RequestRoute', + 'bool', + [param('uint32_t', 'sourceIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocolType'), param('ns3::Callback< void, bool, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')], + is_virtual=True) + ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::ResetStats() [member function] + cls.add_method('ResetStats', + 'void', + []) + ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::SetNeighboursCallback(ns3::Callback >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] + cls.add_method('SetNeighboursCallback', + 'void', + [param('ns3::Callback< std::vector< ns3::Mac48Address >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) + ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::SetRoot() [member function] + cls.add_method('SetRoot', + 'void', + []) + ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::UnsetRoot() [member function] + cls.add_method('UnsetRoot', + 'void', + []) + return + +def register_Ns3Dot11sHwmpProtocolFailedDestination_methods(root_module, cls): + ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::FailedDestination() [constructor] + cls.add_constructor([]) + ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::FailedDestination(ns3::dot11s::HwmpProtocol::FailedDestination const & arg0) [copy constructor] + cls.add_constructor([param('ns3::dot11s::HwmpProtocol::FailedDestination const &', 'arg0')]) + ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::destination [variable] + cls.add_instance_attribute('destination', 'ns3::Mac48Address', is_const=False) + ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::seqnum [variable] + cls.add_instance_attribute('seqnum', 'uint32_t', is_const=False) + return + +def register_Ns3Dot11sIeBeaconTiming_methods(root_module, cls): + cls.add_output_stream_operator() + ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming::IeBeaconTiming(ns3::dot11s::IeBeaconTiming const & arg0) [copy constructor] + cls.add_constructor([param('ns3::dot11s::IeBeaconTiming const &', 'arg0')]) + ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming::IeBeaconTiming() [constructor] + cls.add_constructor([]) + ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::AddNeighboursTimingElementUnit(uint16_t aid, ns3::Time last_beacon, ns3::Time beacon_interval) [member function] + cls.add_method('AddNeighboursTimingElementUnit', + 'void', + [param('uint16_t', 'aid'), param('ns3::Time', 'last_beacon'), param('ns3::Time', 'beacon_interval')]) + ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::ClearTimingElement() [member function] + cls.add_method('ClearTimingElement', + 'void', + []) + ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::DelNeighboursTimingElementUnit(uint16_t aid, ns3::Time last_beacon, ns3::Time beacon_interval) [member function] + cls.add_method('DelNeighboursTimingElementUnit', + 'void', + [param('uint16_t', 'aid'), param('ns3::Time', 'last_beacon'), param('ns3::Time', 'beacon_interval')]) + ## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTiming::DeserializeInformation(ns3::Buffer::Iterator i, uint8_t length) [member function] + cls.add_method('DeserializeInformation', + 'uint8_t', + [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], + is_virtual=True) + ## ie-dot11s-beacon-timing.h: ns3::WifiElementId ns3::dot11s::IeBeaconTiming::ElementId() const [member function] + cls.add_method('ElementId', + 'ns3::WifiElementId', + [], + is_const=True, is_virtual=True) + ## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTiming::GetInformationSize() const [member function] + cls.add_method('GetInformationSize', + 'uint8_t', + [], + is_const=True, is_virtual=True) + ## ie-dot11s-beacon-timing.h: std::vector, std::allocator > > ns3::dot11s::IeBeaconTiming::GetNeighboursTimingElementsList() [member function] + cls.add_method('GetNeighboursTimingElementsList', + 'std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >', + []) + ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::SerializeInformation(ns3::Buffer::Iterator i) const [member function] + cls.add_method('SerializeInformation', + 'void', + [param('ns3::Buffer::Iterator', 'i')], + is_const=True, is_virtual=True) + return + +def register_Ns3Dot11sIeBeaconTimingUnit_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit::IeBeaconTimingUnit(ns3::dot11s::IeBeaconTimingUnit const & arg0) [copy constructor] + cls.add_constructor([param('ns3::dot11s::IeBeaconTimingUnit const &', 'arg0')]) + ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit::IeBeaconTimingUnit() [constructor] + cls.add_constructor([]) + ## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTimingUnit::GetAid() const [member function] + cls.add_method('GetAid', + 'uint8_t', + [], + is_const=True) + ## ie-dot11s-beacon-timing.h: uint16_t ns3::dot11s::IeBeaconTimingUnit::GetBeaconInterval() const [member function] + cls.add_method('GetBeaconInterval', + 'uint16_t', + [], + is_const=True) + ## ie-dot11s-beacon-timing.h: uint16_t ns3::dot11s::IeBeaconTimingUnit::GetLastBeacon() const [member function] + cls.add_method('GetLastBeacon', + 'uint16_t', + [], + is_const=True) + ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetAid(uint8_t aid) [member function] + cls.add_method('SetAid', + 'void', + [param('uint8_t', 'aid')]) + ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetBeaconInterval(uint16_t beaconInterval) [member function] + cls.add_method('SetBeaconInterval', + 'void', + [param('uint16_t', 'beaconInterval')]) + ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetLastBeacon(uint16_t lastBeacon) [member function] + cls.add_method('SetLastBeacon', + 'void', + [param('uint16_t', 'lastBeacon')]) + return + +def register_Ns3Dot11sIeConfiguration_methods(root_module, cls): + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration::IeConfiguration(ns3::dot11s::IeConfiguration const & arg0) [copy constructor] + cls.add_constructor([param('ns3::dot11s::IeConfiguration const &', 'arg0')]) + ## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration::IeConfiguration() [constructor] + cls.add_constructor([]) + ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::DeserializeInformation(ns3::Buffer::Iterator i, uint8_t length) [member function] + cls.add_method('DeserializeInformation', + 'uint8_t', + [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], + is_virtual=True) + ## ie-dot11s-configuration.h: ns3::WifiElementId ns3::dot11s::IeConfiguration::ElementId() const [member function] + cls.add_method('ElementId', + 'ns3::WifiElementId', + [], + is_const=True, is_virtual=True) + ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::GetInformationSize() const [member function] + cls.add_method('GetInformationSize', + 'uint8_t', + [], + is_const=True, is_virtual=True) + ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::GetNeighborCount() [member function] + cls.add_method('GetNeighborCount', + 'uint8_t', + []) + ## ie-dot11s-configuration.h: bool ns3::dot11s::IeConfiguration::IsAirtime() [member function] + cls.add_method('IsAirtime', + 'bool', + []) + ## ie-dot11s-configuration.h: bool ns3::dot11s::IeConfiguration::IsHWMP() [member function] + cls.add_method('IsHWMP', + 'bool', + []) + ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability const & ns3::dot11s::IeConfiguration::MeshCapability() [member function] + cls.add_method('MeshCapability', + 'ns3::dot11s::Dot11sMeshCapability const &', + []) + ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SerializeInformation(ns3::Buffer::Iterator i) const [member function] + cls.add_method('SerializeInformation', + 'void', + [param('ns3::Buffer::Iterator', 'i')], + is_const=True, is_virtual=True) + ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetMetric(ns3::dot11s::dot11sPathSelectionMetric metricId) [member function] + cls.add_method('SetMetric', + 'void', + [param('ns3::dot11s::dot11sPathSelectionMetric', 'metricId')]) + ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetNeighborCount(uint8_t neighbors) [member function] + cls.add_method('SetNeighborCount', + 'void', + [param('uint8_t', 'neighbors')]) + ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetRouting(ns3::dot11s::dot11sPathSelectionProtocol routingId) [member function] + cls.add_method('SetRouting', + 'void', + [param('ns3::dot11s::dot11sPathSelectionProtocol', 'routingId')]) + return + +def register_Ns3Dot11sIeMeshId_methods(root_module, cls): + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId(ns3::dot11s::IeMeshId const & arg0) [copy constructor] + cls.add_constructor([param('ns3::dot11s::IeMeshId const &', 'arg0')]) + ## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId() [constructor] + cls.add_constructor([]) + ## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId(std::string s) [constructor] + cls.add_constructor([param('std::string', 's')]) + ## ie-dot11s-id.h: uint8_t ns3::dot11s::IeMeshId::DeserializeInformation(ns3::Buffer::Iterator start, uint8_t length) [member function] + cls.add_method('DeserializeInformation', + 'uint8_t', + [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], + is_virtual=True) + ## ie-dot11s-id.h: ns3::WifiElementId ns3::dot11s::IeMeshId::ElementId() const [member function] + cls.add_method('ElementId', + 'ns3::WifiElementId', + [], + is_const=True, is_virtual=True) + ## ie-dot11s-id.h: uint8_t ns3::dot11s::IeMeshId::GetInformationSize() const [member function] + cls.add_method('GetInformationSize', + 'uint8_t', + [], + is_const=True, is_virtual=True) + ## ie-dot11s-id.h: bool ns3::dot11s::IeMeshId::IsBroadcast() const [member function] + cls.add_method('IsBroadcast', + 'bool', + [], + is_const=True) + ## ie-dot11s-id.h: bool ns3::dot11s::IeMeshId::IsEqual(ns3::dot11s::IeMeshId const & o) const [member function] + cls.add_method('IsEqual', + 'bool', + [param('ns3::dot11s::IeMeshId const &', 'o')], + is_const=True) + ## ie-dot11s-id.h: char * ns3::dot11s::IeMeshId::PeekString() const [member function] + cls.add_method('PeekString', + 'char *', + [], + is_const=True) + ## ie-dot11s-id.h: void ns3::dot11s::IeMeshId::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## ie-dot11s-id.h: void ns3::dot11s::IeMeshId::SerializeInformation(ns3::Buffer::Iterator i) const [member function] + cls.add_method('SerializeInformation', + 'void', + [param('ns3::Buffer::Iterator', 'i')], + is_const=True, is_virtual=True) + return + +def register_Ns3Dot11sIeMeshIdChecker_methods(root_module, cls): + ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker::IeMeshIdChecker() [constructor] + cls.add_constructor([]) + ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker::IeMeshIdChecker(ns3::dot11s::IeMeshIdChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::dot11s::IeMeshIdChecker const &', 'arg0')]) + return + +def register_Ns3Dot11sIeMeshIdValue_methods(root_module, cls): + ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue() [constructor] + cls.add_constructor([]) + ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue(ns3::dot11s::IeMeshIdValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::dot11s::IeMeshIdValue const &', 'arg0')]) + ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue(ns3::dot11s::IeMeshId const & value) [constructor] + cls.add_constructor([param('ns3::dot11s::IeMeshId const &', 'value')]) + ## ie-dot11s-id.h: ns3::Ptr ns3::dot11s::IeMeshIdValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## ie-dot11s-id.h: bool ns3::dot11s::IeMeshIdValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + cls.add_method('DeserializeFromString', + 'bool', + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_virtual=True) + ## ie-dot11s-id.h: ns3::dot11s::IeMeshId ns3::dot11s::IeMeshIdValue::Get() const [member function] + cls.add_method('Get', + 'ns3::dot11s::IeMeshId', + [], + is_const=True) + ## ie-dot11s-id.h: std::string ns3::dot11s::IeMeshIdValue::SerializeToString(ns3::Ptr checker) const [member function] + cls.add_method('SerializeToString', + 'std::string', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True, is_virtual=True) + ## ie-dot11s-id.h: void ns3::dot11s::IeMeshIdValue::Set(ns3::dot11s::IeMeshId const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::dot11s::IeMeshId const &', 'value')]) + return + +def register_Ns3Dot11sIePeerManagement_methods(root_module, cls): + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::IePeerManagement(ns3::dot11s::IePeerManagement const & arg0) [copy constructor] + cls.add_constructor([param('ns3::dot11s::IePeerManagement const &', 'arg0')]) + ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::IePeerManagement() [constructor] + cls.add_constructor([]) + ## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::DeserializeInformation(ns3::Buffer::Iterator i, uint8_t length) [member function] + cls.add_method('DeserializeInformation', + 'uint8_t', + [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], + is_virtual=True) + ## ie-dot11s-peer-management.h: ns3::WifiElementId ns3::dot11s::IePeerManagement::ElementId() const [member function] + cls.add_method('ElementId', + 'ns3::WifiElementId', + [], + is_const=True, is_virtual=True) + ## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::GetInformationSize() const [member function] + cls.add_method('GetInformationSize', + 'uint8_t', + [], + is_const=True, is_virtual=True) + ## ie-dot11s-peer-management.h: uint16_t ns3::dot11s::IePeerManagement::GetLocalLinkId() const [member function] + cls.add_method('GetLocalLinkId', + 'uint16_t', + [], + is_const=True) + ## ie-dot11s-peer-management.h: uint16_t ns3::dot11s::IePeerManagement::GetPeerLinkId() const [member function] + cls.add_method('GetPeerLinkId', + 'uint16_t', + [], + is_const=True) + ## ie-dot11s-peer-management.h: ns3::dot11s::PmpReasonCode ns3::dot11s::IePeerManagement::GetReasonCode() const [member function] + cls.add_method('GetReasonCode', + 'ns3::dot11s::PmpReasonCode', + [], + is_const=True) + ## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::GetSubtype() const [member function] + cls.add_method('GetSubtype', + 'uint8_t', + [], + is_const=True) + ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SerializeInformation(ns3::Buffer::Iterator i) const [member function] + cls.add_method('SerializeInformation', + 'void', + [param('ns3::Buffer::Iterator', 'i')], + is_const=True, is_virtual=True) + ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerClose(uint16_t localLinkID, uint16_t peerLinkId, ns3::dot11s::PmpReasonCode reasonCode) [member function] + cls.add_method('SetPeerClose', + 'void', + [param('uint16_t', 'localLinkID'), param('uint16_t', 'peerLinkId'), param('ns3::dot11s::PmpReasonCode', 'reasonCode')]) + ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerConfirm(uint16_t localLinkID, uint16_t peerLinkId) [member function] + cls.add_method('SetPeerConfirm', + 'void', + [param('uint16_t', 'localLinkID'), param('uint16_t', 'peerLinkId')]) + ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerOpen(uint16_t localLinkId) [member function] + cls.add_method('SetPeerOpen', + 'void', + [param('uint16_t', 'localLinkId')]) + ## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsClose() const [member function] + cls.add_method('SubtypeIsClose', + 'bool', + [], + is_const=True) + ## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsConfirm() const [member function] + cls.add_method('SubtypeIsConfirm', + 'bool', + [], + is_const=True) + ## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsOpen() const [member function] + cls.add_method('SubtypeIsOpen', + 'bool', + [], + is_const=True) + return + +def register_Ns3Dot11sPeerLink_methods(root_module, cls): + ## peer-link.h: static ns3::TypeId ns3::dot11s::PeerLink::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## peer-link.h: ns3::dot11s::PeerLink::PeerLink() [constructor] + cls.add_constructor([]) + ## peer-link.h: void ns3::dot11s::PeerLink::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + is_virtual=True) + ## peer-link.h: void ns3::dot11s::PeerLink::SetBeaconInformation(ns3::Time lastBeacon, ns3::Time BeaconInterval) [member function] + cls.add_method('SetBeaconInformation', + 'void', + [param('ns3::Time', 'lastBeacon'), param('ns3::Time', 'BeaconInterval')]) + ## peer-link.h: void ns3::dot11s::PeerLink::SetLinkStatusCallback(ns3::Callback cb) [member function] + cls.add_method('SetLinkStatusCallback', + 'void', + [param('ns3::Callback< void, unsigned int, ns3::Mac48Address, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) + ## peer-link.h: void ns3::dot11s::PeerLink::SetPeerAddress(ns3::Mac48Address macaddr) [member function] + cls.add_method('SetPeerAddress', + 'void', + [param('ns3::Mac48Address', 'macaddr')]) + ## peer-link.h: void ns3::dot11s::PeerLink::SetPeerMeshPointAddress(ns3::Mac48Address macaddr) [member function] + cls.add_method('SetPeerMeshPointAddress', + 'void', + [param('ns3::Mac48Address', 'macaddr')]) + ## peer-link.h: void ns3::dot11s::PeerLink::SetInterface(uint32_t interface) [member function] + cls.add_method('SetInterface', + 'void', + [param('uint32_t', 'interface')]) + ## peer-link.h: void ns3::dot11s::PeerLink::SetLocalLinkId(uint16_t id) [member function] + cls.add_method('SetLocalLinkId', + 'void', + [param('uint16_t', 'id')]) + ## peer-link.h: void ns3::dot11s::PeerLink::SetLocalAid(uint16_t aid) [member function] + cls.add_method('SetLocalAid', + 'void', + [param('uint16_t', 'aid')]) + ## peer-link.h: void ns3::dot11s::PeerLink::SetBeaconTimingElement(ns3::dot11s::IeBeaconTiming beaconTiming) [member function] + cls.add_method('SetBeaconTimingElement', + 'void', + [param('ns3::dot11s::IeBeaconTiming', 'beaconTiming')]) + ## peer-link.h: ns3::Mac48Address ns3::dot11s::PeerLink::GetPeerAddress() const [member function] + cls.add_method('GetPeerAddress', + 'ns3::Mac48Address', + [], + is_const=True) + ## peer-link.h: uint16_t ns3::dot11s::PeerLink::GetLocalAid() const [member function] + cls.add_method('GetLocalAid', + 'uint16_t', + [], + is_const=True) + ## peer-link.h: ns3::Time ns3::dot11s::PeerLink::GetLastBeacon() const [member function] + cls.add_method('GetLastBeacon', + 'ns3::Time', + [], + is_const=True) + ## peer-link.h: ns3::Time ns3::dot11s::PeerLink::GetBeaconInterval() const [member function] + cls.add_method('GetBeaconInterval', + 'ns3::Time', + [], + is_const=True) + ## peer-link.h: ns3::dot11s::IeBeaconTiming ns3::dot11s::PeerLink::GetBeaconTimingElement() const [member function] + cls.add_method('GetBeaconTimingElement', + 'ns3::dot11s::IeBeaconTiming', + [], + is_const=True) + ## peer-link.h: void ns3::dot11s::PeerLink::MLMECancelPeerLink(ns3::dot11s::PmpReasonCode reason) [member function] + cls.add_method('MLMECancelPeerLink', + 'void', + [param('ns3::dot11s::PmpReasonCode', 'reason')]) + ## peer-link.h: void ns3::dot11s::PeerLink::MLMEActivePeerLinkOpen() [member function] + cls.add_method('MLMEActivePeerLinkOpen', + 'void', + []) + ## peer-link.h: void ns3::dot11s::PeerLink::MLMEPeeringRequestReject() [member function] + cls.add_method('MLMEPeeringRequestReject', + 'void', + []) + ## peer-link.h: void ns3::dot11s::PeerLink::MLMESetSignalStatusCallback(ns3::Callback arg0) [member function] + cls.add_method('MLMESetSignalStatusCallback', + 'void', + [param('ns3::Callback< void, unsigned int, ns3::Mac48Address, ns3::Mac48Address, ns3::dot11s::PeerLink::PeerState, ns3::dot11s::PeerLink::PeerState, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arg0')]) + ## peer-link.h: void ns3::dot11s::PeerLink::TransmissionSuccess() [member function] + cls.add_method('TransmissionSuccess', + 'void', + []) + ## peer-link.h: void ns3::dot11s::PeerLink::TransmissionFailure() [member function] + cls.add_method('TransmissionFailure', + 'void', + []) + ## peer-link.h: void ns3::dot11s::PeerLink::Report(std::ostream & os) const [member function] + cls.add_method('Report', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + return + +def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls): + ## peer-management-protocol.h: ns3::dot11s::PeerManagementProtocol::PeerManagementProtocol() [constructor] + cls.add_constructor([]) + ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ConfigurationMismatch(uint32_t interface, ns3::Mac48Address peerAddress) [member function] + cls.add_method('ConfigurationMismatch', + 'void', + [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')]) + ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + is_virtual=True) + ## peer-management-protocol.h: ns3::Ptr ns3::dot11s::PeerManagementProtocol::FindPeerLink(uint32_t interface, ns3::Mac48Address peerAddress) [member function] + cls.add_method('FindPeerLink', + 'ns3::Ptr< ns3::dot11s::PeerLink >', + [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')]) + ## peer-management-protocol.h: std::vector > ns3::dot11s::PeerManagementProtocol::GetActiveLinks(uint32_t interface) [member function] + cls.add_method('GetActiveLinks', + 'std::vector< ns3::Mac48Address >', + [param('uint32_t', 'interface')]) + ## peer-management-protocol.h: ns3::Mac48Address ns3::dot11s::PeerManagementProtocol::GetAddress() [member function] + cls.add_method('GetAddress', + 'ns3::Mac48Address', + []) + ## peer-management-protocol.h: ns3::Ptr ns3::dot11s::PeerManagementProtocol::GetBeaconTimingElement(uint32_t interface) [member function] + cls.add_method('GetBeaconTimingElement', + 'ns3::Ptr< ns3::dot11s::IeBeaconTiming >', + [param('uint32_t', 'interface')]) + ## peer-management-protocol.h: ns3::Ptr ns3::dot11s::PeerManagementProtocol::GetMeshId() const [member function] + cls.add_method('GetMeshId', + 'ns3::Ptr< ns3::dot11s::IeMeshId >', + [], + is_const=True) + ## peer-management-protocol.h: uint8_t ns3::dot11s::PeerManagementProtocol::GetNumberOfLinks() [member function] + cls.add_method('GetNumberOfLinks', + 'uint8_t', + []) + ## peer-management-protocol.h: static ns3::TypeId ns3::dot11s::PeerManagementProtocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::Install(ns3::Ptr arg0) [member function] + cls.add_method('Install', + 'bool', + [param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')]) + ## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::IsActiveLink(uint32_t interface, ns3::Mac48Address peerAddress) [member function] + cls.add_method('IsActiveLink', + 'bool', + [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')]) + ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ReceivePeerLinkFrame(uint32_t interface, ns3::Mac48Address peerAddress, ns3::Mac48Address peerMeshPointAddress, uint16_t aid, ns3::dot11s::IePeerManagement peerManagementElement, ns3::dot11s::IeConfiguration meshConfig) [member function] + cls.add_method('ReceivePeerLinkFrame', + 'void', + [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Mac48Address', 'peerMeshPointAddress'), param('uint16_t', 'aid'), param('ns3::dot11s::IePeerManagement', 'peerManagementElement'), param('ns3::dot11s::IeConfiguration', 'meshConfig')]) + ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::Report(std::ostream & arg0) const [member function] + cls.add_method('Report', + 'void', + [param('std::ostream &', 'arg0')], + is_const=True) + ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ResetStats() [member function] + cls.add_method('ResetStats', + 'void', + []) + ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetMeshId(std::string s) [member function] + cls.add_method('SetMeshId', + 'void', + [param('std::string', 's')]) + ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetPeerLinkStatusCallback(ns3::Callback cb) [member function] + cls.add_method('SetPeerLinkStatusCallback', + 'void', + [param('ns3::Callback< void, ns3::Mac48Address, ns3::Mac48Address, unsigned int, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) + ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::TransmissionFailure(uint32_t interface, ns3::Mac48Address const peerAddress) [member function] + cls.add_method('TransmissionFailure', + 'void', + [param('uint32_t', 'interface'), param('ns3::Mac48Address const', 'peerAddress')]) + ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::TransmissionSuccess(uint32_t interface, ns3::Mac48Address const peerAddress) [member function] + cls.add_method('TransmissionSuccess', + 'void', + [param('uint32_t', 'interface'), param('ns3::Mac48Address const', 'peerAddress')]) + ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::UpdatePeerBeaconTiming(uint32_t interface, bool meshBeacon, ns3::dot11s::IeBeaconTiming timingElement, ns3::Mac48Address peerAddress, ns3::Time receivingTime, ns3::Time beaconInterval) [member function] + cls.add_method('UpdatePeerBeaconTiming', + 'void', + [param('uint32_t', 'interface'), param('bool', 'meshBeacon'), param('ns3::dot11s::IeBeaconTiming', 'timingElement'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Time', 'receivingTime'), param('ns3::Time', 'beaconInterval')]) + return + +def register_functions(root_module): + module = root_module + register_functions_ns3_Config(module.get_submodule('Config'), root_module) + register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) + register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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_TimeStepPrecision(module, root_module): + return + +def register_functions_ns3_addressUtils(module, root_module): + return + +def register_functions_ns3_dot11s(module, root_module): + ## ie-dot11s-id.h: extern ns3::Ptr ns3::dot11s::MakeIeMeshIdChecker() [free function] + module.add_function('MakeIeMeshIdChecker', + 'ns3::Ptr< ns3::AttributeChecker const >', + []) + 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/ns3_module_emu.py b/bindings/python/ns3_module_emu.py index e38257ffd..b69d9fbaf 100644 --- a/bindings/python/ns3_module_emu.py +++ b/bindings/python/ns3_module_emu.py @@ -24,6 +24,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -48,6 +60,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -218,6 +238,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -231,6 +253,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_flame.py b/bindings/python/ns3_module_flame.py new file mode 100644 index 000000000..453d1c01d --- /dev/null +++ b/bindings/python/ns3_module_flame.py @@ -0,0 +1,200 @@ +from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers + +def register_types(module): + root_module = module.get_root() + + + ## 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 TimeStepPrecision + + nested_module = module.add_cpp_namespace('TimeStepPrecision') + register_types_ns3_TimeStepPrecision(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 dot11s + + nested_module = module.add_cpp_namespace('dot11s') + register_types_ns3_dot11s(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_TimeStepPrecision(module): + root_module = module.get_root() + + +def register_types_ns3_addressUtils(module): + root_module = module.get_root() + + +def register_types_ns3_dot11s(module): + root_module = module.get_root() + + +def register_types_ns3_flame(module): + root_module = module.get_root() + + ## flame-protocol.h: ns3::flame::FlameProtocol [class] + module.add_class('FlameProtocol', parent=root_module['ns3::MeshL2RoutingProtocol']) + ## flame-protocol.h: ns3::flame::FlameTag [class] + module.add_class('FlameTag', parent=root_module['ns3::Tag']) + +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_Ns3FlameFlameProtocol_methods(root_module, root_module['ns3::flame::FlameProtocol']) + register_Ns3FlameFlameTag_methods(root_module, root_module['ns3::flame::FlameTag']) + return + +def register_Ns3FlameFlameProtocol_methods(root_module, cls): + ## flame-protocol.h: ns3::flame::FlameProtocol::FlameProtocol() [constructor] + cls.add_constructor([]) + ## flame-protocol.h: void ns3::flame::FlameProtocol::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + is_virtual=True) + ## flame-protocol.h: ns3::Mac48Address ns3::flame::FlameProtocol::GetAddress() [member function] + cls.add_method('GetAddress', + 'ns3::Mac48Address', + []) + ## flame-protocol.h: static ns3::TypeId ns3::flame::FlameProtocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## flame-protocol.h: bool ns3::flame::FlameProtocol::Install(ns3::Ptr arg0) [member function] + cls.add_method('Install', + 'bool', + [param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')]) + ## flame-protocol.h: bool ns3::flame::FlameProtocol::RemoveRoutingStuff(uint32_t fromIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t & protocolType) [member function] + cls.add_method('RemoveRoutingStuff', + 'bool', + [param('uint32_t', 'fromIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t &', 'protocolType')], + is_virtual=True) + ## flame-protocol.h: void ns3::flame::FlameProtocol::Report(std::ostream & arg0) const [member function] + cls.add_method('Report', + 'void', + [param('std::ostream &', 'arg0')], + is_const=True) + ## flame-protocol.h: bool ns3::flame::FlameProtocol::RequestRoute(uint32_t sourceIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t protocolType, ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty> routeReply) [member function] + cls.add_method('RequestRoute', + 'bool', + [param('uint32_t', 'sourceIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocolType'), param('ns3::Callback< void, bool, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')], + is_virtual=True) + ## flame-protocol.h: void ns3::flame::FlameProtocol::ResetStats() [member function] + cls.add_method('ResetStats', + 'void', + []) + return + +def register_Ns3FlameFlameTag_methods(root_module, cls): + ## flame-protocol.h: ns3::flame::FlameTag::FlameTag(ns3::flame::FlameTag const & arg0) [copy constructor] + cls.add_constructor([param('ns3::flame::FlameTag const &', 'arg0')]) + ## flame-protocol.h: ns3::flame::FlameTag::FlameTag(ns3::Mac48Address a=ns3::Mac48Address()) [constructor] + cls.add_constructor([param('ns3::Mac48Address', 'a', default_value='ns3::Mac48Address()')]) + ## flame-protocol.h: void ns3::flame::FlameTag::Deserialize(ns3::TagBuffer i) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::TagBuffer', 'i')], + is_virtual=True) + ## flame-protocol.h: ns3::TypeId ns3::flame::FlameTag::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## flame-protocol.h: uint32_t ns3::flame::FlameTag::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## flame-protocol.h: static ns3::TypeId ns3::flame::FlameTag::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## flame-protocol.h: void ns3::flame::FlameTag::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## flame-protocol.h: void ns3::flame::FlameTag::Serialize(ns3::TagBuffer i) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::TagBuffer', 'i')], + is_const=True, is_virtual=True) + ## flame-protocol.h: ns3::flame::FlameTag::receiver [variable] + cls.add_instance_attribute('receiver', 'ns3::Mac48Address', is_const=False) + ## flame-protocol.h: ns3::flame::FlameTag::transmitter [variable] + cls.add_instance_attribute('transmitter', 'ns3::Mac48Address', is_const=False) + return + +def register_functions(root_module): + module = root_module + register_functions_ns3_Config(module.get_submodule('Config'), root_module) + register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) + register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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_TimeStepPrecision(module, root_module): + return + +def register_functions_ns3_addressUtils(module, root_module): + return + +def register_functions_ns3_dot11s(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/ns3_module_global_routing.py b/bindings/python/ns3_module_global_routing.py index 8a795bdf5..4f44b1996 100644 --- a/bindings/python/ns3_module_global_routing.py +++ b/bindings/python/ns3_module_global_routing.py @@ -38,6 +38,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -62,6 +74,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -417,6 +437,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -430,6 +452,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_helper.py b/bindings/python/ns3_module_helper.py index b997f67e8..e9b614dc9 100644 --- a/bindings/python/ns3_module_helper.py +++ b/bindings/python/ns3_module_helper.py @@ -31,6 +31,10 @@ def register_types(module): module.add_class('Ipv6RoutingHelper', allow_subclassing=False) ## ipv6-static-routing-helper.h: ns3::Ipv6StaticRoutingHelper [class] module.add_class('Ipv6StaticRoutingHelper', allow_subclassing=False, parent=root_module['ns3::Ipv6RoutingHelper']) + ## mesh-helper.h: ns3::MeshHelper [class] + module.add_class('MeshHelper', allow_subclassing=False) + ## 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', allow_subclassing=False) ## net-device-container.h: ns3::NetDeviceContainer [class] @@ -83,6 +87,12 @@ def register_types(module): module.add_class('QosWifiMacHelper', allow_subclassing=False, parent=root_module['ns3::WifiMacHelper']) ## athstats-helper.h: ns3::AthstatsWifiTraceSink [class] module.add_class('AthstatsWifiTraceSink', parent=root_module['ns3::Object']) + ## mesh-stack-installer.h: ns3::MeshStack [class] + module.add_class('MeshStack', parent=root_module['ns3::Object']) + ## dot11s-installer.h: ns3::Dot11sStack [class] + module.add_class('Dot11sStack', parent=root_module['ns3::MeshStack']) + ## flame-installer.h: ns3::FlameStack [class] + module.add_class('FlameStack', parent=root_module['ns3::MeshStack']) ## Register a nested module for the namespace Config @@ -102,6 +112,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -126,6 +148,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -149,6 +179,7 @@ def register_methods(root_module): register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer']) register_Ns3Ipv6RoutingHelper_methods(root_module, root_module['ns3::Ipv6RoutingHelper']) register_Ns3Ipv6StaticRoutingHelper_methods(root_module, root_module['ns3::Ipv6StaticRoutingHelper']) + register_Ns3MeshHelper_methods(root_module, root_module['ns3::MeshHelper']) register_Ns3MobilityHelper_methods(root_module, root_module['ns3::MobilityHelper']) register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer']) register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer']) @@ -174,6 +205,9 @@ def register_methods(root_module): 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']) + register_Ns3MeshStack_methods(root_module, root_module['ns3::MeshStack']) + register_Ns3Dot11sStack_methods(root_module, root_module['ns3::Dot11sStack']) + register_Ns3FlameStack_methods(root_module, root_module['ns3::FlameStack']) return def register_Ns3ApplicationContainer_methods(root_module, cls): @@ -768,6 +802,55 @@ def register_Ns3Ipv6StaticRoutingHelper_methods(root_module, cls): is_const=True) return +def register_Ns3MeshHelper_methods(root_module, cls): + ## mesh-helper.h: ns3::MeshHelper::MeshHelper(ns3::MeshHelper const & arg0) [copy constructor] + cls.add_constructor([param('ns3::MeshHelper const &', 'arg0')]) + ## mesh-helper.h: ns3::MeshHelper::MeshHelper() [constructor] + cls.add_constructor([]) + ## mesh-helper.h: static ns3::MeshHelper ns3::MeshHelper::Default() [member function] + cls.add_method('Default', + 'ns3::MeshHelper', + [], + is_static=True) + ## mesh-helper.h: ns3::NetDeviceContainer ns3::MeshHelper::Install(ns3::WifiPhyHelper const & phyHelper, ns3::NodeContainer c) const [member function] + cls.add_method('Install', + 'ns3::NetDeviceContainer', + [param('ns3::WifiPhyHelper const &', 'phyHelper'), param('ns3::NodeContainer', 'c')], + is_const=True) + ## mesh-helper.h: void ns3::MeshHelper::Report(ns3::Ptr const & arg0, std::ostream & arg1) [member function] + cls.add_method('Report', + 'void', + [param('ns3::Ptr< ns3::NetDevice > const &', 'arg0'), param('std::ostream &', 'arg1')]) + ## mesh-helper.h: void ns3::MeshHelper::ResetStats(ns3::Ptr const & arg0) [member function] + cls.add_method('ResetStats', + 'void', + [param('ns3::Ptr< ns3::NetDevice > const &', 'arg0')]) + ## mesh-helper.h: void ns3::MeshHelper::SetMacType(std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] + cls.add_method('SetMacType', + 'void', + [param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) + ## mesh-helper.h: void ns3::MeshHelper::SetNumberOfInterfaces(uint32_t nInterfaces) [member function] + cls.add_method('SetNumberOfInterfaces', + 'void', + [param('uint32_t', 'nInterfaces')]) + ## mesh-helper.h: void ns3::MeshHelper::SetRemoteStationManager(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] + cls.add_method('SetRemoteStationManager', + 'void', + [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) + ## mesh-helper.h: void ns3::MeshHelper::SetSpreadInterfaceChannels(ns3::MeshHelper::ChannelPolicy arg0) [member function] + cls.add_method('SetSpreadInterfaceChannels', + 'void', + [param('ns3::MeshHelper::ChannelPolicy', 'arg0')]) + ## mesh-helper.h: void ns3::MeshHelper::SetStackInstaller(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] + cls.add_method('SetStackInstaller', + 'void', + [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) + ## mesh-helper.h: void ns3::MeshHelper::SetStandard(ns3::WifiPhyStandard standard) [member function] + cls.add_method('SetStandard', + 'void', + [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')]) @@ -1618,11 +1701,99 @@ def register_Ns3AthstatsWifiTraceSink_methods(root_module, cls): [param('std::string', 'context'), param('ns3::Mac48Address', 'address')]) return +def register_Ns3MeshStack_methods(root_module, cls): + ## mesh-stack-installer.h: ns3::MeshStack::MeshStack() [constructor] + cls.add_constructor([]) + ## mesh-stack-installer.h: ns3::MeshStack::MeshStack(ns3::MeshStack const & arg0) [copy constructor] + cls.add_constructor([param('ns3::MeshStack const &', 'arg0')]) + ## mesh-stack-installer.h: bool ns3::MeshStack::InstallStack(ns3::Ptr mp) [member function] + cls.add_method('InstallStack', + 'bool', + [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')], + is_pure_virtual=True, is_virtual=True) + ## mesh-stack-installer.h: void ns3::MeshStack::Report(ns3::Ptr const mp, std::ostream & arg1) [member function] + cls.add_method('Report', + 'void', + [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp'), param('std::ostream &', 'arg1')], + is_pure_virtual=True, is_virtual=True) + ## mesh-stack-installer.h: void ns3::MeshStack::ResetStats(ns3::Ptr const mp) [member function] + cls.add_method('ResetStats', + 'void', + [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp')], + is_pure_virtual=True, is_virtual=True) + return + +def register_Ns3Dot11sStack_methods(root_module, cls): + ## dot11s-installer.h: ns3::Dot11sStack::Dot11sStack(ns3::Dot11sStack const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Dot11sStack const &', 'arg0')]) + ## dot11s-installer.h: ns3::Dot11sStack::Dot11sStack() [constructor] + cls.add_constructor([]) + ## dot11s-installer.h: void ns3::Dot11sStack::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + is_virtual=True) + ## dot11s-installer.h: static ns3::TypeId ns3::Dot11sStack::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## dot11s-installer.h: bool ns3::Dot11sStack::InstallStack(ns3::Ptr mp) [member function] + cls.add_method('InstallStack', + 'bool', + [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')], + is_virtual=True) + ## dot11s-installer.h: void ns3::Dot11sStack::Report(ns3::Ptr const mp, std::ostream & arg1) [member function] + cls.add_method('Report', + 'void', + [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp'), param('std::ostream &', 'arg1')], + is_virtual=True) + ## dot11s-installer.h: void ns3::Dot11sStack::ResetStats(ns3::Ptr const mp) [member function] + cls.add_method('ResetStats', + 'void', + [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp')], + is_virtual=True) + return + +def register_Ns3FlameStack_methods(root_module, cls): + ## flame-installer.h: ns3::FlameStack::FlameStack(ns3::FlameStack const & arg0) [copy constructor] + cls.add_constructor([param('ns3::FlameStack const &', 'arg0')]) + ## flame-installer.h: ns3::FlameStack::FlameStack() [constructor] + cls.add_constructor([]) + ## flame-installer.h: void ns3::FlameStack::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + is_virtual=True) + ## flame-installer.h: static ns3::TypeId ns3::FlameStack::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## flame-installer.h: bool ns3::FlameStack::InstallStack(ns3::Ptr mp) [member function] + cls.add_method('InstallStack', + 'bool', + [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')], + is_virtual=True) + ## flame-installer.h: void ns3::FlameStack::Report(ns3::Ptr const mp, std::ostream & arg1) [member function] + cls.add_method('Report', + 'void', + [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp'), param('std::ostream &', 'arg1')], + is_virtual=True) + ## flame-installer.h: void ns3::FlameStack::ResetStats(ns3::Ptr const mp) [member function] + cls.add_method('ResetStats', + 'void', + [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp')], + 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_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -1636,6 +1807,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_internet_stack.py b/bindings/python/ns3_module_internet_stack.py index a1fad209b..86c6058c0 100644 --- a/bindings/python/ns3_module_internet_stack.py +++ b/bindings/python/ns3_module_internet_stack.py @@ -102,6 +102,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -126,6 +138,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -2183,6 +2203,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -2196,6 +2218,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_list_routing.py b/bindings/python/ns3_module_list_routing.py index 83a246a33..36415514e 100644 --- a/bindings/python/ns3_module_list_routing.py +++ b/bindings/python/ns3_module_list_routing.py @@ -26,6 +26,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -50,6 +62,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -212,6 +232,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -225,6 +247,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_mesh.py b/bindings/python/ns3_module_mesh.py new file mode 100644 index 000000000..e4e3ce76d --- /dev/null +++ b/bindings/python/ns3_module_mesh.py @@ -0,0 +1,727 @@ +from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers + +def register_types(module): + root_module = module.get_root() + + ## wifi-information-element-vector.h: ns3::WifiElementId [enumeration] + module.add_enum('WifiElementId', ['IE11S_MESH_CONFIGURATION', 'IE11S_MESH_ID', 'IE11S_LINK_METRIC_REPORT', 'IE11S_CONGESTION_NOTIFICATION', 'IE11S_PEERING_MANAGEMENT', 'IE11S_SUPP_MBSS_REG_CLASSES_CHANNELS', 'IE11S_MESH_CHANNEL_SWITCH_ANNOUNCEMENT', 'IE11S_MESH_TIM', 'IE11S_AWAKE_WINDOW', 'IE11S_BEACON_TIMING', 'IE11S_MCCAOP_SETUP_REQUEST', 'IE11S_MCCAOP_SETUP_REPLY', 'IE11S_MCCAOP_ADVERTISEMENT', 'IE11S_MCCAOP_RESERVATION_TEARDOWN', 'IE11S_PORTAL_ANNOUNCEMENT', 'IE11S_RANN', 'IE11S_PREQ', 'IE11S_PREP', 'IE11S_PERR', 'IE11S_PROXY_UPDATE', 'IE11S_PROXY_UPDATE_CONFIRMATION', 'IE11S_ABBREVIATED_HANDSHAKE', 'IE11S_MESH_PEERING_PROTOCOL_VERSION']) + ## mesh-wifi-beacon.h: ns3::MeshWifiBeacon [class] + module.add_class('MeshWifiBeacon') + ## wifi-information-element-vector.h: ns3::WifiInformationElement [class] + module.add_class('WifiInformationElement', parent=root_module['ns3::RefCountBase']) + ## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin [class] + module.add_class('MeshWifiInterfaceMacPlugin', parent=root_module['ns3::RefCountBase']) + ## wifi-information-element-vector.h: ns3::WifiInformationElementVector [class] + module.add_class('WifiInformationElementVector', parent=root_module['ns3::Header']) + ## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol [class] + module.add_class('MeshL2RoutingProtocol', parent=root_module['ns3::Object']) + ## mesh-wifi-interface-mac.h: ns3::MeshWifiInterfaceMac [class] + module.add_class('MeshWifiInterfaceMac', parent=root_module['ns3::WifiMac']) + ## mesh-point-device.h: ns3::MeshPointDevice [class] + module.add_class('MeshPointDevice', parent=root_module['ns3::NetDevice']) + + ## 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 TimeStepPrecision + + nested_module = module.add_cpp_namespace('TimeStepPrecision') + register_types_ns3_TimeStepPrecision(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 dot11s + + nested_module = module.add_cpp_namespace('dot11s') + register_types_ns3_dot11s(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_TimeStepPrecision(module): + root_module = module.get_root() + + +def register_types_ns3_addressUtils(module): + root_module = module.get_root() + + +def register_types_ns3_dot11s(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_Ns3MeshWifiBeacon_methods(root_module, root_module['ns3::MeshWifiBeacon']) + register_Ns3WifiInformationElement_methods(root_module, root_module['ns3::WifiInformationElement']) + register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, root_module['ns3::MeshWifiInterfaceMacPlugin']) + register_Ns3WifiInformationElementVector_methods(root_module, root_module['ns3::WifiInformationElementVector']) + register_Ns3MeshL2RoutingProtocol_methods(root_module, root_module['ns3::MeshL2RoutingProtocol']) + register_Ns3MeshWifiInterfaceMac_methods(root_module, root_module['ns3::MeshWifiInterfaceMac']) + register_Ns3MeshPointDevice_methods(root_module, root_module['ns3::MeshPointDevice']) + return + +def register_Ns3MeshWifiBeacon_methods(root_module, cls): + ## mesh-wifi-beacon.h: ns3::MeshWifiBeacon::MeshWifiBeacon(ns3::MeshWifiBeacon const & arg0) [copy constructor] + cls.add_constructor([param('ns3::MeshWifiBeacon const &', 'arg0')]) + ## mesh-wifi-beacon.h: ns3::MeshWifiBeacon::MeshWifiBeacon(ns3::Ssid ssid, ns3::SupportedRates rates, uint64_t us) [constructor] + cls.add_constructor([param('ns3::Ssid', 'ssid'), param('ns3::SupportedRates', 'rates'), param('uint64_t', 'us')]) + ## mesh-wifi-beacon.h: void ns3::MeshWifiBeacon::AddInformationElement(ns3::Ptr ie) [member function] + cls.add_method('AddInformationElement', + 'void', + [param('ns3::Ptr< ns3::WifiInformationElement >', 'ie')]) + ## mesh-wifi-beacon.h: ns3::MgtBeaconHeader ns3::MeshWifiBeacon::BeaconHeader() const [member function] + cls.add_method('BeaconHeader', + 'ns3::MgtBeaconHeader', + [], + is_const=True) + ## mesh-wifi-beacon.h: ns3::WifiMacHeader ns3::MeshWifiBeacon::CreateHeader(ns3::Mac48Address address, ns3::Mac48Address mpAddress) [member function] + cls.add_method('CreateHeader', + 'ns3::WifiMacHeader', + [param('ns3::Mac48Address', 'address'), param('ns3::Mac48Address', 'mpAddress')]) + ## mesh-wifi-beacon.h: ns3::Ptr ns3::MeshWifiBeacon::CreatePacket() [member function] + cls.add_method('CreatePacket', + 'ns3::Ptr< ns3::Packet >', + []) + return + +def register_Ns3WifiInformationElement_methods(root_module, cls): + cls.add_binary_comparison_operator('<') + cls.add_binary_comparison_operator('==') + ## wifi-information-element-vector.h: ns3::WifiInformationElement::WifiInformationElement() [constructor] + cls.add_constructor([]) + ## wifi-information-element-vector.h: ns3::WifiInformationElement::WifiInformationElement(ns3::WifiInformationElement const & arg0) [copy constructor] + cls.add_constructor([param('ns3::WifiInformationElement const &', 'arg0')]) + ## wifi-information-element-vector.h: uint8_t ns3::WifiInformationElement::DeserializeInformation(ns3::Buffer::Iterator start, uint8_t length) [member function] + cls.add_method('DeserializeInformation', + 'uint8_t', + [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], + is_pure_virtual=True, is_virtual=True) + ## wifi-information-element-vector.h: ns3::WifiElementId ns3::WifiInformationElement::ElementId() const [member function] + cls.add_method('ElementId', + 'ns3::WifiElementId', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## wifi-information-element-vector.h: uint8_t ns3::WifiInformationElement::GetInformationSize() const [member function] + cls.add_method('GetInformationSize', + 'uint8_t', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## wifi-information-element-vector.h: void ns3::WifiInformationElement::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## wifi-information-element-vector.h: void ns3::WifiInformationElement::SerializeInformation(ns3::Buffer::Iterator start) const [member function] + cls.add_method('SerializeInformation', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + +def register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, cls): + ## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin() [constructor] + cls.add_constructor([]) + ## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin(ns3::MeshWifiInterfaceMacPlugin const & arg0) [copy constructor] + cls.add_constructor([param('ns3::MeshWifiInterfaceMacPlugin const &', 'arg0')]) + ## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::Receive(ns3::Ptr packet, ns3::WifiMacHeader const & header) [member function] + cls.add_method('Receive', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const &', 'header')], + is_pure_virtual=True, is_virtual=True) + ## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::SetParent(ns3::Ptr parent) [member function] + cls.add_method('SetParent', + 'void', + [param('ns3::Ptr< ns3::MeshWifiInterfaceMac >', 'parent')], + is_pure_virtual=True, is_virtual=True) + ## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::UpdateBeacon(ns3::MeshWifiBeacon & beacon) const [member function] + cls.add_method('UpdateBeacon', + 'void', + [param('ns3::MeshWifiBeacon &', 'beacon')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::UpdateOutcomingFrame(ns3::Ptr packet, ns3::WifiMacHeader & header, ns3::Mac48Address from, ns3::Mac48Address to) [member function] + cls.add_method('UpdateOutcomingFrame', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader &', 'header'), param('ns3::Mac48Address', 'from'), param('ns3::Mac48Address', 'to')], + is_pure_virtual=True, is_virtual=True) + return + +def register_Ns3WifiInformationElementVector_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + ## wifi-information-element-vector.h: ns3::WifiInformationElementVector::WifiInformationElementVector(ns3::WifiInformationElementVector const & arg0) [copy constructor] + cls.add_constructor([param('ns3::WifiInformationElementVector const &', 'arg0')]) + ## wifi-information-element-vector.h: ns3::WifiInformationElementVector::WifiInformationElementVector() [constructor] + cls.add_constructor([]) + ## wifi-information-element-vector.h: bool ns3::WifiInformationElementVector::AddInformationElement(ns3::Ptr element) [member function] + cls.add_method('AddInformationElement', + 'bool', + [param('ns3::Ptr< ns3::WifiInformationElement >', 'element')]) + ## wifi-information-element-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::WifiInformationElementVector::Begin() [member function] + cls.add_method('Begin', + '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::WifiInformationElement >, std::vector< ns3::Ptr< ns3::WifiInformationElement > > >', + []) + ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::DeserializeSingleIe(ns3::Buffer::Iterator start) [member function] + cls.add_method('DeserializeSingleIe', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## wifi-information-element-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::WifiInformationElementVector::End() [member function] + cls.add_method('End', + '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::WifiInformationElement >, std::vector< ns3::Ptr< ns3::WifiInformationElement > > >', + []) + ## wifi-information-element-vector.h: ns3::Ptr ns3::WifiInformationElementVector::FindFirst(ns3::WifiElementId id) const [member function] + cls.add_method('FindFirst', + 'ns3::Ptr< ns3::WifiInformationElement >', + [param('ns3::WifiElementId', 'id')], + is_const=True) + ## wifi-information-element-vector.h: ns3::TypeId ns3::WifiInformationElementVector::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## wifi-information-element-vector.h: static ns3::TypeId ns3::WifiInformationElementVector::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## wifi-information-element-vector.h: void ns3::WifiInformationElementVector::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## wifi-information-element-vector.h: void ns3::WifiInformationElementVector::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, is_virtual=True) + ## wifi-information-element-vector.h: void ns3::WifiInformationElementVector::SetMaxSize(uint16_t size) [member function] + cls.add_method('SetMaxSize', + 'void', + [param('uint16_t', 'size')]) + return + +def register_Ns3MeshL2RoutingProtocol_methods(root_module, cls): + ## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol::MeshL2RoutingProtocol() [constructor] + cls.add_constructor([]) + ## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol::MeshL2RoutingProtocol(ns3::MeshL2RoutingProtocol const & arg0) [copy constructor] + cls.add_constructor([param('ns3::MeshL2RoutingProtocol const &', 'arg0')]) + ## mesh-l2-routing-protocol.h: ns3::Ptr ns3::MeshL2RoutingProtocol::GetMeshPoint() const [member function] + cls.add_method('GetMeshPoint', + 'ns3::Ptr< ns3::MeshPointDevice >', + [], + is_const=True) + ## mesh-l2-routing-protocol.h: static ns3::TypeId ns3::MeshL2RoutingProtocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## mesh-l2-routing-protocol.h: bool ns3::MeshL2RoutingProtocol::RemoveRoutingStuff(uint32_t fromIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t & protocolType) [member function] + cls.add_method('RemoveRoutingStuff', + 'bool', + [param('uint32_t', 'fromIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t &', 'protocolType')], + is_pure_virtual=True, is_virtual=True) + ## mesh-l2-routing-protocol.h: bool ns3::MeshL2RoutingProtocol::RequestRoute(uint32_t sourceIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t protocolType, ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty> routeReply) [member function] + cls.add_method('RequestRoute', + 'bool', + [param('uint32_t', 'sourceIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocolType'), param('ns3::Callback< void, bool, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')], + is_pure_virtual=True, is_virtual=True) + ## mesh-l2-routing-protocol.h: void ns3::MeshL2RoutingProtocol::SetMeshPoint(ns3::Ptr mp) [member function] + cls.add_method('SetMeshPoint', + 'void', + [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')]) + return + +def register_Ns3MeshWifiInterfaceMac_methods(root_module, cls): + ## mesh-wifi-interface-mac.h: ns3::MeshWifiInterfaceMac::MeshWifiInterfaceMac(ns3::MeshWifiInterfaceMac const & arg0) [copy constructor] + cls.add_constructor([param('ns3::MeshWifiInterfaceMac const &', 'arg0')]) + ## mesh-wifi-interface-mac.h: ns3::MeshWifiInterfaceMac::MeshWifiInterfaceMac() [constructor] + cls.add_constructor([]) + ## mesh-wifi-interface-mac.h: bool ns3::MeshWifiInterfaceMac::CheckSupportedRates(ns3::SupportedRates rates) const [member function] + cls.add_method('CheckSupportedRates', + 'bool', + [param('ns3::SupportedRates', 'rates')], + is_const=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to, ns3::Mac48Address from) [member function] + cls.add_method('Enqueue', + 'void', + [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function] + cls.add_method('Enqueue', + 'void', + [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function] + cls.add_method('FinishConfigureStandard', + 'void', + [param('ns3::WifiPhyStandard', 'standard')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetAckTimeout() const [member function] + cls.add_method('GetAckTimeout', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## mesh-wifi-interface-mac.h: ns3::Mac48Address ns3::MeshWifiInterfaceMac::GetAddress() const [member function] + cls.add_method('GetAddress', + 'ns3::Mac48Address', + [], + is_const=True, is_virtual=True) + ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetBeaconInterval() const [member function] + cls.add_method('GetBeaconInterval', + 'ns3::Time', + [], + is_const=True) + ## mesh-wifi-interface-mac.h: ns3::Mac48Address ns3::MeshWifiInterfaceMac::GetBssid() const [member function] + cls.add_method('GetBssid', + 'ns3::Mac48Address', + [], + is_const=True, is_virtual=True) + ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetCtsTimeout() const [member function] + cls.add_method('GetCtsTimeout', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetEifsNoDifs() const [member function] + cls.add_method('GetEifsNoDifs', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## mesh-wifi-interface-mac.h: uint16_t ns3::MeshWifiInterfaceMac::GetFrequencyChannel() const [member function] + cls.add_method('GetFrequencyChannel', + 'uint16_t', + [], + is_const=True) + ## mesh-wifi-interface-mac.h: uint32_t ns3::MeshWifiInterfaceMac::GetLinkMetric(ns3::Mac48Address peerAddress) [member function] + cls.add_method('GetLinkMetric', + 'uint32_t', + [param('ns3::Mac48Address', 'peerAddress')]) + ## mesh-wifi-interface-mac.h: ns3::Mac48Address ns3::MeshWifiInterfaceMac::GetMeshPointAddress() const [member function] + cls.add_method('GetMeshPointAddress', + 'ns3::Mac48Address', + [], + is_const=True) + ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetPifs() const [member function] + cls.add_method('GetPifs', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetSifs() const [member function] + cls.add_method('GetSifs', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetSlot() const [member function] + cls.add_method('GetSlot', + 'ns3::Time', + [], + is_const=True, is_virtual=True) + ## mesh-wifi-interface-mac.h: ns3::Ssid ns3::MeshWifiInterfaceMac::GetSsid() const [member function] + cls.add_method('GetSsid', + 'ns3::Ssid', + [], + is_const=True, is_virtual=True) + ## mesh-wifi-interface-mac.h: ns3::Ptr ns3::MeshWifiInterfaceMac::GetStationManager() [member function] + cls.add_method('GetStationManager', + 'ns3::Ptr< ns3::WifiRemoteStationManager >', + []) + ## mesh-wifi-interface-mac.h: ns3::SupportedRates ns3::MeshWifiInterfaceMac::GetSupportedRates() const [member function] + cls.add_method('GetSupportedRates', + 'ns3::SupportedRates', + [], + is_const=True) + ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetTbtt() const [member function] + cls.add_method('GetTbtt', + 'ns3::Time', + [], + is_const=True) + ## mesh-wifi-interface-mac.h: static ns3::TypeId ns3::MeshWifiInterfaceMac::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::InstallPlugin(ns3::Ptr plugin) [member function] + cls.add_method('InstallPlugin', + 'void', + [param('ns3::Ptr< ns3::MeshWifiInterfaceMacPlugin >', 'plugin')]) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Report(std::ostream & arg0) const [member function] + cls.add_method('Report', + 'void', + [param('std::ostream &', 'arg0')], + is_const=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::ResetStats() [member function] + cls.add_method('ResetStats', + 'void', + []) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SendManagementFrame(ns3::Ptr frame, ns3::WifiMacHeader const & hdr) [member function] + cls.add_method('SendManagementFrame', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'frame'), param('ns3::WifiMacHeader const &', 'hdr')]) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetAckTimeout(ns3::Time ackTimeout) [member function] + cls.add_method('SetAckTimeout', + 'void', + [param('ns3::Time', 'ackTimeout')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetAddress(ns3::Mac48Address address) [member function] + cls.add_method('SetAddress', + 'void', + [param('ns3::Mac48Address', 'address')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetBeaconGeneration(bool enable) [member function] + cls.add_method('SetBeaconGeneration', + 'void', + [param('bool', 'enable')]) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetBeaconInterval(ns3::Time interval) [member function] + cls.add_method('SetBeaconInterval', + 'void', + [param('ns3::Time', 'interval')]) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetCtsTimeout(ns3::Time ctsTimeout) [member function] + cls.add_method('SetCtsTimeout', + 'void', + [param('ns3::Time', 'ctsTimeout')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetEifsNoDifs(ns3::Time eifsNoDifs) [member function] + cls.add_method('SetEifsNoDifs', + 'void', + [param('ns3::Time', 'eifsNoDifs')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetForwardUpCallback(ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> upCallback) [member function] + cls.add_method('SetForwardUpCallback', + 'void', + [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'upCallback')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetLinkDownCallback(ns3::Callback linkDown) [member function] + cls.add_method('SetLinkDownCallback', + 'void', + [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkDown')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetLinkMetricCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] + cls.add_method('SetLinkMetricCallback', + 'void', + [param('ns3::Callback< unsigned int, ns3::Mac48Address, ns3::Ptr< ns3::MeshWifiInterfaceMac >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetLinkUpCallback(ns3::Callback linkUp) [member function] + cls.add_method('SetLinkUpCallback', + 'void', + [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkUp')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetMeshPointAddress(ns3::Mac48Address arg0) [member function] + cls.add_method('SetMeshPointAddress', + 'void', + [param('ns3::Mac48Address', 'arg0')]) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetPifs(ns3::Time pifs) [member function] + cls.add_method('SetPifs', + 'void', + [param('ns3::Time', 'pifs')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetQueue(ns3::AccessClass ac) [member function] + cls.add_method('SetQueue', + 'void', + [param('ns3::AccessClass', 'ac')]) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetRandomStartDelay(ns3::Time interval) [member function] + cls.add_method('SetRandomStartDelay', + 'void', + [param('ns3::Time', 'interval')]) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetSifs(ns3::Time sifs) [member function] + cls.add_method('SetSifs', + 'void', + [param('ns3::Time', 'sifs')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetSlot(ns3::Time slotTime) [member function] + cls.add_method('SetSlot', + 'void', + [param('ns3::Time', 'slotTime')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetSsid(ns3::Ssid ssid) [member function] + cls.add_method('SetSsid', + 'void', + [param('ns3::Ssid', 'ssid')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetWifiPhy(ns3::Ptr phy) [member function] + cls.add_method('SetWifiPhy', + 'void', + [param('ns3::Ptr< ns3::WifiPhy >', 'phy')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetWifiRemoteStationManager(ns3::Ptr stationManager) [member function] + cls.add_method('SetWifiRemoteStationManager', + 'void', + [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'stationManager')], + is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::ShiftTbtt(ns3::Time shift) [member function] + cls.add_method('ShiftTbtt', + 'void', + [param('ns3::Time', 'shift')]) + ## mesh-wifi-interface-mac.h: bool ns3::MeshWifiInterfaceMac::SupportsSendFrom() const [member function] + cls.add_method('SupportsSendFrom', + 'bool', + [], + is_const=True, is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SwitchFrequencyChannel(uint16_t new_id) [member function] + cls.add_method('SwitchFrequencyChannel', + 'void', + [param('uint16_t', 'new_id')]) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='private', is_virtual=True) + ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::ForwardUp(ns3::Ptr packet, ns3::Mac48Address src, ns3::Mac48Address dst) [member function] + cls.add_method('ForwardUp', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address', 'src'), param('ns3::Mac48Address', 'dst')], + visibility='private', is_virtual=True) + return + +def register_Ns3MeshPointDevice_methods(root_module, cls): + ## mesh-point-device.h: ns3::MeshPointDevice::MeshPointDevice(ns3::MeshPointDevice const & arg0) [copy constructor] + cls.add_constructor([param('ns3::MeshPointDevice const &', 'arg0')]) + ## mesh-point-device.h: ns3::MeshPointDevice::MeshPointDevice() [constructor] + cls.add_constructor([]) + ## mesh-point-device.h: void ns3::MeshPointDevice::AddInterface(ns3::Ptr port) [member function] + cls.add_method('AddInterface', + 'void', + [param('ns3::Ptr< ns3::NetDevice >', 'port')]) + ## mesh-point-device.h: void ns3::MeshPointDevice::AddLinkChangeCallback(ns3::Callback callback) [member function] + cls.add_method('AddLinkChangeCallback', + 'void', + [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], + is_virtual=True) + ## mesh-point-device.h: void ns3::MeshPointDevice::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + is_virtual=True) + ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetAddress() const [member function] + cls.add_method('GetAddress', + 'ns3::Address', + [], + is_const=True, is_virtual=True) + ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetBroadcast() const [member function] + cls.add_method('GetBroadcast', + 'ns3::Address', + [], + is_const=True, is_virtual=True) + ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetChannel() const [member function] + cls.add_method('GetChannel', + 'ns3::Ptr< ns3::Channel >', + [], + is_const=True, is_virtual=True) + ## mesh-point-device.h: uint32_t ns3::MeshPointDevice::GetIfIndex() const [member function] + cls.add_method('GetIfIndex', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetInterface(uint32_t id) const [member function] + cls.add_method('GetInterface', + 'ns3::Ptr< ns3::NetDevice >', + [param('uint32_t', 'id')], + is_const=True) + ## mesh-point-device.h: std::vector, std::allocator > > ns3::MeshPointDevice::GetInterfaces() const [member function] + cls.add_method('GetInterfaces', + 'std::vector< ns3::Ptr< ns3::NetDevice > >', + [], + is_const=True) + ## mesh-point-device.h: uint16_t ns3::MeshPointDevice::GetMtu() const [member function] + cls.add_method('GetMtu', + 'uint16_t', + [], + is_const=True, is_virtual=True) + ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] + cls.add_method('GetMulticast', + 'ns3::Address', + [param('ns3::Ipv4Address', 'multicastGroup')], + is_const=True, is_virtual=True) + ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] + cls.add_method('GetMulticast', + 'ns3::Address', + [param('ns3::Ipv6Address', 'addr')], + is_const=True, is_virtual=True) + ## mesh-point-device.h: uint32_t ns3::MeshPointDevice::GetNInterfaces() const [member function] + cls.add_method('GetNInterfaces', + 'uint32_t', + [], + is_const=True) + ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetNode() const [member function] + cls.add_method('GetNode', + 'ns3::Ptr< ns3::Node >', + [], + is_const=True, is_virtual=True) + ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetRoutingProtocol() const [member function] + cls.add_method('GetRoutingProtocol', + 'ns3::Ptr< ns3::MeshL2RoutingProtocol >', + [], + is_const=True) + ## mesh-point-device.h: static ns3::TypeId ns3::MeshPointDevice::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## mesh-point-device.h: bool ns3::MeshPointDevice::IsBridge() const [member function] + cls.add_method('IsBridge', + 'bool', + [], + is_const=True, is_virtual=True) + ## mesh-point-device.h: bool ns3::MeshPointDevice::IsBroadcast() const [member function] + cls.add_method('IsBroadcast', + 'bool', + [], + is_const=True, is_virtual=True) + ## mesh-point-device.h: bool ns3::MeshPointDevice::IsLinkUp() const [member function] + cls.add_method('IsLinkUp', + 'bool', + [], + is_const=True, is_virtual=True) + ## mesh-point-device.h: bool ns3::MeshPointDevice::IsMulticast() const [member function] + cls.add_method('IsMulticast', + 'bool', + [], + is_const=True, is_virtual=True) + ## mesh-point-device.h: bool ns3::MeshPointDevice::IsPointToPoint() const [member function] + cls.add_method('IsPointToPoint', + 'bool', + [], + is_const=True, is_virtual=True) + ## mesh-point-device.h: bool ns3::MeshPointDevice::NeedsArp() const [member function] + cls.add_method('NeedsArp', + 'bool', + [], + is_const=True, is_virtual=True) + ## mesh-point-device.h: void ns3::MeshPointDevice::Report(std::ostream & os) const [member function] + cls.add_method('Report', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## mesh-point-device.h: void ns3::MeshPointDevice::ResetStats() [member function] + cls.add_method('ResetStats', + 'void', + []) + ## mesh-point-device.h: bool ns3::MeshPointDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] + cls.add_method('Send', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], + is_virtual=True) + ## mesh-point-device.h: bool ns3::MeshPointDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] + cls.add_method('SendFrom', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], + is_virtual=True) + ## mesh-point-device.h: void ns3::MeshPointDevice::SetAddress(ns3::Address a) [member function] + cls.add_method('SetAddress', + 'void', + [param('ns3::Address', 'a')], + is_virtual=True) + ## mesh-point-device.h: void ns3::MeshPointDevice::SetIfIndex(uint32_t const index) [member function] + cls.add_method('SetIfIndex', + 'void', + [param('uint32_t const', 'index')], + is_virtual=True) + ## mesh-point-device.h: bool ns3::MeshPointDevice::SetMtu(uint16_t const mtu) [member function] + cls.add_method('SetMtu', + 'bool', + [param('uint16_t const', 'mtu')], + is_virtual=True) + ## mesh-point-device.h: void ns3::MeshPointDevice::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')], + is_virtual=True) + ## mesh-point-device.h: void ns3::MeshPointDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] + cls.add_method('SetPromiscReceiveCallback', + 'void', + [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], + is_virtual=True) + ## mesh-point-device.h: void ns3::MeshPointDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] + cls.add_method('SetReceiveCallback', + 'void', + [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], + is_virtual=True) + ## mesh-point-device.h: void ns3::MeshPointDevice::SetRoutingProtocol(ns3::Ptr protocol) [member function] + cls.add_method('SetRoutingProtocol', + 'void', + [param('ns3::Ptr< ns3::MeshL2RoutingProtocol >', 'protocol')]) + ## mesh-point-device.h: bool ns3::MeshPointDevice::SupportsSendFrom() const [member function] + cls.add_method('SupportsSendFrom', + 'bool', + [], + is_const=True, 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_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) + register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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_TimeStepPrecision(module, root_module): + return + +def register_functions_ns3_addressUtils(module, root_module): + return + +def register_functions_ns3_dot11s(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/ns3_module_mobility.py b/bindings/python/ns3_module_mobility.py index ceb42c25f..b7556135d 100644 --- a/bindings/python/ns3_module_mobility.py +++ b/bindings/python/ns3_module_mobility.py @@ -62,6 +62,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -86,6 +98,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -686,6 +706,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -699,6 +721,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_node.py b/bindings/python/ns3_module_node.py index cfa70586f..9c9c6855d 100644 --- a/bindings/python/ns3_module_node.py +++ b/bindings/python/ns3_module_node.py @@ -3,6 +3,8 @@ from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandler def register_types(module): root_module = module.get_root() + ## packetbb.h: ns3::PbbAddressLength [enumeration] + module.add_enum('PbbAddressLength', ['IPV4', 'IPV6']) ## ethernet-header.h: ns3::ethernet_header_t [enumeration] module.add_enum('ethernet_header_t', ['LENGTH', 'VLAN', 'QINQ']) ## address.h: ns3::Address [class] @@ -55,6 +57,24 @@ def register_types(module): module.add_class('PacketSocketAddress') ## packet-socket-address.h: ns3::PacketSocketAddress [class] root_module['ns3::PacketSocketAddress'].implicitly_converts_to(root_module['ns3::Address']) + ## packetbb.h: ns3::PbbAddressBlock [class] + module.add_class('PbbAddressBlock', allow_subclassing=True) + ## packetbb.h: ns3::PbbAddressBlockIpv4 [class] + module.add_class('PbbAddressBlockIpv4', parent=root_module['ns3::PbbAddressBlock']) + ## packetbb.h: ns3::PbbAddressBlockIpv6 [class] + module.add_class('PbbAddressBlockIpv6', parent=root_module['ns3::PbbAddressBlock']) + ## packetbb.h: ns3::PbbAddressTlvBlock [class] + module.add_class('PbbAddressTlvBlock') + ## packetbb.h: ns3::PbbMessage [class] + module.add_class('PbbMessage', allow_subclassing=True) + ## packetbb.h: ns3::PbbMessageIpv4 [class] + module.add_class('PbbMessageIpv4', parent=root_module['ns3::PbbMessage']) + ## packetbb.h: ns3::PbbMessageIpv6 [class] + module.add_class('PbbMessageIpv6', parent=root_module['ns3::PbbMessage']) + ## packetbb.h: ns3::PbbTlv [class] + module.add_class('PbbTlv') + ## packetbb.h: ns3::PbbTlvBlock [class] + module.add_class('PbbTlvBlock') ## ipv4-address.h: ns3::Ipv4AddressChecker [class] module.add_class('Ipv4AddressChecker', parent=root_module['ns3::AttributeChecker']) ## ipv4-address.h: ns3::Ipv4AddressValue [class] @@ -91,6 +111,10 @@ def register_types(module): module.add_class('Mac48AddressChecker', parent=root_module['ns3::AttributeChecker']) ## mac48-address.h: ns3::Mac48AddressValue [class] module.add_class('Mac48AddressValue', parent=root_module['ns3::AttributeValue']) + ## packetbb.h: ns3::PbbAddressTlv [class] + module.add_class('PbbAddressTlv', parent=root_module['ns3::PbbTlv']) + ## packetbb.h: ns3::PbbPacket [class] + module.add_class('PbbPacket', parent=root_module['ns3::Header']) ## queue.h: ns3::Queue [class] module.add_class('Queue', parent=root_module['ns3::Object']) ## socket.h: ns3::Socket [class] @@ -174,6 +198,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -198,6 +234,15 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(module): + root_module = module.get_root() + + module.add_container('std::vector< ns3::Mac48Address >', 'ns3::Mac48Address', container_type='vector') + +def register_types_ns3_flame(module): + root_module = module.get_root() + + def register_types_ns3_internal(module): root_module = module.get_root() @@ -221,6 +266,15 @@ def register_methods(root_module): register_Ns3Mac64Address_methods(root_module, root_module['ns3::Mac64Address']) register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList']) register_Ns3PacketSocketAddress_methods(root_module, root_module['ns3::PacketSocketAddress']) + register_Ns3PbbAddressBlock_methods(root_module, root_module['ns3::PbbAddressBlock']) + register_Ns3PbbAddressBlockIpv4_methods(root_module, root_module['ns3::PbbAddressBlockIpv4']) + register_Ns3PbbAddressBlockIpv6_methods(root_module, root_module['ns3::PbbAddressBlockIpv6']) + register_Ns3PbbAddressTlvBlock_methods(root_module, root_module['ns3::PbbAddressTlvBlock']) + register_Ns3PbbMessage_methods(root_module, root_module['ns3::PbbMessage']) + register_Ns3PbbMessageIpv4_methods(root_module, root_module['ns3::PbbMessageIpv4']) + register_Ns3PbbMessageIpv6_methods(root_module, root_module['ns3::PbbMessageIpv6']) + register_Ns3PbbTlv_methods(root_module, root_module['ns3::PbbTlv']) + register_Ns3PbbTlvBlock_methods(root_module, root_module['ns3::PbbTlvBlock']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header']) @@ -238,6 +292,8 @@ def register_methods(root_module): register_Ns3LlcSnapHeader_methods(root_module, root_module['ns3::LlcSnapHeader']) register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) + register_Ns3PbbAddressTlv_methods(root_module, root_module['ns3::PbbAddressTlv']) + register_Ns3PbbPacket_methods(root_module, root_module['ns3::PbbPacket']) register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) register_Ns3Socket_methods(root_module, root_module['ns3::Socket']) register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) @@ -1163,6 +1219,1021 @@ def register_Ns3PacketSocketAddress_methods(root_module, cls): [param('uint32_t', 'device')]) return +def register_Ns3PbbAddressBlock_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock(ns3::PbbAddressBlock const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbAddressBlock const &', 'arg0')]) + ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressBack() const [member function] + cls.add_method('AddressBack', + 'ns3::Address', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressBegin() [member function] + cls.add_method('AddressBegin', + 'std::_List_iterator< ns3::Address >', + []) + ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressBegin() const [member function] + cls.add_method('AddressBegin', + 'std::_List_const_iterator< ns3::Address >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::AddressClear() [member function] + cls.add_method('AddressClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbAddressBlock::AddressEmpty() const [member function] + cls.add_method('AddressEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressEnd() [member function] + cls.add_method('AddressEnd', + 'std::_List_iterator< ns3::Address >', + []) + ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressEnd() const [member function] + cls.add_method('AddressEnd', + 'std::_List_const_iterator< ns3::Address >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator position) [member function] + cls.add_method('AddressErase', + 'std::_List_iterator< ns3::Address >', + [param('std::_List_iterator< ns3::Address >', 'position')]) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator first, std::_List_iterator last) [member function] + cls.add_method('AddressErase', + 'std::_List_iterator< ns3::Address >', + [param('std::_List_iterator< ns3::Address >', 'first'), param('std::_List_iterator< ns3::Address >', 'last')]) + ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressFront() const [member function] + cls.add_method('AddressFront', + 'ns3::Address', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressInsert(std::_List_iterator position, ns3::Address const value) [member function] + cls.add_method('AddressInsert', + 'std::_List_iterator< ns3::Address >', + [param('std::_List_iterator< ns3::Address >', 'position'), param('ns3::Address const', 'value')]) + ## packetbb.h: void ns3::PbbAddressBlock::AddressPopBack() [member function] + cls.add_method('AddressPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::AddressPopFront() [member function] + cls.add_method('AddressPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::AddressPushBack(ns3::Address address) [member function] + cls.add_method('AddressPushBack', + 'void', + [param('ns3::Address', 'address')]) + ## packetbb.h: void ns3::PbbAddressBlock::AddressPushFront(ns3::Address address) [member function] + cls.add_method('AddressPushFront', + 'void', + [param('ns3::Address', 'address')]) + ## packetbb.h: int ns3::PbbAddressBlock::AddressSize() const [member function] + cls.add_method('AddressSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Deserialize(ns3::Buffer::Iterator & start) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')]) + ## packetbb.h: uint32_t ns3::PbbAddressBlock::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixBack() const [member function] + cls.add_method('PrefixBack', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixBegin() [member function] + cls.add_method('PrefixBegin', + 'std::_List_iterator< unsigned char >', + []) + ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixBegin() const [member function] + cls.add_method('PrefixBegin', + 'std::_List_const_iterator< unsigned char >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixClear() [member function] + cls.add_method('PrefixClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbAddressBlock::PrefixEmpty() const [member function] + cls.add_method('PrefixEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixEnd() [member function] + cls.add_method('PrefixEnd', + 'std::_List_iterator< unsigned char >', + []) + ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixEnd() const [member function] + cls.add_method('PrefixEnd', + 'std::_List_const_iterator< unsigned char >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator position) [member function] + cls.add_method('PrefixErase', + 'std::_List_iterator< unsigned char >', + [param('std::_List_iterator< unsigned char >', 'position')]) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator first, std::_List_iterator last) [member function] + cls.add_method('PrefixErase', + 'std::_List_iterator< unsigned char >', + [param('std::_List_iterator< unsigned char >', 'first'), param('std::_List_iterator< unsigned char >', 'last')]) + ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixFront() const [member function] + cls.add_method('PrefixFront', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixInsert(std::_List_iterator position, uint8_t const value) [member function] + cls.add_method('PrefixInsert', + 'std::_List_iterator< unsigned char >', + [param('std::_List_iterator< unsigned char >', 'position'), param('uint8_t const', 'value')]) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopBack() [member function] + cls.add_method('PrefixPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopFront() [member function] + cls.add_method('PrefixPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushBack(uint8_t prefix) [member function] + cls.add_method('PrefixPushBack', + 'void', + [param('uint8_t', 'prefix')]) + ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushFront(uint8_t prefix) [member function] + cls.add_method('PrefixPushFront', + 'void', + [param('uint8_t', 'prefix')]) + ## packetbb.h: int ns3::PbbAddressBlock::PrefixSize() const [member function] + cls.add_method('PrefixSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os, int level) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os'), param('int', 'level')], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Serialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvBack() [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbAddressTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvBack() const [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbAddressTlv > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvBegin() [member function] + cls.add_method('TlvBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvBegin() const [member function] + cls.add_method('TlvBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::TlvClear() [member function] + cls.add_method('TlvClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbAddressBlock::TlvEmpty() const [member function] + cls.add_method('TlvEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvEnd() [member function] + cls.add_method('TlvEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvEnd() const [member function] + cls.add_method('TlvEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > position) [member function] + cls.add_method('TlvErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('TlvErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'last')]) + ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvFront() [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbAddressTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvFront() const [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbAddressTlv > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvInsert(std::_List_iterator > position, ns3::Ptr const value) [member function] + cls.add_method('TlvInsert', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position'), param('ns3::Ptr< ns3::PbbTlv > const', 'value')]) + ## packetbb.h: void ns3::PbbAddressBlock::TlvPopBack() [member function] + cls.add_method('TlvPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::TlvPopFront() [member function] + cls.add_method('TlvPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressBlock::TlvPushBack(ns3::Ptr address) [member function] + cls.add_method('TlvPushBack', + 'void', + [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) + ## packetbb.h: void ns3::PbbAddressBlock::TlvPushFront(ns3::Ptr address) [member function] + cls.add_method('TlvPushFront', + 'void', + [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) + ## packetbb.h: int ns3::PbbAddressBlock::TlvSize() const [member function] + cls.add_method('TlvSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressBlock::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + ## packetbb.h: ns3::Address ns3::PbbAddressBlock::DeserializeAddress(uint8_t * buffer) const [member function] + cls.add_method('DeserializeAddress', + 'ns3::Address', + [param('uint8_t *', 'buffer')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: uint8_t ns3::PbbAddressBlock::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'uint8_t', + [], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlock::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] + cls.add_method('PrintAddress', + 'void', + [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlock::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] + cls.add_method('SerializeAddress', + 'void', + [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbAddressBlockIpv4_methods(root_module, cls): + ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4(ns3::PbbAddressBlockIpv4 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbAddressBlockIpv4 const &', 'arg0')]) + ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv4::DeserializeAddress(uint8_t * buffer) const [member function] + cls.add_method('DeserializeAddress', + 'ns3::Address', + [param('uint8_t *', 'buffer')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv4::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'uint8_t', + [], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlockIpv4::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] + cls.add_method('PrintAddress', + 'void', + [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlockIpv4::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] + cls.add_method('SerializeAddress', + 'void', + [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbAddressBlockIpv6_methods(root_module, cls): + ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6(ns3::PbbAddressBlockIpv6 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbAddressBlockIpv6 const &', 'arg0')]) + ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv6::DeserializeAddress(uint8_t * buffer) const [member function] + cls.add_method('DeserializeAddress', + 'ns3::Address', + [param('uint8_t *', 'buffer')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv6::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'uint8_t', + [], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlockIpv6::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] + cls.add_method('PrintAddress', + 'void', + [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbAddressBlockIpv6::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] + cls.add_method('SerializeAddress', + 'void', + [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], + is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbAddressTlvBlock_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbAddressTlvBlock::PbbAddressTlvBlock() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::PbbAddressTlvBlock::PbbAddressTlvBlock(ns3::PbbAddressTlvBlock const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbAddressTlvBlock const &', 'arg0')]) + ## packetbb.h: ns3::Ptr ns3::PbbAddressTlvBlock::Back() const [member function] + cls.add_method('Back', + 'ns3::Ptr< ns3::PbbAddressTlv >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::Begin() [member function] + cls.add_method('Begin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressTlvBlock::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressTlvBlock::Clear() [member function] + cls.add_method('Clear', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressTlvBlock::Deserialize(ns3::Buffer::Iterator & start) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')]) + ## packetbb.h: bool ns3::PbbAddressTlvBlock::Empty() const [member function] + cls.add_method('Empty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::End() [member function] + cls.add_method('End', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressTlvBlock::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::Erase(std::_List_iterator > position) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'last')]) + ## packetbb.h: ns3::Ptr ns3::PbbAddressTlvBlock::Front() const [member function] + cls.add_method('Front', + 'ns3::Ptr< ns3::PbbAddressTlv >', + [], + is_const=True) + ## packetbb.h: uint32_t ns3::PbbAddressTlvBlock::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::Insert(std::_List_iterator > position, ns3::Ptr const tlv) [member function] + cls.add_method('Insert', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position'), param('ns3::Ptr< ns3::PbbAddressTlv > const', 'tlv')]) + ## packetbb.h: void ns3::PbbAddressTlvBlock::PopBack() [member function] + cls.add_method('PopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressTlvBlock::PopFront() [member function] + cls.add_method('PopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbAddressTlvBlock::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packetbb.h: void ns3::PbbAddressTlvBlock::Print(std::ostream & os, int level) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os'), param('int', 'level')], + is_const=True) + ## packetbb.h: void ns3::PbbAddressTlvBlock::PushBack(ns3::Ptr tlv) [member function] + cls.add_method('PushBack', + 'void', + [param('ns3::Ptr< ns3::PbbAddressTlv >', 'tlv')]) + ## packetbb.h: void ns3::PbbAddressTlvBlock::PushFront(ns3::Ptr tlv) [member function] + cls.add_method('PushFront', + 'void', + [param('ns3::Ptr< ns3::PbbAddressTlv >', 'tlv')]) + ## packetbb.h: void ns3::PbbAddressTlvBlock::Serialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True) + ## packetbb.h: int ns3::PbbAddressTlvBlock::Size() const [member function] + cls.add_method('Size', + 'int', + [], + is_const=True) + return + +def register_Ns3PbbMessage_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbMessage::PbbMessage(ns3::PbbMessage const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbMessage const &', 'arg0')]) + ## packetbb.h: ns3::PbbMessage::PbbMessage() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockBack() [member function] + cls.add_method('AddressBlockBack', + 'ns3::Ptr< ns3::PbbAddressBlock >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockBack() const [member function] + cls.add_method('AddressBlockBack', + 'ns3::Ptr< ns3::PbbAddressBlock > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockBegin() [member function] + cls.add_method('AddressBlockBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockBegin() const [member function] + cls.add_method('AddressBlockBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::AddressBlockClear() [member function] + cls.add_method('AddressBlockClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbMessage::AddressBlockEmpty() const [member function] + cls.add_method('AddressBlockEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockEnd() [member function] + cls.add_method('AddressBlockEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockEnd() const [member function] + cls.add_method('AddressBlockEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > position) [member function] + cls.add_method('AddressBlockErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('AddressBlockErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'last')]) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockFront() [member function] + cls.add_method('AddressBlockFront', + 'ns3::Ptr< ns3::PbbAddressBlock >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockFront() const [member function] + cls.add_method('AddressBlockFront', + 'ns3::Ptr< ns3::PbbAddressBlock > const', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::AddressBlockPopBack() [member function] + cls.add_method('AddressBlockPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbMessage::AddressBlockPopFront() [member function] + cls.add_method('AddressBlockPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbMessage::AddressBlockPushBack(ns3::Ptr block) [member function] + cls.add_method('AddressBlockPushBack', + 'void', + [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) + ## packetbb.h: void ns3::PbbMessage::AddressBlockPushFront(ns3::Ptr block) [member function] + cls.add_method('AddressBlockPushFront', + 'void', + [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) + ## packetbb.h: int ns3::PbbMessage::AddressBlockSize() const [member function] + cls.add_method('AddressBlockSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Deserialize(ns3::Buffer::Iterator & start) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')]) + ## packetbb.h: static ns3::Ptr ns3::PbbMessage::DeserializeMessage(ns3::Buffer::Iterator & start) [member function] + cls.add_method('DeserializeMessage', + 'ns3::Ptr< ns3::PbbMessage >', + [param('ns3::Buffer::Iterator &', 'start')], + is_static=True) + ## packetbb.h: uint8_t ns3::PbbMessage::GetHopCount() const [member function] + cls.add_method('GetHopCount', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbMessage::GetHopLimit() const [member function] + cls.add_method('GetHopLimit', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: ns3::Address ns3::PbbMessage::GetOriginatorAddress() const [member function] + cls.add_method('GetOriginatorAddress', + 'ns3::Address', + [], + is_const=True) + ## packetbb.h: uint16_t ns3::PbbMessage::GetSequenceNumber() const [member function] + cls.add_method('GetSequenceNumber', + 'uint16_t', + [], + is_const=True) + ## packetbb.h: uint32_t ns3::PbbMessage::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbMessage::GetType() const [member function] + cls.add_method('GetType', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbMessage::HasHopCount() const [member function] + cls.add_method('HasHopCount', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbMessage::HasHopLimit() const [member function] + cls.add_method('HasHopLimit', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbMessage::HasOriginatorAddress() const [member function] + cls.add_method('HasOriginatorAddress', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbMessage::HasSequenceNumber() const [member function] + cls.add_method('HasSequenceNumber', + 'bool', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os, int level) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os'), param('int', 'level')], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Serialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::SetHopCount(uint8_t hopcount) [member function] + cls.add_method('SetHopCount', + 'void', + [param('uint8_t', 'hopcount')]) + ## packetbb.h: void ns3::PbbMessage::SetHopLimit(uint8_t hoplimit) [member function] + cls.add_method('SetHopLimit', + 'void', + [param('uint8_t', 'hoplimit')]) + ## packetbb.h: void ns3::PbbMessage::SetOriginatorAddress(ns3::Address address) [member function] + cls.add_method('SetOriginatorAddress', + 'void', + [param('ns3::Address', 'address')]) + ## packetbb.h: void ns3::PbbMessage::SetSequenceNumber(uint16_t seqnum) [member function] + cls.add_method('SetSequenceNumber', + 'void', + [param('uint16_t', 'seqnum')]) + ## packetbb.h: void ns3::PbbMessage::SetType(uint8_t type) [member function] + cls.add_method('SetType', + 'void', + [param('uint8_t', 'type')]) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvBack() [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvBack() const [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbTlv > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvBegin() [member function] + cls.add_method('TlvBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvBegin() const [member function] + cls.add_method('TlvBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::TlvClear() [member function] + cls.add_method('TlvClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbMessage::TlvEmpty() const [member function] + cls.add_method('TlvEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvEnd() [member function] + cls.add_method('TlvEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvEnd() const [member function] + cls.add_method('TlvEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > position) [member function] + cls.add_method('TlvErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('TlvErase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvFront() [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvFront() const [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbTlv > const', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::TlvPopBack() [member function] + cls.add_method('TlvPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbMessage::TlvPopFront() [member function] + cls.add_method('TlvPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbMessage::TlvPushBack(ns3::Ptr tlv) [member function] + cls.add_method('TlvPushBack', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: void ns3::PbbMessage::TlvPushFront(ns3::Ptr tlv) [member function] + cls.add_method('TlvPushFront', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: int ns3::PbbMessage::TlvSize() const [member function] + cls.add_method('TlvSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbMessage::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('AddressBlockDeserialize', + 'ns3::Ptr< ns3::PbbAddressBlock >', + [param('ns3::Buffer::Iterator &', 'start')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::Address ns3::PbbMessage::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('DeserializeOriginatorAddress', + 'ns3::Address', + [param('ns3::Buffer::Iterator &', 'start')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessage::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'ns3::PbbAddressLength', + [], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessage::PrintOriginatorAddress(std::ostream & os) const [member function] + cls.add_method('PrintOriginatorAddress', + 'void', + [param('std::ostream &', 'os')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessage::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('SerializeOriginatorAddress', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbMessageIpv4_methods(root_module, cls): + ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4(ns3::PbbMessageIpv4 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbMessageIpv4 const &', 'arg0')]) + ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv4::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('AddressBlockDeserialize', + 'ns3::Ptr< ns3::PbbAddressBlock >', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::Address ns3::PbbMessageIpv4::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('DeserializeOriginatorAddress', + 'ns3::Address', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv4::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'ns3::PbbAddressLength', + [], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessageIpv4::PrintOriginatorAddress(std::ostream & os) const [member function] + cls.add_method('PrintOriginatorAddress', + 'void', + [param('std::ostream &', 'os')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessageIpv4::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('SerializeOriginatorAddress', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbMessageIpv6_methods(root_module, cls): + ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6(ns3::PbbMessageIpv6 const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbMessageIpv6 const &', 'arg0')]) + ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv6::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('AddressBlockDeserialize', + 'ns3::Ptr< ns3::PbbAddressBlock >', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::Address ns3::PbbMessageIpv6::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('DeserializeOriginatorAddress', + 'ns3::Address', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv6::GetAddressLength() const [member function] + cls.add_method('GetAddressLength', + 'ns3::PbbAddressLength', + [], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessageIpv6::PrintOriginatorAddress(std::ostream & os) const [member function] + cls.add_method('PrintOriginatorAddress', + 'void', + [param('std::ostream &', 'os')], + is_const=True, visibility='protected', is_virtual=True) + ## packetbb.h: void ns3::PbbMessageIpv6::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('SerializeOriginatorAddress', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected', is_virtual=True) + return + +def register_Ns3PbbTlv_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbTlv::PbbTlv(ns3::PbbTlv const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbTlv const &', 'arg0')]) + ## packetbb.h: ns3::PbbTlv::PbbTlv() [constructor] + cls.add_constructor([]) + ## packetbb.h: void ns3::PbbTlv::Deserialize(ns3::Buffer::Iterator & start) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')]) + ## packetbb.h: uint32_t ns3::PbbTlv::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbTlv::GetType() const [member function] + cls.add_method('GetType', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbTlv::GetTypeExt() const [member function] + cls.add_method('GetTypeExt', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: ns3::Buffer ns3::PbbTlv::GetValue() const [member function] + cls.add_method('GetValue', + 'ns3::Buffer', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbTlv::HasTypeExt() const [member function] + cls.add_method('HasTypeExt', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbTlv::HasValue() const [member function] + cls.add_method('HasValue', + 'bool', + [], + is_const=True) + ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os, int level) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os'), param('int', 'level')], + is_const=True) + ## packetbb.h: void ns3::PbbTlv::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## packetbb.h: void ns3::PbbTlv::Serialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True) + ## packetbb.h: void ns3::PbbTlv::SetType(uint8_t type) [member function] + cls.add_method('SetType', + 'void', + [param('uint8_t', 'type')]) + ## packetbb.h: void ns3::PbbTlv::SetTypeExt(uint8_t type) [member function] + cls.add_method('SetTypeExt', + 'void', + [param('uint8_t', 'type')]) + ## packetbb.h: void ns3::PbbTlv::SetValue(ns3::Buffer start) [member function] + cls.add_method('SetValue', + 'void', + [param('ns3::Buffer', 'start')]) + ## packetbb.h: void ns3::PbbTlv::SetValue(uint8_t const * buffer, uint32_t size) [member function] + cls.add_method('SetValue', + 'void', + [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) + ## packetbb.h: void ns3::PbbTlv::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStart() const [member function] + cls.add_method('GetIndexStart', + 'uint8_t', + [], + is_const=True, visibility='protected') + ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStop() const [member function] + cls.add_method('GetIndexStop', + 'uint8_t', + [], + is_const=True, visibility='protected') + ## packetbb.h: bool ns3::PbbTlv::HasIndexStart() const [member function] + cls.add_method('HasIndexStart', + 'bool', + [], + is_const=True, visibility='protected') + ## packetbb.h: bool ns3::PbbTlv::HasIndexStop() const [member function] + cls.add_method('HasIndexStop', + 'bool', + [], + is_const=True, visibility='protected') + ## packetbb.h: bool ns3::PbbTlv::IsMultivalue() const [member function] + cls.add_method('IsMultivalue', + 'bool', + [], + is_const=True, visibility='protected') + ## packetbb.h: void ns3::PbbTlv::SetIndexStart(uint8_t index) [member function] + cls.add_method('SetIndexStart', + 'void', + [param('uint8_t', 'index')], + visibility='protected') + ## packetbb.h: void ns3::PbbTlv::SetIndexStop(uint8_t index) [member function] + cls.add_method('SetIndexStop', + 'void', + [param('uint8_t', 'index')], + visibility='protected') + ## packetbb.h: void ns3::PbbTlv::SetMultivalue(bool isMultivalue) [member function] + cls.add_method('SetMultivalue', + 'void', + [param('bool', 'isMultivalue')], + visibility='protected') + return + +def register_Ns3PbbTlvBlock_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbTlvBlock::PbbTlvBlock() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::PbbTlvBlock::PbbTlvBlock(ns3::PbbTlvBlock const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbTlvBlock const &', 'arg0')]) + ## packetbb.h: ns3::Ptr ns3::PbbTlvBlock::Back() const [member function] + cls.add_method('Back', + 'ns3::Ptr< ns3::PbbTlv >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::Begin() [member function] + cls.add_method('Begin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbTlvBlock::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbTlvBlock::Clear() [member function] + cls.add_method('Clear', + 'void', + []) + ## packetbb.h: void ns3::PbbTlvBlock::Deserialize(ns3::Buffer::Iterator & start) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')]) + ## packetbb.h: bool ns3::PbbTlvBlock::Empty() const [member function] + cls.add_method('Empty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::End() [member function] + cls.add_method('End', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbTlvBlock::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::Erase(std::_List_iterator > position) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) + ## packetbb.h: ns3::Ptr ns3::PbbTlvBlock::Front() const [member function] + cls.add_method('Front', + 'ns3::Ptr< ns3::PbbTlv >', + [], + is_const=True) + ## packetbb.h: uint32_t ns3::PbbTlvBlock::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::Insert(std::_List_iterator > position, ns3::Ptr const tlv) [member function] + cls.add_method('Insert', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position'), param('ns3::Ptr< ns3::PbbTlv > const', 'tlv')]) + ## packetbb.h: void ns3::PbbTlvBlock::PopBack() [member function] + cls.add_method('PopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbTlvBlock::PopFront() [member function] + cls.add_method('PopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbTlvBlock::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packetbb.h: void ns3::PbbTlvBlock::Print(std::ostream & os, int level) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os'), param('int', 'level')], + is_const=True) + ## packetbb.h: void ns3::PbbTlvBlock::PushBack(ns3::Ptr tlv) [member function] + cls.add_method('PushBack', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: void ns3::PbbTlvBlock::PushFront(ns3::Ptr tlv) [member function] + cls.add_method('PushFront', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: void ns3::PbbTlvBlock::Serialize(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True) + ## packetbb.h: int ns3::PbbTlvBlock::Size() const [member function] + cls.add_method('Size', + 'int', + [], + is_const=True) + return + def register_Ns3Ipv4AddressChecker_methods(root_module, cls): ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor] cls.add_constructor([]) @@ -1835,6 +2906,271 @@ def register_Ns3Mac48AddressValue_methods(root_module, cls): [param('ns3::Mac48Address const &', 'value')]) return +def register_Ns3PbbAddressTlv_methods(root_module, cls): + ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv() [constructor] + cls.add_constructor([]) + ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv(ns3::PbbAddressTlv const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbAddressTlv const &', 'arg0')]) + ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStart() const [member function] + cls.add_method('GetIndexStart', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStop() const [member function] + cls.add_method('GetIndexStop', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStart() const [member function] + cls.add_method('HasIndexStart', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStop() const [member function] + cls.add_method('HasIndexStop', + 'bool', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbAddressTlv::IsMultivalue() const [member function] + cls.add_method('IsMultivalue', + 'bool', + [], + is_const=True) + ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStart(uint8_t index) [member function] + cls.add_method('SetIndexStart', + 'void', + [param('uint8_t', 'index')]) + ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStop(uint8_t index) [member function] + cls.add_method('SetIndexStop', + 'void', + [param('uint8_t', 'index')]) + ## packetbb.h: void ns3::PbbAddressTlv::SetMultivalue(bool isMultivalue) [member function] + cls.add_method('SetMultivalue', + 'void', + [param('bool', 'isMultivalue')]) + return + +def register_Ns3PbbPacket_methods(root_module, cls): + cls.add_binary_comparison_operator('==') + cls.add_binary_comparison_operator('!=') + ## packetbb.h: ns3::PbbPacket::PbbPacket(ns3::PbbPacket const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PbbPacket const &', 'arg0')]) + ## packetbb.h: ns3::PbbPacket::PbbPacket() [constructor] + cls.add_constructor([]) + ## packetbb.h: uint32_t ns3::PbbPacket::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_virtual=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'position')]) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] + cls.add_method('Erase', + 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', + [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'last')]) + ## packetbb.h: ns3::TypeId ns3::PbbPacket::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## packetbb.h: uint16_t ns3::PbbPacket::GetSequenceNumber() const [member function] + cls.add_method('GetSequenceNumber', + 'uint16_t', + [], + is_const=True) + ## packetbb.h: uint32_t ns3::PbbPacket::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## packetbb.h: static ns3::TypeId ns3::PbbPacket::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## packetbb.h: uint8_t ns3::PbbPacket::GetVersion() const [member function] + cls.add_method('GetVersion', + 'uint8_t', + [], + is_const=True) + ## packetbb.h: bool ns3::PbbPacket::HasSequenceNumber() const [member function] + cls.add_method('HasSequenceNumber', + 'bool', + [], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageBack() [member function] + cls.add_method('MessageBack', + 'ns3::Ptr< ns3::PbbMessage >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageBack() const [member function] + cls.add_method('MessageBack', + 'ns3::Ptr< ns3::PbbMessage > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageBegin() [member function] + cls.add_method('MessageBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageBegin() const [member function] + cls.add_method('MessageBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::MessageClear() [member function] + cls.add_method('MessageClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbPacket::MessageEmpty() const [member function] + cls.add_method('MessageEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageEnd() [member function] + cls.add_method('MessageEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageEnd() const [member function] + cls.add_method('MessageEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', + [], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageFront() [member function] + cls.add_method('MessageFront', + 'ns3::Ptr< ns3::PbbMessage >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageFront() const [member function] + cls.add_method('MessageFront', + 'ns3::Ptr< ns3::PbbMessage > const', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::MessagePopBack() [member function] + cls.add_method('MessagePopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbPacket::MessagePopFront() [member function] + cls.add_method('MessagePopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbPacket::MessagePushBack(ns3::Ptr message) [member function] + cls.add_method('MessagePushBack', + 'void', + [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) + ## packetbb.h: void ns3::PbbPacket::MessagePushFront(ns3::Ptr message) [member function] + cls.add_method('MessagePushFront', + 'void', + [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) + ## packetbb.h: int ns3::PbbPacket::MessageSize() const [member function] + cls.add_method('MessageSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## packetbb.h: void ns3::PbbPacket::Ref() const [member function] + cls.add_method('Ref', + 'void', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_const=True, is_virtual=True) + ## packetbb.h: void ns3::PbbPacket::SetSequenceNumber(uint16_t number) [member function] + cls.add_method('SetSequenceNumber', + 'void', + [param('uint16_t', 'number')]) + ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvBack() [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvBack() const [member function] + cls.add_method('TlvBack', + 'ns3::Ptr< ns3::PbbTlv > const', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvBegin() [member function] + cls.add_method('TlvBegin', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvBegin() const [member function] + cls.add_method('TlvBegin', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::TlvClear() [member function] + cls.add_method('TlvClear', + 'void', + []) + ## packetbb.h: bool ns3::PbbPacket::TlvEmpty() const [member function] + cls.add_method('TlvEmpty', + 'bool', + [], + is_const=True) + ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvEnd() [member function] + cls.add_method('TlvEnd', + 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', + []) + ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvEnd() const [member function] + cls.add_method('TlvEnd', + 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', + [], + is_const=True) + ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvFront() [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbTlv >', + []) + ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvFront() const [member function] + cls.add_method('TlvFront', + 'ns3::Ptr< ns3::PbbTlv > const', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::TlvPopBack() [member function] + cls.add_method('TlvPopBack', + 'void', + []) + ## packetbb.h: void ns3::PbbPacket::TlvPopFront() [member function] + cls.add_method('TlvPopFront', + 'void', + []) + ## packetbb.h: void ns3::PbbPacket::TlvPushBack(ns3::Ptr tlv) [member function] + cls.add_method('TlvPushBack', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: void ns3::PbbPacket::TlvPushFront(ns3::Ptr tlv) [member function] + cls.add_method('TlvPushFront', + 'void', + [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) + ## packetbb.h: int ns3::PbbPacket::TlvSize() const [member function] + cls.add_method('TlvSize', + 'int', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::Unref() const [member function] + cls.add_method('Unref', + 'void', + [], + is_const=True) + ## packetbb.h: void ns3::PbbPacket::SerializePacketTlv(ns3::Buffer::Iterator & start) const [member function] + cls.add_method('SerializePacketTlv', + 'void', + [param('ns3::Buffer::Iterator &', 'start')], + is_const=True, visibility='protected') + return + def register_Ns3Queue_methods(root_module, cls): ## queue.h: ns3::Queue::Queue(ns3::Queue const & arg0) [copy constructor] cls.add_constructor([param('ns3::Queue const &', 'arg0')]) @@ -3604,6 +4940,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -3621,6 +4959,12 @@ def register_functions_ns3_addressUtils(module, root_module): [param('ns3::Address const &', 'ad')]) return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_olsr.py b/bindings/python/ns3_module_olsr.py index 519176de4..c90959202 100644 --- a/bindings/python/ns3_module_olsr.py +++ b/bindings/python/ns3_module_olsr.py @@ -30,6 +30,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -54,6 +66,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -104,27 +124,27 @@ def register_types_ns3_olsr(module): typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >', 'ns3::olsr::DuplicateSet') typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >*', 'ns3::olsr::DuplicateSet*') typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >&', 'ns3::olsr::DuplicateSet&') + typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >', 'ns3::olsr::NeighborSet') + typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >*', 'ns3::olsr::NeighborSet*') + typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >&', 'ns3::olsr::NeighborSet&') typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >', 'ns3::olsr::MprSet') typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >*', 'ns3::olsr::MprSet*') typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >&', 'ns3::olsr::MprSet&') typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >', 'ns3::olsr::MprSelectorSet') typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >*', 'ns3::olsr::MprSelectorSet*') typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >&', 'ns3::olsr::MprSelectorSet&') + typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >', 'ns3::olsr::TopologySet') + typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >*', 'ns3::olsr::TopologySet*') + typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >&', 'ns3::olsr::TopologySet&') typehandlers.add_type_alias('std::vector< ns3::olsr::MessageHeader, std::allocator< ns3::olsr::MessageHeader > >', 'ns3::olsr::MessageList') typehandlers.add_type_alias('std::vector< ns3::olsr::MessageHeader, std::allocator< ns3::olsr::MessageHeader > >*', 'ns3::olsr::MessageList*') typehandlers.add_type_alias('std::vector< ns3::olsr::MessageHeader, std::allocator< ns3::olsr::MessageHeader > >&', 'ns3::olsr::MessageList&') typehandlers.add_type_alias('std::vector< ns3::olsr::IfaceAssocTuple, std::allocator< ns3::olsr::IfaceAssocTuple > >', 'ns3::olsr::IfaceAssocSet') typehandlers.add_type_alias('std::vector< ns3::olsr::IfaceAssocTuple, std::allocator< ns3::olsr::IfaceAssocTuple > >*', 'ns3::olsr::IfaceAssocSet*') typehandlers.add_type_alias('std::vector< ns3::olsr::IfaceAssocTuple, std::allocator< ns3::olsr::IfaceAssocTuple > >&', 'ns3::olsr::IfaceAssocSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >', 'ns3::olsr::NeighborSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >*', 'ns3::olsr::NeighborSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >&', 'ns3::olsr::NeighborSet&') typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >', 'ns3::olsr::TwoHopNeighborSet') typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >*', 'ns3::olsr::TwoHopNeighborSet*') typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >&', 'ns3::olsr::TwoHopNeighborSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >', 'ns3::olsr::TopologySet') - typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >*', 'ns3::olsr::TopologySet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >&', 'ns3::olsr::TopologySet&') typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >', 'ns3::olsr::LinkSet') typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >*', 'ns3::olsr::LinkSet*') typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >&', 'ns3::olsr::LinkSet&') @@ -863,6 +883,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -876,6 +898,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_onoff.py b/bindings/python/ns3_module_onoff.py index 3afe4c317..d22c42dca 100644 --- a/bindings/python/ns3_module_onoff.py +++ b/bindings/python/ns3_module_onoff.py @@ -24,6 +24,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -48,6 +60,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -96,6 +116,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -109,6 +131,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_packet_sink.py b/bindings/python/ns3_module_packet_sink.py index 63087a766..abb082d98 100644 --- a/bindings/python/ns3_module_packet_sink.py +++ b/bindings/python/ns3_module_packet_sink.py @@ -24,6 +24,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -48,6 +60,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -92,6 +112,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -105,6 +127,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_ping6.py b/bindings/python/ns3_module_ping6.py index cf5bf3347..f66bb20fb 100644 --- a/bindings/python/ns3_module_ping6.py +++ b/bindings/python/ns3_module_ping6.py @@ -24,6 +24,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -48,6 +60,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -104,6 +124,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -117,6 +139,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_point_to_point.py b/bindings/python/ns3_module_point_to_point.py index b7f1d2d74..817a3baac 100644 --- a/bindings/python/ns3_module_point_to_point.py +++ b/bindings/python/ns3_module_point_to_point.py @@ -28,6 +28,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -52,6 +64,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -313,6 +333,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -326,6 +348,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_radvd.py b/bindings/python/ns3_module_radvd.py index ec622d886..aad164940 100644 --- a/bindings/python/ns3_module_radvd.py +++ b/bindings/python/ns3_module_radvd.py @@ -28,6 +28,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -52,6 +64,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -368,6 +388,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -381,6 +403,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_simulator.py b/bindings/python/ns3_module_simulator.py index 5fdb9ce1a..8f0850175 100644 --- a/bindings/python/ns3_module_simulator.py +++ b/bindings/python/ns3_module_simulator.py @@ -92,6 +92,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -118,6 +130,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -1534,6 +1554,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -1555,6 +1577,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_static_routing.py b/bindings/python/ns3_module_static_routing.py index c64dfd9f2..22b6f3c13 100644 --- a/bindings/python/ns3_module_static_routing.py +++ b/bindings/python/ns3_module_static_routing.py @@ -34,6 +34,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -58,6 +70,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -602,6 +622,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -615,6 +637,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_stats.py b/bindings/python/ns3_module_stats.py index c0e72cf13..610739ccc 100644 --- a/bindings/python/ns3_module_stats.py +++ b/bindings/python/ns3_module_stats.py @@ -50,6 +50,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -74,6 +86,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -427,6 +447,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -440,6 +462,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_tap_bridge.py b/bindings/python/ns3_module_tap_bridge.py index c3e9256cd..cf1171490 100644 --- a/bindings/python/ns3_module_tap_bridge.py +++ b/bindings/python/ns3_module_tap_bridge.py @@ -26,6 +26,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -50,6 +62,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -238,6 +258,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -251,6 +273,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_udp_echo.py b/bindings/python/ns3_module_udp_echo.py index d85d1a899..b79097d2f 100644 --- a/bindings/python/ns3_module_udp_echo.py +++ b/bindings/python/ns3_module_udp_echo.py @@ -26,6 +26,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -50,6 +62,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -147,6 +167,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -160,6 +182,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_v4ping.py b/bindings/python/ns3_module_v4ping.py index e80c90110..b087bfb02 100644 --- a/bindings/python/ns3_module_v4ping.py +++ b/bindings/python/ns3_module_v4ping.py @@ -24,6 +24,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -48,6 +60,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -92,6 +112,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -105,6 +127,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_virtual_net_device.py b/bindings/python/ns3_module_virtual_net_device.py index 5947af204..f03bcc785 100644 --- a/bindings/python/ns3_module_virtual_net_device.py +++ b/bindings/python/ns3_module_virtual_net_device.py @@ -24,6 +24,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -48,6 +60,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -222,6 +242,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -235,6 +257,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3_module_wifi.py b/bindings/python/ns3_module_wifi.py index eca0e07d8..7d28518e3 100644 --- a/bindings/python/ns3_module_wifi.py +++ b/bindings/python/ns3_module_wifi.py @@ -104,7 +104,7 @@ def register_types(module): ## wifi-phy.h: ns3::WifiPhy [class] module.add_class('WifiPhy', parent=root_module['ns3::Object']) ## wifi-phy.h: ns3::WifiPhy::State [enumeration] - module.add_enum('State', ['SYNC', 'TX', 'CCA_BUSY', 'IDLE'], outer_class=root_module['ns3::WifiPhy']) + module.add_enum('State', ['SYNC', 'TX', 'CCA_BUSY', 'IDLE', 'SWITCHING'], outer_class=root_module['ns3::WifiPhy']) ## wifi-remote-station-manager.h: ns3::WifiRemoteStationManager [class] module.add_class('WifiRemoteStationManager', parent=root_module['ns3::Object']) ## yans-wifi-phy.h: ns3::YansWifiPhy [class] @@ -203,6 +203,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -227,6 +239,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -408,6 +428,10 @@ def register_Ns3DcfManager_methods(root_module, cls): cls.add_method('NotifyRxStartNow', 'void', [param('ns3::Time', 'duration')]) + ## dcf-manager.h: void ns3::DcfManager::NotifySwitchingStartNow(ns3::Time duration) [member function] + cls.add_method('NotifySwitchingStartNow', + 'void', + [param('ns3::Time', 'duration')]) ## dcf-manager.h: void ns3::DcfManager::NotifyTxStartNow(ns3::Time duration) [member function] cls.add_method('NotifyTxStartNow', 'void', @@ -497,6 +521,11 @@ def register_Ns3DcfState_methods(root_module, cls): 'void', [], is_pure_virtual=True, visibility='private', is_virtual=True) + ## dcf-manager.h: void ns3::DcfState::DoNotifyChannelSwitching() [member function] + cls.add_method('DoNotifyChannelSwitching', + 'void', + [], + is_pure_virtual=True, visibility='private', is_virtual=True) ## dcf-manager.h: void ns3::DcfState::DoNotifyCollision() [member function] cls.add_method('DoNotifyCollision', 'void', @@ -525,6 +554,10 @@ def register_Ns3InterferenceHelper_methods(root_module, cls): 'ns3::Time', [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], is_static=True) + ## interference-helper.h: void ns3::InterferenceHelper::EraseEvents() [member function] + cls.add_method('EraseEvents', + 'void', + []) ## interference-helper.h: ns3::Time ns3::InterferenceHelper::GetEnergyDuration(double energyW) [member function] cls.add_method('GetEnergyDuration', 'ns3::Time', @@ -1055,6 +1088,11 @@ def register_Ns3WifiPhyListener_methods(root_module, cls): 'void', [param('ns3::Time', 'duration')], is_pure_virtual=True, is_virtual=True) + ## wifi-phy.h: void ns3::WifiPhyListener::NotifySwitchingStart(ns3::Time duration) [member function] + cls.add_method('NotifySwitchingStart', + 'void', + [param('ns3::Time', 'duration')], + is_pure_virtual=True, is_virtual=True) ## wifi-phy.h: void ns3::WifiPhyListener::NotifyTxStart(ns3::Time duration) [member function] cls.add_method('NotifyTxStart', 'void', @@ -3335,6 +3373,11 @@ def register_Ns3YansWifiPhy_methods(root_module, cls): 'bool', [], is_virtual=True) + ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateSwitching() [member function] + cls.add_method('IsStateSwitching', + 'bool', + [], + is_virtual=True) ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::GetStateDuration() [member function] cls.add_method('GetStateDuration', 'ns3::Time', @@ -3857,6 +3900,10 @@ def register_Ns3EdcaTxopN_methods(root_module, cls): cls.add_method('NotifyCollision', 'void', []) + ## edca-txop-n.h: void ns3::EdcaTxopN::NotifyChannelSwitching() [member function] + cls.add_method('NotifyChannelSwitching', + 'void', + []) ## edca-txop-n.h: void ns3::EdcaTxopN::GotCts(double snr, ns3::WifiMode txMode) [member function] cls.add_method('GotCts', 'void', @@ -4170,6 +4217,10 @@ def register_Ns3MacLow_methods(root_module, cls): 'ns3::Time', [], is_const=True) + ## mac-low.h: void ns3::MacLow::NotifySwitchingStartNow(ns3::Time duration) [member function] + cls.add_method('NotifySwitchingStartNow', + 'void', + [param('ns3::Time', 'duration')]) ## mac-low.h: void ns3::MacLow::ReceiveError(ns3::Ptr packet, double rxSnr) [member function] cls.add_method('ReceiveError', 'void', @@ -5486,6 +5537,8 @@ def register_functions(root_module): register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -5499,6 +5552,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/ns3modulegen_generated.py b/bindings/python/ns3modulegen_generated.py index 93400d54f..08eab419b 100644 --- a/bindings/python/ns3modulegen_generated.py +++ b/bindings/python/ns3modulegen_generated.py @@ -20,14 +20,14 @@ import ns3_module_contrib import ns3_module_node import ns3_module_tap_bridge import ns3_module_v4ping +import ns3_module_static_routing import ns3_module_packet_sink import ns3_module_stats import ns3_module_onoff -import ns3_module_internet_stack import ns3_module_point_to_point +import ns3_module_internet_stack import ns3_module_csma import ns3_module_list_routing -import ns3_module_static_routing import ns3_module_virtual_net_device import ns3_module_wifi import ns3_module_emu @@ -37,7 +37,10 @@ import ns3_module_udp_echo import ns3_module_olsr import ns3_module_radvd import ns3_module_ping6 +import ns3_module_mesh import ns3_module_helper +import ns3_module_dot11s +import ns3_module_flame def module_init(): root_module = Module('ns3', cpp_namespace='::ns3') @@ -134,6 +137,17 @@ def register_types(module): ns3_module_v4ping__local.register_types(module) root_module.end_section('ns3_module_v4ping') + root_module.begin_section('ns3_module_static_routing') + ns3_module_static_routing.register_types(module) + + try: + import ns3_module_static_routing__local + except ImportError: + pass + else: + ns3_module_static_routing__local.register_types(module) + + root_module.end_section('ns3_module_static_routing') root_module.begin_section('ns3_module_packet_sink') ns3_module_packet_sink.register_types(module) @@ -167,17 +181,6 @@ def register_types(module): ns3_module_onoff__local.register_types(module) root_module.end_section('ns3_module_onoff') - root_module.begin_section('ns3_module_internet_stack') - ns3_module_internet_stack.register_types(module) - - try: - import ns3_module_internet_stack__local - except ImportError: - pass - else: - ns3_module_internet_stack__local.register_types(module) - - root_module.end_section('ns3_module_internet_stack') root_module.begin_section('ns3_module_point_to_point') ns3_module_point_to_point.register_types(module) @@ -189,6 +192,17 @@ def register_types(module): ns3_module_point_to_point__local.register_types(module) root_module.end_section('ns3_module_point_to_point') + root_module.begin_section('ns3_module_internet_stack') + ns3_module_internet_stack.register_types(module) + + try: + import ns3_module_internet_stack__local + except ImportError: + pass + else: + ns3_module_internet_stack__local.register_types(module) + + root_module.end_section('ns3_module_internet_stack') root_module.begin_section('ns3_module_csma') ns3_module_csma.register_types(module) @@ -211,17 +225,6 @@ def register_types(module): ns3_module_list_routing__local.register_types(module) root_module.end_section('ns3_module_list_routing') - root_module.begin_section('ns3_module_static_routing') - ns3_module_static_routing.register_types(module) - - try: - import ns3_module_static_routing__local - except ImportError: - pass - else: - ns3_module_static_routing__local.register_types(module) - - root_module.end_section('ns3_module_static_routing') root_module.begin_section('ns3_module_virtual_net_device') ns3_module_virtual_net_device.register_types(module) @@ -321,6 +324,17 @@ def register_types(module): ns3_module_ping6__local.register_types(module) root_module.end_section('ns3_module_ping6') + 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_helper') ns3_module_helper.register_types(module) @@ -332,6 +346,28 @@ def register_types(module): ns3_module_helper__local.register_types(module) root_module.end_section('ns3_module_helper') + root_module.begin_section('ns3_module_dot11s') + ns3_module_dot11s.register_types(module) + + try: + import ns3_module_dot11s__local + except ImportError: + pass + else: + ns3_module_dot11s__local.register_types(module) + + root_module.end_section('ns3_module_dot11s') + root_module.begin_section('ns3_module_flame') + ns3_module_flame.register_types(module) + + try: + import ns3_module_flame__local + except ImportError: + pass + else: + ns3_module_flame__local.register_types(module) + + root_module.end_section('ns3_module_flame') 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::list< unsigned int >', 'unsigned int', container_type='list') @@ -355,6 +391,18 @@ def register_types(module): register_types_ns3_addressUtils(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 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') @@ -380,6 +428,14 @@ def register_types_ns3_addressUtils(module): root_module = module.get_root() +def register_types_ns3_dot11s(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() @@ -477,6 +533,17 @@ def register_methods(root_module): ns3_module_v4ping__local.register_methods(root_module) root_module.end_section('ns3_module_v4ping') + root_module.begin_section('ns3_module_static_routing') + ns3_module_static_routing.register_methods(root_module) + + try: + import ns3_module_static_routing__local + except ImportError: + pass + else: + ns3_module_static_routing__local.register_methods(root_module) + + root_module.end_section('ns3_module_static_routing') root_module.begin_section('ns3_module_packet_sink') ns3_module_packet_sink.register_methods(root_module) @@ -510,17 +577,6 @@ def register_methods(root_module): ns3_module_onoff__local.register_methods(root_module) root_module.end_section('ns3_module_onoff') - root_module.begin_section('ns3_module_internet_stack') - ns3_module_internet_stack.register_methods(root_module) - - try: - import ns3_module_internet_stack__local - except ImportError: - pass - else: - ns3_module_internet_stack__local.register_methods(root_module) - - root_module.end_section('ns3_module_internet_stack') root_module.begin_section('ns3_module_point_to_point') ns3_module_point_to_point.register_methods(root_module) @@ -532,6 +588,17 @@ def register_methods(root_module): ns3_module_point_to_point__local.register_methods(root_module) root_module.end_section('ns3_module_point_to_point') + root_module.begin_section('ns3_module_internet_stack') + ns3_module_internet_stack.register_methods(root_module) + + try: + import ns3_module_internet_stack__local + except ImportError: + pass + else: + ns3_module_internet_stack__local.register_methods(root_module) + + root_module.end_section('ns3_module_internet_stack') root_module.begin_section('ns3_module_csma') ns3_module_csma.register_methods(root_module) @@ -554,17 +621,6 @@ def register_methods(root_module): ns3_module_list_routing__local.register_methods(root_module) root_module.end_section('ns3_module_list_routing') - root_module.begin_section('ns3_module_static_routing') - ns3_module_static_routing.register_methods(root_module) - - try: - import ns3_module_static_routing__local - except ImportError: - pass - else: - ns3_module_static_routing__local.register_methods(root_module) - - root_module.end_section('ns3_module_static_routing') root_module.begin_section('ns3_module_virtual_net_device') ns3_module_virtual_net_device.register_methods(root_module) @@ -664,6 +720,17 @@ def register_methods(root_module): ns3_module_ping6__local.register_methods(root_module) root_module.end_section('ns3_module_ping6') + 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_helper') ns3_module_helper.register_methods(root_module) @@ -675,6 +742,28 @@ def register_methods(root_module): ns3_module_helper__local.register_methods(root_module) root_module.end_section('ns3_module_helper') + root_module.begin_section('ns3_module_dot11s') + ns3_module_dot11s.register_methods(root_module) + + try: + import ns3_module_dot11s__local + except ImportError: + pass + else: + ns3_module_dot11s__local.register_methods(root_module) + + root_module.end_section('ns3_module_dot11s') + root_module.begin_section('ns3_module_flame') + ns3_module_flame.register_methods(root_module) + + try: + import ns3_module_flame__local + except ImportError: + pass + else: + ns3_module_flame__local.register_methods(root_module) + + root_module.end_section('ns3_module_flame') return def register_functions(root_module): @@ -767,6 +856,17 @@ def register_functions(root_module): ns3_module_v4ping__local.register_functions(root_module) root_module.end_section('ns3_module_v4ping') + root_module.begin_section('ns3_module_static_routing') + ns3_module_static_routing.register_functions(root_module) + + try: + import ns3_module_static_routing__local + except ImportError: + pass + else: + ns3_module_static_routing__local.register_functions(root_module) + + root_module.end_section('ns3_module_static_routing') root_module.begin_section('ns3_module_packet_sink') ns3_module_packet_sink.register_functions(root_module) @@ -800,17 +900,6 @@ def register_functions(root_module): ns3_module_onoff__local.register_functions(root_module) root_module.end_section('ns3_module_onoff') - root_module.begin_section('ns3_module_internet_stack') - ns3_module_internet_stack.register_functions(root_module) - - try: - import ns3_module_internet_stack__local - except ImportError: - pass - else: - ns3_module_internet_stack__local.register_functions(root_module) - - root_module.end_section('ns3_module_internet_stack') root_module.begin_section('ns3_module_point_to_point') ns3_module_point_to_point.register_functions(root_module) @@ -822,6 +911,17 @@ def register_functions(root_module): ns3_module_point_to_point__local.register_functions(root_module) root_module.end_section('ns3_module_point_to_point') + root_module.begin_section('ns3_module_internet_stack') + ns3_module_internet_stack.register_functions(root_module) + + try: + import ns3_module_internet_stack__local + except ImportError: + pass + else: + ns3_module_internet_stack__local.register_functions(root_module) + + root_module.end_section('ns3_module_internet_stack') root_module.begin_section('ns3_module_csma') ns3_module_csma.register_functions(root_module) @@ -844,17 +944,6 @@ def register_functions(root_module): ns3_module_list_routing__local.register_functions(root_module) root_module.end_section('ns3_module_list_routing') - root_module.begin_section('ns3_module_static_routing') - ns3_module_static_routing.register_functions(root_module) - - try: - import ns3_module_static_routing__local - except ImportError: - pass - else: - ns3_module_static_routing__local.register_functions(root_module) - - root_module.end_section('ns3_module_static_routing') root_module.begin_section('ns3_module_virtual_net_device') ns3_module_virtual_net_device.register_functions(root_module) @@ -954,6 +1043,17 @@ def register_functions(root_module): ns3_module_ping6__local.register_functions(root_module) root_module.end_section('ns3_module_ping6') + 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_helper') ns3_module_helper.register_functions(root_module) @@ -965,9 +1065,33 @@ def register_functions(root_module): ns3_module_helper__local.register_functions(root_module) root_module.end_section('ns3_module_helper') + root_module.begin_section('ns3_module_dot11s') + ns3_module_dot11s.register_functions(root_module) + + try: + import ns3_module_dot11s__local + except ImportError: + pass + else: + ns3_module_dot11s__local.register_functions(root_module) + + root_module.end_section('ns3_module_dot11s') + root_module.begin_section('ns3_module_flame') + ns3_module_flame.register_functions(root_module) + + try: + import ns3_module_flame__local + except ImportError: + pass + else: + ns3_module_flame__local.register_functions(root_module) + + root_module.end_section('ns3_module_flame') register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) + register_functions_ns3_dot11s(module.get_submodule('dot11s'), 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 @@ -981,6 +1105,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module): def register_functions_ns3_addressUtils(module, root_module): return +def register_functions_ns3_dot11s(module, root_module): + return + +def register_functions_ns3_flame(module, root_module): + return + def register_functions_ns3_internal(module, root_module): return diff --git a/bindings/python/wscript b/bindings/python/wscript index 26d475cca..ef912be15 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -15,7 +15,7 @@ import Build import Utils ## https://launchpad.net/pybindgen/ -REQUIRED_PYBINDGEN_VERSION = (0, 12, 0) +REQUIRED_PYBINDGEN_VERSION = (0, 12, 0, 700) REQUIRED_PYGCCXML_VERSION = (0, 9, 5) @@ -404,6 +404,7 @@ def build(bld): scanned_modules.append(name) if env['ENABLE_PYTHON_BINDINGS']: + debug = ('PYBINDGEN_DEBUG' in os.environ) source = [ 'ns3modulegen.py', 'ns3modulegen_generated.py', @@ -412,9 +413,14 @@ def build(bld): target = [ 'ns3module.cc', 'ns3module.h', - 'ns3modulegen.log', ] - argv = ['NS3_ENABLED_FEATURES=${FEATURES}', '${PYTHON}', '${SRC[0]}', '${TGT[0]}'] + if not debug: + target.append('ns3modulegen.log') + + argv = ['NS3_ENABLED_FEATURES=${FEATURES}', '${PYTHON}'] + if debug: + argv.extend(["-m", "pdb"]) + argv.extend(['${SRC[0]}', '${TGT[0]}']) argv.extend(get_modules_and_headers(bld).iterkeys()) for module in scanned_modules: source.append("ns3_module_%s.py" % module) @@ -422,7 +428,8 @@ def build(bld): if os.path.exists(os.path.join(curdir, local)): source.append(local) - argv.extend(['2>', '${TGT[2]}']) # 2> ns3modulegen.log + if not debug: + argv.extend(['2>', '${TGT[2]}']) # 2> ns3modulegen.log for module in scanned_modules: target.append("ns3_module_%s.cc" % module)