diff --git a/src/wifi/bindings/modulegen__gcc_ILP32.py b/src/wifi/bindings/modulegen__gcc_ILP32.py index 4dfc89fe9..13744a96e 100644 --- a/src/wifi/bindings/modulegen__gcc_ILP32.py +++ b/src/wifi/bindings/modulegen__gcc_ILP32.py @@ -193,7 +193,7 @@ def register_types(module): ## originator-block-ack-agreement.h (module 'wifi'): ns3::OriginatorBlockAckAgreement [class] module.add_class('OriginatorBlockAckAgreement', parent=root_module['ns3::BlockAckAgreement']) ## originator-block-ack-agreement.h (module 'wifi'): ns3::OriginatorBlockAckAgreement::State [enumeration] - module.add_enum('State', ['PENDING', 'ESTABLISHED', 'INACTIVE', 'UNSUCCESSFUL'], outer_class=root_module['ns3::OriginatorBlockAckAgreement']) + module.add_enum('State', ['PENDING', 'ESTABLISHED', 'INACTIVE', 'NO_REPLY', 'RESET', 'REJECTED'], outer_class=root_module['ns3::OriginatorBlockAckAgreement']) ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class] module.add_class('PacketMetadata', import_from_module='ns.network') ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct] @@ -572,6 +572,8 @@ def register_types(module): module.add_class('ErlangRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## erp-information.h (module 'wifi'): ns3::ErpInformation [class] module.add_class('ErpInformation', parent=root_module['ns3::WifiInformationElement']) + ## error-model.h (module 'network'): ns3::ErrorModel [class] + module.add_class('ErrorModel', import_from_module='ns.network', parent=root_module['ns3::Object']) ## error-rate-model.h (module 'wifi'): ns3::ErrorRateModel [class] module.add_class('ErrorRateModel', parent=root_module['ns3::Object']) ## interference-helper.h (module 'wifi'): ns3::Event [class] @@ -636,6 +638,8 @@ def register_types(module): module.add_class('Kun2600MhzPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## wifi-tx-current-model.h (module 'wifi'): ns3::LinearWifiTxCurrentModel [class] module.add_class('LinearWifiTxCurrentModel', parent=root_module['ns3::WifiTxCurrentModel']) + ## error-model.h (module 'network'): ns3::ListErrorModel [class] + module.add_class('ListErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] module.add_class('LogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class] @@ -704,6 +708,12 @@ def register_types(module): module.add_class('QueueSizeChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## queue-size.h (module 'network'): ns3::QueueSizeValue [class] module.add_class('QueueSizeValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## error-model.h (module 'network'): ns3::RateErrorModel [class] + module.add_class('RateErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) + ## error-model.h (module 'network'): ns3::RateErrorModel::ErrorUnit [enumeration] + module.add_enum('ErrorUnit', ['ERROR_UNIT_BIT', 'ERROR_UNIT_BYTE', 'ERROR_UNIT_PACKET'], outer_class=root_module['ns3::RateErrorModel'], import_from_module='ns.network') + ## error-model.h (module 'network'): ns3::ReceiveListErrorModel [class] + module.add_class('ReceiveListErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) ## regular-wifi-mac.h (module 'wifi'): ns3::RegularWifiMac [class] module.add_class('RegularWifiMac', parent=root_module['ns3::WifiMac']) ## rraa-wifi-manager.h (module 'wifi'): ns3::RraaWifiManager [class] @@ -766,6 +776,10 @@ def register_types(module): module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) ## adhoc-wifi-mac.h (module 'wifi'): ns3::AdhocWifiMac [class] module.add_class('AdhocWifiMac', parent=root_module['ns3::RegularWifiMac']) + ## error-model.h (module 'network'): ns3::BinaryErrorModel [class] + module.add_class('BinaryErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) + ## error-model.h (module 'network'): ns3::BurstErrorModel [class] + module.add_class('BurstErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) ## callback.h (module 'core'): ns3::CallbackImpl [class] module.add_class('CallbackImpl', import_from_module='ns.core', template_parameters=['ns3::ObjectBase *', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], parent=root_module['ns3::CallbackImplBase']) ## callback.h (module 'core'): ns3::CallbackImpl [class] @@ -843,6 +857,7 @@ def register_types(module): module.add_container('std::vector< double >', 'double', container_type=u'vector') module.add_container('ns3::Bands', 'ns3::BandInfo', container_type=u'vector') module.add_container('std::vector< unsigned short >', 'short unsigned int', container_type=u'vector') + module.add_container('std::list< unsigned int >', 'unsigned int', container_type=u'list') module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::AmpduSubframeHeader > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::AmpduSubframeHeader >', container_type=u'list') module.add_container('ns3::MpduAggregator::DeaggregatedMpdus', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::AmpduSubframeHeader >', container_type=u'list') module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader >', container_type=u'list') @@ -1253,6 +1268,7 @@ def register_methods(root_module): register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue']) register_Ns3ErlangRandomVariable_methods(root_module, root_module['ns3::ErlangRandomVariable']) register_Ns3ErpInformation_methods(root_module, root_module['ns3::ErpInformation']) + register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel']) register_Ns3ErrorRateModel_methods(root_module, root_module['ns3::ErrorRateModel']) register_Ns3Event_methods(root_module, root_module['ns3::Event']) register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) @@ -1285,6 +1301,7 @@ def register_methods(root_module): register_Ns3JakesPropagationLossModel_methods(root_module, root_module['ns3::JakesPropagationLossModel']) register_Ns3Kun2600MhzPropagationLossModel_methods(root_module, root_module['ns3::Kun2600MhzPropagationLossModel']) register_Ns3LinearWifiTxCurrentModel_methods(root_module, root_module['ns3::LinearWifiTxCurrentModel']) + register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel']) register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable']) register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) @@ -1318,6 +1335,8 @@ def register_methods(root_module): register_Ns3Queue__Ns3WifiMacQueueItem_methods(root_module, root_module['ns3::Queue< ns3::WifiMacQueueItem >']) register_Ns3QueueSizeChecker_methods(root_module, root_module['ns3::QueueSizeChecker']) register_Ns3QueueSizeValue_methods(root_module, root_module['ns3::QueueSizeValue']) + register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel']) + register_Ns3ReceiveListErrorModel_methods(root_module, root_module['ns3::ReceiveListErrorModel']) register_Ns3RegularWifiMac_methods(root_module, root_module['ns3::RegularWifiMac']) register_Ns3RraaWifiManager_methods(root_module, root_module['ns3::RraaWifiManager']) register_Ns3RrpaaWifiManager_methods(root_module, root_module['ns3::RrpaaWifiManager']) @@ -1348,6 +1367,8 @@ def register_methods(root_module): register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) register_Ns3AdhocWifiMac_methods(root_module, root_module['ns3::AdhocWifiMac']) + register_Ns3BinaryErrorModel_methods(root_module, root_module['ns3::BinaryErrorModel']) + register_Ns3BurstErrorModel_methods(root_module, root_module['ns3::BurstErrorModel']) register_Ns3CallbackImpl__Ns3ObjectBase___star___Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, root_module['ns3::CallbackImpl< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >']) register_Ns3CallbackImpl__Void_Bool_Unsigned_int_Double_Ns3Time_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, root_module['ns3::CallbackImpl< void, bool, unsigned int, double, ns3::Time, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >']) register_Ns3CallbackImpl__Void_Const_ns3WifiMacHeader___amp___Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, root_module['ns3::CallbackImpl< void, const ns3::WifiMacHeader &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >']) @@ -3847,13 +3868,23 @@ def register_Ns3OriginatorBlockAckAgreement_methods(root_module, cls): 'bool', [], is_const=True) + ## originator-block-ack-agreement.h (module 'wifi'): bool ns3::OriginatorBlockAckAgreement::IsNoReply() const [member function] + cls.add_method('IsNoReply', + 'bool', + [], + is_const=True) ## originator-block-ack-agreement.h (module 'wifi'): bool ns3::OriginatorBlockAckAgreement::IsPending() const [member function] cls.add_method('IsPending', 'bool', [], is_const=True) - ## originator-block-ack-agreement.h (module 'wifi'): bool ns3::OriginatorBlockAckAgreement::IsUnsuccessful() const [member function] - cls.add_method('IsUnsuccessful', + ## originator-block-ack-agreement.h (module 'wifi'): bool ns3::OriginatorBlockAckAgreement::IsRejected() const [member function] + cls.add_method('IsRejected', + 'bool', + [], + is_const=True) + ## originator-block-ack-agreement.h (module 'wifi'): bool ns3::OriginatorBlockAckAgreement::IsReset() const [member function] + cls.add_method('IsReset', 'bool', [], is_const=True) @@ -8817,6 +8848,16 @@ def register_Ns3WifiMac_methods(root_module, cls): 'void', [param('ns3::Ptr< ns3::Txop >', 'dcf'), param('uint32_t', 'cwmin'), param('uint32_t', 'cwmax'), param('bool', 'isDsss'), param('ns3::AcIndex', 'ac')], visibility='protected') + ## wifi-mac.h (module 'wifi'): ns3::Ptr ns3::WifiMac::GetHeConfiguration() const [member function] + cls.add_method('GetHeConfiguration', + 'ns3::Ptr< ns3::HeConfiguration >', + [], + is_const=True, visibility='protected') + ## wifi-mac.h (module 'wifi'): ns3::Ptr ns3::WifiMac::GetHtConfiguration() const [member function] + cls.add_method('GetHtConfiguration', + 'ns3::Ptr< ns3::HtConfiguration >', + [], + is_const=True, visibility='protected') ## wifi-mac.h (module 'wifi'): void ns3::WifiMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function] cls.add_method('FinishConfigureStandard', 'void', @@ -10165,6 +10206,10 @@ def register_Ns3WifiPhy_methods(root_module, cls): cls.add_method('SetOffMode', 'void', []) + ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetPostReceptionErrorModel(ns3::Ptr const em) [member function] + cls.add_method('SetPostReceptionErrorModel', + 'void', + [param('ns3::Ptr< ns3::ErrorModel > const', 'em')]) ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::RxErrorCallback callback) [member function] cls.add_method('SetReceiveErrorCallback', 'void', @@ -11996,8 +12041,16 @@ def register_Ns3BlockAckManager_methods(root_module, cls): cls.add_method('NotifyAgreementEstablished', 'void', [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('uint16_t', 'startingSeq')]) - ## block-ack-manager.h (module 'wifi'): void ns3::BlockAckManager::NotifyAgreementUnsuccessful(ns3::Mac48Address recipient, uint8_t tid) [member function] - cls.add_method('NotifyAgreementUnsuccessful', + ## block-ack-manager.h (module 'wifi'): void ns3::BlockAckManager::NotifyAgreementNoReply(ns3::Mac48Address recipient, uint8_t tid) [member function] + cls.add_method('NotifyAgreementNoReply', + 'void', + [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) + ## block-ack-manager.h (module 'wifi'): void ns3::BlockAckManager::NotifyAgreementRejected(ns3::Mac48Address recipient, uint8_t tid) [member function] + cls.add_method('NotifyAgreementRejected', + 'void', + [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) + ## block-ack-manager.h (module 'wifi'): void ns3::BlockAckManager::NotifyAgreementReset(ns3::Mac48Address recipient, uint8_t tid) [member function] + cls.add_method('NotifyAgreementReset', 'void', [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) ## block-ack-manager.h (module 'wifi'): void ns3::BlockAckManager::NotifyGotBlockAck(ns3::CtrlBAckResponseHeader const * blockAck, ns3::Mac48Address recipient, double rxSnr, ns3::WifiMode txMode, double dataSnr) [member function] @@ -13952,6 +14005,49 @@ def register_Ns3ErpInformation_methods(root_module, cls): [param('uint8_t', 'useProtection')]) return +def register_Ns3ErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [constructor] + cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::ErrorModel::ErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): void ns3::ErrorModel::Disable() [member function] + cls.add_method('Disable', + 'void', + []) + ## error-model.h (module 'network'): void ns3::ErrorModel::Enable() [member function] + cls.add_method('Enable', + 'void', + []) + ## error-model.h (module 'network'): static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): bool ns3::ErrorModel::IsCorrupt(ns3::Ptr pkt) [member function] + cls.add_method('IsCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'pkt')]) + ## error-model.h (module 'network'): bool ns3::ErrorModel::IsEnabled() const [member function] + cls.add_method('IsEnabled', + 'bool', + [], + is_const=True) + ## error-model.h (module 'network'): void ns3::ErrorModel::Reset() [member function] + cls.add_method('Reset', + 'void', + []) + ## error-model.h (module 'network'): bool ns3::ErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + is_pure_virtual=True, visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::ErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + is_pure_virtual=True, visibility='private', is_virtual=True) + return + def register_Ns3ErrorRateModel_methods(root_module, cls): ## error-rate-model.h (module 'wifi'): ns3::ErrorRateModel::ErrorRateModel() [constructor] cls.add_constructor([]) @@ -14541,6 +14637,11 @@ def register_Ns3HeOperation_methods(root_module, cls): 'uint16_t', [], is_const=True) + ## he-operation.h (module 'wifi'): uint8_t ns3::HeOperation::GetBssColor() const [member function] + cls.add_method('GetBssColor', + 'uint8_t', + [], + is_const=True) ## he-operation.h (module 'wifi'): uint32_t ns3::HeOperation::GetHeOperationParameters() const [member function] cls.add_method('GetHeOperationParameters', 'uint32_t', @@ -14566,6 +14667,10 @@ def register_Ns3HeOperation_methods(root_module, cls): 'void', [param('ns3::Buffer::Iterator', 'start')], is_const=True, is_virtual=True) + ## he-operation.h (module 'wifi'): void ns3::HeOperation::SetBssColor(uint8_t bssColor) [member function] + cls.add_method('SetBssColor', + 'void', + [param('uint8_t', 'bssColor')]) ## he-operation.h (module 'wifi'): void ns3::HeOperation::SetHeOperationParameters(uint32_t ctrl) [member function] cls.add_method('SetHeOperationParameters', 'void', @@ -15486,6 +15591,37 @@ def register_Ns3LinearWifiTxCurrentModel_methods(root_module, cls): is_static=True) return +def register_Ns3ListErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [constructor] + cls.add_constructor([param('ns3::ListErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::ListErrorModel::ListErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): std::list > ns3::ListErrorModel::GetList() const [member function] + cls.add_method('GetList', + 'std::list< unsigned int >', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): void ns3::ListErrorModel::SetList(std::list > const & packetlist) [member function] + cls.add_method('SetList', + 'void', + [param('std::list< unsigned int > const &', 'packetlist')]) + ## error-model.h (module 'network'): bool ns3::ListErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::ListErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3LogDistancePropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::LogDistancePropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -17166,13 +17302,18 @@ def register_Ns3QosTxop_methods(root_module, cls): 'void', [], is_virtual=True) + ## qos-txop.h (module 'wifi'): ns3::Time ns3::QosTxop::GetAddBaResponseTimeout() const [member function] + cls.add_method('GetAddBaResponseTimeout', + 'ns3::Time', + [], + is_const=True) ## qos-txop.h (module 'wifi'): bool ns3::QosTxop::GetAmpduExist(ns3::Mac48Address dest) const [member function] cls.add_method('GetAmpduExist', 'bool', [param('ns3::Mac48Address', 'dest')], is_const=True) - ## qos-txop.h (module 'wifi'): bool ns3::QosTxop::GetBaAgreementExists(ns3::Mac48Address address, uint8_t tid) const [member function] - cls.add_method('GetBaAgreementExists', + ## qos-txop.h (module 'wifi'): bool ns3::QosTxop::GetBaAgreementEstablished(ns3::Mac48Address address, uint8_t tid) const [member function] + cls.add_method('GetBaAgreementEstablished', 'bool', [param('ns3::Mac48Address', 'address'), param('uint8_t', 'tid')], is_const=True) @@ -17181,6 +17322,11 @@ def register_Ns3QosTxop_methods(root_module, cls): 'uint8_t', [], is_const=True) + ## qos-txop.h (module 'wifi'): ns3::Time ns3::QosTxop::GetFailedAddBaTimeout() const [member function] + cls.add_method('GetFailedAddBaTimeout', + 'ns3::Time', + [], + is_const=True) ## qos-txop.h (module 'wifi'): ns3::Ptr ns3::QosTxop::GetFragmentPacket(ns3::WifiMacHeader * hdr) [member function] cls.add_method('GetFragmentPacket', 'ns3::Ptr< ns3::Packet >', @@ -17309,6 +17455,10 @@ def register_Ns3QosTxop_methods(root_module, cls): cls.add_method('SetAccessCategory', 'void', [param('ns3::AcIndex', 'ac')]) + ## qos-txop.h (module 'wifi'): void ns3::QosTxop::SetAddBaResponseTimeout(ns3::Time addBaResponseTimeout) [member function] + cls.add_method('SetAddBaResponseTimeout', + 'void', + [param('ns3::Time', 'addBaResponseTimeout')]) ## qos-txop.h (module 'wifi'): void ns3::QosTxop::SetAmpduExist(ns3::Mac48Address dest, bool enableAmpdu) [member function] cls.add_method('SetAmpduExist', 'void', @@ -17321,6 +17471,10 @@ def register_Ns3QosTxop_methods(root_module, cls): cls.add_method('SetBlockAckThreshold', 'void', [param('uint8_t', 'threshold')]) + ## qos-txop.h (module 'wifi'): void ns3::QosTxop::SetFailedAddBaTimeout(ns3::Time failedAddBaTimeout) [member function] + cls.add_method('SetFailedAddBaTimeout', + 'void', + [param('ns3::Time', 'failedAddBaTimeout')]) ## qos-txop.h (module 'wifi'): void ns3::QosTxop::SetMpduAggregator(ns3::Ptr const aggr) [member function] cls.add_method('SetMpduAggregator', 'void', @@ -17503,6 +17657,100 @@ def register_Ns3QueueSizeValue_methods(root_module, cls): [param('ns3::QueueSize const &', 'value')]) return +def register_Ns3RateErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [constructor] + cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::RateErrorModel::RateErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): int64_t ns3::RateErrorModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) + ## error-model.h (module 'network'): double ns3::RateErrorModel::GetRate() const [member function] + cls.add_method('GetRate', + 'double', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): ns3::RateErrorModel::ErrorUnit ns3::RateErrorModel::GetUnit() const [member function] + cls.add_method('GetUnit', + 'ns3::RateErrorModel::ErrorUnit', + [], + is_const=True) + ## error-model.h (module 'network'): void ns3::RateErrorModel::SetRandomVariable(ns3::Ptr arg0) [member function] + cls.add_method('SetRandomVariable', + 'void', + [param('ns3::Ptr< ns3::RandomVariableStream >', 'arg0')]) + ## error-model.h (module 'network'): void ns3::RateErrorModel::SetRate(double rate) [member function] + cls.add_method('SetRate', + 'void', + [param('double', 'rate')]) + ## error-model.h (module 'network'): void ns3::RateErrorModel::SetUnit(ns3::RateErrorModel::ErrorUnit error_unit) [member function] + cls.add_method('SetUnit', + 'void', + [param('ns3::RateErrorModel::ErrorUnit', 'error_unit')]) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorruptBit(ns3::Ptr p) [member function] + cls.add_method('DoCorruptBit', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorruptByte(ns3::Ptr p) [member function] + cls.add_method('DoCorruptByte', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorruptPkt(ns3::Ptr p) [member function] + cls.add_method('DoCorruptPkt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::RateErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3ReceiveListErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::ReceiveListErrorModel::ReceiveListErrorModel(ns3::ReceiveListErrorModel const & arg0) [constructor] + cls.add_constructor([param('ns3::ReceiveListErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::ReceiveListErrorModel::ReceiveListErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): std::list > ns3::ReceiveListErrorModel::GetList() const [member function] + cls.add_method('GetList', + 'std::list< unsigned int >', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::ReceiveListErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): void ns3::ReceiveListErrorModel::SetList(std::list > const & packetlist) [member function] + cls.add_method('SetList', + 'void', + [param('std::list< unsigned int > const &', 'packetlist')]) + ## error-model.h (module 'network'): bool ns3::ReceiveListErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::ReceiveListErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3RegularWifiMac_methods(root_module, cls): ## regular-wifi-mac.h (module 'wifi'): static ns3::TypeId ns3::RegularWifiMac::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -19392,6 +19640,71 @@ def register_Ns3AdhocWifiMac_methods(root_module, cls): visibility='private', is_virtual=True) return +def register_Ns3BinaryErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::BinaryErrorModel::BinaryErrorModel(ns3::BinaryErrorModel const & arg0) [constructor] + cls.add_constructor([param('ns3::BinaryErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::BinaryErrorModel::BinaryErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): static ns3::TypeId ns3::BinaryErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): bool ns3::BinaryErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::BinaryErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3BurstErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::BurstErrorModel::BurstErrorModel(ns3::BurstErrorModel const & arg0) [constructor] + cls.add_constructor([param('ns3::BurstErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::BurstErrorModel::BurstErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): int64_t ns3::BurstErrorModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) + ## error-model.h (module 'network'): double ns3::BurstErrorModel::GetBurstRate() const [member function] + cls.add_method('GetBurstRate', + 'double', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::BurstErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): void ns3::BurstErrorModel::SetBurstRate(double rate) [member function] + cls.add_method('SetBurstRate', + 'void', + [param('double', 'rate')]) + ## error-model.h (module 'network'): void ns3::BurstErrorModel::SetRandomBurstSize(ns3::Ptr burstSz) [member function] + cls.add_method('SetRandomBurstSize', + 'void', + [param('ns3::Ptr< ns3::RandomVariableStream >', 'burstSz')]) + ## error-model.h (module 'network'): void ns3::BurstErrorModel::SetRandomVariable(ns3::Ptr ranVar) [member function] + cls.add_method('SetRandomVariable', + 'void', + [param('ns3::Ptr< ns3::RandomVariableStream >', 'ranVar')]) + ## error-model.h (module 'network'): bool ns3::BurstErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::BurstErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3CallbackImpl__Ns3ObjectBase___star___Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, cls): ## callback.h (module 'core'): ns3::CallbackImpl::CallbackImpl() [constructor] cls.add_constructor([]) diff --git a/src/wifi/bindings/modulegen__gcc_LP64.py b/src/wifi/bindings/modulegen__gcc_LP64.py index e1ac0a715..86471e37c 100644 --- a/src/wifi/bindings/modulegen__gcc_LP64.py +++ b/src/wifi/bindings/modulegen__gcc_LP64.py @@ -193,7 +193,7 @@ def register_types(module): ## originator-block-ack-agreement.h (module 'wifi'): ns3::OriginatorBlockAckAgreement [class] module.add_class('OriginatorBlockAckAgreement', parent=root_module['ns3::BlockAckAgreement']) ## originator-block-ack-agreement.h (module 'wifi'): ns3::OriginatorBlockAckAgreement::State [enumeration] - module.add_enum('State', ['PENDING', 'ESTABLISHED', 'INACTIVE', 'UNSUCCESSFUL'], outer_class=root_module['ns3::OriginatorBlockAckAgreement']) + module.add_enum('State', ['PENDING', 'ESTABLISHED', 'INACTIVE', 'NO_REPLY', 'RESET', 'REJECTED'], outer_class=root_module['ns3::OriginatorBlockAckAgreement']) ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class] module.add_class('PacketMetadata', import_from_module='ns.network') ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct] @@ -572,6 +572,8 @@ def register_types(module): module.add_class('ErlangRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## erp-information.h (module 'wifi'): ns3::ErpInformation [class] module.add_class('ErpInformation', parent=root_module['ns3::WifiInformationElement']) + ## error-model.h (module 'network'): ns3::ErrorModel [class] + module.add_class('ErrorModel', import_from_module='ns.network', parent=root_module['ns3::Object']) ## error-rate-model.h (module 'wifi'): ns3::ErrorRateModel [class] module.add_class('ErrorRateModel', parent=root_module['ns3::Object']) ## interference-helper.h (module 'wifi'): ns3::Event [class] @@ -636,6 +638,8 @@ def register_types(module): module.add_class('Kun2600MhzPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## wifi-tx-current-model.h (module 'wifi'): ns3::LinearWifiTxCurrentModel [class] module.add_class('LinearWifiTxCurrentModel', parent=root_module['ns3::WifiTxCurrentModel']) + ## error-model.h (module 'network'): ns3::ListErrorModel [class] + module.add_class('ListErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] module.add_class('LogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class] @@ -704,6 +708,12 @@ def register_types(module): module.add_class('QueueSizeChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## queue-size.h (module 'network'): ns3::QueueSizeValue [class] module.add_class('QueueSizeValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## error-model.h (module 'network'): ns3::RateErrorModel [class] + module.add_class('RateErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) + ## error-model.h (module 'network'): ns3::RateErrorModel::ErrorUnit [enumeration] + module.add_enum('ErrorUnit', ['ERROR_UNIT_BIT', 'ERROR_UNIT_BYTE', 'ERROR_UNIT_PACKET'], outer_class=root_module['ns3::RateErrorModel'], import_from_module='ns.network') + ## error-model.h (module 'network'): ns3::ReceiveListErrorModel [class] + module.add_class('ReceiveListErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) ## regular-wifi-mac.h (module 'wifi'): ns3::RegularWifiMac [class] module.add_class('RegularWifiMac', parent=root_module['ns3::WifiMac']) ## rraa-wifi-manager.h (module 'wifi'): ns3::RraaWifiManager [class] @@ -766,6 +776,10 @@ def register_types(module): module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) ## adhoc-wifi-mac.h (module 'wifi'): ns3::AdhocWifiMac [class] module.add_class('AdhocWifiMac', parent=root_module['ns3::RegularWifiMac']) + ## error-model.h (module 'network'): ns3::BinaryErrorModel [class] + module.add_class('BinaryErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) + ## error-model.h (module 'network'): ns3::BurstErrorModel [class] + module.add_class('BurstErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) ## callback.h (module 'core'): ns3::CallbackImpl [class] module.add_class('CallbackImpl', import_from_module='ns.core', template_parameters=['ns3::ObjectBase *', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], parent=root_module['ns3::CallbackImplBase']) ## callback.h (module 'core'): ns3::CallbackImpl [class] @@ -843,6 +857,7 @@ def register_types(module): module.add_container('std::vector< double >', 'double', container_type=u'vector') module.add_container('ns3::Bands', 'ns3::BandInfo', container_type=u'vector') module.add_container('std::vector< unsigned short >', 'short unsigned int', container_type=u'vector') + module.add_container('std::list< unsigned int >', 'unsigned int', container_type=u'list') module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::AmpduSubframeHeader > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::AmpduSubframeHeader >', container_type=u'list') module.add_container('ns3::MpduAggregator::DeaggregatedMpdus', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::AmpduSubframeHeader >', container_type=u'list') module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader >', container_type=u'list') @@ -1253,6 +1268,7 @@ def register_methods(root_module): register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue']) register_Ns3ErlangRandomVariable_methods(root_module, root_module['ns3::ErlangRandomVariable']) register_Ns3ErpInformation_methods(root_module, root_module['ns3::ErpInformation']) + register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel']) register_Ns3ErrorRateModel_methods(root_module, root_module['ns3::ErrorRateModel']) register_Ns3Event_methods(root_module, root_module['ns3::Event']) register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) @@ -1285,6 +1301,7 @@ def register_methods(root_module): register_Ns3JakesPropagationLossModel_methods(root_module, root_module['ns3::JakesPropagationLossModel']) register_Ns3Kun2600MhzPropagationLossModel_methods(root_module, root_module['ns3::Kun2600MhzPropagationLossModel']) register_Ns3LinearWifiTxCurrentModel_methods(root_module, root_module['ns3::LinearWifiTxCurrentModel']) + register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel']) register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable']) register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) @@ -1318,6 +1335,8 @@ def register_methods(root_module): register_Ns3Queue__Ns3WifiMacQueueItem_methods(root_module, root_module['ns3::Queue< ns3::WifiMacQueueItem >']) register_Ns3QueueSizeChecker_methods(root_module, root_module['ns3::QueueSizeChecker']) register_Ns3QueueSizeValue_methods(root_module, root_module['ns3::QueueSizeValue']) + register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel']) + register_Ns3ReceiveListErrorModel_methods(root_module, root_module['ns3::ReceiveListErrorModel']) register_Ns3RegularWifiMac_methods(root_module, root_module['ns3::RegularWifiMac']) register_Ns3RraaWifiManager_methods(root_module, root_module['ns3::RraaWifiManager']) register_Ns3RrpaaWifiManager_methods(root_module, root_module['ns3::RrpaaWifiManager']) @@ -1348,6 +1367,8 @@ def register_methods(root_module): register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) register_Ns3AdhocWifiMac_methods(root_module, root_module['ns3::AdhocWifiMac']) + register_Ns3BinaryErrorModel_methods(root_module, root_module['ns3::BinaryErrorModel']) + register_Ns3BurstErrorModel_methods(root_module, root_module['ns3::BurstErrorModel']) register_Ns3CallbackImpl__Ns3ObjectBase___star___Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, root_module['ns3::CallbackImpl< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >']) register_Ns3CallbackImpl__Void_Bool_Unsigned_int_Double_Ns3Time_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, root_module['ns3::CallbackImpl< void, bool, unsigned int, double, ns3::Time, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >']) register_Ns3CallbackImpl__Void_Const_ns3WifiMacHeader___amp___Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, root_module['ns3::CallbackImpl< void, const ns3::WifiMacHeader &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >']) @@ -3847,13 +3868,23 @@ def register_Ns3OriginatorBlockAckAgreement_methods(root_module, cls): 'bool', [], is_const=True) + ## originator-block-ack-agreement.h (module 'wifi'): bool ns3::OriginatorBlockAckAgreement::IsNoReply() const [member function] + cls.add_method('IsNoReply', + 'bool', + [], + is_const=True) ## originator-block-ack-agreement.h (module 'wifi'): bool ns3::OriginatorBlockAckAgreement::IsPending() const [member function] cls.add_method('IsPending', 'bool', [], is_const=True) - ## originator-block-ack-agreement.h (module 'wifi'): bool ns3::OriginatorBlockAckAgreement::IsUnsuccessful() const [member function] - cls.add_method('IsUnsuccessful', + ## originator-block-ack-agreement.h (module 'wifi'): bool ns3::OriginatorBlockAckAgreement::IsRejected() const [member function] + cls.add_method('IsRejected', + 'bool', + [], + is_const=True) + ## originator-block-ack-agreement.h (module 'wifi'): bool ns3::OriginatorBlockAckAgreement::IsReset() const [member function] + cls.add_method('IsReset', 'bool', [], is_const=True) @@ -8817,6 +8848,16 @@ def register_Ns3WifiMac_methods(root_module, cls): 'void', [param('ns3::Ptr< ns3::Txop >', 'dcf'), param('uint32_t', 'cwmin'), param('uint32_t', 'cwmax'), param('bool', 'isDsss'), param('ns3::AcIndex', 'ac')], visibility='protected') + ## wifi-mac.h (module 'wifi'): ns3::Ptr ns3::WifiMac::GetHeConfiguration() const [member function] + cls.add_method('GetHeConfiguration', + 'ns3::Ptr< ns3::HeConfiguration >', + [], + is_const=True, visibility='protected') + ## wifi-mac.h (module 'wifi'): ns3::Ptr ns3::WifiMac::GetHtConfiguration() const [member function] + cls.add_method('GetHtConfiguration', + 'ns3::Ptr< ns3::HtConfiguration >', + [], + is_const=True, visibility='protected') ## wifi-mac.h (module 'wifi'): void ns3::WifiMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function] cls.add_method('FinishConfigureStandard', 'void', @@ -10165,6 +10206,10 @@ def register_Ns3WifiPhy_methods(root_module, cls): cls.add_method('SetOffMode', 'void', []) + ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetPostReceptionErrorModel(ns3::Ptr const em) [member function] + cls.add_method('SetPostReceptionErrorModel', + 'void', + [param('ns3::Ptr< ns3::ErrorModel > const', 'em')]) ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::RxErrorCallback callback) [member function] cls.add_method('SetReceiveErrorCallback', 'void', @@ -11996,8 +12041,16 @@ def register_Ns3BlockAckManager_methods(root_module, cls): cls.add_method('NotifyAgreementEstablished', 'void', [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('uint16_t', 'startingSeq')]) - ## block-ack-manager.h (module 'wifi'): void ns3::BlockAckManager::NotifyAgreementUnsuccessful(ns3::Mac48Address recipient, uint8_t tid) [member function] - cls.add_method('NotifyAgreementUnsuccessful', + ## block-ack-manager.h (module 'wifi'): void ns3::BlockAckManager::NotifyAgreementNoReply(ns3::Mac48Address recipient, uint8_t tid) [member function] + cls.add_method('NotifyAgreementNoReply', + 'void', + [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) + ## block-ack-manager.h (module 'wifi'): void ns3::BlockAckManager::NotifyAgreementRejected(ns3::Mac48Address recipient, uint8_t tid) [member function] + cls.add_method('NotifyAgreementRejected', + 'void', + [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) + ## block-ack-manager.h (module 'wifi'): void ns3::BlockAckManager::NotifyAgreementReset(ns3::Mac48Address recipient, uint8_t tid) [member function] + cls.add_method('NotifyAgreementReset', 'void', [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) ## block-ack-manager.h (module 'wifi'): void ns3::BlockAckManager::NotifyGotBlockAck(ns3::CtrlBAckResponseHeader const * blockAck, ns3::Mac48Address recipient, double rxSnr, ns3::WifiMode txMode, double dataSnr) [member function] @@ -13952,6 +14005,49 @@ def register_Ns3ErpInformation_methods(root_module, cls): [param('uint8_t', 'useProtection')]) return +def register_Ns3ErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [constructor] + cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::ErrorModel::ErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): void ns3::ErrorModel::Disable() [member function] + cls.add_method('Disable', + 'void', + []) + ## error-model.h (module 'network'): void ns3::ErrorModel::Enable() [member function] + cls.add_method('Enable', + 'void', + []) + ## error-model.h (module 'network'): static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): bool ns3::ErrorModel::IsCorrupt(ns3::Ptr pkt) [member function] + cls.add_method('IsCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'pkt')]) + ## error-model.h (module 'network'): bool ns3::ErrorModel::IsEnabled() const [member function] + cls.add_method('IsEnabled', + 'bool', + [], + is_const=True) + ## error-model.h (module 'network'): void ns3::ErrorModel::Reset() [member function] + cls.add_method('Reset', + 'void', + []) + ## error-model.h (module 'network'): bool ns3::ErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + is_pure_virtual=True, visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::ErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + is_pure_virtual=True, visibility='private', is_virtual=True) + return + def register_Ns3ErrorRateModel_methods(root_module, cls): ## error-rate-model.h (module 'wifi'): ns3::ErrorRateModel::ErrorRateModel() [constructor] cls.add_constructor([]) @@ -14541,6 +14637,11 @@ def register_Ns3HeOperation_methods(root_module, cls): 'uint16_t', [], is_const=True) + ## he-operation.h (module 'wifi'): uint8_t ns3::HeOperation::GetBssColor() const [member function] + cls.add_method('GetBssColor', + 'uint8_t', + [], + is_const=True) ## he-operation.h (module 'wifi'): uint32_t ns3::HeOperation::GetHeOperationParameters() const [member function] cls.add_method('GetHeOperationParameters', 'uint32_t', @@ -14566,6 +14667,10 @@ def register_Ns3HeOperation_methods(root_module, cls): 'void', [param('ns3::Buffer::Iterator', 'start')], is_const=True, is_virtual=True) + ## he-operation.h (module 'wifi'): void ns3::HeOperation::SetBssColor(uint8_t bssColor) [member function] + cls.add_method('SetBssColor', + 'void', + [param('uint8_t', 'bssColor')]) ## he-operation.h (module 'wifi'): void ns3::HeOperation::SetHeOperationParameters(uint32_t ctrl) [member function] cls.add_method('SetHeOperationParameters', 'void', @@ -15486,6 +15591,37 @@ def register_Ns3LinearWifiTxCurrentModel_methods(root_module, cls): is_static=True) return +def register_Ns3ListErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [constructor] + cls.add_constructor([param('ns3::ListErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::ListErrorModel::ListErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): std::list > ns3::ListErrorModel::GetList() const [member function] + cls.add_method('GetList', + 'std::list< unsigned int >', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): void ns3::ListErrorModel::SetList(std::list > const & packetlist) [member function] + cls.add_method('SetList', + 'void', + [param('std::list< unsigned int > const &', 'packetlist')]) + ## error-model.h (module 'network'): bool ns3::ListErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::ListErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3LogDistancePropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::LogDistancePropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -17166,13 +17302,18 @@ def register_Ns3QosTxop_methods(root_module, cls): 'void', [], is_virtual=True) + ## qos-txop.h (module 'wifi'): ns3::Time ns3::QosTxop::GetAddBaResponseTimeout() const [member function] + cls.add_method('GetAddBaResponseTimeout', + 'ns3::Time', + [], + is_const=True) ## qos-txop.h (module 'wifi'): bool ns3::QosTxop::GetAmpduExist(ns3::Mac48Address dest) const [member function] cls.add_method('GetAmpduExist', 'bool', [param('ns3::Mac48Address', 'dest')], is_const=True) - ## qos-txop.h (module 'wifi'): bool ns3::QosTxop::GetBaAgreementExists(ns3::Mac48Address address, uint8_t tid) const [member function] - cls.add_method('GetBaAgreementExists', + ## qos-txop.h (module 'wifi'): bool ns3::QosTxop::GetBaAgreementEstablished(ns3::Mac48Address address, uint8_t tid) const [member function] + cls.add_method('GetBaAgreementEstablished', 'bool', [param('ns3::Mac48Address', 'address'), param('uint8_t', 'tid')], is_const=True) @@ -17181,6 +17322,11 @@ def register_Ns3QosTxop_methods(root_module, cls): 'uint8_t', [], is_const=True) + ## qos-txop.h (module 'wifi'): ns3::Time ns3::QosTxop::GetFailedAddBaTimeout() const [member function] + cls.add_method('GetFailedAddBaTimeout', + 'ns3::Time', + [], + is_const=True) ## qos-txop.h (module 'wifi'): ns3::Ptr ns3::QosTxop::GetFragmentPacket(ns3::WifiMacHeader * hdr) [member function] cls.add_method('GetFragmentPacket', 'ns3::Ptr< ns3::Packet >', @@ -17309,6 +17455,10 @@ def register_Ns3QosTxop_methods(root_module, cls): cls.add_method('SetAccessCategory', 'void', [param('ns3::AcIndex', 'ac')]) + ## qos-txop.h (module 'wifi'): void ns3::QosTxop::SetAddBaResponseTimeout(ns3::Time addBaResponseTimeout) [member function] + cls.add_method('SetAddBaResponseTimeout', + 'void', + [param('ns3::Time', 'addBaResponseTimeout')]) ## qos-txop.h (module 'wifi'): void ns3::QosTxop::SetAmpduExist(ns3::Mac48Address dest, bool enableAmpdu) [member function] cls.add_method('SetAmpduExist', 'void', @@ -17321,6 +17471,10 @@ def register_Ns3QosTxop_methods(root_module, cls): cls.add_method('SetBlockAckThreshold', 'void', [param('uint8_t', 'threshold')]) + ## qos-txop.h (module 'wifi'): void ns3::QosTxop::SetFailedAddBaTimeout(ns3::Time failedAddBaTimeout) [member function] + cls.add_method('SetFailedAddBaTimeout', + 'void', + [param('ns3::Time', 'failedAddBaTimeout')]) ## qos-txop.h (module 'wifi'): void ns3::QosTxop::SetMpduAggregator(ns3::Ptr const aggr) [member function] cls.add_method('SetMpduAggregator', 'void', @@ -17503,6 +17657,100 @@ def register_Ns3QueueSizeValue_methods(root_module, cls): [param('ns3::QueueSize const &', 'value')]) return +def register_Ns3RateErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [constructor] + cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::RateErrorModel::RateErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): int64_t ns3::RateErrorModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) + ## error-model.h (module 'network'): double ns3::RateErrorModel::GetRate() const [member function] + cls.add_method('GetRate', + 'double', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): ns3::RateErrorModel::ErrorUnit ns3::RateErrorModel::GetUnit() const [member function] + cls.add_method('GetUnit', + 'ns3::RateErrorModel::ErrorUnit', + [], + is_const=True) + ## error-model.h (module 'network'): void ns3::RateErrorModel::SetRandomVariable(ns3::Ptr arg0) [member function] + cls.add_method('SetRandomVariable', + 'void', + [param('ns3::Ptr< ns3::RandomVariableStream >', 'arg0')]) + ## error-model.h (module 'network'): void ns3::RateErrorModel::SetRate(double rate) [member function] + cls.add_method('SetRate', + 'void', + [param('double', 'rate')]) + ## error-model.h (module 'network'): void ns3::RateErrorModel::SetUnit(ns3::RateErrorModel::ErrorUnit error_unit) [member function] + cls.add_method('SetUnit', + 'void', + [param('ns3::RateErrorModel::ErrorUnit', 'error_unit')]) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorruptBit(ns3::Ptr p) [member function] + cls.add_method('DoCorruptBit', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorruptByte(ns3::Ptr p) [member function] + cls.add_method('DoCorruptByte', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorruptPkt(ns3::Ptr p) [member function] + cls.add_method('DoCorruptPkt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::RateErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3ReceiveListErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::ReceiveListErrorModel::ReceiveListErrorModel(ns3::ReceiveListErrorModel const & arg0) [constructor] + cls.add_constructor([param('ns3::ReceiveListErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::ReceiveListErrorModel::ReceiveListErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): std::list > ns3::ReceiveListErrorModel::GetList() const [member function] + cls.add_method('GetList', + 'std::list< unsigned int >', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::ReceiveListErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): void ns3::ReceiveListErrorModel::SetList(std::list > const & packetlist) [member function] + cls.add_method('SetList', + 'void', + [param('std::list< unsigned int > const &', 'packetlist')]) + ## error-model.h (module 'network'): bool ns3::ReceiveListErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::ReceiveListErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3RegularWifiMac_methods(root_module, cls): ## regular-wifi-mac.h (module 'wifi'): static ns3::TypeId ns3::RegularWifiMac::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -19392,6 +19640,71 @@ def register_Ns3AdhocWifiMac_methods(root_module, cls): visibility='private', is_virtual=True) return +def register_Ns3BinaryErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::BinaryErrorModel::BinaryErrorModel(ns3::BinaryErrorModel const & arg0) [constructor] + cls.add_constructor([param('ns3::BinaryErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::BinaryErrorModel::BinaryErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): static ns3::TypeId ns3::BinaryErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): bool ns3::BinaryErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::BinaryErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3BurstErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::BurstErrorModel::BurstErrorModel(ns3::BurstErrorModel const & arg0) [constructor] + cls.add_constructor([param('ns3::BurstErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::BurstErrorModel::BurstErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): int64_t ns3::BurstErrorModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) + ## error-model.h (module 'network'): double ns3::BurstErrorModel::GetBurstRate() const [member function] + cls.add_method('GetBurstRate', + 'double', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::BurstErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): void ns3::BurstErrorModel::SetBurstRate(double rate) [member function] + cls.add_method('SetBurstRate', + 'void', + [param('double', 'rate')]) + ## error-model.h (module 'network'): void ns3::BurstErrorModel::SetRandomBurstSize(ns3::Ptr burstSz) [member function] + cls.add_method('SetRandomBurstSize', + 'void', + [param('ns3::Ptr< ns3::RandomVariableStream >', 'burstSz')]) + ## error-model.h (module 'network'): void ns3::BurstErrorModel::SetRandomVariable(ns3::Ptr ranVar) [member function] + cls.add_method('SetRandomVariable', + 'void', + [param('ns3::Ptr< ns3::RandomVariableStream >', 'ranVar')]) + ## error-model.h (module 'network'): bool ns3::BurstErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::BurstErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3CallbackImpl__Ns3ObjectBase___star___Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, cls): ## callback.h (module 'core'): ns3::CallbackImpl::CallbackImpl() [constructor] cls.add_constructor([]) diff --git a/src/wifi/model/wifi-phy.h b/src/wifi/model/wifi-phy.h index 2fda0c88a..05584b4df 100644 --- a/src/wifi/model/wifi-phy.h +++ b/src/wifi/model/wifi-phy.h @@ -23,6 +23,7 @@ #define WIFI_PHY_H #include "ns3/event-id.h" +#include "ns3/error-model.h" #include "wifi-mpdu-type.h" #include "wifi-phy-standard.h" #include "interference-helper.h" @@ -41,7 +42,6 @@ class WifiPhyStateHelper; class FrameCaptureModel; class WifiRadioEnergyModel; class UniformRandomVariable; -class ErrorModel; /// SignalNoiseDbm structure struct SignalNoiseDbm