diff --git a/src/csma/bindings/modulegen__gcc_ILP32.py b/src/csma/bindings/modulegen__gcc_ILP32.py index 11a13b872..4b357dfe6 100644 --- a/src/csma/bindings/modulegen__gcc_ILP32.py +++ b/src/csma/bindings/modulegen__gcc_ILP32.py @@ -108,12 +108,6 @@ def register_types(module): module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper'], import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class] module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## random-variable.h (module 'core'): ns3::RandomVariable [class] - module.add_class('RandomVariable', import_from_module='ns.core') - ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager [class] - module.add_class('RngSeedManager', import_from_module='ns.core') - ## random-variable.h (module 'core'): ns3::SequentialVariable [class] - module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] @@ -122,8 +116,6 @@ def register_types(module): module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] module.add_class('TagBuffer', import_from_module='ns.network') - ## random-variable.h (module 'core'): ns3::TriangularVariable [class] - module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## type-id.h (module 'core'): ns3::TypeId [class] module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] @@ -132,50 +124,26 @@ def register_types(module): module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## random-variable.h (module 'core'): ns3::UniformVariable [class] - module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::WeibullVariable [class] - module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::ZetaVariable [class] - module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::ZipfVariable [class] - module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] module.add_class('int64x64_t', import_from_module='ns.core') ## chunk.h (module 'network'): ns3::Chunk [class] module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) - ## random-variable.h (module 'core'): ns3::ConstantVariable [class] - module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## csma-helper.h (module 'csma'): ns3::CsmaHelper [class] module.add_class('CsmaHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## random-variable.h (module 'core'): ns3::DeterministicVariable [class] - module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class] - module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::ErlangVariable [class] - module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::ExponentialVariable [class] - module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::GammaVariable [class] - module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## header.h (module 'network'): ns3::Header [class] module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk']) - ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class] - module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable']) - ## random-variable.h (module 'core'): ns3::LogNormalVariable [class] - module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::NormalVariable [class] - module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## object.h (module 'core'): ns3::Object [class] module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) ## object.h (module 'core'): ns3::Object::AggregateIterator [class] module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object']) - ## random-variable.h (module 'core'): ns3::ParetoVariable [class] - module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper [class] module.add_class('PcapFileWrapper', import_from_module='ns.network', parent=root_module['ns3::Object']) + ## random-variable-stream.h (module 'core'): ns3::RandomVariableStream [class] + module.add_class('RandomVariableStream', import_from_module='ns.core', parent=root_module['ns3::Object']) + ## random-variable-stream.h (module 'core'): ns3::SequentialRandomVariable [class] + module.add_class('SequentialRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] @@ -204,6 +172,16 @@ def register_types(module): module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) + ## random-variable-stream.h (module 'core'): ns3::TriangularRandomVariable [class] + module.add_class('TriangularRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## random-variable-stream.h (module 'core'): ns3::UniformRandomVariable [class] + module.add_class('UniformRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## random-variable-stream.h (module 'core'): ns3::WeibullRandomVariable [class] + module.add_class('WeibullRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## random-variable-stream.h (module 'core'): ns3::ZetaRandomVariable [class] + module.add_class('ZetaRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## random-variable-stream.h (module 'core'): ns3::ZipfRandomVariable [class] + module.add_class('ZipfRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h (module 'core'): ns3::AttributeChecker [class] @@ -218,16 +196,28 @@ def register_types(module): module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## channel.h (module 'network'): ns3::Channel [class] module.add_class('Channel', import_from_module='ns.network', parent=root_module['ns3::Object']) + ## random-variable-stream.h (module 'core'): ns3::ConstantRandomVariable [class] + module.add_class('ConstantRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## csma-channel.h (module 'csma'): ns3::CsmaChannel [class] module.add_class('CsmaChannel', parent=root_module['ns3::Channel']) ## data-rate.h (module 'network'): ns3::DataRateChecker [class] module.add_class('DataRateChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## data-rate.h (module 'network'): ns3::DataRateValue [class] module.add_class('DataRateValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## random-variable-stream.h (module 'core'): ns3::DeterministicRandomVariable [class] + module.add_class('DeterministicRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## random-variable-stream.h (module 'core'): ns3::EmpiricalRandomVariable [class] + module.add_class('EmpiricalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class] module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## random-variable-stream.h (module 'core'): ns3::ErlangRandomVariable [class] + module.add_class('ErlangRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## event-impl.h (module 'core'): ns3::EventImpl [class] module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) + ## random-variable-stream.h (module 'core'): ns3::ExponentialRandomVariable [class] + module.add_class('ExponentialRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## random-variable-stream.h (module 'core'): ns3::GammaRandomVariable [class] + module.add_class('GammaRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class] module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class] @@ -244,6 +234,8 @@ def register_types(module): module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class] module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class] + module.add_class('LogNormalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker [class] module.add_class('Mac48AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## mac48-address.h (module 'network'): ns3::Mac48AddressValue [class] @@ -256,6 +248,8 @@ def register_types(module): module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter >']) ## node.h (module 'network'): ns3::Node [class] module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object']) + ## random-variable-stream.h (module 'core'): ns3::NormalRandomVariable [class] + module.add_class('NormalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class] module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class] @@ -264,10 +258,8 @@ def register_types(module): module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter >']) ## packet.h (module 'network'): ns3::Packet [class] module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) - ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class] - module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) - ## random-variable.h (module 'core'): ns3::RandomVariableValue [class] - module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## random-variable-stream.h (module 'core'): ns3::ParetoRandomVariable [class] + module.add_class('ParetoRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## nstime.h (module 'core'): ns3::TimeChecker [class] module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## nstime.h (module 'core'): ns3::TimeValue [class] @@ -284,10 +276,6 @@ def register_types(module): module.add_class('CsmaNetDevice', parent=root_module['ns3::NetDevice']) ## csma-net-device.h (module 'csma'): ns3::CsmaNetDevice::EncapsulationMode [enumeration] module.add_enum('EncapsulationMode', ['ILLEGAL', 'DIX', 'LLC'], outer_class=root_module['ns3::CsmaNetDevice']) - typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager') - typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*') - typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&') - module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager') ## Register a nested module for the namespace FatalImpl @@ -337,39 +325,23 @@ def register_methods(root_module): register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile']) register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) - register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) - register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager']) - register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) - register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) - register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) - register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) - register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) - register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper']) - register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable']) - register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable']) - register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable']) - register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable']) - register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable']) register_Ns3Header_methods(root_module, root_module['ns3::Header']) - register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable']) - register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable']) - register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable']) register_Ns3Object_methods(root_module, root_module['ns3::Object']) register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) - register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper']) + register_Ns3RandomVariableStream_methods(root_module, root_module['ns3::RandomVariableStream']) + register_Ns3SequentialRandomVariable_methods(root_module, root_module['ns3::SequentialRandomVariable']) register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >']) @@ -382,6 +354,11 @@ def register_methods(root_module): register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) + register_Ns3TriangularRandomVariable_methods(root_module, root_module['ns3::TriangularRandomVariable']) + register_Ns3UniformRandomVariable_methods(root_module, root_module['ns3::UniformRandomVariable']) + register_Ns3WeibullRandomVariable_methods(root_module, root_module['ns3::WeibullRandomVariable']) + register_Ns3ZetaRandomVariable_methods(root_module, root_module['ns3::ZetaRandomVariable']) + register_Ns3ZipfRandomVariable_methods(root_module, root_module['ns3::ZipfRandomVariable']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue']) @@ -389,11 +366,17 @@ def register_methods(root_module): register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) register_Ns3Channel_methods(root_module, root_module['ns3::Channel']) + register_Ns3ConstantRandomVariable_methods(root_module, root_module['ns3::ConstantRandomVariable']) register_Ns3CsmaChannel_methods(root_module, root_module['ns3::CsmaChannel']) register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker']) register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue']) + register_Ns3DeterministicRandomVariable_methods(root_module, root_module['ns3::DeterministicRandomVariable']) + register_Ns3EmpiricalRandomVariable_methods(root_module, root_module['ns3::EmpiricalRandomVariable']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) + register_Ns3ErlangRandomVariable_methods(root_module, root_module['ns3::ErlangRandomVariable']) register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) + register_Ns3ExponentialRandomVariable_methods(root_module, root_module['ns3::ExponentialRandomVariable']) + register_Ns3GammaRandomVariable_methods(root_module, root_module['ns3::GammaRandomVariable']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker']) @@ -402,17 +385,18 @@ def register_methods(root_module): register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) + register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable']) register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) register_Ns3Node_methods(root_module, root_module['ns3::Node']) + register_Ns3NormalRandomVariable_methods(root_module, root_module['ns3::NormalRandomVariable']) register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper']) register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) - register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) - register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue']) + register_Ns3ParetoRandomVariable_methods(root_module, root_module['ns3::ParetoRandomVariable']) register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) @@ -657,6 +641,10 @@ def register_Ns3Backoff_methods(root_module, cls): cls.add_constructor([]) ## backoff.h (module 'csma'): ns3::Backoff::Backoff(ns3::Time slotTime, uint32_t minSlots, uint32_t maxSlots, uint32_t ceiling, uint32_t maxRetries) [constructor] cls.add_constructor([param('ns3::Time', 'slotTime'), param('uint32_t', 'minSlots'), param('uint32_t', 'maxSlots'), param('uint32_t', 'ceiling'), param('uint32_t', 'maxRetries')]) + ## backoff.h (module 'csma'): int64_t ns3::Backoff::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## backoff.h (module 'csma'): ns3::Time ns3::Backoff::GetBackoffTime() [member function] cls.add_method('GetBackoffTime', 'ns3::Time', @@ -2166,65 +2154,6 @@ def register_Ns3PcapHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3RandomVariable_methods(root_module, cls): - cls.add_output_stream_operator() - ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor] - cls.add_constructor([param('ns3::RandomVariable const &', 'o')]) - ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function] - cls.add_method('GetInteger', - 'uint32_t', - [], - is_const=True) - ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - return - -def register_Ns3RngSeedManager_methods(root_module, cls): - ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor] - cls.add_constructor([]) - ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')]) - ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function] - cls.add_method('GetNextStreamIndex', - 'uint64_t', - [], - is_static=True) - ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function] - cls.add_method('GetRun', - 'uint64_t', - [], - is_static=True) - ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function] - cls.add_method('GetSeed', - 'uint32_t', - [], - is_static=True) - ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function] - cls.add_method('SetRun', - 'void', - [param('uint64_t', 'run')], - is_static=True) - ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function] - cls.add_method('SetSeed', - 'void', - [param('uint32_t', 'seed')], - is_static=True) - return - -def register_Ns3SequentialVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor] - cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')]) - ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor] - cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')]) - return - def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -2412,15 +2341,6 @@ def register_Ns3TagBuffer_methods(root_module, cls): [param('uint8_t', 'v')]) return -def register_Ns3TriangularVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor] - cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')]) - return - def register_Ns3TypeId_methods(root_module, cls): cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') @@ -2595,59 +2515,6 @@ def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): cls.add_instance_attribute('name', 'std::string', is_const=False) return -def register_Ns3UniformVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor] - cls.add_constructor([param('double', 's'), param('double', 'l')]) - ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function] - cls.add_method('GetInteger', - 'uint32_t', - [param('uint32_t', 's'), param('uint32_t', 'l')]) - ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function] - cls.add_method('GetValue', - 'double', - [param('double', 's'), param('double', 'l')]) - return - -def register_Ns3WeibullVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's')]) - ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) - return - -def register_Ns3ZetaVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor] - cls.add_constructor([param('double', 'alpha')]) - ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor] - cls.add_constructor([]) - return - -def register_Ns3ZipfVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor] - cls.add_constructor([param('long int', 'N'), param('double', 'alpha')]) - ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor] - cls.add_constructor([]) - return - def register_Ns3Empty_methods(root_module, cls): ## empty.h (module 'core'): ns3::empty::empty() [constructor] cls.add_constructor([]) @@ -2784,24 +2651,15 @@ def register_Ns3Chunk_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3ConstantVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor] - cls.add_constructor([param('double', 'c')]) - ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function] - cls.add_method('SetConstant', - 'void', - [param('double', 'c')]) - return - def register_Ns3CsmaHelper_methods(root_module, cls): ## csma-helper.h (module 'csma'): ns3::CsmaHelper::CsmaHelper(ns3::CsmaHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::CsmaHelper const &', 'arg0')]) ## csma-helper.h (module 'csma'): ns3::CsmaHelper::CsmaHelper() [constructor] cls.add_constructor([]) + ## csma-helper.h (module 'csma'): int64_t ns3::CsmaHelper::AssignStreams(ns3::NetDeviceContainer c, int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('ns3::NetDeviceContainer', 'c'), param('int64_t', 'stream')]) ## csma-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr node) const [member function] cls.add_method('Install', 'ns3::NetDeviceContainer', @@ -2871,73 +2729,6 @@ def register_Ns3CsmaHelper_methods(root_module, cls): visibility='private', is_virtual=True) return -def register_Ns3DeterministicVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor] - cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')]) - return - -def register_Ns3EmpiricalVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function] - cls.add_method('CDF', - 'void', - [param('double', 'v'), param('double', 'c')]) - return - -def register_Ns3ErlangVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor] - cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')]) - ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function] - cls.add_method('GetValue', - 'double', - [param('unsigned int', 'k'), param('double', 'lambda')], - is_const=True) - return - -def register_Ns3ExponentialVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'b')]) - return - -def register_Ns3GammaVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor] - cls.add_constructor([param('double', 'alpha'), param('double', 'beta')]) - ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function] - cls.add_method('GetValue', - 'double', - [param('double', 'alpha'), param('double', 'beta')], - is_const=True) - return - def register_Ns3Header_methods(root_module, cls): cls.add_output_stream_operator() ## header.h (module 'network'): ns3::Header::Header() [constructor] @@ -2971,31 +2762,6 @@ def register_Ns3Header_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3IntEmpiricalVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor] - cls.add_constructor([]) - return - -def register_Ns3LogNormalVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor] - cls.add_constructor([param('double', 'mu'), param('double', 'sigma')]) - return - -def register_Ns3NormalVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'v')]) - ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')]) - return - def register_Ns3Object_methods(root_module, cls): ## object.h (module 'core'): ns3::Object::Object() [constructor] cls.add_constructor([]) @@ -3062,23 +2828,6 @@ def register_Ns3ObjectAggregateIterator_methods(root_module, cls): []) return -def register_Ns3ParetoVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's')]) - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair params) [constructor] - cls.add_constructor([param('std::pair< double, double >', 'params')]) - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair params, double b) [constructor] - cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')]) - return - def register_Ns3PcapFileWrapper_methods(root_module, cls): ## pcap-file-wrapper.h (module 'network'): static ns3::TypeId ns3::PcapFileWrapper::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -3155,6 +2904,89 @@ def register_Ns3PcapFileWrapper_methods(root_module, cls): []) return +def register_Ns3RandomVariableStream_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::RandomVariableStream::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::RandomVariableStream::RandomVariableStream() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): void ns3::RandomVariableStream::SetStream(int64_t stream) [member function] + cls.add_method('SetStream', + 'void', + [param('int64_t', 'stream')]) + ## random-variable-stream.h (module 'core'): int64_t ns3::RandomVariableStream::GetStream() const [member function] + cls.add_method('GetStream', + 'int64_t', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): void ns3::RandomVariableStream::SetAntithetic(bool isAntithetic) [member function] + cls.add_method('SetAntithetic', + 'void', + [param('bool', 'isAntithetic')]) + ## random-variable-stream.h (module 'core'): bool ns3::RandomVariableStream::IsAntithetic() const [member function] + cls.add_method('IsAntithetic', + 'bool', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::RandomVariableStream::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_pure_virtual=True, is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::RandomVariableStream::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_pure_virtual=True, is_virtual=True) + ## random-variable-stream.h (module 'core'): ns3::RngStream * ns3::RandomVariableStream::Peek() const [member function] + cls.add_method('Peek', + 'ns3::RngStream *', + [], + is_const=True, visibility='protected') + return + +def register_Ns3SequentialRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::SequentialRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::SequentialRandomVariable::SequentialRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::SequentialRandomVariable::GetMin() const [member function] + cls.add_method('GetMin', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::SequentialRandomVariable::GetMax() const [member function] + cls.add_method('GetMax', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): ns3::Ptr ns3::SequentialRandomVariable::GetIncrement() const [member function] + cls.add_method('GetIncrement', + 'ns3::Ptr< ns3::RandomVariableStream >', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::SequentialRandomVariable::GetConsecutive() const [member function] + cls.add_method('GetConsecutive', + 'uint32_t', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::SequentialRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::SequentialRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -3479,6 +3311,201 @@ def register_Ns3Trailer_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return +def register_Ns3TriangularRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::TriangularRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::TriangularRandomVariable::TriangularRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::TriangularRandomVariable::GetMean() const [member function] + cls.add_method('GetMean', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::TriangularRandomVariable::GetMin() const [member function] + cls.add_method('GetMin', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::TriangularRandomVariable::GetMax() const [member function] + cls.add_method('GetMax', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::TriangularRandomVariable::GetValue(double mean, double min, double max) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'mean'), param('double', 'min'), param('double', 'max')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::TriangularRandomVariable::GetInteger(uint32_t mean, uint32_t min, uint32_t max) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'mean'), param('uint32_t', 'min'), param('uint32_t', 'max')]) + ## random-variable-stream.h (module 'core'): double ns3::TriangularRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::TriangularRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + +def register_Ns3UniformRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::UniformRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::UniformRandomVariable::UniformRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::UniformRandomVariable::GetMin() const [member function] + cls.add_method('GetMin', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::UniformRandomVariable::GetMax() const [member function] + cls.add_method('GetMax', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::UniformRandomVariable::GetValue(double min, double max) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'min'), param('double', 'max')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::UniformRandomVariable::GetInteger(uint32_t min, uint32_t max) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'min'), param('uint32_t', 'max')]) + ## random-variable-stream.h (module 'core'): double ns3::UniformRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::UniformRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + +def register_Ns3WeibullRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::WeibullRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::WeibullRandomVariable::WeibullRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::WeibullRandomVariable::GetScale() const [member function] + cls.add_method('GetScale', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::WeibullRandomVariable::GetShape() const [member function] + cls.add_method('GetShape', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::WeibullRandomVariable::GetBound() const [member function] + cls.add_method('GetBound', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::WeibullRandomVariable::GetValue(double scale, double shape, double bound) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'scale'), param('double', 'shape'), param('double', 'bound')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::WeibullRandomVariable::GetInteger(uint32_t scale, uint32_t shape, uint32_t bound) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'scale'), param('uint32_t', 'shape'), param('uint32_t', 'bound')]) + ## random-variable-stream.h (module 'core'): double ns3::WeibullRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::WeibullRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + +def register_Ns3ZetaRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ZetaRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::ZetaRandomVariable::ZetaRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::ZetaRandomVariable::GetAlpha() const [member function] + cls.add_method('GetAlpha', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ZetaRandomVariable::GetValue(double alpha) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'alpha')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ZetaRandomVariable::GetInteger(uint32_t alpha) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'alpha')]) + ## random-variable-stream.h (module 'core'): double ns3::ZetaRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ZetaRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + +def register_Ns3ZipfRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ZipfRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::ZipfRandomVariable::ZipfRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ZipfRandomVariable::GetN() const [member function] + cls.add_method('GetN', + 'uint32_t', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ZipfRandomVariable::GetAlpha() const [member function] + cls.add_method('GetAlpha', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ZipfRandomVariable::GetValue(uint32_t n, double alpha) [member function] + cls.add_method('GetValue', + 'double', + [param('uint32_t', 'n'), param('double', 'alpha')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ZipfRandomVariable::GetInteger(uint32_t n, uint32_t alpha) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'n'), param('uint32_t', 'alpha')]) + ## random-variable-stream.h (module 'core'): double ns3::ZipfRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ZipfRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -3644,6 +3671,39 @@ def register_Ns3Channel_methods(root_module, cls): is_static=True) return +def register_Ns3ConstantRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ConstantRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::ConstantRandomVariable::ConstantRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::ConstantRandomVariable::GetConstant() const [member function] + cls.add_method('GetConstant', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ConstantRandomVariable::GetValue(double constant) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'constant')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ConstantRandomVariable::GetInteger(uint32_t constant) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'constant')]) + ## random-variable-stream.h (module 'core'): double ns3::ConstantRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ConstantRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3CsmaChannel_methods(root_module, cls): ## csma-channel.h (module 'csma'): static ns3::TypeId ns3::CsmaChannel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -3769,6 +3829,64 @@ def register_Ns3DataRateValue_methods(root_module, cls): [param('ns3::DataRate const &', 'value')]) return +def register_Ns3DeterministicRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::DeterministicRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::DeterministicRandomVariable::DeterministicRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): void ns3::DeterministicRandomVariable::SetValueArray(double * values, uint64_t length) [member function] + cls.add_method('SetValueArray', + 'void', + [param('double *', 'values'), param('uint64_t', 'length')]) + ## random-variable-stream.h (module 'core'): double ns3::DeterministicRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::DeterministicRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + +def register_Ns3EmpiricalRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): ns3::EmpiricalRandomVariable::EmpiricalRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): void ns3::EmpiricalRandomVariable::CDF(double v, double c) [member function] + cls.add_method('CDF', + 'void', + [param('double', 'v'), param('double', 'c')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::EmpiricalRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::EmpiricalRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): double ns3::EmpiricalRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): double ns3::EmpiricalRandomVariable::Interpolate(double arg0, double arg1, double arg2, double arg3, double arg4) [member function] + cls.add_method('Interpolate', + 'double', + [param('double', 'arg0'), param('double', 'arg1'), param('double', 'arg2'), param('double', 'arg3'), param('double', 'arg4')], + visibility='private', is_virtual=True) + ## random-variable-stream.h (module 'core'): void ns3::EmpiricalRandomVariable::Validate() [member function] + cls.add_method('Validate', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3EmptyAttributeValue_methods(root_module, cls): ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')]) @@ -3791,6 +3909,44 @@ def register_Ns3EmptyAttributeValue_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return +def register_Ns3ErlangRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ErlangRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::ErlangRandomVariable::ErlangRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ErlangRandomVariable::GetK() const [member function] + cls.add_method('GetK', + 'uint32_t', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ErlangRandomVariable::GetLambda() const [member function] + cls.add_method('GetLambda', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ErlangRandomVariable::GetValue(uint32_t k, double lambda) [member function] + cls.add_method('GetValue', + 'double', + [param('uint32_t', 'k'), param('double', 'lambda')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ErlangRandomVariable::GetInteger(uint32_t k, uint32_t lambda) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'k'), param('uint32_t', 'lambda')]) + ## random-variable-stream.h (module 'core'): double ns3::ErlangRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ErlangRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3EventImpl_methods(root_module, cls): ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) @@ -3815,6 +3971,82 @@ def register_Ns3EventImpl_methods(root_module, cls): is_pure_virtual=True, visibility='protected', is_virtual=True) return +def register_Ns3ExponentialRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ExponentialRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::ExponentialRandomVariable::ExponentialRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::ExponentialRandomVariable::GetMean() const [member function] + cls.add_method('GetMean', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ExponentialRandomVariable::GetBound() const [member function] + cls.add_method('GetBound', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ExponentialRandomVariable::GetValue(double mean, double bound) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'mean'), param('double', 'bound')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ExponentialRandomVariable::GetInteger(uint32_t mean, uint32_t bound) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'mean'), param('uint32_t', 'bound')]) + ## random-variable-stream.h (module 'core'): double ns3::ExponentialRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ExponentialRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + +def register_Ns3GammaRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::GammaRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::GammaRandomVariable::GammaRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::GammaRandomVariable::GetAlpha() const [member function] + cls.add_method('GetAlpha', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::GammaRandomVariable::GetBeta() const [member function] + cls.add_method('GetBeta', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::GammaRandomVariable::GetValue(double alpha, double beta) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'alpha'), param('double', 'beta')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::GammaRandomVariable::GetInteger(uint32_t alpha, uint32_t beta) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'alpha'), param('uint32_t', 'beta')]) + ## random-variable-stream.h (module 'core'): double ns3::GammaRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::GammaRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3Ipv4AddressChecker_methods(root_module, cls): ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor] cls.add_constructor([]) @@ -3975,6 +4207,44 @@ def register_Ns3Ipv6PrefixValue_methods(root_module, cls): [param('ns3::Ipv6Prefix const &', 'value')]) return +def register_Ns3LogNormalRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::LogNormalRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable::LogNormalRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::LogNormalRandomVariable::GetMu() const [member function] + cls.add_method('GetMu', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::LogNormalRandomVariable::GetSigma() const [member function] + cls.add_method('GetSigma', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::LogNormalRandomVariable::GetValue(double mu, double sigma) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'mu'), param('double', 'sigma')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::LogNormalRandomVariable::GetInteger(uint32_t mu, uint32_t sigma) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'mu'), param('uint32_t', 'sigma')]) + ## random-variable-stream.h (module 'core'): double ns3::LogNormalRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::LogNormalRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3Mac48AddressChecker_methods(root_module, cls): ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] cls.add_constructor([]) @@ -4274,6 +4544,51 @@ def register_Ns3Node_methods(root_module, cls): visibility='protected', is_virtual=True) return +def register_Ns3NormalRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): ns3::NormalRandomVariable::INFINITE_VALUE [variable] + cls.add_static_attribute('INFINITE_VALUE', 'double const', is_const=True) + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::NormalRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::NormalRandomVariable::NormalRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::NormalRandomVariable::GetMean() const [member function] + cls.add_method('GetMean', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::NormalRandomVariable::GetVariance() const [member function] + cls.add_method('GetVariance', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::NormalRandomVariable::GetBound() const [member function] + cls.add_method('GetBound', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::NormalRandomVariable::GetValue(double mean, double variance, double bound) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'mean'), param('double', 'variance'), param('double', 'bound')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::NormalRandomVariable::GetInteger(uint32_t mean, uint32_t variance, uint32_t bound) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'mean'), param('uint32_t', 'variance'), param('uint32_t', 'bound')]) + ## random-variable-stream.h (module 'core'): double ns3::NormalRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::NormalRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3ObjectFactoryChecker_methods(root_module, cls): ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor] cls.add_constructor([]) @@ -4508,44 +4823,47 @@ def register_Ns3Packet_methods(root_module, cls): [param('ns3::Ptr< ns3::NixVector >', 'arg0')]) return -def register_Ns3RandomVariableChecker_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')]) - return - -def register_Ns3RandomVariableValue_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor] - cls.add_constructor([param('ns3::RandomVariable const &', 'value')]) - ## random-variable.h (module 'core'): ns3::Ptr ns3::RandomVariableValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', +def register_Ns3ParetoRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ParetoRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', [], - is_const=True, is_virtual=True) - ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function] - cls.add_method('Get', - 'ns3::RandomVariable', + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::ParetoRandomVariable::ParetoRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetMean() const [member function] + cls.add_method('GetMean', + 'double', [], is_const=True) - ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::RandomVariable const &', 'value')]) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetShape() const [member function] + cls.add_method('GetShape', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetBound() const [member function] + cls.add_method('GetBound', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetValue(double mean, double shape, double bound) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'mean'), param('double', 'shape'), param('double', 'bound')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ParetoRandomVariable::GetInteger(uint32_t mean, uint32_t shape, uint32_t bound) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'mean'), param('uint32_t', 'shape'), param('uint32_t', 'bound')]) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ParetoRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) return def register_Ns3TimeChecker_methods(root_module, cls): @@ -4849,6 +5167,10 @@ def register_Ns3CsmaNetDevice_methods(root_module, cls): 'bool', [], is_const=True, is_virtual=True) + ## csma-net-device.h (module 'csma'): int64_t ns3::CsmaNetDevice::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## csma-net-device.h (module 'csma'): void ns3::CsmaNetDevice::DoDispose() [member function] cls.add_method('DoDispose', 'void', diff --git a/src/csma/bindings/modulegen__gcc_LP64.py b/src/csma/bindings/modulegen__gcc_LP64.py index 11a13b872..4b357dfe6 100644 --- a/src/csma/bindings/modulegen__gcc_LP64.py +++ b/src/csma/bindings/modulegen__gcc_LP64.py @@ -108,12 +108,6 @@ def register_types(module): module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper'], import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class] module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## random-variable.h (module 'core'): ns3::RandomVariable [class] - module.add_class('RandomVariable', import_from_module='ns.core') - ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager [class] - module.add_class('RngSeedManager', import_from_module='ns.core') - ## random-variable.h (module 'core'): ns3::SequentialVariable [class] - module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] @@ -122,8 +116,6 @@ def register_types(module): module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] module.add_class('TagBuffer', import_from_module='ns.network') - ## random-variable.h (module 'core'): ns3::TriangularVariable [class] - module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## type-id.h (module 'core'): ns3::TypeId [class] module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] @@ -132,50 +124,26 @@ def register_types(module): module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## random-variable.h (module 'core'): ns3::UniformVariable [class] - module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::WeibullVariable [class] - module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::ZetaVariable [class] - module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::ZipfVariable [class] - module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] module.add_class('int64x64_t', import_from_module='ns.core') ## chunk.h (module 'network'): ns3::Chunk [class] module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) - ## random-variable.h (module 'core'): ns3::ConstantVariable [class] - module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## csma-helper.h (module 'csma'): ns3::CsmaHelper [class] module.add_class('CsmaHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## random-variable.h (module 'core'): ns3::DeterministicVariable [class] - module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class] - module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::ErlangVariable [class] - module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::ExponentialVariable [class] - module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::GammaVariable [class] - module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## header.h (module 'network'): ns3::Header [class] module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk']) - ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class] - module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable']) - ## random-variable.h (module 'core'): ns3::LogNormalVariable [class] - module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## random-variable.h (module 'core'): ns3::NormalVariable [class] - module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## object.h (module 'core'): ns3::Object [class] module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) ## object.h (module 'core'): ns3::Object::AggregateIterator [class] module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object']) - ## random-variable.h (module 'core'): ns3::ParetoVariable [class] - module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper [class] module.add_class('PcapFileWrapper', import_from_module='ns.network', parent=root_module['ns3::Object']) + ## random-variable-stream.h (module 'core'): ns3::RandomVariableStream [class] + module.add_class('RandomVariableStream', import_from_module='ns.core', parent=root_module['ns3::Object']) + ## random-variable-stream.h (module 'core'): ns3::SequentialRandomVariable [class] + module.add_class('SequentialRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] @@ -204,6 +172,16 @@ def register_types(module): module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) + ## random-variable-stream.h (module 'core'): ns3::TriangularRandomVariable [class] + module.add_class('TriangularRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## random-variable-stream.h (module 'core'): ns3::UniformRandomVariable [class] + module.add_class('UniformRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## random-variable-stream.h (module 'core'): ns3::WeibullRandomVariable [class] + module.add_class('WeibullRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## random-variable-stream.h (module 'core'): ns3::ZetaRandomVariable [class] + module.add_class('ZetaRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## random-variable-stream.h (module 'core'): ns3::ZipfRandomVariable [class] + module.add_class('ZipfRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h (module 'core'): ns3::AttributeChecker [class] @@ -218,16 +196,28 @@ def register_types(module): module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## channel.h (module 'network'): ns3::Channel [class] module.add_class('Channel', import_from_module='ns.network', parent=root_module['ns3::Object']) + ## random-variable-stream.h (module 'core'): ns3::ConstantRandomVariable [class] + module.add_class('ConstantRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## csma-channel.h (module 'csma'): ns3::CsmaChannel [class] module.add_class('CsmaChannel', parent=root_module['ns3::Channel']) ## data-rate.h (module 'network'): ns3::DataRateChecker [class] module.add_class('DataRateChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## data-rate.h (module 'network'): ns3::DataRateValue [class] module.add_class('DataRateValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## random-variable-stream.h (module 'core'): ns3::DeterministicRandomVariable [class] + module.add_class('DeterministicRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## random-variable-stream.h (module 'core'): ns3::EmpiricalRandomVariable [class] + module.add_class('EmpiricalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class] module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## random-variable-stream.h (module 'core'): ns3::ErlangRandomVariable [class] + module.add_class('ErlangRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## event-impl.h (module 'core'): ns3::EventImpl [class] module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) + ## random-variable-stream.h (module 'core'): ns3::ExponentialRandomVariable [class] + module.add_class('ExponentialRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## random-variable-stream.h (module 'core'): ns3::GammaRandomVariable [class] + module.add_class('GammaRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class] module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class] @@ -244,6 +234,8 @@ def register_types(module): module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class] module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class] + module.add_class('LogNormalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker [class] module.add_class('Mac48AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## mac48-address.h (module 'network'): ns3::Mac48AddressValue [class] @@ -256,6 +248,8 @@ def register_types(module): module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter >']) ## node.h (module 'network'): ns3::Node [class] module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object']) + ## random-variable-stream.h (module 'core'): ns3::NormalRandomVariable [class] + module.add_class('NormalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class] module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class] @@ -264,10 +258,8 @@ def register_types(module): module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter >']) ## packet.h (module 'network'): ns3::Packet [class] module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) - ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class] - module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) - ## random-variable.h (module 'core'): ns3::RandomVariableValue [class] - module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## random-variable-stream.h (module 'core'): ns3::ParetoRandomVariable [class] + module.add_class('ParetoRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## nstime.h (module 'core'): ns3::TimeChecker [class] module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## nstime.h (module 'core'): ns3::TimeValue [class] @@ -284,10 +276,6 @@ def register_types(module): module.add_class('CsmaNetDevice', parent=root_module['ns3::NetDevice']) ## csma-net-device.h (module 'csma'): ns3::CsmaNetDevice::EncapsulationMode [enumeration] module.add_enum('EncapsulationMode', ['ILLEGAL', 'DIX', 'LLC'], outer_class=root_module['ns3::CsmaNetDevice']) - typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager') - typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*') - typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&') - module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager') ## Register a nested module for the namespace FatalImpl @@ -337,39 +325,23 @@ def register_methods(root_module): register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile']) register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) - register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) - register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager']) - register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) - register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) - register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) - register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) - register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) - register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper']) - register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable']) - register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable']) - register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable']) - register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable']) - register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable']) register_Ns3Header_methods(root_module, root_module['ns3::Header']) - register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable']) - register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable']) - register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable']) register_Ns3Object_methods(root_module, root_module['ns3::Object']) register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) - register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper']) + register_Ns3RandomVariableStream_methods(root_module, root_module['ns3::RandomVariableStream']) + register_Ns3SequentialRandomVariable_methods(root_module, root_module['ns3::SequentialRandomVariable']) register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >']) @@ -382,6 +354,11 @@ def register_methods(root_module): register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) + register_Ns3TriangularRandomVariable_methods(root_module, root_module['ns3::TriangularRandomVariable']) + register_Ns3UniformRandomVariable_methods(root_module, root_module['ns3::UniformRandomVariable']) + register_Ns3WeibullRandomVariable_methods(root_module, root_module['ns3::WeibullRandomVariable']) + register_Ns3ZetaRandomVariable_methods(root_module, root_module['ns3::ZetaRandomVariable']) + register_Ns3ZipfRandomVariable_methods(root_module, root_module['ns3::ZipfRandomVariable']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue']) @@ -389,11 +366,17 @@ def register_methods(root_module): register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) register_Ns3Channel_methods(root_module, root_module['ns3::Channel']) + register_Ns3ConstantRandomVariable_methods(root_module, root_module['ns3::ConstantRandomVariable']) register_Ns3CsmaChannel_methods(root_module, root_module['ns3::CsmaChannel']) register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker']) register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue']) + register_Ns3DeterministicRandomVariable_methods(root_module, root_module['ns3::DeterministicRandomVariable']) + register_Ns3EmpiricalRandomVariable_methods(root_module, root_module['ns3::EmpiricalRandomVariable']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) + register_Ns3ErlangRandomVariable_methods(root_module, root_module['ns3::ErlangRandomVariable']) register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) + register_Ns3ExponentialRandomVariable_methods(root_module, root_module['ns3::ExponentialRandomVariable']) + register_Ns3GammaRandomVariable_methods(root_module, root_module['ns3::GammaRandomVariable']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker']) @@ -402,17 +385,18 @@ def register_methods(root_module): register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) + register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable']) register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) register_Ns3Node_methods(root_module, root_module['ns3::Node']) + register_Ns3NormalRandomVariable_methods(root_module, root_module['ns3::NormalRandomVariable']) register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper']) register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) - register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) - register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue']) + register_Ns3ParetoRandomVariable_methods(root_module, root_module['ns3::ParetoRandomVariable']) register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) @@ -657,6 +641,10 @@ def register_Ns3Backoff_methods(root_module, cls): cls.add_constructor([]) ## backoff.h (module 'csma'): ns3::Backoff::Backoff(ns3::Time slotTime, uint32_t minSlots, uint32_t maxSlots, uint32_t ceiling, uint32_t maxRetries) [constructor] cls.add_constructor([param('ns3::Time', 'slotTime'), param('uint32_t', 'minSlots'), param('uint32_t', 'maxSlots'), param('uint32_t', 'ceiling'), param('uint32_t', 'maxRetries')]) + ## backoff.h (module 'csma'): int64_t ns3::Backoff::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## backoff.h (module 'csma'): ns3::Time ns3::Backoff::GetBackoffTime() [member function] cls.add_method('GetBackoffTime', 'ns3::Time', @@ -2166,65 +2154,6 @@ def register_Ns3PcapHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3RandomVariable_methods(root_module, cls): - cls.add_output_stream_operator() - ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor] - cls.add_constructor([param('ns3::RandomVariable const &', 'o')]) - ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function] - cls.add_method('GetInteger', - 'uint32_t', - [], - is_const=True) - ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - return - -def register_Ns3RngSeedManager_methods(root_module, cls): - ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor] - cls.add_constructor([]) - ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')]) - ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function] - cls.add_method('GetNextStreamIndex', - 'uint64_t', - [], - is_static=True) - ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function] - cls.add_method('GetRun', - 'uint64_t', - [], - is_static=True) - ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function] - cls.add_method('GetSeed', - 'uint32_t', - [], - is_static=True) - ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function] - cls.add_method('SetRun', - 'void', - [param('uint64_t', 'run')], - is_static=True) - ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function] - cls.add_method('SetSeed', - 'void', - [param('uint32_t', 'seed')], - is_static=True) - return - -def register_Ns3SequentialVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor] - cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')]) - ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor] - cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')]) - return - def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -2412,15 +2341,6 @@ def register_Ns3TagBuffer_methods(root_module, cls): [param('uint8_t', 'v')]) return -def register_Ns3TriangularVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor] - cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')]) - return - def register_Ns3TypeId_methods(root_module, cls): cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') @@ -2595,59 +2515,6 @@ def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): cls.add_instance_attribute('name', 'std::string', is_const=False) return -def register_Ns3UniformVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor] - cls.add_constructor([param('double', 's'), param('double', 'l')]) - ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function] - cls.add_method('GetInteger', - 'uint32_t', - [param('uint32_t', 's'), param('uint32_t', 'l')]) - ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function] - cls.add_method('GetValue', - 'double', - [param('double', 's'), param('double', 'l')]) - return - -def register_Ns3WeibullVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's')]) - ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) - return - -def register_Ns3ZetaVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor] - cls.add_constructor([param('double', 'alpha')]) - ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor] - cls.add_constructor([]) - return - -def register_Ns3ZipfVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor] - cls.add_constructor([param('long int', 'N'), param('double', 'alpha')]) - ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor] - cls.add_constructor([]) - return - def register_Ns3Empty_methods(root_module, cls): ## empty.h (module 'core'): ns3::empty::empty() [constructor] cls.add_constructor([]) @@ -2784,24 +2651,15 @@ def register_Ns3Chunk_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3ConstantVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor] - cls.add_constructor([param('double', 'c')]) - ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function] - cls.add_method('SetConstant', - 'void', - [param('double', 'c')]) - return - def register_Ns3CsmaHelper_methods(root_module, cls): ## csma-helper.h (module 'csma'): ns3::CsmaHelper::CsmaHelper(ns3::CsmaHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::CsmaHelper const &', 'arg0')]) ## csma-helper.h (module 'csma'): ns3::CsmaHelper::CsmaHelper() [constructor] cls.add_constructor([]) + ## csma-helper.h (module 'csma'): int64_t ns3::CsmaHelper::AssignStreams(ns3::NetDeviceContainer c, int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('ns3::NetDeviceContainer', 'c'), param('int64_t', 'stream')]) ## csma-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr node) const [member function] cls.add_method('Install', 'ns3::NetDeviceContainer', @@ -2871,73 +2729,6 @@ def register_Ns3CsmaHelper_methods(root_module, cls): visibility='private', is_virtual=True) return -def register_Ns3DeterministicVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor] - cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')]) - return - -def register_Ns3EmpiricalVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function] - cls.add_method('CDF', - 'void', - [param('double', 'v'), param('double', 'c')]) - return - -def register_Ns3ErlangVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor] - cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')]) - ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function] - cls.add_method('GetValue', - 'double', - [param('unsigned int', 'k'), param('double', 'lambda')], - is_const=True) - return - -def register_Ns3ExponentialVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'b')]) - return - -def register_Ns3GammaVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor] - cls.add_constructor([param('double', 'alpha'), param('double', 'beta')]) - ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function] - cls.add_method('GetValue', - 'double', - [param('double', 'alpha'), param('double', 'beta')], - is_const=True) - return - def register_Ns3Header_methods(root_module, cls): cls.add_output_stream_operator() ## header.h (module 'network'): ns3::Header::Header() [constructor] @@ -2971,31 +2762,6 @@ def register_Ns3Header_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3IntEmpiricalVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor] - cls.add_constructor([]) - return - -def register_Ns3LogNormalVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor] - cls.add_constructor([param('double', 'mu'), param('double', 'sigma')]) - return - -def register_Ns3NormalVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'v')]) - ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')]) - return - def register_Ns3Object_methods(root_module, cls): ## object.h (module 'core'): ns3::Object::Object() [constructor] cls.add_constructor([]) @@ -3062,23 +2828,6 @@ def register_Ns3ObjectAggregateIterator_methods(root_module, cls): []) return -def register_Ns3ParetoVariable_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's')]) - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair params) [constructor] - cls.add_constructor([param('std::pair< double, double >', 'params')]) - ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair params, double b) [constructor] - cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')]) - return - def register_Ns3PcapFileWrapper_methods(root_module, cls): ## pcap-file-wrapper.h (module 'network'): static ns3::TypeId ns3::PcapFileWrapper::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -3155,6 +2904,89 @@ def register_Ns3PcapFileWrapper_methods(root_module, cls): []) return +def register_Ns3RandomVariableStream_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::RandomVariableStream::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::RandomVariableStream::RandomVariableStream() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): void ns3::RandomVariableStream::SetStream(int64_t stream) [member function] + cls.add_method('SetStream', + 'void', + [param('int64_t', 'stream')]) + ## random-variable-stream.h (module 'core'): int64_t ns3::RandomVariableStream::GetStream() const [member function] + cls.add_method('GetStream', + 'int64_t', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): void ns3::RandomVariableStream::SetAntithetic(bool isAntithetic) [member function] + cls.add_method('SetAntithetic', + 'void', + [param('bool', 'isAntithetic')]) + ## random-variable-stream.h (module 'core'): bool ns3::RandomVariableStream::IsAntithetic() const [member function] + cls.add_method('IsAntithetic', + 'bool', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::RandomVariableStream::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_pure_virtual=True, is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::RandomVariableStream::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_pure_virtual=True, is_virtual=True) + ## random-variable-stream.h (module 'core'): ns3::RngStream * ns3::RandomVariableStream::Peek() const [member function] + cls.add_method('Peek', + 'ns3::RngStream *', + [], + is_const=True, visibility='protected') + return + +def register_Ns3SequentialRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::SequentialRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::SequentialRandomVariable::SequentialRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::SequentialRandomVariable::GetMin() const [member function] + cls.add_method('GetMin', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::SequentialRandomVariable::GetMax() const [member function] + cls.add_method('GetMax', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): ns3::Ptr ns3::SequentialRandomVariable::GetIncrement() const [member function] + cls.add_method('GetIncrement', + 'ns3::Ptr< ns3::RandomVariableStream >', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::SequentialRandomVariable::GetConsecutive() const [member function] + cls.add_method('GetConsecutive', + 'uint32_t', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::SequentialRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::SequentialRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -3479,6 +3311,201 @@ def register_Ns3Trailer_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return +def register_Ns3TriangularRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::TriangularRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::TriangularRandomVariable::TriangularRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::TriangularRandomVariable::GetMean() const [member function] + cls.add_method('GetMean', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::TriangularRandomVariable::GetMin() const [member function] + cls.add_method('GetMin', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::TriangularRandomVariable::GetMax() const [member function] + cls.add_method('GetMax', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::TriangularRandomVariable::GetValue(double mean, double min, double max) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'mean'), param('double', 'min'), param('double', 'max')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::TriangularRandomVariable::GetInteger(uint32_t mean, uint32_t min, uint32_t max) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'mean'), param('uint32_t', 'min'), param('uint32_t', 'max')]) + ## random-variable-stream.h (module 'core'): double ns3::TriangularRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::TriangularRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + +def register_Ns3UniformRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::UniformRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::UniformRandomVariable::UniformRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::UniformRandomVariable::GetMin() const [member function] + cls.add_method('GetMin', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::UniformRandomVariable::GetMax() const [member function] + cls.add_method('GetMax', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::UniformRandomVariable::GetValue(double min, double max) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'min'), param('double', 'max')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::UniformRandomVariable::GetInteger(uint32_t min, uint32_t max) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'min'), param('uint32_t', 'max')]) + ## random-variable-stream.h (module 'core'): double ns3::UniformRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::UniformRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + +def register_Ns3WeibullRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::WeibullRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::WeibullRandomVariable::WeibullRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::WeibullRandomVariable::GetScale() const [member function] + cls.add_method('GetScale', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::WeibullRandomVariable::GetShape() const [member function] + cls.add_method('GetShape', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::WeibullRandomVariable::GetBound() const [member function] + cls.add_method('GetBound', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::WeibullRandomVariable::GetValue(double scale, double shape, double bound) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'scale'), param('double', 'shape'), param('double', 'bound')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::WeibullRandomVariable::GetInteger(uint32_t scale, uint32_t shape, uint32_t bound) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'scale'), param('uint32_t', 'shape'), param('uint32_t', 'bound')]) + ## random-variable-stream.h (module 'core'): double ns3::WeibullRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::WeibullRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + +def register_Ns3ZetaRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ZetaRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::ZetaRandomVariable::ZetaRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::ZetaRandomVariable::GetAlpha() const [member function] + cls.add_method('GetAlpha', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ZetaRandomVariable::GetValue(double alpha) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'alpha')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ZetaRandomVariable::GetInteger(uint32_t alpha) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'alpha')]) + ## random-variable-stream.h (module 'core'): double ns3::ZetaRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ZetaRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + +def register_Ns3ZipfRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ZipfRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::ZipfRandomVariable::ZipfRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ZipfRandomVariable::GetN() const [member function] + cls.add_method('GetN', + 'uint32_t', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ZipfRandomVariable::GetAlpha() const [member function] + cls.add_method('GetAlpha', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ZipfRandomVariable::GetValue(uint32_t n, double alpha) [member function] + cls.add_method('GetValue', + 'double', + [param('uint32_t', 'n'), param('double', 'alpha')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ZipfRandomVariable::GetInteger(uint32_t n, uint32_t alpha) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'n'), param('uint32_t', 'alpha')]) + ## random-variable-stream.h (module 'core'): double ns3::ZipfRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ZipfRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -3644,6 +3671,39 @@ def register_Ns3Channel_methods(root_module, cls): is_static=True) return +def register_Ns3ConstantRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ConstantRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::ConstantRandomVariable::ConstantRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::ConstantRandomVariable::GetConstant() const [member function] + cls.add_method('GetConstant', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ConstantRandomVariable::GetValue(double constant) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'constant')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ConstantRandomVariable::GetInteger(uint32_t constant) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'constant')]) + ## random-variable-stream.h (module 'core'): double ns3::ConstantRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ConstantRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3CsmaChannel_methods(root_module, cls): ## csma-channel.h (module 'csma'): static ns3::TypeId ns3::CsmaChannel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -3769,6 +3829,64 @@ def register_Ns3DataRateValue_methods(root_module, cls): [param('ns3::DataRate const &', 'value')]) return +def register_Ns3DeterministicRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::DeterministicRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::DeterministicRandomVariable::DeterministicRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): void ns3::DeterministicRandomVariable::SetValueArray(double * values, uint64_t length) [member function] + cls.add_method('SetValueArray', + 'void', + [param('double *', 'values'), param('uint64_t', 'length')]) + ## random-variable-stream.h (module 'core'): double ns3::DeterministicRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::DeterministicRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + +def register_Ns3EmpiricalRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): ns3::EmpiricalRandomVariable::EmpiricalRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): void ns3::EmpiricalRandomVariable::CDF(double v, double c) [member function] + cls.add_method('CDF', + 'void', + [param('double', 'v'), param('double', 'c')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::EmpiricalRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::EmpiricalRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): double ns3::EmpiricalRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): double ns3::EmpiricalRandomVariable::Interpolate(double arg0, double arg1, double arg2, double arg3, double arg4) [member function] + cls.add_method('Interpolate', + 'double', + [param('double', 'arg0'), param('double', 'arg1'), param('double', 'arg2'), param('double', 'arg3'), param('double', 'arg4')], + visibility='private', is_virtual=True) + ## random-variable-stream.h (module 'core'): void ns3::EmpiricalRandomVariable::Validate() [member function] + cls.add_method('Validate', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3EmptyAttributeValue_methods(root_module, cls): ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')]) @@ -3791,6 +3909,44 @@ def register_Ns3EmptyAttributeValue_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return +def register_Ns3ErlangRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ErlangRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::ErlangRandomVariable::ErlangRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ErlangRandomVariable::GetK() const [member function] + cls.add_method('GetK', + 'uint32_t', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ErlangRandomVariable::GetLambda() const [member function] + cls.add_method('GetLambda', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ErlangRandomVariable::GetValue(uint32_t k, double lambda) [member function] + cls.add_method('GetValue', + 'double', + [param('uint32_t', 'k'), param('double', 'lambda')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ErlangRandomVariable::GetInteger(uint32_t k, uint32_t lambda) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'k'), param('uint32_t', 'lambda')]) + ## random-variable-stream.h (module 'core'): double ns3::ErlangRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ErlangRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3EventImpl_methods(root_module, cls): ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) @@ -3815,6 +3971,82 @@ def register_Ns3EventImpl_methods(root_module, cls): is_pure_virtual=True, visibility='protected', is_virtual=True) return +def register_Ns3ExponentialRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ExponentialRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::ExponentialRandomVariable::ExponentialRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::ExponentialRandomVariable::GetMean() const [member function] + cls.add_method('GetMean', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ExponentialRandomVariable::GetBound() const [member function] + cls.add_method('GetBound', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ExponentialRandomVariable::GetValue(double mean, double bound) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'mean'), param('double', 'bound')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ExponentialRandomVariable::GetInteger(uint32_t mean, uint32_t bound) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'mean'), param('uint32_t', 'bound')]) + ## random-variable-stream.h (module 'core'): double ns3::ExponentialRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ExponentialRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + +def register_Ns3GammaRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::GammaRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::GammaRandomVariable::GammaRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::GammaRandomVariable::GetAlpha() const [member function] + cls.add_method('GetAlpha', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::GammaRandomVariable::GetBeta() const [member function] + cls.add_method('GetBeta', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::GammaRandomVariable::GetValue(double alpha, double beta) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'alpha'), param('double', 'beta')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::GammaRandomVariable::GetInteger(uint32_t alpha, uint32_t beta) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'alpha'), param('uint32_t', 'beta')]) + ## random-variable-stream.h (module 'core'): double ns3::GammaRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::GammaRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3Ipv4AddressChecker_methods(root_module, cls): ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor] cls.add_constructor([]) @@ -3975,6 +4207,44 @@ def register_Ns3Ipv6PrefixValue_methods(root_module, cls): [param('ns3::Ipv6Prefix const &', 'value')]) return +def register_Ns3LogNormalRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::LogNormalRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable::LogNormalRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::LogNormalRandomVariable::GetMu() const [member function] + cls.add_method('GetMu', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::LogNormalRandomVariable::GetSigma() const [member function] + cls.add_method('GetSigma', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::LogNormalRandomVariable::GetValue(double mu, double sigma) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'mu'), param('double', 'sigma')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::LogNormalRandomVariable::GetInteger(uint32_t mu, uint32_t sigma) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'mu'), param('uint32_t', 'sigma')]) + ## random-variable-stream.h (module 'core'): double ns3::LogNormalRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::LogNormalRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3Mac48AddressChecker_methods(root_module, cls): ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] cls.add_constructor([]) @@ -4274,6 +4544,51 @@ def register_Ns3Node_methods(root_module, cls): visibility='protected', is_virtual=True) return +def register_Ns3NormalRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): ns3::NormalRandomVariable::INFINITE_VALUE [variable] + cls.add_static_attribute('INFINITE_VALUE', 'double const', is_const=True) + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::NormalRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::NormalRandomVariable::NormalRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::NormalRandomVariable::GetMean() const [member function] + cls.add_method('GetMean', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::NormalRandomVariable::GetVariance() const [member function] + cls.add_method('GetVariance', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::NormalRandomVariable::GetBound() const [member function] + cls.add_method('GetBound', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::NormalRandomVariable::GetValue(double mean, double variance, double bound) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'mean'), param('double', 'variance'), param('double', 'bound')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::NormalRandomVariable::GetInteger(uint32_t mean, uint32_t variance, uint32_t bound) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'mean'), param('uint32_t', 'variance'), param('uint32_t', 'bound')]) + ## random-variable-stream.h (module 'core'): double ns3::NormalRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::NormalRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) + return + def register_Ns3ObjectFactoryChecker_methods(root_module, cls): ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor] cls.add_constructor([]) @@ -4508,44 +4823,47 @@ def register_Ns3Packet_methods(root_module, cls): [param('ns3::Ptr< ns3::NixVector >', 'arg0')]) return -def register_Ns3RandomVariableChecker_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')]) - return - -def register_Ns3RandomVariableValue_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor] - cls.add_constructor([]) - ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')]) - ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor] - cls.add_constructor([param('ns3::RandomVariable const &', 'value')]) - ## random-variable.h (module 'core'): ns3::Ptr ns3::RandomVariableValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', +def register_Ns3ParetoRandomVariable_methods(root_module, cls): + ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ParetoRandomVariable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', [], - is_const=True, is_virtual=True) - ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function] - cls.add_method('Get', - 'ns3::RandomVariable', + is_static=True) + ## random-variable-stream.h (module 'core'): ns3::ParetoRandomVariable::ParetoRandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetMean() const [member function] + cls.add_method('GetMean', + 'double', [], is_const=True) - ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::RandomVariable const &', 'value')]) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetShape() const [member function] + cls.add_method('GetShape', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetBound() const [member function] + cls.add_method('GetBound', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetValue(double mean, double shape, double bound) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'mean'), param('double', 'shape'), param('double', 'bound')]) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ParetoRandomVariable::GetInteger(uint32_t mean, uint32_t shape, uint32_t bound) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 'mean'), param('uint32_t', 'shape'), param('uint32_t', 'bound')]) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetValue() [member function] + cls.add_method('GetValue', + 'double', + [], + is_virtual=True) + ## random-variable-stream.h (module 'core'): uint32_t ns3::ParetoRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) return def register_Ns3TimeChecker_methods(root_module, cls): @@ -4849,6 +5167,10 @@ def register_Ns3CsmaNetDevice_methods(root_module, cls): 'bool', [], is_const=True, is_virtual=True) + ## csma-net-device.h (module 'csma'): int64_t ns3::CsmaNetDevice::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## csma-net-device.h (module 'csma'): void ns3::CsmaNetDevice::DoDispose() [member function] cls.add_method('DoDispose', 'void', diff --git a/src/csma/helper/csma-helper.cc b/src/csma/helper/csma-helper.cc index 3c2afb201..d48c99a40 100644 --- a/src/csma/helper/csma-helper.cc +++ b/src/csma/helper/csma-helper.cc @@ -281,6 +281,23 @@ CsmaHelper::Install (const NodeContainer &c, std::string channelName) const return Install (c, channel); } +int64_t +CsmaHelper::AssignStreams (NetDeviceContainer c, int64_t stream) +{ + int64_t currentStream = stream; + Ptr netDevice; + for (NetDeviceContainer::Iterator i = c.Begin (); i != c.End (); ++i) + { + netDevice = (*i); + Ptr csma = DynamicCast (netDevice); + if (csma) + { + currentStream += csma->AssignStreams (currentStream); + } + } + return (currentStream - stream); +} + Ptr CsmaHelper::InstallPriv (Ptr node, Ptr channel) const { diff --git a/src/csma/helper/csma-helper.h b/src/csma/helper/csma-helper.h index b65a86551..54613436c 100644 --- a/src/csma/helper/csma-helper.h +++ b/src/csma/helper/csma-helper.h @@ -192,6 +192,19 @@ public: */ NetDeviceContainer Install (const NodeContainer &c, std::string channelName) const; + /** + * Assign a fixed random variable stream number to the random variables + * used by this model. Return the number of streams (possibly zero) that + * have been assigned. The Install() method should have previously been + * called by the user. + * + * \param c NetDeviceContainer of the set of net devices for which the + * CsmaNetDevice should be modified to use a fixed stream + * \param stream first stream index to use + * \return the number of stream indices assigned by this helper + */ + int64_t AssignStreams (NetDeviceContainer c, int64_t stream); + private: /* * \internal diff --git a/src/csma/model/backoff.cc b/src/csma/model/backoff.cc index a6f8d4331..37c4e0fb5 100644 --- a/src/csma/model/backoff.cc +++ b/src/csma/model/backoff.cc @@ -19,6 +19,9 @@ */ #include "backoff.h" +#include "ns3/log.h" + +NS_LOG_COMPONENT_DEFINE ("Backoff"); namespace ns3 { @@ -29,6 +32,7 @@ Backoff::Backoff () m_maxSlots = 1000; m_ceiling = 10; m_maxRetries = 1000; + m_rng = CreateObject (); ResetBackoffTime (); } @@ -40,7 +44,7 @@ Backoff::Backoff(Time slotTime, uint32_t minSlots, uint32_t maxSlots, uint32_t c m_maxSlots = maxSlots; m_ceiling = ceiling; m_maxRetries = maxRetries; - m_rng = UniformVariable (); + m_rng = CreateObject (); } Time @@ -64,7 +68,7 @@ Backoff::GetBackoffTime (void) maxSlot = m_maxSlots; } - uint32_t backoffSlots = (uint32_t)m_rng.GetValue (minSlot, maxSlot); + uint32_t backoffSlots = (uint32_t)m_rng->GetValue (minSlot, maxSlot); Time backoff = Time (backoffSlots * m_slotTime); return backoff; @@ -88,4 +92,12 @@ Backoff::IncrNumRetries (void) m_numBackoffRetries++; } +int64_t +Backoff::AssignStreams (int64_t stream) +{ + NS_LOG_FUNCTION (this << stream); + m_rng->SetStream (stream); + return 1; +} + } // namespace ns3 diff --git a/src/csma/model/backoff.h b/src/csma/model/backoff.h index 20f3f5ae0..300b4316e 100644 --- a/src/csma/model/backoff.h +++ b/src/csma/model/backoff.h @@ -24,7 +24,7 @@ Transmi */ #include #include "ns3/nstime.h" -#include "ns3/random-variable.h" +#include "ns3/random-variable-stream.h" namespace ns3 { @@ -87,13 +87,23 @@ public: */ void IncrNumRetries (void); + /** + * Assign a fixed random variable stream number to the random variables + * used by this model. Return the number of streams (possibly zero) that + * have been assigned. + * + * \param stream first stream index to use + * \return the number of stream indices assigned by this model + */ + int64_t AssignStreams (int64_t stream); + private: /** * Number of times that the transmitter has tried to unsuccessfully transmit the current packet. */ uint32_t m_numBackoffRetries; - UniformVariable m_rng; + Ptr m_rng; }; } // namespace ns3 diff --git a/src/csma/model/csma-net-device.cc b/src/csma/model/csma-net-device.cc index 3d935f385..b7119d465 100644 --- a/src/csma/model/csma-net-device.cc +++ b/src/csma/model/csma-net-device.cc @@ -1014,4 +1014,10 @@ CsmaNetDevice::SupportsSendFrom () const return true; } +int64_t +CsmaNetDevice::AssignStreams (int64_t stream) +{ + return m_backoff.AssignStreams (stream); +} + } // namespace ns3 diff --git a/src/csma/model/csma-net-device.h b/src/csma/model/csma-net-device.h index 56f3491f1..dc4b45750 100644 --- a/src/csma/model/csma-net-device.h +++ b/src/csma/model/csma-net-device.h @@ -32,7 +32,6 @@ #include "ns3/nstime.h" #include "ns3/data-rate.h" #include "ns3/ptr.h" -#include "ns3/random-variable.h" #include "ns3/mac48-address.h" namespace ns3 { @@ -322,6 +321,16 @@ public: virtual void SetPromiscReceiveCallback (PromiscReceiveCallback cb); virtual bool SupportsSendFrom (void) const; + /** + * Assign a fixed random variable stream number to the random variables + * used by this model. Return the number of streams (possibly zero) that + * have been assigned. + * + * \param stream first stream index to use + * \return the number of stream indices assigned by this model + */ + int64_t AssignStreams (int64_t stream); + protected: /** * Perform any object release functionality required to break reference