diff --git a/src/lte/bindings/modulegen__gcc_ILP32.py b/src/lte/bindings/modulegen__gcc_ILP32.py index 2edafc610..6973502a2 100644 --- a/src/lte/bindings/modulegen__gcc_ILP32.py +++ b/src/lte/bindings/modulegen__gcc_ILP32.py @@ -54,7 +54,7 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::BuildBroadcastListElement_s [struct] module.add_class('BuildBroadcastListElement_s') ## ff-mac-common.h (module 'lte'): ns3::BuildBroadcastListElement_s::Type_e [enumeration] - module.add_enum('Type_e', ['BCCH', 'PCCH'], outer_class=root_module['ns3::BuildBroadcastListElement_s']) + module.add_enum('Type_e', ['BCCH', 'PCCH', 'NotValid'], outer_class=root_module['ns3::BuildBroadcastListElement_s']) ## ff-mac-common.h (module 'lte'): ns3::BuildDataListElement_s [struct] module.add_class('BuildDataListElement_s') ## ff-mac-common.h (module 'lte'): ns3::BuildRarListElement_s [struct] @@ -80,7 +80,7 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::CqiListElement_s [struct] module.add_class('CqiListElement_s') ## ff-mac-common.h (module 'lte'): ns3::CqiListElement_s::CqiType_e [enumeration] - module.add_enum('CqiType_e', ['P10', 'P11', 'P20', 'P21', 'A12', 'A22', 'A20', 'A30', 'A31'], outer_class=root_module['ns3::CqiListElement_s']) + module.add_enum('CqiType_e', ['P10', 'P11', 'P20', 'P21', 'A12', 'A22', 'A20', 'A30', 'A31', 'NotValid'], outer_class=root_module['ns3::CqiListElement_s']) ## data-output-interface.h (module 'stats'): ns3::DataOutputCallback [class] module.add_class('DataOutputCallback', allow_subclassing=True, import_from_module='ns.stats') ## data-rate.h (module 'network'): ns3::DataRate [class] @@ -126,11 +126,11 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::DlDciListElement_s [struct] module.add_class('DlDciListElement_s') ## ff-mac-common.h (module 'lte'): ns3::DlDciListElement_s::Format_e [enumeration] - module.add_enum('Format_e', ['ONE', 'ONE_A', 'ONE_B', 'ONE_C', 'ONE_D', 'TWO', 'TWO_A', 'TWO_B'], outer_class=root_module['ns3::DlDciListElement_s']) + module.add_enum('Format_e', ['ONE', 'ONE_A', 'ONE_B', 'ONE_C', 'ONE_D', 'TWO', 'TWO_A', 'TWO_B', 'NotValid_Dci_Format'], outer_class=root_module['ns3::DlDciListElement_s']) ## ff-mac-common.h (module 'lte'): ns3::DlDciListElement_s::VrbFormat_e [enumeration] - module.add_enum('VrbFormat_e', ['VRB_DISTRIBUTED', 'VRB_LOCALIZED'], outer_class=root_module['ns3::DlDciListElement_s']) + module.add_enum('VrbFormat_e', ['VRB_DISTRIBUTED', 'VRB_LOCALIZED', 'NotValid_VRB_Format'], outer_class=root_module['ns3::DlDciListElement_s']) ## ff-mac-common.h (module 'lte'): ns3::DlDciListElement_s::Ngap_e [enumeration] - module.add_enum('Ngap_e', ['GAP1', 'GAP2'], outer_class=root_module['ns3::DlDciListElement_s']) + module.add_enum('Ngap_e', ['GAP1', 'GAP2', 'NotValid_Ngap'], outer_class=root_module['ns3::DlDciListElement_s']) ## ff-mac-common.h (module 'lte'): ns3::DlInfoListElement_s [struct] module.add_class('DlInfoListElement_s') ## ff-mac-common.h (module 'lte'): ns3::DlInfoListElement_s::HarqStatus_e [enumeration] @@ -357,6 +357,8 @@ def register_types(module): module.add_class('Ipv4Address', import_from_module='ns.network') ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class] root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address']) + ## ipv4-address.h (module 'network'): ns3::Ipv4AddressHash [class] + module.add_class('Ipv4AddressHash', import_from_module='ns.network') ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper [class] module.add_class('Ipv4AddressHelper', import_from_module='ns.internet') ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress [class] @@ -374,6 +376,8 @@ def register_types(module): module.add_class('Ipv6Address', import_from_module='ns.network') ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class] root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address']) + ## ipv6-address.h (module 'network'): ns3::Ipv6AddressHash [class] + module.add_class('Ipv6AddressHash', import_from_module='ns.network') ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6AddressHelper [class] module.add_class('Ipv6AddressHelper', import_from_module='ns.internet') ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress [class] @@ -397,9 +401,9 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::LogicalChannelConfigListElement_s [struct] module.add_class('LogicalChannelConfigListElement_s') ## ff-mac-common.h (module 'lte'): ns3::LogicalChannelConfigListElement_s::Direction_e [enumeration] - module.add_enum('Direction_e', ['DIR_UL', 'DIR_DL', 'DIR_BOTH'], outer_class=root_module['ns3::LogicalChannelConfigListElement_s']) + module.add_enum('Direction_e', ['DIR_UL', 'DIR_DL', 'DIR_BOTH', 'NotValid'], outer_class=root_module['ns3::LogicalChannelConfigListElement_s']) ## ff-mac-common.h (module 'lte'): ns3::LogicalChannelConfigListElement_s::QosBearerType_e [enumeration] - module.add_enum('QosBearerType_e', ['QBT_NON_GBR', 'QBT_GBR'], outer_class=root_module['ns3::LogicalChannelConfigListElement_s']) + module.add_enum('QosBearerType_e', ['QBT_NON_GBR', 'QBT_GBR', 'NotValid_QosBearerType'], outer_class=root_module['ns3::LogicalChannelConfigListElement_s']) ## lte-anr-sap.h (module 'lte'): ns3::LteAnrSapProvider [class] module.add_class('LteAnrSapProvider', allow_subclassing=True) ## lte-anr-sap.h (module 'lte'): ns3::LteAnrSapUser [class] @@ -732,7 +736,7 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::MacCeListElement_s [struct] module.add_class('MacCeListElement_s') ## ff-mac-common.h (module 'lte'): ns3::MacCeListElement_s::MacCeType_e [enumeration] - module.add_enum('MacCeType_e', ['BSR', 'PHR', 'CRNTI'], outer_class=root_module['ns3::MacCeListElement_s']) + module.add_enum('MacCeType_e', ['BSR', 'PHR', 'CRNTI', 'NotValid'], outer_class=root_module['ns3::MacCeListElement_s']) ## ff-mac-common.h (module 'lte'): ns3::MacCeValue_u [struct] module.add_class('MacCeValue_u') ## names.h (module 'core'): ns3::Names [class] @@ -776,7 +780,7 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::PhichListElement_s [struct] module.add_class('PhichListElement_s') ## ff-mac-common.h (module 'lte'): ns3::PhichListElement_s::Phich_e [enumeration] - module.add_enum('Phich_e', ['ACK', 'NACK'], outer_class=root_module['ns3::PhichListElement_s']) + module.add_enum('Phich_e', ['ACK', 'NACK', 'NotValid'], outer_class=root_module['ns3::PhichListElement_s']) ## lte-common.h (module 'lte'): ns3::PhyReceptionStatParameters [struct] module.add_class('PhyReceptionStatParameters') typehandlers.add_type_alias('void ( * ) ( ns3::PhyReceptionStatParameters const )', 'ns3::PhyReceptionStatParameters::TracedCallback') @@ -856,7 +860,7 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::UlCqi_s [struct] module.add_class('UlCqi_s') ## ff-mac-common.h (module 'lte'): ns3::UlCqi_s::Type_e [enumeration] - module.add_enum('Type_e', ['SRS', 'PUSCH', 'PUCCH_1', 'PUCCH_2', 'PRACH'], outer_class=root_module['ns3::UlCqi_s']) + module.add_enum('Type_e', ['SRS', 'PUSCH', 'PUCCH_1', 'PUCCH_2', 'PRACH', 'NotValid'], outer_class=root_module['ns3::UlCqi_s']) ## ff-mac-common.h (module 'lte'): ns3::UlDciListElement_s [struct] module.add_class('UlDciListElement_s') ## ff-mac-common.h (module 'lte'): ns3::UlGrant_s [struct] @@ -2299,11 +2303,13 @@ def register_methods(root_module): register_Ns3Inet6SocketAddress_methods(root_module, root_module['ns3::Inet6SocketAddress']) register_Ns3InetSocketAddress_methods(root_module, root_module['ns3::InetSocketAddress']) register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address']) + register_Ns3Ipv4AddressHash_methods(root_module, root_module['ns3::Ipv4AddressHash']) register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper']) register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress']) register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer']) register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask']) register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address']) + register_Ns3Ipv6AddressHash_methods(root_module, root_module['ns3::Ipv6AddressHash']) register_Ns3Ipv6AddressHelper_methods(root_module, root_module['ns3::Ipv6AddressHelper']) register_Ns3Ipv6InterfaceAddress_methods(root_module, root_module['ns3::Ipv6InterfaceAddress']) register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer']) @@ -3551,6 +3557,14 @@ def register_Ns3DataOutputCallback_methods(root_module, cls): def register_Ns3DataRate_methods(root_module, cls): cls.add_output_stream_operator() cls.add_binary_comparison_operator('!=') + cls.add_binary_numeric_operator('*', root_module['ns3::DataRate'], root_module['ns3::DataRate'], param('double', 'right')) + cls.add_binary_numeric_operator('*', root_module['ns3::DataRate'], root_module['ns3::DataRate'], param('uint64_t', 'right')) + cls.add_inplace_numeric_operator('*=', param('double', 'right')) + cls.add_inplace_numeric_operator('*=', param('uint64_t', 'right')) + cls.add_binary_numeric_operator('+', root_module['ns3::DataRate'], root_module['ns3::DataRate'], param('ns3::DataRate', 'right')) + cls.add_inplace_numeric_operator('+=', param('ns3::DataRate', 'right')) + cls.add_binary_numeric_operator('-', root_module['ns3::DataRate'], root_module['ns3::DataRate'], param('ns3::DataRate', 'right')) + cls.add_inplace_numeric_operator('-=', param('ns3::DataRate', 'right')) cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('<=') cls.add_binary_comparison_operator('==') @@ -5891,6 +5905,18 @@ def register_Ns3Ipv4Address_methods(root_module, cls): [param('char const *', 'address')]) return +def register_Ns3Ipv4AddressHash_methods(root_module, cls): + ## ipv4-address.h (module 'network'): ns3::Ipv4AddressHash::Ipv4AddressHash() [constructor] + cls.add_constructor([]) + ## ipv4-address.h (module 'network'): ns3::Ipv4AddressHash::Ipv4AddressHash(ns3::Ipv4AddressHash const & arg0) [constructor] + cls.add_constructor([param('ns3::Ipv4AddressHash const &', 'arg0')]) + ## ipv4-address.h (module 'network'): size_t ns3::Ipv4AddressHash::operator()(ns3::Ipv4Address const & x) const [member operator] + cls.add_method('operator()', + 'size_t', + [param('ns3::Ipv4Address const &', 'x')], + custom_name='__call__', is_const=True) + return + def register_Ns3Ipv4AddressHelper_methods(root_module, cls): ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [constructor] cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')]) @@ -6242,6 +6268,11 @@ def register_Ns3Ipv6Address_methods(root_module, cls): 'ns3::Ipv6Address', [param('ns3::Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], is_static=True) + ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Address addr, ns3::Ipv6Prefix prefix) [member function] + cls.add_method('MakeAutoconfiguredAddress', + 'ns3::Ipv6Address', + [param('ns3::Address', 'addr'), param('ns3::Ipv6Prefix', 'prefix')], + is_static=True) ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac16Address addr, ns3::Ipv6Address prefix) [member function] cls.add_method('MakeAutoconfiguredAddress', 'ns3::Ipv6Address', @@ -6317,6 +6348,18 @@ def register_Ns3Ipv6Address_methods(root_module, cls): [param('uint8_t *', 'address')]) return +def register_Ns3Ipv6AddressHash_methods(root_module, cls): + ## ipv6-address.h (module 'network'): ns3::Ipv6AddressHash::Ipv6AddressHash() [constructor] + cls.add_constructor([]) + ## ipv6-address.h (module 'network'): ns3::Ipv6AddressHash::Ipv6AddressHash(ns3::Ipv6AddressHash const & arg0) [constructor] + cls.add_constructor([param('ns3::Ipv6AddressHash const &', 'arg0')]) + ## ipv6-address.h (module 'network'): size_t ns3::Ipv6AddressHash::operator()(ns3::Ipv6Address const & x) const [member operator] + cls.add_method('operator()', + 'size_t', + [param('ns3::Ipv6Address const &', 'x')], + custom_name='__call__', is_const=True) + return + def register_Ns3Ipv6AddressHelper_methods(root_module, cls): ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6AddressHelper::Ipv6AddressHelper(ns3::Ipv6AddressHelper const & arg0) [constructor] cls.add_constructor([param('ns3::Ipv6AddressHelper const &', 'arg0')]) @@ -6332,10 +6375,18 @@ def register_Ns3Ipv6AddressHelper_methods(root_module, cls): cls.add_method('Assign', 'ns3::Ipv6InterfaceContainer', [param('ns3::NetDeviceContainer const &', 'c'), param('std::vector< bool >', 'withConfiguration')]) + ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign(ns3::NetDeviceContainer const & c, std::vector > withConfiguration, std::vector > onLink) [member function] + cls.add_method('Assign', + 'ns3::Ipv6InterfaceContainer', + [param('ns3::NetDeviceContainer const &', 'c'), param('std::vector< bool >', 'withConfiguration'), param('std::vector< bool >', 'onLink')]) ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::AssignWithoutAddress(ns3::NetDeviceContainer const & c) [member function] cls.add_method('AssignWithoutAddress', 'ns3::Ipv6InterfaceContainer', [param('ns3::NetDeviceContainer const &', 'c')]) + ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::AssignWithoutOnLink(ns3::NetDeviceContainer const & c) [member function] + cls.add_method('AssignWithoutOnLink', + 'ns3::Ipv6InterfaceContainer', + [param('ns3::NetDeviceContainer const &', 'c')]) ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6AddressHelper::NewAddress(ns3::Address addr) [member function] cls.add_method('NewAddress', 'ns3::Ipv6Address', @@ -6364,6 +6415,8 @@ def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls): cls.add_constructor([param('ns3::Ipv6Address', 'address')]) ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address, ns3::Ipv6Prefix prefix) [constructor] cls.add_constructor([param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'prefix')]) + ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address, ns3::Ipv6Prefix prefix, bool onLink) [constructor] + cls.add_constructor([param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'prefix'), param('bool', 'onLink')]) ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6InterfaceAddress const & o) [constructor] cls.add_constructor([param('ns3::Ipv6InterfaceAddress const &', 'o')]) ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceAddress::GetAddress() const [member function] @@ -6376,6 +6429,11 @@ def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls): 'uint32_t', [], is_const=True) + ## ipv6-interface-address.h (module 'internet'): bool ns3::Ipv6InterfaceAddress::GetOnLink() const [member function] + cls.add_method('GetOnLink', + 'bool', + [], + is_const=True) ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Prefix ns3::Ipv6InterfaceAddress::GetPrefix() const [member function] cls.add_method('GetPrefix', 'ns3::Ipv6Prefix', @@ -6404,6 +6462,10 @@ def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls): cls.add_method('SetNsDadUid', 'void', [param('uint32_t', 'uid')]) + ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetOnLink(bool onLink) [member function] + cls.add_method('SetOnLink', + 'void', + [param('bool', 'onLink')]) ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetScope(ns3::Ipv6InterfaceAddress::Scope_e scope) [member function] cls.add_method('SetScope', 'void', @@ -6506,6 +6568,11 @@ def register_Ns3Ipv6Prefix_methods(root_module, cls): cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')]) ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor] cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')]) + ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Prefix::ConvertToIpv6Address() const [member function] + cls.add_method('ConvertToIpv6Address', + 'ns3::Ipv6Address', + [], + is_const=True) ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function] cls.add_method('GetBytes', 'void', @@ -13125,10 +13192,10 @@ def register_Ns3Socket_methods(root_module, cls): cls.add_method('SetPriority', 'void', [param('uint8_t', 'priority')]) - ## socket.h (module 'network'): void ns3::Socket::SetRecvCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> arg0) [member function] + ## socket.h (module 'network'): void ns3::Socket::SetRecvCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> receivedData) [member function] cls.add_method('SetRecvCallback', 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arg0')]) + [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'receivedData')]) ## socket.h (module 'network'): void ns3::Socket::SetRecvPktInfo(bool flag) [member function] cls.add_method('SetRecvPktInfo', 'void', @@ -13593,11 +13660,11 @@ def register_Ns3SpectrumPhy_methods(root_module, cls): 'void', [param('ns3::Ptr< ns3::MobilityModel >', 'm')], is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h (module 'spectrum'): ns3::Ptr ns3::SpectrumPhy::GetMobility() [member function] + ## spectrum-phy.h (module 'spectrum'): ns3::Ptr ns3::SpectrumPhy::GetMobility() const [member function] cls.add_method('GetMobility', 'ns3::Ptr< ns3::MobilityModel >', [], - is_pure_virtual=True, is_virtual=True) + is_const=True, is_pure_virtual=True, is_virtual=True) ## spectrum-phy.h (module 'spectrum'): void ns3::SpectrumPhy::SetChannel(ns3::Ptr c) [member function] cls.add_method('SetChannel', 'void', @@ -13608,11 +13675,11 @@ def register_Ns3SpectrumPhy_methods(root_module, cls): 'ns3::Ptr< ns3::SpectrumModel const >', [], is_const=True, is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h (module 'spectrum'): ns3::Ptr ns3::SpectrumPhy::GetRxAntenna() [member function] + ## spectrum-phy.h (module 'spectrum'): ns3::Ptr ns3::SpectrumPhy::GetRxAntenna() const [member function] cls.add_method('GetRxAntenna', 'ns3::Ptr< ns3::AntennaModel >', [], - is_pure_virtual=True, is_virtual=True) + is_const=True, is_pure_virtual=True, is_virtual=True) ## spectrum-phy.h (module 'spectrum'): void ns3::SpectrumPhy::StartRx(ns3::Ptr params) [member function] cls.add_method('StartRx', 'void', @@ -17893,10 +17960,10 @@ def register_Ns3Ipv6_methods(root_module, cls): cls.add_constructor([param('ns3::Ipv6 const &', 'arg0')]) ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6() [constructor] cls.add_constructor([]) - ## ipv6.h (module 'internet'): bool ns3::Ipv6::AddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] + ## ipv6.h (module 'internet'): bool ns3::Ipv6::AddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address, bool addOnLinkRoute=true) [member function] cls.add_method('AddAddress', 'bool', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], + [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address'), param('bool', 'addOnLinkRoute', default_value='true')], is_pure_virtual=True, is_virtual=True) ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::AddInterface(ns3::Ptr device) [member function] cls.add_method('AddInterface', @@ -20125,10 +20192,10 @@ def register_Ns3LtePdcp_methods(root_module, cls): 'void', [param('ns3::Ptr< ns3::Packet >', 'p')], is_virtual=True, visibility='protected') - ## lte-pdcp.h (module 'lte'): void ns3::LtePdcp::DoTransmitPdcpSdu(ns3::Ptr p) [member function] + ## lte-pdcp.h (module 'lte'): void ns3::LtePdcp::DoTransmitPdcpSdu(ns3::LtePdcpSapProvider::TransmitPdcpSduParameters params) [member function] cls.add_method('DoTransmitPdcpSdu', 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], + [param('ns3::LtePdcpSapProvider::TransmitPdcpSduParameters', 'params')], is_virtual=True, visibility='protected') return @@ -20543,11 +20610,11 @@ def register_Ns3LteSpectrumPhy_methods(root_module, cls): 'void', [param('ns3::Ptr< ns3::NetDevice >', 'd')], is_virtual=True) - ## lte-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::LteSpectrumPhy::GetMobility() [member function] + ## lte-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::LteSpectrumPhy::GetMobility() const [member function] cls.add_method('GetMobility', 'ns3::Ptr< ns3::MobilityModel >', [], - is_virtual=True) + is_const=True, is_virtual=True) ## lte-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::LteSpectrumPhy::GetDevice() const [member function] cls.add_method('GetDevice', 'ns3::Ptr< ns3::NetDevice >', @@ -20558,11 +20625,11 @@ def register_Ns3LteSpectrumPhy_methods(root_module, cls): 'ns3::Ptr< ns3::SpectrumModel const >', [], is_const=True, is_virtual=True) - ## lte-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::LteSpectrumPhy::GetRxAntenna() [member function] + ## lte-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::LteSpectrumPhy::GetRxAntenna() const [member function] cls.add_method('GetRxAntenna', 'ns3::Ptr< ns3::AntennaModel >', [], - is_virtual=True) + is_const=True, is_virtual=True) ## lte-spectrum-phy.h (module 'lte'): void ns3::LteSpectrumPhy::StartRx(ns3::Ptr params) [member function] cls.add_method('StartRx', 'void', @@ -23195,11 +23262,11 @@ def register_Ns3RemSpectrumPhy_methods(root_module, cls): 'void', [param('ns3::Ptr< ns3::NetDevice >', 'd')], is_virtual=True) - ## rem-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::RemSpectrumPhy::GetMobility() [member function] + ## rem-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::RemSpectrumPhy::GetMobility() const [member function] cls.add_method('GetMobility', 'ns3::Ptr< ns3::MobilityModel >', [], - is_virtual=True) + is_const=True, is_virtual=True) ## rem-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::RemSpectrumPhy::GetDevice() const [member function] cls.add_method('GetDevice', 'ns3::Ptr< ns3::NetDevice >', @@ -23210,11 +23277,11 @@ def register_Ns3RemSpectrumPhy_methods(root_module, cls): 'ns3::Ptr< ns3::SpectrumModel const >', [], is_const=True, is_virtual=True) - ## rem-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::RemSpectrumPhy::GetRxAntenna() [member function] + ## rem-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::RemSpectrumPhy::GetRxAntenna() const [member function] cls.add_method('GetRxAntenna', 'ns3::Ptr< ns3::AntennaModel >', [], - is_virtual=True) + is_const=True, is_virtual=True) ## rem-spectrum-phy.h (module 'lte'): void ns3::RemSpectrumPhy::StartRx(ns3::Ptr params) [member function] cls.add_method('StartRx', 'void', diff --git a/src/lte/bindings/modulegen__gcc_LP64.py b/src/lte/bindings/modulegen__gcc_LP64.py index 7abc451f7..c5b4a72b9 100644 --- a/src/lte/bindings/modulegen__gcc_LP64.py +++ b/src/lte/bindings/modulegen__gcc_LP64.py @@ -54,7 +54,7 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::BuildBroadcastListElement_s [struct] module.add_class('BuildBroadcastListElement_s') ## ff-mac-common.h (module 'lte'): ns3::BuildBroadcastListElement_s::Type_e [enumeration] - module.add_enum('Type_e', ['BCCH', 'PCCH'], outer_class=root_module['ns3::BuildBroadcastListElement_s']) + module.add_enum('Type_e', ['BCCH', 'PCCH', 'NotValid'], outer_class=root_module['ns3::BuildBroadcastListElement_s']) ## ff-mac-common.h (module 'lte'): ns3::BuildDataListElement_s [struct] module.add_class('BuildDataListElement_s') ## ff-mac-common.h (module 'lte'): ns3::BuildRarListElement_s [struct] @@ -80,7 +80,7 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::CqiListElement_s [struct] module.add_class('CqiListElement_s') ## ff-mac-common.h (module 'lte'): ns3::CqiListElement_s::CqiType_e [enumeration] - module.add_enum('CqiType_e', ['P10', 'P11', 'P20', 'P21', 'A12', 'A22', 'A20', 'A30', 'A31'], outer_class=root_module['ns3::CqiListElement_s']) + module.add_enum('CqiType_e', ['P10', 'P11', 'P20', 'P21', 'A12', 'A22', 'A20', 'A30', 'A31', 'NotValid'], outer_class=root_module['ns3::CqiListElement_s']) ## data-output-interface.h (module 'stats'): ns3::DataOutputCallback [class] module.add_class('DataOutputCallback', allow_subclassing=True, import_from_module='ns.stats') ## data-rate.h (module 'network'): ns3::DataRate [class] @@ -126,11 +126,11 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::DlDciListElement_s [struct] module.add_class('DlDciListElement_s') ## ff-mac-common.h (module 'lte'): ns3::DlDciListElement_s::Format_e [enumeration] - module.add_enum('Format_e', ['ONE', 'ONE_A', 'ONE_B', 'ONE_C', 'ONE_D', 'TWO', 'TWO_A', 'TWO_B'], outer_class=root_module['ns3::DlDciListElement_s']) + module.add_enum('Format_e', ['ONE', 'ONE_A', 'ONE_B', 'ONE_C', 'ONE_D', 'TWO', 'TWO_A', 'TWO_B', 'NotValid_Dci_Format'], outer_class=root_module['ns3::DlDciListElement_s']) ## ff-mac-common.h (module 'lte'): ns3::DlDciListElement_s::VrbFormat_e [enumeration] - module.add_enum('VrbFormat_e', ['VRB_DISTRIBUTED', 'VRB_LOCALIZED'], outer_class=root_module['ns3::DlDciListElement_s']) + module.add_enum('VrbFormat_e', ['VRB_DISTRIBUTED', 'VRB_LOCALIZED', 'NotValid_VRB_Format'], outer_class=root_module['ns3::DlDciListElement_s']) ## ff-mac-common.h (module 'lte'): ns3::DlDciListElement_s::Ngap_e [enumeration] - module.add_enum('Ngap_e', ['GAP1', 'GAP2'], outer_class=root_module['ns3::DlDciListElement_s']) + module.add_enum('Ngap_e', ['GAP1', 'GAP2', 'NotValid_Ngap'], outer_class=root_module['ns3::DlDciListElement_s']) ## ff-mac-common.h (module 'lte'): ns3::DlInfoListElement_s [struct] module.add_class('DlInfoListElement_s') ## ff-mac-common.h (module 'lte'): ns3::DlInfoListElement_s::HarqStatus_e [enumeration] @@ -357,6 +357,8 @@ def register_types(module): module.add_class('Ipv4Address', import_from_module='ns.network') ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class] root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address']) + ## ipv4-address.h (module 'network'): ns3::Ipv4AddressHash [class] + module.add_class('Ipv4AddressHash', import_from_module='ns.network') ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper [class] module.add_class('Ipv4AddressHelper', import_from_module='ns.internet') ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress [class] @@ -374,6 +376,8 @@ def register_types(module): module.add_class('Ipv6Address', import_from_module='ns.network') ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class] root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address']) + ## ipv6-address.h (module 'network'): ns3::Ipv6AddressHash [class] + module.add_class('Ipv6AddressHash', import_from_module='ns.network') ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6AddressHelper [class] module.add_class('Ipv6AddressHelper', import_from_module='ns.internet') ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress [class] @@ -397,9 +401,9 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::LogicalChannelConfigListElement_s [struct] module.add_class('LogicalChannelConfigListElement_s') ## ff-mac-common.h (module 'lte'): ns3::LogicalChannelConfigListElement_s::Direction_e [enumeration] - module.add_enum('Direction_e', ['DIR_UL', 'DIR_DL', 'DIR_BOTH'], outer_class=root_module['ns3::LogicalChannelConfigListElement_s']) + module.add_enum('Direction_e', ['DIR_UL', 'DIR_DL', 'DIR_BOTH', 'NotValid'], outer_class=root_module['ns3::LogicalChannelConfigListElement_s']) ## ff-mac-common.h (module 'lte'): ns3::LogicalChannelConfigListElement_s::QosBearerType_e [enumeration] - module.add_enum('QosBearerType_e', ['QBT_NON_GBR', 'QBT_GBR'], outer_class=root_module['ns3::LogicalChannelConfigListElement_s']) + module.add_enum('QosBearerType_e', ['QBT_NON_GBR', 'QBT_GBR', 'NotValid_QosBearerType'], outer_class=root_module['ns3::LogicalChannelConfigListElement_s']) ## lte-anr-sap.h (module 'lte'): ns3::LteAnrSapProvider [class] module.add_class('LteAnrSapProvider', allow_subclassing=True) ## lte-anr-sap.h (module 'lte'): ns3::LteAnrSapUser [class] @@ -732,7 +736,7 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::MacCeListElement_s [struct] module.add_class('MacCeListElement_s') ## ff-mac-common.h (module 'lte'): ns3::MacCeListElement_s::MacCeType_e [enumeration] - module.add_enum('MacCeType_e', ['BSR', 'PHR', 'CRNTI'], outer_class=root_module['ns3::MacCeListElement_s']) + module.add_enum('MacCeType_e', ['BSR', 'PHR', 'CRNTI', 'NotValid'], outer_class=root_module['ns3::MacCeListElement_s']) ## ff-mac-common.h (module 'lte'): ns3::MacCeValue_u [struct] module.add_class('MacCeValue_u') ## names.h (module 'core'): ns3::Names [class] @@ -776,7 +780,7 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::PhichListElement_s [struct] module.add_class('PhichListElement_s') ## ff-mac-common.h (module 'lte'): ns3::PhichListElement_s::Phich_e [enumeration] - module.add_enum('Phich_e', ['ACK', 'NACK'], outer_class=root_module['ns3::PhichListElement_s']) + module.add_enum('Phich_e', ['ACK', 'NACK', 'NotValid'], outer_class=root_module['ns3::PhichListElement_s']) ## lte-common.h (module 'lte'): ns3::PhyReceptionStatParameters [struct] module.add_class('PhyReceptionStatParameters') typehandlers.add_type_alias('void ( * ) ( ns3::PhyReceptionStatParameters const )', 'ns3::PhyReceptionStatParameters::TracedCallback') @@ -856,7 +860,7 @@ def register_types(module): ## ff-mac-common.h (module 'lte'): ns3::UlCqi_s [struct] module.add_class('UlCqi_s') ## ff-mac-common.h (module 'lte'): ns3::UlCqi_s::Type_e [enumeration] - module.add_enum('Type_e', ['SRS', 'PUSCH', 'PUCCH_1', 'PUCCH_2', 'PRACH'], outer_class=root_module['ns3::UlCqi_s']) + module.add_enum('Type_e', ['SRS', 'PUSCH', 'PUCCH_1', 'PUCCH_2', 'PRACH', 'NotValid'], outer_class=root_module['ns3::UlCqi_s']) ## ff-mac-common.h (module 'lte'): ns3::UlDciListElement_s [struct] module.add_class('UlDciListElement_s') ## ff-mac-common.h (module 'lte'): ns3::UlGrant_s [struct] @@ -2299,11 +2303,13 @@ def register_methods(root_module): register_Ns3Inet6SocketAddress_methods(root_module, root_module['ns3::Inet6SocketAddress']) register_Ns3InetSocketAddress_methods(root_module, root_module['ns3::InetSocketAddress']) register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address']) + register_Ns3Ipv4AddressHash_methods(root_module, root_module['ns3::Ipv4AddressHash']) register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper']) register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress']) register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer']) register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask']) register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address']) + register_Ns3Ipv6AddressHash_methods(root_module, root_module['ns3::Ipv6AddressHash']) register_Ns3Ipv6AddressHelper_methods(root_module, root_module['ns3::Ipv6AddressHelper']) register_Ns3Ipv6InterfaceAddress_methods(root_module, root_module['ns3::Ipv6InterfaceAddress']) register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer']) @@ -3551,6 +3557,14 @@ def register_Ns3DataOutputCallback_methods(root_module, cls): def register_Ns3DataRate_methods(root_module, cls): cls.add_output_stream_operator() cls.add_binary_comparison_operator('!=') + cls.add_binary_numeric_operator('*', root_module['ns3::DataRate'], root_module['ns3::DataRate'], param('double', 'right')) + cls.add_binary_numeric_operator('*', root_module['ns3::DataRate'], root_module['ns3::DataRate'], param('uint64_t', 'right')) + cls.add_inplace_numeric_operator('*=', param('double', 'right')) + cls.add_inplace_numeric_operator('*=', param('uint64_t', 'right')) + cls.add_binary_numeric_operator('+', root_module['ns3::DataRate'], root_module['ns3::DataRate'], param('ns3::DataRate', 'right')) + cls.add_inplace_numeric_operator('+=', param('ns3::DataRate', 'right')) + cls.add_binary_numeric_operator('-', root_module['ns3::DataRate'], root_module['ns3::DataRate'], param('ns3::DataRate', 'right')) + cls.add_inplace_numeric_operator('-=', param('ns3::DataRate', 'right')) cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('<=') cls.add_binary_comparison_operator('==') @@ -5891,6 +5905,18 @@ def register_Ns3Ipv4Address_methods(root_module, cls): [param('char const *', 'address')]) return +def register_Ns3Ipv4AddressHash_methods(root_module, cls): + ## ipv4-address.h (module 'network'): ns3::Ipv4AddressHash::Ipv4AddressHash() [constructor] + cls.add_constructor([]) + ## ipv4-address.h (module 'network'): ns3::Ipv4AddressHash::Ipv4AddressHash(ns3::Ipv4AddressHash const & arg0) [constructor] + cls.add_constructor([param('ns3::Ipv4AddressHash const &', 'arg0')]) + ## ipv4-address.h (module 'network'): size_t ns3::Ipv4AddressHash::operator()(ns3::Ipv4Address const & x) const [member operator] + cls.add_method('operator()', + 'size_t', + [param('ns3::Ipv4Address const &', 'x')], + custom_name='__call__', is_const=True) + return + def register_Ns3Ipv4AddressHelper_methods(root_module, cls): ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [constructor] cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')]) @@ -6242,6 +6268,11 @@ def register_Ns3Ipv6Address_methods(root_module, cls): 'ns3::Ipv6Address', [param('ns3::Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], is_static=True) + ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Address addr, ns3::Ipv6Prefix prefix) [member function] + cls.add_method('MakeAutoconfiguredAddress', + 'ns3::Ipv6Address', + [param('ns3::Address', 'addr'), param('ns3::Ipv6Prefix', 'prefix')], + is_static=True) ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac16Address addr, ns3::Ipv6Address prefix) [member function] cls.add_method('MakeAutoconfiguredAddress', 'ns3::Ipv6Address', @@ -6317,6 +6348,18 @@ def register_Ns3Ipv6Address_methods(root_module, cls): [param('uint8_t *', 'address')]) return +def register_Ns3Ipv6AddressHash_methods(root_module, cls): + ## ipv6-address.h (module 'network'): ns3::Ipv6AddressHash::Ipv6AddressHash() [constructor] + cls.add_constructor([]) + ## ipv6-address.h (module 'network'): ns3::Ipv6AddressHash::Ipv6AddressHash(ns3::Ipv6AddressHash const & arg0) [constructor] + cls.add_constructor([param('ns3::Ipv6AddressHash const &', 'arg0')]) + ## ipv6-address.h (module 'network'): size_t ns3::Ipv6AddressHash::operator()(ns3::Ipv6Address const & x) const [member operator] + cls.add_method('operator()', + 'size_t', + [param('ns3::Ipv6Address const &', 'x')], + custom_name='__call__', is_const=True) + return + def register_Ns3Ipv6AddressHelper_methods(root_module, cls): ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6AddressHelper::Ipv6AddressHelper(ns3::Ipv6AddressHelper const & arg0) [constructor] cls.add_constructor([param('ns3::Ipv6AddressHelper const &', 'arg0')]) @@ -6332,10 +6375,18 @@ def register_Ns3Ipv6AddressHelper_methods(root_module, cls): cls.add_method('Assign', 'ns3::Ipv6InterfaceContainer', [param('ns3::NetDeviceContainer const &', 'c'), param('std::vector< bool >', 'withConfiguration')]) + ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign(ns3::NetDeviceContainer const & c, std::vector > withConfiguration, std::vector > onLink) [member function] + cls.add_method('Assign', + 'ns3::Ipv6InterfaceContainer', + [param('ns3::NetDeviceContainer const &', 'c'), param('std::vector< bool >', 'withConfiguration'), param('std::vector< bool >', 'onLink')]) ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::AssignWithoutAddress(ns3::NetDeviceContainer const & c) [member function] cls.add_method('AssignWithoutAddress', 'ns3::Ipv6InterfaceContainer', [param('ns3::NetDeviceContainer const &', 'c')]) + ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::AssignWithoutOnLink(ns3::NetDeviceContainer const & c) [member function] + cls.add_method('AssignWithoutOnLink', + 'ns3::Ipv6InterfaceContainer', + [param('ns3::NetDeviceContainer const &', 'c')]) ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6AddressHelper::NewAddress(ns3::Address addr) [member function] cls.add_method('NewAddress', 'ns3::Ipv6Address', @@ -6364,6 +6415,8 @@ def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls): cls.add_constructor([param('ns3::Ipv6Address', 'address')]) ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address, ns3::Ipv6Prefix prefix) [constructor] cls.add_constructor([param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'prefix')]) + ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address, ns3::Ipv6Prefix prefix, bool onLink) [constructor] + cls.add_constructor([param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'prefix'), param('bool', 'onLink')]) ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6InterfaceAddress const & o) [constructor] cls.add_constructor([param('ns3::Ipv6InterfaceAddress const &', 'o')]) ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceAddress::GetAddress() const [member function] @@ -6376,6 +6429,11 @@ def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls): 'uint32_t', [], is_const=True) + ## ipv6-interface-address.h (module 'internet'): bool ns3::Ipv6InterfaceAddress::GetOnLink() const [member function] + cls.add_method('GetOnLink', + 'bool', + [], + is_const=True) ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Prefix ns3::Ipv6InterfaceAddress::GetPrefix() const [member function] cls.add_method('GetPrefix', 'ns3::Ipv6Prefix', @@ -6404,6 +6462,10 @@ def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls): cls.add_method('SetNsDadUid', 'void', [param('uint32_t', 'uid')]) + ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetOnLink(bool onLink) [member function] + cls.add_method('SetOnLink', + 'void', + [param('bool', 'onLink')]) ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetScope(ns3::Ipv6InterfaceAddress::Scope_e scope) [member function] cls.add_method('SetScope', 'void', @@ -6506,6 +6568,11 @@ def register_Ns3Ipv6Prefix_methods(root_module, cls): cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')]) ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor] cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')]) + ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Prefix::ConvertToIpv6Address() const [member function] + cls.add_method('ConvertToIpv6Address', + 'ns3::Ipv6Address', + [], + is_const=True) ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function] cls.add_method('GetBytes', 'void', @@ -13125,10 +13192,10 @@ def register_Ns3Socket_methods(root_module, cls): cls.add_method('SetPriority', 'void', [param('uint8_t', 'priority')]) - ## socket.h (module 'network'): void ns3::Socket::SetRecvCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> arg0) [member function] + ## socket.h (module 'network'): void ns3::Socket::SetRecvCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> receivedData) [member function] cls.add_method('SetRecvCallback', 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arg0')]) + [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'receivedData')]) ## socket.h (module 'network'): void ns3::Socket::SetRecvPktInfo(bool flag) [member function] cls.add_method('SetRecvPktInfo', 'void', @@ -13593,11 +13660,11 @@ def register_Ns3SpectrumPhy_methods(root_module, cls): 'void', [param('ns3::Ptr< ns3::MobilityModel >', 'm')], is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h (module 'spectrum'): ns3::Ptr ns3::SpectrumPhy::GetMobility() [member function] + ## spectrum-phy.h (module 'spectrum'): ns3::Ptr ns3::SpectrumPhy::GetMobility() const [member function] cls.add_method('GetMobility', 'ns3::Ptr< ns3::MobilityModel >', [], - is_pure_virtual=True, is_virtual=True) + is_const=True, is_pure_virtual=True, is_virtual=True) ## spectrum-phy.h (module 'spectrum'): void ns3::SpectrumPhy::SetChannel(ns3::Ptr c) [member function] cls.add_method('SetChannel', 'void', @@ -13608,11 +13675,11 @@ def register_Ns3SpectrumPhy_methods(root_module, cls): 'ns3::Ptr< ns3::SpectrumModel const >', [], is_const=True, is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h (module 'spectrum'): ns3::Ptr ns3::SpectrumPhy::GetRxAntenna() [member function] + ## spectrum-phy.h (module 'spectrum'): ns3::Ptr ns3::SpectrumPhy::GetRxAntenna() const [member function] cls.add_method('GetRxAntenna', 'ns3::Ptr< ns3::AntennaModel >', [], - is_pure_virtual=True, is_virtual=True) + is_const=True, is_pure_virtual=True, is_virtual=True) ## spectrum-phy.h (module 'spectrum'): void ns3::SpectrumPhy::StartRx(ns3::Ptr params) [member function] cls.add_method('StartRx', 'void', @@ -17893,10 +17960,10 @@ def register_Ns3Ipv6_methods(root_module, cls): cls.add_constructor([param('ns3::Ipv6 const &', 'arg0')]) ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6() [constructor] cls.add_constructor([]) - ## ipv6.h (module 'internet'): bool ns3::Ipv6::AddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] + ## ipv6.h (module 'internet'): bool ns3::Ipv6::AddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address, bool addOnLinkRoute=true) [member function] cls.add_method('AddAddress', 'bool', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], + [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address'), param('bool', 'addOnLinkRoute', default_value='true')], is_pure_virtual=True, is_virtual=True) ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::AddInterface(ns3::Ptr device) [member function] cls.add_method('AddInterface', @@ -20125,10 +20192,10 @@ def register_Ns3LtePdcp_methods(root_module, cls): 'void', [param('ns3::Ptr< ns3::Packet >', 'p')], is_virtual=True, visibility='protected') - ## lte-pdcp.h (module 'lte'): void ns3::LtePdcp::DoTransmitPdcpSdu(ns3::Ptr p) [member function] + ## lte-pdcp.h (module 'lte'): void ns3::LtePdcp::DoTransmitPdcpSdu(ns3::LtePdcpSapProvider::TransmitPdcpSduParameters params) [member function] cls.add_method('DoTransmitPdcpSdu', 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], + [param('ns3::LtePdcpSapProvider::TransmitPdcpSduParameters', 'params')], is_virtual=True, visibility='protected') return @@ -20543,11 +20610,11 @@ def register_Ns3LteSpectrumPhy_methods(root_module, cls): 'void', [param('ns3::Ptr< ns3::NetDevice >', 'd')], is_virtual=True) - ## lte-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::LteSpectrumPhy::GetMobility() [member function] + ## lte-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::LteSpectrumPhy::GetMobility() const [member function] cls.add_method('GetMobility', 'ns3::Ptr< ns3::MobilityModel >', [], - is_virtual=True) + is_const=True, is_virtual=True) ## lte-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::LteSpectrumPhy::GetDevice() const [member function] cls.add_method('GetDevice', 'ns3::Ptr< ns3::NetDevice >', @@ -20558,11 +20625,11 @@ def register_Ns3LteSpectrumPhy_methods(root_module, cls): 'ns3::Ptr< ns3::SpectrumModel const >', [], is_const=True, is_virtual=True) - ## lte-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::LteSpectrumPhy::GetRxAntenna() [member function] + ## lte-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::LteSpectrumPhy::GetRxAntenna() const [member function] cls.add_method('GetRxAntenna', 'ns3::Ptr< ns3::AntennaModel >', [], - is_virtual=True) + is_const=True, is_virtual=True) ## lte-spectrum-phy.h (module 'lte'): void ns3::LteSpectrumPhy::StartRx(ns3::Ptr params) [member function] cls.add_method('StartRx', 'void', @@ -23195,11 +23262,11 @@ def register_Ns3RemSpectrumPhy_methods(root_module, cls): 'void', [param('ns3::Ptr< ns3::NetDevice >', 'd')], is_virtual=True) - ## rem-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::RemSpectrumPhy::GetMobility() [member function] + ## rem-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::RemSpectrumPhy::GetMobility() const [member function] cls.add_method('GetMobility', 'ns3::Ptr< ns3::MobilityModel >', [], - is_virtual=True) + is_const=True, is_virtual=True) ## rem-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::RemSpectrumPhy::GetDevice() const [member function] cls.add_method('GetDevice', 'ns3::Ptr< ns3::NetDevice >', @@ -23210,11 +23277,11 @@ def register_Ns3RemSpectrumPhy_methods(root_module, cls): 'ns3::Ptr< ns3::SpectrumModel const >', [], is_const=True, is_virtual=True) - ## rem-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::RemSpectrumPhy::GetRxAntenna() [member function] + ## rem-spectrum-phy.h (module 'lte'): ns3::Ptr ns3::RemSpectrumPhy::GetRxAntenna() const [member function] cls.add_method('GetRxAntenna', 'ns3::Ptr< ns3::AntennaModel >', [], - is_virtual=True) + is_const=True, is_virtual=True) ## rem-spectrum-phy.h (module 'lte'): void ns3::RemSpectrumPhy::StartRx(ns3::Ptr params) [member function] cls.add_method('StartRx', 'void',