# HG changeset patch # User Mitch Watrous # Date 1345079326 25200 # Node ID 7752dc4ce7e93c5c43f509f9bb55bcdadaa3d5aa # Parent 85eed149a0eaf0babee0f7343a0bf969c404e37f Replace src/buildings and src/propagation usage of RandomVariable with RandomVariableStream diff -r 85eed149a0ea -r 7752dc4ce7e9 src/buildings/bindings/modulegen__gcc_ILP32.py --- a/src/buildings/bindings/modulegen__gcc_ILP32.py Wed Aug 15 15:33:02 2012 -0700 +++ b/src/buildings/bindings/modulegen__gcc_ILP32.py Wed Aug 15 18:08:46 2012 -0700 @@ -66,18 +66,10 @@ module.add_class('ObjectDeleter', import_from_module='ns.core') ## object-factory.h (module 'core'): ns3::ObjectFactory [class] module.add_class('ObjectFactory', import_from_module='ns.core') - ## 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')) ## 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] @@ -86,46 +78,18 @@ 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']) ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] module.add_class('Vector3D', import_from_module='ns.core') - ## 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') - ## random-variable.h (module 'core'): ns3::ConstantVariable [class] - module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## 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']) - ## 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']) ## position-allocator.h (module 'mobility'): ns3::PositionAllocator [class] module.add_class('PositionAllocator', import_from_module='ns.mobility', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel [class] @@ -142,10 +106,14 @@ module.add_class('RandomRectanglePositionAllocator', import_from_module='ns.mobility', parent=root_module['ns3::PositionAllocator']) ## building-position-allocator.h (module 'buildings'): ns3::RandomRoomPositionAllocator [class] module.add_class('RandomRoomPositionAllocator', parent=root_module['ns3::PositionAllocator']) + ## random-variable-stream.h (module 'core'): ns3::RandomVariableStream [class] + module.add_class('RandomVariableStream', import_from_module='ns.core', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel [class] module.add_class('RangePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## building-position-allocator.h (module 'buildings'): ns3::SameRoomPositionAllocator [class] module.add_class('SameRoomPositionAllocator', parent=root_module['ns3::PositionAllocator']) + ## 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] @@ -166,10 +134,20 @@ root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t']) ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class] module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) + ## random-variable-stream.h (module 'core'): ns3::TriangularRandomVariable [class] + module.add_class('TriangularRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] module.add_class('TwoRayGroundPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## position-allocator.h (module 'mobility'): ns3::UniformDiscPositionAllocator [class] module.add_class('UniformDiscPositionAllocator', import_from_module='ns.mobility', parent=root_module['ns3::PositionAllocator']) + ## 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] @@ -194,12 +172,24 @@ module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) ## callback.h (module 'core'): ns3::CallbackValue [class] module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## random-variable-stream.h (module 'core'): ns3::ConstantRandomVariable [class] + module.add_class('ConstantRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## 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']) + ## random-variable-stream.h (module 'core'): ns3::ExponentialRandomVariable [class] + module.add_class('ExponentialRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel [class] module.add_class('FixedRssLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel [class] module.add_class('FriisPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::GammaRandomVariable [class] + module.add_class('GammaRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## building-allocator.h (module 'buildings'): ns3::GridBuildingAllocator [class] module.add_class('GridBuildingAllocator', parent=root_module['ns3::Object']) ## position-allocator.h (module 'mobility'): ns3::GridPositionAllocator [class] @@ -230,6 +220,8 @@ module.add_class('ListPositionAllocator', import_from_module='ns.mobility', parent=root_module['ns3::PositionAllocator']) ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] module.add_class('LogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class] + module.add_class('LogNormalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-loss-model.h (module 'propagation'): ns3::MatrixPropagationLossModel [class] module.add_class('MatrixPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## mobility-model.h (module 'mobility'): ns3::MobilityModel [class] @@ -242,16 +234,16 @@ module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network') ## 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] module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## oh-buildings-propagation-loss-model.h (module 'buildings'): ns3::OhBuildingsPropagationLossModel [class] module.add_class('OhBuildingsPropagationLossModel', parent=root_module['ns3::BuildingsPropagationLossModel']) - ## 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] @@ -278,10 +270,6 @@ typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') - 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') typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') @@ -319,35 +307,17 @@ register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) - 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_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_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) - 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_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) - 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_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_Ns3PositionAllocator_methods(root_module, root_module['ns3::PositionAllocator']) register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) register_Ns3RandomBoxPositionAllocator_methods(root_module, root_module['ns3::RandomBoxPositionAllocator']) @@ -356,8 +326,10 @@ register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) register_Ns3RandomRectanglePositionAllocator_methods(root_module, root_module['ns3::RandomRectanglePositionAllocator']) register_Ns3RandomRoomPositionAllocator_methods(root_module, root_module['ns3::RandomRoomPositionAllocator']) + register_Ns3RandomVariableStream_methods(root_module, root_module['ns3::RandomVariableStream']) register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) register_Ns3SameRoomPositionAllocator_methods(root_module, root_module['ns3::SameRoomPositionAllocator']) + 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 >']) @@ -366,8 +338,13 @@ register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) + register_Ns3TriangularRandomVariable_methods(root_module, root_module['ns3::TriangularRandomVariable']) register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) register_Ns3UniformDiscPositionAllocator_methods(root_module, root_module['ns3::UniformDiscPositionAllocator']) + 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']) @@ -378,9 +355,15 @@ register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker']) register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) + register_Ns3ConstantRandomVariable_methods(root_module, root_module['ns3::ConstantRandomVariable']) + 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_Ns3ExponentialRandomVariable_methods(root_module, root_module['ns3::ExponentialRandomVariable']) register_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) + register_Ns3GammaRandomVariable_methods(root_module, root_module['ns3::GammaRandomVariable']) register_Ns3GridBuildingAllocator_methods(root_module, root_module['ns3::GridBuildingAllocator']) register_Ns3GridPositionAllocator_methods(root_module, root_module['ns3::GridPositionAllocator']) register_Ns3HybridBuildingsPropagationLossModel_methods(root_module, root_module['ns3::HybridBuildingsPropagationLossModel']) @@ -395,16 +378,17 @@ register_Ns3ItuR1238PropagationLossModel_methods(root_module, root_module['ns3::ItuR1238PropagationLossModel']) register_Ns3ListPositionAllocator_methods(root_module, root_module['ns3::ListPositionAllocator']) register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) + register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable']) register_Ns3MatrixPropagationLossModel_methods(root_module, root_module['ns3::MatrixPropagationLossModel']) register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel']) register_Ns3NakagamiPropagationLossModel_methods(root_module, root_module['ns3::NakagamiPropagationLossModel']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) 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_Ns3OhBuildingsPropagationLossModel_methods(root_module, root_module['ns3::OhBuildingsPropagationLossModel']) - 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']) @@ -1312,65 +1296,6 @@ [param('std::string', 'tid')]) 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([]) @@ -1446,15 +1371,6 @@ [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('!=') @@ -1629,28 +1545,6 @@ 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_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -1681,37 +1575,6 @@ cls.add_instance_attribute('z', 'double', is_const=False) 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([]) @@ -1826,111 +1689,6 @@ [param('ns3::int64x64_t const &', 'o')]) 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_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_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([]) @@ -1997,28 +1755,16 @@ []) 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_Ns3PositionAllocator_methods(root_module, cls): ## position-allocator.h (module 'mobility'): ns3::PositionAllocator::PositionAllocator(ns3::PositionAllocator const & arg0) [copy constructor] cls.add_constructor([param('ns3::PositionAllocator const &', 'arg0')]) ## position-allocator.h (module 'mobility'): ns3::PositionAllocator::PositionAllocator() [constructor] cls.add_constructor([]) + ## position-allocator.h (module 'mobility'): int64_t ns3::PositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, is_virtual=True) ## position-allocator.h (module 'mobility'): ns3::Vector ns3::PositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2043,16 +1789,29 @@ cls.add_method('SetNext', 'void', [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): ns3::Ptr ns3::PropagationLossModel::GetNext() [member function] + cls.add_method('GetNext', + 'ns3::Ptr< ns3::PropagationLossModel >', + []) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('CalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('DoCalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3RandomBoxPositionAllocator_methods(root_module, cls): @@ -2060,6 +1819,11 @@ cls.add_constructor([param('ns3::RandomBoxPositionAllocator const &', 'arg0')]) ## position-allocator.h (module 'mobility'): ns3::RandomBoxPositionAllocator::RandomBoxPositionAllocator() [constructor] cls.add_constructor([]) + ## position-allocator.h (module 'mobility'): int64_t ns3::RandomBoxPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## position-allocator.h (module 'mobility'): ns3::Vector ns3::RandomBoxPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2070,18 +1834,18 @@ 'ns3::TypeId', [], is_static=True) - ## position-allocator.h (module 'mobility'): void ns3::RandomBoxPositionAllocator::SetX(ns3::RandomVariable x) [member function] + ## position-allocator.h (module 'mobility'): void ns3::RandomBoxPositionAllocator::SetX(ns3::Ptr x) [member function] cls.add_method('SetX', 'void', - [param('ns3::RandomVariable', 'x')]) - ## position-allocator.h (module 'mobility'): void ns3::RandomBoxPositionAllocator::SetY(ns3::RandomVariable y) [member function] + [param('ns3::Ptr< ns3::RandomVariableStream >', 'x')]) + ## position-allocator.h (module 'mobility'): void ns3::RandomBoxPositionAllocator::SetY(ns3::Ptr y) [member function] cls.add_method('SetY', 'void', - [param('ns3::RandomVariable', 'y')]) - ## position-allocator.h (module 'mobility'): void ns3::RandomBoxPositionAllocator::SetZ(ns3::RandomVariable z) [member function] + [param('ns3::Ptr< ns3::RandomVariableStream >', 'y')]) + ## position-allocator.h (module 'mobility'): void ns3::RandomBoxPositionAllocator::SetZ(ns3::Ptr z) [member function] cls.add_method('SetZ', 'void', - [param('ns3::RandomVariable', 'z')]) + [param('ns3::Ptr< ns3::RandomVariableStream >', 'z')]) return def register_Ns3RandomBuildingPositionAllocator_methods(root_module, cls): @@ -2089,6 +1853,11 @@ cls.add_constructor([param('ns3::RandomBuildingPositionAllocator const &', 'arg0')]) ## building-position-allocator.h (module 'buildings'): ns3::RandomBuildingPositionAllocator::RandomBuildingPositionAllocator() [constructor] cls.add_constructor([]) + ## building-position-allocator.h (module 'buildings'): int64_t ns3::RandomBuildingPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## building-position-allocator.h (module 'buildings'): ns3::Vector ns3::RandomBuildingPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2106,6 +1875,11 @@ cls.add_constructor([param('ns3::RandomDiscPositionAllocator const &', 'arg0')]) ## position-allocator.h (module 'mobility'): ns3::RandomDiscPositionAllocator::RandomDiscPositionAllocator() [constructor] cls.add_constructor([]) + ## position-allocator.h (module 'mobility'): int64_t ns3::RandomDiscPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## position-allocator.h (module 'mobility'): ns3::Vector ns3::RandomDiscPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2116,14 +1890,14 @@ 'ns3::TypeId', [], is_static=True) - ## position-allocator.h (module 'mobility'): void ns3::RandomDiscPositionAllocator::SetRho(ns3::RandomVariable rho) [member function] + ## position-allocator.h (module 'mobility'): void ns3::RandomDiscPositionAllocator::SetRho(ns3::Ptr rho) [member function] cls.add_method('SetRho', 'void', - [param('ns3::RandomVariable', 'rho')]) - ## position-allocator.h (module 'mobility'): void ns3::RandomDiscPositionAllocator::SetTheta(ns3::RandomVariable theta) [member function] + [param('ns3::Ptr< ns3::RandomVariableStream >', 'rho')]) + ## position-allocator.h (module 'mobility'): void ns3::RandomDiscPositionAllocator::SetTheta(ns3::Ptr theta) [member function] cls.add_method('SetTheta', 'void', - [param('ns3::RandomVariable', 'theta')]) + [param('ns3::Ptr< ns3::RandomVariableStream >', 'theta')]) ## position-allocator.h (module 'mobility'): void ns3::RandomDiscPositionAllocator::SetX(double x) [member function] cls.add_method('SetX', 'void', @@ -2147,6 +1921,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RandomPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3RandomRectanglePositionAllocator_methods(root_module, cls): @@ -2154,6 +1933,11 @@ cls.add_constructor([param('ns3::RandomRectanglePositionAllocator const &', 'arg0')]) ## position-allocator.h (module 'mobility'): ns3::RandomRectanglePositionAllocator::RandomRectanglePositionAllocator() [constructor] cls.add_constructor([]) + ## position-allocator.h (module 'mobility'): int64_t ns3::RandomRectanglePositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## position-allocator.h (module 'mobility'): ns3::Vector ns3::RandomRectanglePositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2164,14 +1948,14 @@ 'ns3::TypeId', [], is_static=True) - ## position-allocator.h (module 'mobility'): void ns3::RandomRectanglePositionAllocator::SetX(ns3::RandomVariable x) [member function] + ## position-allocator.h (module 'mobility'): void ns3::RandomRectanglePositionAllocator::SetX(ns3::Ptr x) [member function] cls.add_method('SetX', 'void', - [param('ns3::RandomVariable', 'x')]) - ## position-allocator.h (module 'mobility'): void ns3::RandomRectanglePositionAllocator::SetY(ns3::RandomVariable y) [member function] + [param('ns3::Ptr< ns3::RandomVariableStream >', 'x')]) + ## position-allocator.h (module 'mobility'): void ns3::RandomRectanglePositionAllocator::SetY(ns3::Ptr y) [member function] cls.add_method('SetY', 'void', - [param('ns3::RandomVariable', 'y')]) + [param('ns3::Ptr< ns3::RandomVariableStream >', 'y')]) return def register_Ns3RandomRoomPositionAllocator_methods(root_module, cls): @@ -2179,6 +1963,11 @@ cls.add_constructor([param('ns3::RandomRoomPositionAllocator const &', 'arg0')]) ## building-position-allocator.h (module 'buildings'): ns3::RandomRoomPositionAllocator::RandomRoomPositionAllocator() [constructor] cls.add_constructor([]) + ## building-position-allocator.h (module 'buildings'): int64_t ns3::RandomRoomPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## building-position-allocator.h (module 'buildings'): ns3::Vector ns3::RandomRoomPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2191,6 +1980,49 @@ is_static=True) 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_Ns3RangePropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::RangePropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -2204,6 +2036,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RangePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3SameRoomPositionAllocator_methods(root_module, cls): @@ -2213,6 +2050,11 @@ cls.add_constructor([]) ## building-position-allocator.h (module 'buildings'): ns3::SameRoomPositionAllocator::SameRoomPositionAllocator(ns3::NodeContainer c) [constructor] cls.add_constructor([param('ns3::NodeContainer', 'c')]) + ## building-position-allocator.h (module 'buildings'): int64_t ns3::SameRoomPositionAllocator::AssignStreams(int64_t arg0) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'arg0')], + is_virtual=True) ## building-position-allocator.h (module 'buildings'): ns3::Vector ns3::SameRoomPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2225,6 +2067,46 @@ is_static=True) 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([]) @@ -2298,6 +2180,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::ThreeLogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Time_methods(root_module, cls): @@ -2483,6 +2370,49 @@ 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_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -2531,6 +2461,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::TwoRayGroundPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3UniformDiscPositionAllocator_methods(root_module, cls): @@ -2538,6 +2473,11 @@ cls.add_constructor([param('ns3::UniformDiscPositionAllocator const &', 'arg0')]) ## position-allocator.h (module 'mobility'): ns3::UniformDiscPositionAllocator::UniformDiscPositionAllocator() [constructor] cls.add_constructor([]) + ## position-allocator.h (module 'mobility'): int64_t ns3::UniformDiscPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## position-allocator.h (module 'mobility'): ns3::Vector ns3::UniformDiscPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2562,6 +2502,158 @@ [param('double', 'y')]) 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')]) @@ -2809,6 +2901,11 @@ 'ns3::TypeId', [], is_static=True) + ## buildings-propagation-loss-model.h (module 'buildings'): int64_t ns3::BuildingsPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='protected', is_virtual=True) ## buildings-propagation-loss-model.h (module 'buildings'): double ns3::BuildingsPropagationLossModel::EvaluateSigma(ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('EvaluateSigma', 'double', @@ -2883,6 +2980,97 @@ [param('ns3::CallbackBase', 'base')]) 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_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')]) @@ -2905,6 +3093,82 @@ 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_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_Ns3FixedRssLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FixedRssLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -2922,6 +3186,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FixedRssLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3FriisPropagationLossModel_methods(root_module, cls): @@ -2968,6 +3237,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FriisPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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_Ns3GridBuildingAllocator_methods(root_module, cls): @@ -2996,6 +3308,11 @@ cls.add_constructor([param('ns3::GridPositionAllocator const &', 'arg0')]) ## position-allocator.h (module 'mobility'): ns3::GridPositionAllocator::GridPositionAllocator() [constructor] cls.add_constructor([]) + ## position-allocator.h (module 'mobility'): int64_t ns3::GridPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## position-allocator.h (module 'mobility'): double ns3::GridPositionAllocator::GetDeltaX() const [member function] cls.add_method('GetDeltaX', 'double', @@ -3271,6 +3588,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## itu-r-1238-propagation-loss-model.h (module 'buildings'): int64_t ns3::ItuR1238PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3ListPositionAllocator_methods(root_module, cls): @@ -3282,6 +3604,11 @@ cls.add_method('Add', 'void', [param('ns3::Vector', 'v')]) + ## position-allocator.h (module 'mobility'): int64_t ns3::ListPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## position-allocator.h (module 'mobility'): ns3::Vector ns3::ListPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -3320,6 +3647,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::LogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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_Ns3MatrixPropagationLossModel_methods(root_module, cls): @@ -3343,6 +3713,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::MatrixPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3MobilityModel_methods(root_module, cls): @@ -3350,6 +3725,10 @@ cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor] cls.add_constructor([]) + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr position) const [member function] cls.add_method('GetDistanceFrom', 'double', @@ -3384,6 +3763,11 @@ 'void', [], is_const=True, visibility='protected') + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::DoAssignStreams(int64_t start) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'start')], + visibility='private', is_virtual=True) ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function] cls.add_method('DoGetPosition', 'ns3::Vector', @@ -3414,6 +3798,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::NakagamiPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3NetDevice_methods(root_module, cls): @@ -3631,6 +4020,51 @@ 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([]) @@ -3686,44 +4120,47 @@ is_const=True, is_virtual=True) 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] +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_static=True) + ## random-variable-stream.h (module 'core'): ns3::ParetoRandomVariable::ParetoRandomVariable() [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 >', - [], - 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', + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetMean() const [member function] + cls.add_method('GetMean', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetShape() const [member function] + cls.add_method('GetShape', + '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::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): diff -r 85eed149a0ea -r 7752dc4ce7e9 src/buildings/bindings/modulegen__gcc_LP64.py --- a/src/buildings/bindings/modulegen__gcc_LP64.py Wed Aug 15 15:33:02 2012 -0700 +++ b/src/buildings/bindings/modulegen__gcc_LP64.py Wed Aug 15 18:08:46 2012 -0700 @@ -66,18 +66,10 @@ module.add_class('ObjectDeleter', import_from_module='ns.core') ## object-factory.h (module 'core'): ns3::ObjectFactory [class] module.add_class('ObjectFactory', import_from_module='ns.core') - ## 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')) ## 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] @@ -86,46 +78,18 @@ 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']) ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] module.add_class('Vector3D', import_from_module='ns.core') - ## 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') - ## random-variable.h (module 'core'): ns3::ConstantVariable [class] - module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## 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']) - ## 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']) ## position-allocator.h (module 'mobility'): ns3::PositionAllocator [class] module.add_class('PositionAllocator', import_from_module='ns.mobility', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel [class] @@ -142,10 +106,14 @@ module.add_class('RandomRectanglePositionAllocator', import_from_module='ns.mobility', parent=root_module['ns3::PositionAllocator']) ## building-position-allocator.h (module 'buildings'): ns3::RandomRoomPositionAllocator [class] module.add_class('RandomRoomPositionAllocator', parent=root_module['ns3::PositionAllocator']) + ## random-variable-stream.h (module 'core'): ns3::RandomVariableStream [class] + module.add_class('RandomVariableStream', import_from_module='ns.core', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel [class] module.add_class('RangePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## building-position-allocator.h (module 'buildings'): ns3::SameRoomPositionAllocator [class] module.add_class('SameRoomPositionAllocator', parent=root_module['ns3::PositionAllocator']) + ## 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] @@ -166,10 +134,20 @@ root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t']) ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class] module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) + ## random-variable-stream.h (module 'core'): ns3::TriangularRandomVariable [class] + module.add_class('TriangularRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] module.add_class('TwoRayGroundPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## position-allocator.h (module 'mobility'): ns3::UniformDiscPositionAllocator [class] module.add_class('UniformDiscPositionAllocator', import_from_module='ns.mobility', parent=root_module['ns3::PositionAllocator']) + ## 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] @@ -194,12 +172,24 @@ module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) ## callback.h (module 'core'): ns3::CallbackValue [class] module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## random-variable-stream.h (module 'core'): ns3::ConstantRandomVariable [class] + module.add_class('ConstantRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) + ## 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']) + ## random-variable-stream.h (module 'core'): ns3::ExponentialRandomVariable [class] + module.add_class('ExponentialRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel [class] module.add_class('FixedRssLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel [class] module.add_class('FriisPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::GammaRandomVariable [class] + module.add_class('GammaRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## building-allocator.h (module 'buildings'): ns3::GridBuildingAllocator [class] module.add_class('GridBuildingAllocator', parent=root_module['ns3::Object']) ## position-allocator.h (module 'mobility'): ns3::GridPositionAllocator [class] @@ -230,6 +220,8 @@ module.add_class('ListPositionAllocator', import_from_module='ns.mobility', parent=root_module['ns3::PositionAllocator']) ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] module.add_class('LogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class] + module.add_class('LogNormalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-loss-model.h (module 'propagation'): ns3::MatrixPropagationLossModel [class] module.add_class('MatrixPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## mobility-model.h (module 'mobility'): ns3::MobilityModel [class] @@ -242,16 +234,16 @@ module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network') ## 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] module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## oh-buildings-propagation-loss-model.h (module 'buildings'): ns3::OhBuildingsPropagationLossModel [class] module.add_class('OhBuildingsPropagationLossModel', parent=root_module['ns3::BuildingsPropagationLossModel']) - ## 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] @@ -278,10 +270,6 @@ typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') - 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') typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') @@ -319,35 +307,17 @@ register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) - 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_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_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) - 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_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) - 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_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_Ns3PositionAllocator_methods(root_module, root_module['ns3::PositionAllocator']) register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) register_Ns3RandomBoxPositionAllocator_methods(root_module, root_module['ns3::RandomBoxPositionAllocator']) @@ -356,8 +326,10 @@ register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) register_Ns3RandomRectanglePositionAllocator_methods(root_module, root_module['ns3::RandomRectanglePositionAllocator']) register_Ns3RandomRoomPositionAllocator_methods(root_module, root_module['ns3::RandomRoomPositionAllocator']) + register_Ns3RandomVariableStream_methods(root_module, root_module['ns3::RandomVariableStream']) register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) register_Ns3SameRoomPositionAllocator_methods(root_module, root_module['ns3::SameRoomPositionAllocator']) + 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 >']) @@ -366,8 +338,13 @@ register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) + register_Ns3TriangularRandomVariable_methods(root_module, root_module['ns3::TriangularRandomVariable']) register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) register_Ns3UniformDiscPositionAllocator_methods(root_module, root_module['ns3::UniformDiscPositionAllocator']) + 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']) @@ -378,9 +355,15 @@ register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker']) register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) + register_Ns3ConstantRandomVariable_methods(root_module, root_module['ns3::ConstantRandomVariable']) + 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_Ns3ExponentialRandomVariable_methods(root_module, root_module['ns3::ExponentialRandomVariable']) register_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) + register_Ns3GammaRandomVariable_methods(root_module, root_module['ns3::GammaRandomVariable']) register_Ns3GridBuildingAllocator_methods(root_module, root_module['ns3::GridBuildingAllocator']) register_Ns3GridPositionAllocator_methods(root_module, root_module['ns3::GridPositionAllocator']) register_Ns3HybridBuildingsPropagationLossModel_methods(root_module, root_module['ns3::HybridBuildingsPropagationLossModel']) @@ -395,16 +378,17 @@ register_Ns3ItuR1238PropagationLossModel_methods(root_module, root_module['ns3::ItuR1238PropagationLossModel']) register_Ns3ListPositionAllocator_methods(root_module, root_module['ns3::ListPositionAllocator']) register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) + register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable']) register_Ns3MatrixPropagationLossModel_methods(root_module, root_module['ns3::MatrixPropagationLossModel']) register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel']) register_Ns3NakagamiPropagationLossModel_methods(root_module, root_module['ns3::NakagamiPropagationLossModel']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) 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_Ns3OhBuildingsPropagationLossModel_methods(root_module, root_module['ns3::OhBuildingsPropagationLossModel']) - 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']) @@ -1312,65 +1296,6 @@ [param('std::string', 'tid')]) 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([]) @@ -1446,15 +1371,6 @@ [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('!=') @@ -1629,28 +1545,6 @@ 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_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -1681,37 +1575,6 @@ cls.add_instance_attribute('z', 'double', is_const=False) 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([]) @@ -1826,111 +1689,6 @@ [param('ns3::int64x64_t const &', 'o')]) 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_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_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([]) @@ -1997,28 +1755,16 @@ []) 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_Ns3PositionAllocator_methods(root_module, cls): ## position-allocator.h (module 'mobility'): ns3::PositionAllocator::PositionAllocator(ns3::PositionAllocator const & arg0) [copy constructor] cls.add_constructor([param('ns3::PositionAllocator const &', 'arg0')]) ## position-allocator.h (module 'mobility'): ns3::PositionAllocator::PositionAllocator() [constructor] cls.add_constructor([]) + ## position-allocator.h (module 'mobility'): int64_t ns3::PositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, is_virtual=True) ## position-allocator.h (module 'mobility'): ns3::Vector ns3::PositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2043,16 +1789,29 @@ cls.add_method('SetNext', 'void', [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): ns3::Ptr ns3::PropagationLossModel::GetNext() [member function] + cls.add_method('GetNext', + 'ns3::Ptr< ns3::PropagationLossModel >', + []) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('CalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('DoCalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3RandomBoxPositionAllocator_methods(root_module, cls): @@ -2060,6 +1819,11 @@ cls.add_constructor([param('ns3::RandomBoxPositionAllocator const &', 'arg0')]) ## position-allocator.h (module 'mobility'): ns3::RandomBoxPositionAllocator::RandomBoxPositionAllocator() [constructor] cls.add_constructor([]) + ## position-allocator.h (module 'mobility'): int64_t ns3::RandomBoxPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## position-allocator.h (module 'mobility'): ns3::Vector ns3::RandomBoxPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2070,18 +1834,18 @@ 'ns3::TypeId', [], is_static=True) - ## position-allocator.h (module 'mobility'): void ns3::RandomBoxPositionAllocator::SetX(ns3::RandomVariable x) [member function] + ## position-allocator.h (module 'mobility'): void ns3::RandomBoxPositionAllocator::SetX(ns3::Ptr x) [member function] cls.add_method('SetX', 'void', - [param('ns3::RandomVariable', 'x')]) - ## position-allocator.h (module 'mobility'): void ns3::RandomBoxPositionAllocator::SetY(ns3::RandomVariable y) [member function] + [param('ns3::Ptr< ns3::RandomVariableStream >', 'x')]) + ## position-allocator.h (module 'mobility'): void ns3::RandomBoxPositionAllocator::SetY(ns3::Ptr y) [member function] cls.add_method('SetY', 'void', - [param('ns3::RandomVariable', 'y')]) - ## position-allocator.h (module 'mobility'): void ns3::RandomBoxPositionAllocator::SetZ(ns3::RandomVariable z) [member function] + [param('ns3::Ptr< ns3::RandomVariableStream >', 'y')]) + ## position-allocator.h (module 'mobility'): void ns3::RandomBoxPositionAllocator::SetZ(ns3::Ptr z) [member function] cls.add_method('SetZ', 'void', - [param('ns3::RandomVariable', 'z')]) + [param('ns3::Ptr< ns3::RandomVariableStream >', 'z')]) return def register_Ns3RandomBuildingPositionAllocator_methods(root_module, cls): @@ -2089,6 +1853,11 @@ cls.add_constructor([param('ns3::RandomBuildingPositionAllocator const &', 'arg0')]) ## building-position-allocator.h (module 'buildings'): ns3::RandomBuildingPositionAllocator::RandomBuildingPositionAllocator() [constructor] cls.add_constructor([]) + ## building-position-allocator.h (module 'buildings'): int64_t ns3::RandomBuildingPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## building-position-allocator.h (module 'buildings'): ns3::Vector ns3::RandomBuildingPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2106,6 +1875,11 @@ cls.add_constructor([param('ns3::RandomDiscPositionAllocator const &', 'arg0')]) ## position-allocator.h (module 'mobility'): ns3::RandomDiscPositionAllocator::RandomDiscPositionAllocator() [constructor] cls.add_constructor([]) + ## position-allocator.h (module 'mobility'): int64_t ns3::RandomDiscPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## position-allocator.h (module 'mobility'): ns3::Vector ns3::RandomDiscPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2116,14 +1890,14 @@ 'ns3::TypeId', [], is_static=True) - ## position-allocator.h (module 'mobility'): void ns3::RandomDiscPositionAllocator::SetRho(ns3::RandomVariable rho) [member function] + ## position-allocator.h (module 'mobility'): void ns3::RandomDiscPositionAllocator::SetRho(ns3::Ptr rho) [member function] cls.add_method('SetRho', 'void', - [param('ns3::RandomVariable', 'rho')]) - ## position-allocator.h (module 'mobility'): void ns3::RandomDiscPositionAllocator::SetTheta(ns3::RandomVariable theta) [member function] + [param('ns3::Ptr< ns3::RandomVariableStream >', 'rho')]) + ## position-allocator.h (module 'mobility'): void ns3::RandomDiscPositionAllocator::SetTheta(ns3::Ptr theta) [member function] cls.add_method('SetTheta', 'void', - [param('ns3::RandomVariable', 'theta')]) + [param('ns3::Ptr< ns3::RandomVariableStream >', 'theta')]) ## position-allocator.h (module 'mobility'): void ns3::RandomDiscPositionAllocator::SetX(double x) [member function] cls.add_method('SetX', 'void', @@ -2147,6 +1921,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RandomPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3RandomRectanglePositionAllocator_methods(root_module, cls): @@ -2154,6 +1933,11 @@ cls.add_constructor([param('ns3::RandomRectanglePositionAllocator const &', 'arg0')]) ## position-allocator.h (module 'mobility'): ns3::RandomRectanglePositionAllocator::RandomRectanglePositionAllocator() [constructor] cls.add_constructor([]) + ## position-allocator.h (module 'mobility'): int64_t ns3::RandomRectanglePositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## position-allocator.h (module 'mobility'): ns3::Vector ns3::RandomRectanglePositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2164,14 +1948,14 @@ 'ns3::TypeId', [], is_static=True) - ## position-allocator.h (module 'mobility'): void ns3::RandomRectanglePositionAllocator::SetX(ns3::RandomVariable x) [member function] + ## position-allocator.h (module 'mobility'): void ns3::RandomRectanglePositionAllocator::SetX(ns3::Ptr x) [member function] cls.add_method('SetX', 'void', - [param('ns3::RandomVariable', 'x')]) - ## position-allocator.h (module 'mobility'): void ns3::RandomRectanglePositionAllocator::SetY(ns3::RandomVariable y) [member function] + [param('ns3::Ptr< ns3::RandomVariableStream >', 'x')]) + ## position-allocator.h (module 'mobility'): void ns3::RandomRectanglePositionAllocator::SetY(ns3::Ptr y) [member function] cls.add_method('SetY', 'void', - [param('ns3::RandomVariable', 'y')]) + [param('ns3::Ptr< ns3::RandomVariableStream >', 'y')]) return def register_Ns3RandomRoomPositionAllocator_methods(root_module, cls): @@ -2179,6 +1963,11 @@ cls.add_constructor([param('ns3::RandomRoomPositionAllocator const &', 'arg0')]) ## building-position-allocator.h (module 'buildings'): ns3::RandomRoomPositionAllocator::RandomRoomPositionAllocator() [constructor] cls.add_constructor([]) + ## building-position-allocator.h (module 'buildings'): int64_t ns3::RandomRoomPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## building-position-allocator.h (module 'buildings'): ns3::Vector ns3::RandomRoomPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2191,6 +1980,49 @@ is_static=True) 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_Ns3RangePropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::RangePropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -2204,6 +2036,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RangePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3SameRoomPositionAllocator_methods(root_module, cls): @@ -2213,6 +2050,11 @@ cls.add_constructor([]) ## building-position-allocator.h (module 'buildings'): ns3::SameRoomPositionAllocator::SameRoomPositionAllocator(ns3::NodeContainer c) [constructor] cls.add_constructor([param('ns3::NodeContainer', 'c')]) + ## building-position-allocator.h (module 'buildings'): int64_t ns3::SameRoomPositionAllocator::AssignStreams(int64_t arg0) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'arg0')], + is_virtual=True) ## building-position-allocator.h (module 'buildings'): ns3::Vector ns3::SameRoomPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2225,6 +2067,46 @@ is_static=True) 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([]) @@ -2298,6 +2180,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::ThreeLogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Time_methods(root_module, cls): @@ -2483,6 +2370,49 @@ 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_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -2531,6 +2461,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::TwoRayGroundPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3UniformDiscPositionAllocator_methods(root_module, cls): @@ -2538,6 +2473,11 @@ cls.add_constructor([param('ns3::UniformDiscPositionAllocator const &', 'arg0')]) ## position-allocator.h (module 'mobility'): ns3::UniformDiscPositionAllocator::UniformDiscPositionAllocator() [constructor] cls.add_constructor([]) + ## position-allocator.h (module 'mobility'): int64_t ns3::UniformDiscPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## position-allocator.h (module 'mobility'): ns3::Vector ns3::UniformDiscPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -2562,6 +2502,158 @@ [param('double', 'y')]) 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')]) @@ -2809,6 +2901,11 @@ 'ns3::TypeId', [], is_static=True) + ## buildings-propagation-loss-model.h (module 'buildings'): int64_t ns3::BuildingsPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='protected', is_virtual=True) ## buildings-propagation-loss-model.h (module 'buildings'): double ns3::BuildingsPropagationLossModel::EvaluateSigma(ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('EvaluateSigma', 'double', @@ -2883,6 +2980,97 @@ [param('ns3::CallbackBase', 'base')]) 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_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')]) @@ -2905,6 +3093,82 @@ 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_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_Ns3FixedRssLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FixedRssLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -2922,6 +3186,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FixedRssLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3FriisPropagationLossModel_methods(root_module, cls): @@ -2968,6 +3237,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FriisPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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_Ns3GridBuildingAllocator_methods(root_module, cls): @@ -2996,6 +3308,11 @@ cls.add_constructor([param('ns3::GridPositionAllocator const &', 'arg0')]) ## position-allocator.h (module 'mobility'): ns3::GridPositionAllocator::GridPositionAllocator() [constructor] cls.add_constructor([]) + ## position-allocator.h (module 'mobility'): int64_t ns3::GridPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## position-allocator.h (module 'mobility'): double ns3::GridPositionAllocator::GetDeltaX() const [member function] cls.add_method('GetDeltaX', 'double', @@ -3271,6 +3588,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## itu-r-1238-propagation-loss-model.h (module 'buildings'): int64_t ns3::ItuR1238PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3ListPositionAllocator_methods(root_module, cls): @@ -3282,6 +3604,11 @@ cls.add_method('Add', 'void', [param('ns3::Vector', 'v')]) + ## position-allocator.h (module 'mobility'): int64_t ns3::ListPositionAllocator::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## position-allocator.h (module 'mobility'): ns3::Vector ns3::ListPositionAllocator::GetNext() const [member function] cls.add_method('GetNext', 'ns3::Vector', @@ -3320,6 +3647,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::LogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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_Ns3MatrixPropagationLossModel_methods(root_module, cls): @@ -3343,6 +3713,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::MatrixPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3MobilityModel_methods(root_module, cls): @@ -3350,6 +3725,10 @@ cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor] cls.add_constructor([]) + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr position) const [member function] cls.add_method('GetDistanceFrom', 'double', @@ -3384,6 +3763,11 @@ 'void', [], is_const=True, visibility='protected') + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::DoAssignStreams(int64_t start) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'start')], + visibility='private', is_virtual=True) ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function] cls.add_method('DoGetPosition', 'ns3::Vector', @@ -3414,6 +3798,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::NakagamiPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3NetDevice_methods(root_module, cls): @@ -3631,6 +4020,51 @@ 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([]) @@ -3686,44 +4120,47 @@ is_const=True, is_virtual=True) 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] +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_static=True) + ## random-variable-stream.h (module 'core'): ns3::ParetoRandomVariable::ParetoRandomVariable() [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 >', - [], - 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', + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetMean() const [member function] + cls.add_method('GetMean', + 'double', + [], + is_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetShape() const [member function] + cls.add_method('GetShape', + '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::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): diff -r 85eed149a0ea -r 7752dc4ce7e9 src/buildings/helper/building-allocator.cc --- a/src/buildings/helper/building-allocator.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/buildings/helper/building-allocator.cc Wed Aug 15 18:08:46 2012 -0700 @@ -21,7 +21,6 @@ */ #include "building-allocator.h" #include "ns3/building.h" -#include "ns3/random-variable.h" #include "ns3/double.h" #include "ns3/uinteger.h" #include "ns3/enum.h" diff -r 85eed149a0ea -r 7752dc4ce7e9 src/buildings/helper/building-allocator.h --- a/src/buildings/helper/building-allocator.h Wed Aug 15 15:33:02 2012 -0700 +++ b/src/buildings/helper/building-allocator.h Wed Aug 15 18:08:46 2012 -0700 @@ -24,7 +24,6 @@ #include "ns3/object.h" #include "ns3/object-factory.h" -#include "ns3/random-variable.h" #include "ns3/vector.h" #include "ns3/building-container.h" #include "ns3/position-allocator.h" diff -r 85eed149a0ea -r 7752dc4ce7e9 src/buildings/helper/building-position-allocator.h --- a/src/buildings/helper/building-position-allocator.h Wed Aug 15 15:33:02 2012 -0700 +++ b/src/buildings/helper/building-position-allocator.h Wed Aug 15 18:08:46 2012 -0700 @@ -23,6 +23,7 @@ #include #include #include +#include "ns3/random-variable-stream.h" namespace ns3 { @@ -45,12 +46,23 @@ // inherited from PositionAllocator virtual Vector GetNext (void) const; - int64_t AssignStreams (int64_t); + + /** + * 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: bool m_withReplacement; mutable std::vector< Ptr > m_buildingListWithoutReplacement; + + /// Provides uniform random variables. Ptr m_rand; }; @@ -71,7 +83,16 @@ // inherited from PositionAllocator virtual Vector GetNext (void) const; - int64_t AssignStreams (int64_t); + + /** + * 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: @@ -84,6 +105,8 @@ uint32_t floor; }; mutable std::vector m_roomListWithoutReplacement; + + /// Provides uniform random variables. Ptr m_rand; }; @@ -104,12 +127,23 @@ // inherited from PositionAllocator virtual Vector GetNext (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); private: NodeContainer m_nodes; mutable NodeContainer::Iterator m_nodeIt; + + /// Provides uniform random variables. Ptr m_rand; }; diff -r 85eed149a0ea -r 7752dc4ce7e9 src/buildings/model/buildings-propagation-loss-model.cc --- a/src/buildings/model/buildings-propagation-loss-model.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/buildings/model/buildings-propagation-loss-model.cc Wed Aug 15 18:08:46 2012 -0700 @@ -34,6 +34,7 @@ NS_LOG_COMPONENT_DEFINE ("BuildingsPropagationLossModel"); namespace ns3 { + Ptr BuildingsPropagationLossModel::ShadowingLoss::m_randVariable = CreateObject (); NS_OBJECT_ENSURE_REGISTERED (BuildingsPropagationLossModel); @@ -44,10 +45,14 @@ BuildingsPropagationLossModel::ShadowingLoss::ShadowingLoss (double mean, double sigma, Ptr receiver) - : m_receiver (receiver), - m_randVariable (mean, sigma * sigma) // NormalVariable class wants mean and variance (sigma is a standard deviation) + : m_receiver (receiver) { - m_shadowingValue = m_randVariable.GetValue (); + // NormalRandomVariable class wants mean and variance (sigma is a + // standard deviation) + m_randVariable->SetAttribute ("Mean", DoubleValue (mean)); + m_randVariable->SetAttribute ("Variance", DoubleValue (sigma * sigma)); + + m_shadowingValue = m_randVariable->GetValue (); NS_LOG_INFO (this << " New Shadowing: sigma " << sigma << " value " << m_shadowingValue); } @@ -63,6 +68,13 @@ return m_receiver; } +int64_t +BuildingsPropagationLossModel::ShadowingLoss::AssignStreams (int64_t stream) +{ + m_randVariable->SetStream (stream); + return 1; +} + TypeId BuildingsPropagationLossModel::GetTypeId (void) { @@ -214,5 +226,11 @@ return txPowerDbm - GetLoss (a, b) - GetShadowing (a, b); } +int64_t +BuildingsPropagationLossModel::DoAssignStreams (int64_t stream) +{ + return ShadowingLoss::AssignStreams (stream); +} + } // namespace ns3 diff -r 85eed149a0ea -r 7752dc4ce7e9 src/buildings/model/buildings-propagation-loss-model.h --- a/src/buildings/model/buildings-propagation-loss-model.h Wed Aug 15 15:33:02 2012 -0700 +++ b/src/buildings/model/buildings-propagation-loss-model.h Wed Aug 15 18:08:46 2012 -0700 @@ -25,6 +25,7 @@ #include "ns3/nstime.h" #include "ns3/propagation-loss-model.h" +#include "ns3/random-variable-stream.h" #include #include @@ -68,7 +69,6 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; protected: - double ExternalWallLoss (Ptr a) const; double HeightLoss (Ptr n) const; double InternalWallsLoss (Ptr a, Ptr b) const; @@ -85,9 +85,11 @@ ShadowingLoss (double mean, double sigma, Ptr receiver); double GetLoss () const; Ptr GetReceiver (void) const; + static int64_t AssignStreams (int64_t stream); protected: Ptr m_receiver; - NormalVariable m_randVariable; + static Ptr m_randVariable; + double m_shadowingValue; }; @@ -99,6 +101,7 @@ double m_shadowingSigmaOutdoor; double m_shadowingSigmaIndoor; + virtual int64_t DoAssignStreams (int64_t stream); }; } diff -r 85eed149a0ea -r 7752dc4ce7e9 src/buildings/model/itu-r-1238-propagation-loss-model.cc --- a/src/buildings/model/itu-r-1238-propagation-loss-model.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/buildings/model/itu-r-1238-propagation-loss-model.cc Wed Aug 15 18:08:46 2012 -0700 @@ -111,6 +111,11 @@ } +int64_t +ItuR1238PropagationLossModel::DoAssignStreams (int64_t stream) +{ + return 0; +} } // namespace ns3 diff -r 85eed149a0ea -r 7752dc4ce7e9 src/buildings/model/itu-r-1238-propagation-loss-model.h --- a/src/buildings/model/itu-r-1238-propagation-loss-model.h Wed Aug 15 15:33:02 2012 -0700 +++ b/src/buildings/model/itu-r-1238-propagation-loss-model.h Wed Aug 15 18:08:46 2012 -0700 @@ -57,6 +57,7 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); double m_frequency; ///< frequency in MHz double m_lambda; ///< wavelength diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/bindings/modulegen__gcc_ILP32.py --- a/src/propagation/bindings/modulegen__gcc_ILP32.py Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/bindings/modulegen__gcc_ILP32.py Wed Aug 15 18:08:46 2012 -0700 @@ -36,16 +36,8 @@ module.add_class('ObjectDeleter', import_from_module='ns.core') ## propagation-cache.h (module 'propagation'): ns3::PropagationCache [class] module.add_class('PropagationCache', template_parameters=['ns3::JakesProcess']) - ## 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')) - ## 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] @@ -54,46 +46,18 @@ 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']) ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] module.add_class('Vector3D', import_from_module='ns.core') - ## 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') - ## random-variable.h (module 'core'): ns3::ConstantVariable [class] - module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## 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']) - ## 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']) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel [class] module.add_class('PropagationDelayModel', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel [class] @@ -102,8 +66,12 @@ module.add_class('RandomPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel']) ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel [class] module.add_class('RandomPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::RandomVariableStream [class] + module.add_class('RandomVariableStream', import_from_module='ns.core', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel [class] module.add_class('RangePropagationLossModel', parent=root_module['ns3::PropagationLossModel']) + ## 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] @@ -124,8 +92,18 @@ root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t']) ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class] module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) + ## random-variable-stream.h (module 'core'): ns3::TriangularRandomVariable [class] + module.add_class('TriangularRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] module.add_class('TwoRayGroundPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) + ## 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] @@ -138,18 +116,30 @@ module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) ## callback.h (module 'core'): ns3::CallbackValue [class] module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## random-variable-stream.h (module 'core'): ns3::ConstantRandomVariable [class] + module.add_class('ConstantRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel [class] module.add_class('ConstantSpeedPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel']) ## cost231-propagation-loss-model.h (module 'propagation'): ns3::Cost231PropagationLossModel [class] module.add_class('Cost231PropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## cost231-propagation-loss-model.h (module 'propagation'): ns3::Cost231PropagationLossModel::Environment [enumeration] module.add_enum('Environment', ['SubUrban', 'MediumCity', 'Metropolitan'], outer_class=root_module['ns3::Cost231PropagationLossModel']) + ## 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']) + ## random-variable-stream.h (module 'core'): ns3::ExponentialRandomVariable [class] + module.add_class('ExponentialRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel [class] module.add_class('FixedRssLossModel', parent=root_module['ns3::PropagationLossModel']) ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel [class] module.add_class('FriisPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::GammaRandomVariable [class] + module.add_class('GammaRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## itu-r-1411-los-propagation-loss-model.h (module 'propagation'): ns3::ItuR1411LosPropagationLossModel [class] module.add_class('ItuR1411LosPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## itu-r-1411-nlos-over-rooftop-propagation-loss-model.h (module 'propagation'): ns3::ItuR1411NlosOverRooftopPropagationLossModel [class] @@ -162,18 +152,20 @@ module.add_class('Kun2600MhzPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] module.add_class('LogDistancePropagationLossModel', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class] + module.add_class('LogNormalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-loss-model.h (module 'propagation'): ns3::MatrixPropagationLossModel [class] module.add_class('MatrixPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## mobility-model.h (module 'mobility'): ns3::MobilityModel [class] module.add_class('MobilityModel', import_from_module='ns.mobility', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::NakagamiPropagationLossModel [class] module.add_class('NakagamiPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::NormalRandomVariable [class] + module.add_class('NormalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## okumura-hata-propagation-loss-model.h (module 'propagation'): ns3::OkumuraHataPropagationLossModel [class] module.add_class('OkumuraHataPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## 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] @@ -194,10 +186,6 @@ typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') - 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') typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') @@ -224,39 +212,23 @@ register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) register_Ns3PropagationCache__Ns3JakesProcess_methods(root_module, root_module['ns3::PropagationCache< ns3::JakesProcess >']) - 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_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_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) - 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_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) - 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_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_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) + register_Ns3RandomVariableStream_methods(root_module, root_module['ns3::RandomVariableStream']) register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) + 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 >']) @@ -265,30 +237,42 @@ register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) + register_Ns3TriangularRandomVariable_methods(root_module, root_module['ns3::TriangularRandomVariable']) register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) + 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']) register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker']) register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) + register_Ns3ConstantRandomVariable_methods(root_module, root_module['ns3::ConstantRandomVariable']) register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) register_Ns3Cost231PropagationLossModel_methods(root_module, root_module['ns3::Cost231PropagationLossModel']) + 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_Ns3ExponentialRandomVariable_methods(root_module, root_module['ns3::ExponentialRandomVariable']) register_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) + register_Ns3GammaRandomVariable_methods(root_module, root_module['ns3::GammaRandomVariable']) register_Ns3ItuR1411LosPropagationLossModel_methods(root_module, root_module['ns3::ItuR1411LosPropagationLossModel']) register_Ns3ItuR1411NlosOverRooftopPropagationLossModel_methods(root_module, root_module['ns3::ItuR1411NlosOverRooftopPropagationLossModel']) register_Ns3JakesProcess_methods(root_module, root_module['ns3::JakesProcess']) register_Ns3JakesPropagationLossModel_methods(root_module, root_module['ns3::JakesPropagationLossModel']) register_Ns3Kun2600MhzPropagationLossModel_methods(root_module, root_module['ns3::Kun2600MhzPropagationLossModel']) register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) + register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable']) register_Ns3MatrixPropagationLossModel_methods(root_module, root_module['ns3::MatrixPropagationLossModel']) register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel']) register_Ns3NakagamiPropagationLossModel_methods(root_module, root_module['ns3::NakagamiPropagationLossModel']) + register_Ns3NormalRandomVariable_methods(root_module, root_module['ns3::NormalRandomVariable']) register_Ns3OkumuraHataPropagationLossModel_methods(root_module, root_module['ns3::OkumuraHataPropagationLossModel']) - 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']) @@ -442,65 +426,6 @@ [param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b'), param('uint32_t', 'modelUid')]) 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([]) @@ -513,15 +438,6 @@ is_static=True) 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('!=') @@ -696,28 +612,6 @@ 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_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -748,37 +642,6 @@ cls.add_instance_attribute('z', 'double', is_const=False) 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([]) @@ -893,111 +756,6 @@ [param('ns3::int64x64_t const &', 'o')]) 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_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_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([]) @@ -1064,28 +822,15 @@ []) 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_Ns3PropagationDelayModel_methods(root_module, cls): ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel() [constructor] cls.add_constructor([]) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel(ns3::PropagationDelayModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::PropagationDelayModel const &', 'arg0')]) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::PropagationDelayModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::PropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('GetDelay', 'ns3::Time', @@ -1096,6 +841,11 @@ 'ns3::TypeId', [], is_static=True) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::PropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3PropagationLossModel_methods(root_module, cls): @@ -1110,16 +860,29 @@ cls.add_method('SetNext', 'void', [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): ns3::Ptr ns3::PropagationLossModel::GetNext() [member function] + cls.add_method('GetNext', + 'ns3::Ptr< ns3::PropagationLossModel >', + []) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('CalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('DoCalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3RandomPropagationDelayModel_methods(root_module, cls): @@ -1137,6 +900,11 @@ 'ns3::TypeId', [], is_static=True) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::RandomPropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3RandomPropagationLossModel_methods(root_module, cls): @@ -1152,6 +920,54 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RandomPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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_Ns3RangePropagationLossModel_methods(root_module, cls): @@ -1167,6 +983,51 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RangePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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): @@ -1242,6 +1103,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::ThreeLogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Time_methods(root_module, cls): @@ -1427,6 +1293,49 @@ 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_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -1475,6 +1384,163 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::TwoRayGroundPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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): @@ -1615,6 +1681,39 @@ [param('ns3::CallbackBase', 'base')]) 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_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, cls): ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel(ns3::ConstantSpeedPropagationDelayModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::ConstantSpeedPropagationDelayModel const &', 'arg0')]) @@ -1639,6 +1738,11 @@ cls.add_method('SetSpeed', 'void', [param('double', 'speed')]) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::ConstantSpeedPropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Cost231PropagationLossModel_methods(root_module, cls): @@ -1716,6 +1820,69 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## cost231-propagation-loss-model.h (module 'propagation'): int64_t ns3::Cost231PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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): @@ -1740,6 +1907,82 @@ 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_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_Ns3FixedRssLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FixedRssLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -1757,6 +2000,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FixedRssLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3FriisPropagationLossModel_methods(root_module, cls): @@ -1803,6 +2051,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FriisPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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_Ns3ItuR1411LosPropagationLossModel_methods(root_module, cls): @@ -1827,6 +2118,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## itu-r-1411-los-propagation-loss-model.h (module 'propagation'): int64_t ns3::ItuR1411LosPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3ItuR1411NlosOverRooftopPropagationLossModel_methods(root_module, cls): @@ -1851,6 +2147,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## itu-r-1411-nlos-over-rooftop-propagation-loss-model.h (module 'propagation'): int64_t ns3::ItuR1411NlosOverRooftopPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3JakesProcess_methods(root_module, cls): @@ -1858,6 +2159,11 @@ cls.add_constructor([param('ns3::JakesProcess const &', 'arg0')]) ## jakes-process.h (module 'propagation'): ns3::JakesProcess::JakesProcess() [constructor] cls.add_constructor([]) + ## jakes-process.h (module 'propagation'): static int64_t ns3::JakesProcess::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_static=True) ## jakes-process.h (module 'propagation'): double ns3::JakesProcess::GetChannelGainDb() const [member function] cls.add_method('GetChannelGainDb', 'double', @@ -1888,6 +2194,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## jakes-propagation-loss-model.h (module 'propagation'): int64_t ns3::JakesPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Kun2600MhzPropagationLossModel_methods(root_module, cls): @@ -1908,6 +2219,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## kun-2600-mhz-propagation-loss-model.h (module 'propagation'): int64_t ns3::Kun2600MhzPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3LogDistancePropagationLossModel_methods(root_module, cls): @@ -1936,6 +2252,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::LogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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_Ns3MatrixPropagationLossModel_methods(root_module, cls): @@ -1959,6 +2318,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::MatrixPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3MobilityModel_methods(root_module, cls): @@ -1966,6 +2330,10 @@ cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor] cls.add_constructor([]) + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr position) const [member function] cls.add_method('GetDistanceFrom', 'double', @@ -2000,6 +2368,11 @@ 'void', [], is_const=True, visibility='protected') + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::DoAssignStreams(int64_t start) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'start')], + visibility='private', is_virtual=True) ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function] cls.add_method('DoGetPosition', 'ns3::Vector', @@ -2030,6 +2403,56 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::NakagamiPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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_Ns3OkumuraHataPropagationLossModel_methods(root_module, cls): @@ -2050,46 +2473,54 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) - 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')]) + ## okumura-hata-propagation-loss-model.h (module 'propagation'): int64_t ns3::OkumuraHataPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return -def register_Ns3RandomVariableValue_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor] +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_static=True) + ## random-variable-stream.h (module 'core'): ns3::ParetoRandomVariable::ParetoRandomVariable() [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 >', + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetMean() const [member function] + cls.add_method('GetMean', + 'double', [], - 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_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetShape() const [member function] + cls.add_method('GetShape', + '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::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): diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/bindings/modulegen__gcc_LP64.py --- a/src/propagation/bindings/modulegen__gcc_LP64.py Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/bindings/modulegen__gcc_LP64.py Wed Aug 15 18:08:46 2012 -0700 @@ -36,16 +36,8 @@ module.add_class('ObjectDeleter', import_from_module='ns.core') ## propagation-cache.h (module 'propagation'): ns3::PropagationCache [class] module.add_class('PropagationCache', template_parameters=['ns3::JakesProcess']) - ## 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')) - ## 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] @@ -54,46 +46,18 @@ 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']) ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] module.add_class('Vector3D', import_from_module='ns.core') - ## 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') - ## random-variable.h (module 'core'): ns3::ConstantVariable [class] - module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## 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']) - ## 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']) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel [class] module.add_class('PropagationDelayModel', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel [class] @@ -102,8 +66,12 @@ module.add_class('RandomPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel']) ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel [class] module.add_class('RandomPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::RandomVariableStream [class] + module.add_class('RandomVariableStream', import_from_module='ns.core', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel [class] module.add_class('RangePropagationLossModel', parent=root_module['ns3::PropagationLossModel']) + ## 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] @@ -124,8 +92,18 @@ root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t']) ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class] module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) + ## random-variable-stream.h (module 'core'): ns3::TriangularRandomVariable [class] + module.add_class('TriangularRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] module.add_class('TwoRayGroundPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) + ## 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] @@ -138,18 +116,30 @@ module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) ## callback.h (module 'core'): ns3::CallbackValue [class] module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## random-variable-stream.h (module 'core'): ns3::ConstantRandomVariable [class] + module.add_class('ConstantRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel [class] module.add_class('ConstantSpeedPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel']) ## cost231-propagation-loss-model.h (module 'propagation'): ns3::Cost231PropagationLossModel [class] module.add_class('Cost231PropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## cost231-propagation-loss-model.h (module 'propagation'): ns3::Cost231PropagationLossModel::Environment [enumeration] module.add_enum('Environment', ['SubUrban', 'MediumCity', 'Metropolitan'], outer_class=root_module['ns3::Cost231PropagationLossModel']) + ## 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']) + ## random-variable-stream.h (module 'core'): ns3::ExponentialRandomVariable [class] + module.add_class('ExponentialRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel [class] module.add_class('FixedRssLossModel', parent=root_module['ns3::PropagationLossModel']) ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel [class] module.add_class('FriisPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::GammaRandomVariable [class] + module.add_class('GammaRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## itu-r-1411-los-propagation-loss-model.h (module 'propagation'): ns3::ItuR1411LosPropagationLossModel [class] module.add_class('ItuR1411LosPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## itu-r-1411-nlos-over-rooftop-propagation-loss-model.h (module 'propagation'): ns3::ItuR1411NlosOverRooftopPropagationLossModel [class] @@ -162,18 +152,20 @@ module.add_class('Kun2600MhzPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] module.add_class('LogDistancePropagationLossModel', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class] + module.add_class('LogNormalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## propagation-loss-model.h (module 'propagation'): ns3::MatrixPropagationLossModel [class] module.add_class('MatrixPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## mobility-model.h (module 'mobility'): ns3::MobilityModel [class] module.add_class('MobilityModel', import_from_module='ns.mobility', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::NakagamiPropagationLossModel [class] module.add_class('NakagamiPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::NormalRandomVariable [class] + module.add_class('NormalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## okumura-hata-propagation-loss-model.h (module 'propagation'): ns3::OkumuraHataPropagationLossModel [class] module.add_class('OkumuraHataPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## 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] @@ -194,10 +186,6 @@ typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') - 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') typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') @@ -224,39 +212,23 @@ register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) register_Ns3PropagationCache__Ns3JakesProcess_methods(root_module, root_module['ns3::PropagationCache< ns3::JakesProcess >']) - 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_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_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) - 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_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) - 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_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_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) + register_Ns3RandomVariableStream_methods(root_module, root_module['ns3::RandomVariableStream']) register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) + 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 >']) @@ -265,30 +237,42 @@ register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) + register_Ns3TriangularRandomVariable_methods(root_module, root_module['ns3::TriangularRandomVariable']) register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) + 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']) register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker']) register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) + register_Ns3ConstantRandomVariable_methods(root_module, root_module['ns3::ConstantRandomVariable']) register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) register_Ns3Cost231PropagationLossModel_methods(root_module, root_module['ns3::Cost231PropagationLossModel']) + 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_Ns3ExponentialRandomVariable_methods(root_module, root_module['ns3::ExponentialRandomVariable']) register_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) + register_Ns3GammaRandomVariable_methods(root_module, root_module['ns3::GammaRandomVariable']) register_Ns3ItuR1411LosPropagationLossModel_methods(root_module, root_module['ns3::ItuR1411LosPropagationLossModel']) register_Ns3ItuR1411NlosOverRooftopPropagationLossModel_methods(root_module, root_module['ns3::ItuR1411NlosOverRooftopPropagationLossModel']) register_Ns3JakesProcess_methods(root_module, root_module['ns3::JakesProcess']) register_Ns3JakesPropagationLossModel_methods(root_module, root_module['ns3::JakesPropagationLossModel']) register_Ns3Kun2600MhzPropagationLossModel_methods(root_module, root_module['ns3::Kun2600MhzPropagationLossModel']) register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) + register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable']) register_Ns3MatrixPropagationLossModel_methods(root_module, root_module['ns3::MatrixPropagationLossModel']) register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel']) register_Ns3NakagamiPropagationLossModel_methods(root_module, root_module['ns3::NakagamiPropagationLossModel']) + register_Ns3NormalRandomVariable_methods(root_module, root_module['ns3::NormalRandomVariable']) register_Ns3OkumuraHataPropagationLossModel_methods(root_module, root_module['ns3::OkumuraHataPropagationLossModel']) - 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']) @@ -442,65 +426,6 @@ [param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b'), param('uint32_t', 'modelUid')]) 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([]) @@ -513,15 +438,6 @@ is_static=True) 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('!=') @@ -696,28 +612,6 @@ 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_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -748,37 +642,6 @@ cls.add_instance_attribute('z', 'double', is_const=False) 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([]) @@ -893,111 +756,6 @@ [param('ns3::int64x64_t const &', 'o')]) 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_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_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([]) @@ -1064,28 +822,15 @@ []) 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_Ns3PropagationDelayModel_methods(root_module, cls): ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel() [constructor] cls.add_constructor([]) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel(ns3::PropagationDelayModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::PropagationDelayModel const &', 'arg0')]) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::PropagationDelayModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::PropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('GetDelay', 'ns3::Time', @@ -1096,6 +841,11 @@ 'ns3::TypeId', [], is_static=True) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::PropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3PropagationLossModel_methods(root_module, cls): @@ -1110,16 +860,29 @@ cls.add_method('SetNext', 'void', [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): ns3::Ptr ns3::PropagationLossModel::GetNext() [member function] + cls.add_method('GetNext', + 'ns3::Ptr< ns3::PropagationLossModel >', + []) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('CalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('DoCalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3RandomPropagationDelayModel_methods(root_module, cls): @@ -1137,6 +900,11 @@ 'ns3::TypeId', [], is_static=True) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::RandomPropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3RandomPropagationLossModel_methods(root_module, cls): @@ -1152,6 +920,54 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RandomPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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_Ns3RangePropagationLossModel_methods(root_module, cls): @@ -1167,6 +983,51 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RangePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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): @@ -1242,6 +1103,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::ThreeLogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Time_methods(root_module, cls): @@ -1427,6 +1293,49 @@ 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_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -1475,6 +1384,163 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::TwoRayGroundPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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): @@ -1615,6 +1681,39 @@ [param('ns3::CallbackBase', 'base')]) 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_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, cls): ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel(ns3::ConstantSpeedPropagationDelayModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::ConstantSpeedPropagationDelayModel const &', 'arg0')]) @@ -1639,6 +1738,11 @@ cls.add_method('SetSpeed', 'void', [param('double', 'speed')]) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::ConstantSpeedPropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Cost231PropagationLossModel_methods(root_module, cls): @@ -1716,6 +1820,69 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## cost231-propagation-loss-model.h (module 'propagation'): int64_t ns3::Cost231PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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): @@ -1740,6 +1907,82 @@ 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_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_Ns3FixedRssLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FixedRssLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -1757,6 +2000,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FixedRssLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3FriisPropagationLossModel_methods(root_module, cls): @@ -1803,6 +2051,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FriisPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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_Ns3ItuR1411LosPropagationLossModel_methods(root_module, cls): @@ -1827,6 +2118,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## itu-r-1411-los-propagation-loss-model.h (module 'propagation'): int64_t ns3::ItuR1411LosPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3ItuR1411NlosOverRooftopPropagationLossModel_methods(root_module, cls): @@ -1851,6 +2147,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## itu-r-1411-nlos-over-rooftop-propagation-loss-model.h (module 'propagation'): int64_t ns3::ItuR1411NlosOverRooftopPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3JakesProcess_methods(root_module, cls): @@ -1858,6 +2159,11 @@ cls.add_constructor([param('ns3::JakesProcess const &', 'arg0')]) ## jakes-process.h (module 'propagation'): ns3::JakesProcess::JakesProcess() [constructor] cls.add_constructor([]) + ## jakes-process.h (module 'propagation'): static int64_t ns3::JakesProcess::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_static=True) ## jakes-process.h (module 'propagation'): double ns3::JakesProcess::GetChannelGainDb() const [member function] cls.add_method('GetChannelGainDb', 'double', @@ -1888,6 +2194,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## jakes-propagation-loss-model.h (module 'propagation'): int64_t ns3::JakesPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Kun2600MhzPropagationLossModel_methods(root_module, cls): @@ -1908,6 +2219,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## kun-2600-mhz-propagation-loss-model.h (module 'propagation'): int64_t ns3::Kun2600MhzPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3LogDistancePropagationLossModel_methods(root_module, cls): @@ -1936,6 +2252,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::LogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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_Ns3MatrixPropagationLossModel_methods(root_module, cls): @@ -1959,6 +2318,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::MatrixPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3MobilityModel_methods(root_module, cls): @@ -1966,6 +2330,10 @@ cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor] cls.add_constructor([]) + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr position) const [member function] cls.add_method('GetDistanceFrom', 'double', @@ -2000,6 +2368,11 @@ 'void', [], is_const=True, visibility='protected') + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::DoAssignStreams(int64_t start) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'start')], + visibility='private', is_virtual=True) ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function] cls.add_method('DoGetPosition', 'ns3::Vector', @@ -2030,6 +2403,56 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::NakagamiPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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_Ns3OkumuraHataPropagationLossModel_methods(root_module, cls): @@ -2050,46 +2473,54 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) - 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')]) + ## okumura-hata-propagation-loss-model.h (module 'propagation'): int64_t ns3::OkumuraHataPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return -def register_Ns3RandomVariableValue_methods(root_module, cls): - ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor] +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_static=True) + ## random-variable-stream.h (module 'core'): ns3::ParetoRandomVariable::ParetoRandomVariable() [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 >', + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetMean() const [member function] + cls.add_method('GetMean', + 'double', [], - 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_const=True) + ## random-variable-stream.h (module 'core'): double ns3::ParetoRandomVariable::GetShape() const [member function] + cls.add_method('GetShape', + '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::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): diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/examples/main-propagation-loss.cc --- a/src/propagation/examples/main-propagation-loss.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/examples/main-propagation-loss.cc Wed Aug 15 18:08:46 2012 -0700 @@ -26,6 +26,7 @@ #include "ns3/string.h" #include "ns3/boolean.h" #include "ns3/double.h" +#include "ns3/pointer.h" #include "ns3/gnuplot.h" #include "ns3/simulator.h" @@ -238,7 +239,8 @@ { Ptr random = CreateObject (); - random->SetAttribute ("Variable", RandomVariableValue (ExponentialVariable (50.0))); + Ptr expVar = CreateObjectWithAttributes ("Mean", DoubleValue (50.0)); + random->SetAttribute ("Variable", PointerValue (expVar)); Gnuplot plot = TestDeterministic (random); plot.SetTitle ("ns3::RandomPropagationLossModel with Exponential Distribution"); diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/cost231-propagation-loss-model.cc --- a/src/propagation/model/cost231-propagation-loss-model.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/cost231-propagation-loss-model.cc Wed Aug 15 18:08:46 2012 -0700 @@ -188,4 +188,10 @@ return txPowerDbm + GetLoss (a, b); } +int64_t +Cost231PropagationLossModel::DoAssignStreams (int64_t stream) +{ + return 0; } + +} diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/cost231-propagation-loss-model.h --- a/src/propagation/model/cost231-propagation-loss-model.h Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/cost231-propagation-loss-model.h Wed Aug 15 18:08:46 2012 -0700 @@ -79,6 +79,7 @@ void SetShadowing (double shadowing); private: virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); double m_BSAntennaHeight; // in meter double m_SSAntennaHeight; // in meter double C; diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/itu-r-1411-los-propagation-loss-model.cc --- a/src/propagation/model/itu-r-1411-los-propagation-loss-model.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/itu-r-1411-los-propagation-loss-model.cc Wed Aug 15 18:08:46 2012 -0700 @@ -93,4 +93,9 @@ return (txPowerDbm - GetLoss (a, b)); } +int64_t +ItuR1411LosPropagationLossModel::DoAssignStreams (int64_t stream) +{ + return 0; +} } // namespace ns3 diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/itu-r-1411-los-propagation-loss-model.h --- a/src/propagation/model/itu-r-1411-los-propagation-loss-model.h Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/itu-r-1411-los-propagation-loss-model.h Wed Aug 15 18:08:46 2012 -0700 @@ -71,6 +71,7 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); double m_lambda; // wavelength }; diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.cc --- a/src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.cc Wed Aug 15 18:08:46 2012 -0700 @@ -220,5 +220,11 @@ return (txPowerDbm - GetLoss (a, b)); } +int64_t +ItuR1411NlosOverRooftopPropagationLossModel::DoAssignStreams (int64_t stream) +{ + return 0; +} + } // namespace ns3 diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.h --- a/src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.h Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.h Wed Aug 15 18:08:46 2012 -0700 @@ -71,6 +71,7 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); double m_frequency; ///< frequency in MHz double m_lambda; ///< wavelength diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/jakes-process.cc --- a/src/propagation/model/jakes-process.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/jakes-process.cc Wed Aug 15 18:08:46 2012 -0700 @@ -19,7 +19,6 @@ */ #include "jakes-process.h" -#include "ns3/random-variable.h" #include "ns3/simulator.h" #include "ns3/double.h" #include "ns3/uinteger.h" @@ -27,6 +26,8 @@ namespace ns3 { const double JakesProcess::PI = 3.14159265358979323846; +Ptr JakesProcess::m_uniformVariable = CreateObject (); + /// Represents a single oscillator JakesProcess::Oscillator::Oscillator (std::complex amplitude, double initialPhase, double omega) : m_amplitude (amplitude), @@ -84,9 +85,9 @@ JakesProcess::ConstructOscillators () { // Initial phase is common for all oscillators: - double phi = UniformVariable (-PI, PI).GetValue (); + double phi = m_uniformVariable->GetValue (); // Theta is common for all oscillatoer: - double theta = UniformVariable (-PI, PI).GetValue (); + double theta = m_uniformVariable->GetValue (); for (unsigned int i = 0; i < m_nOscillators; i++) { unsigned int n = i + 1; @@ -96,7 +97,7 @@ /// 1b. Initiate rotation speed: double omega = m_omegaDopplerMax * cos (alpha); /// 2. Initiate complex amplitude: - double psi = UniformVariable (-PI, PI).GetValue (); + double psi = m_uniformVariable->GetValue (); std::complex amplitude = std::complex (cos (psi), sin (psi)) * 2.0 / sqrt (m_nOscillators); /// 3. Construct oscillator: m_oscillators.push_back (Oscillator (amplitude, phi, omega)); @@ -106,7 +107,10 @@ JakesProcess::JakesProcess () : m_omegaDopplerMax (0), m_nOscillators (0) -{} +{ + m_uniformVariable->SetAttribute ("Min", DoubleValue (-1.0 * PI)); + m_uniformVariable->SetAttribute ("Max", DoubleValue (PI)); +} JakesProcess::~JakesProcess() { @@ -131,4 +135,11 @@ return (10 * log10 ((pow (complexGain.real (), 2) + pow (complexGain.imag (), 2)) / 2)); } +int64_t +JakesProcess::AssignStreams (int64_t stream) +{ + m_uniformVariable->SetStream (stream); + return 1; +} + } // namespace ns3 diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/jakes-process.h --- a/src/propagation/model/jakes-process.h Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/jakes-process.h Wed Aug 15 18:08:46 2012 -0700 @@ -22,6 +22,7 @@ #include "ns3/object.h" #include "ns3/nstime.h" +#include "ns3/random-variable-stream.h" #include namespace ns3 @@ -58,6 +59,7 @@ std::complex GetComplexGain () const; /// Get Channel gain [dB] double GetChannelGainDb () const; + static int64_t AssignStreams (int64_t stream); private: /// Represents a single oscillator struct Oscillator @@ -86,6 +88,7 @@ ///\{ double m_omegaDopplerMax; unsigned int m_nOscillators; + static Ptr m_uniformVariable; ///\} }; } // namespace ns3 diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/jakes-propagation-loss-model.cc --- a/src/propagation/model/jakes-propagation-loss-model.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/jakes-propagation-loss-model.cc Wed Aug 15 18:08:46 2012 -0700 @@ -48,5 +48,11 @@ return txPowerDbm + m_propagationCache.GetPathData (a, b, 0 /**Spectrum model uid is not used in PropagationLossModel*/)->GetChannelGainDb (); } +int64_t +JakesPropagationLossModel::DoAssignStreams (int64_t stream) +{ + return JakesProcess::AssignStreams (stream); +} + } // namespace ns3 diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/jakes-propagation-loss-model.h --- a/src/propagation/model/jakes-propagation-loss-model.h Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/jakes-propagation-loss-model.h Wed Aug 15 18:08:46 2012 -0700 @@ -44,6 +44,7 @@ double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); private: mutable PropagationCache m_propagationCache; diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/kun-2600-mhz-propagation-loss-model.cc --- a/src/propagation/model/kun-2600-mhz-propagation-loss-model.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/kun-2600-mhz-propagation-loss-model.cc Wed Aug 15 18:08:46 2012 -0700 @@ -59,5 +59,11 @@ return (txPowerDbm - GetLoss (a, b)); } +int64_t +Kun2600MhzPropagationLossModel::DoAssignStreams (int64_t stream) +{ + return 0; +} + } // namespace ns3 diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/kun-2600-mhz-propagation-loss-model.h --- a/src/propagation/model/kun-2600-mhz-propagation-loss-model.h Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/kun-2600-mhz-propagation-loss-model.h Wed Aug 15 18:08:46 2012 -0700 @@ -61,6 +61,7 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); }; diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/okumura-hata-propagation-loss-model.cc --- a/src/propagation/model/okumura-hata-propagation-loss-model.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/okumura-hata-propagation-loss-model.cc Wed Aug 15 18:08:46 2012 -0700 @@ -146,5 +146,11 @@ return (txPowerDbm - GetLoss (a, b)); } +int64_t +OkumuraHataPropagationLossModel::DoAssignStreams (int64_t stream) +{ + return 0; +} + } // namespace ns3 diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/okumura-hata-propagation-loss-model.h --- a/src/propagation/model/okumura-hata-propagation-loss-model.h Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/okumura-hata-propagation-loss-model.h Wed Aug 15 18:08:46 2012 -0700 @@ -63,6 +63,7 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); EnvironmentType m_environment; CitySize m_citySize; diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/propagation-delay-model.cc --- a/src/propagation/model/propagation-delay-model.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/propagation-delay-model.cc Wed Aug 15 18:08:46 2012 -0700 @@ -18,9 +18,10 @@ * Author: Mathieu Lacage */ #include "propagation-delay-model.h" -#include "ns3/random-variable.h" #include "ns3/mobility-model.h" #include "ns3/double.h" +#include "ns3/string.h" +#include "ns3/pointer.h" namespace ns3 { @@ -39,6 +40,14 @@ { } +int64_t +PropagationDelayModel::AssignStreams (int64_t stream) +{ + return DoAssignStreams (stream); +} + +// ------------------------------------------------------------------------- // + NS_OBJECT_ENSURE_REGISTERED (RandomPropagationDelayModel); TypeId @@ -49,9 +58,9 @@ .AddConstructor () .AddAttribute ("Variable", "The random variable which generates random delays (s).", - RandomVariableValue (UniformVariable (0.0, 1.0)), - MakeRandomVariableAccessor (&RandomPropagationDelayModel::m_variable), - MakeRandomVariableChecker ()) + StringValue ("ns3::UniformRandomVariable"), + MakePointerAccessor (&RandomPropagationDelayModel::m_variable), + MakePointerChecker ()) ; return tid; } @@ -65,7 +74,14 @@ Time RandomPropagationDelayModel::GetDelay (Ptr a, Ptr b) const { - return Seconds (m_variable.GetValue ()); + return Seconds (m_variable->GetValue ()); +} + +int64_t +RandomPropagationDelayModel::DoAssignStreams (int64_t stream) +{ + m_variable->SetStream (stream); + return 1; } NS_OBJECT_ENSURE_REGISTERED (ConstantSpeedPropagationDelayModel); @@ -105,4 +121,11 @@ return m_speed; } +int64_t +ConstantSpeedPropagationDelayModel::DoAssignStreams (int64_t stream) +{ + return 0; +} + + } // namespace ns3 diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/propagation-delay-model.h --- a/src/propagation/model/propagation-delay-model.h Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/propagation-delay-model.h Wed Aug 15 18:08:46 2012 -0700 @@ -23,7 +23,7 @@ #include "ns3/ptr.h" #include "ns3/object.h" #include "ns3/nstime.h" -#include "ns3/random-variable.h" +#include "ns3/random-variable-stream.h" namespace ns3 { @@ -48,6 +48,22 @@ * source and destination. */ virtual Time GetDelay (Ptr a, Ptr b) const = 0; + /** + * If this delay model uses objects of type RandomVariableStream, + * set the stream numbers to the integers starting with the offset + * 'stream'. Return the number of streams (possibly zero) that + * have been assigned. + * + * \param stream + * \return the number of stream indices assigned by this model + */ + int64_t AssignStreams (int64_t stream); +private: + /** + * Subclasses must implement this; those not using random variables + * can return zero + */ + virtual int64_t DoAssignStreams (int64_t stream) = 0; }; /** @@ -67,7 +83,8 @@ virtual ~RandomPropagationDelayModel (); virtual Time GetDelay (Ptr a, Ptr b) const; private: - RandomVariable m_variable; + virtual int64_t DoAssignStreams (int64_t stream); + Ptr m_variable; }; /** @@ -94,6 +111,7 @@ */ double GetSpeed (void) const; private: + virtual int64_t DoAssignStreams (int64_t stream); double m_speed; }; diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/propagation-loss-model.cc --- a/src/propagation/model/propagation-loss-model.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/propagation-loss-model.cc Wed Aug 15 18:08:46 2012 -0700 @@ -26,6 +26,8 @@ #include "ns3/mobility-model.h" #include "ns3/boolean.h" #include "ns3/double.h" +#include "ns3/string.h" +#include "ns3/pointer.h" #include NS_LOG_COMPONENT_DEFINE ("PropagationLossModel"); @@ -60,6 +62,12 @@ m_next = next; } +Ptr +PropagationLossModel::GetNext () +{ + return m_next; +} + double PropagationLossModel::CalcRxPower (double txPowerDbm, Ptr a, @@ -73,6 +81,18 @@ return self; } +int64_t +PropagationLossModel::AssignStreams (int64_t stream) +{ + int64_t currentStream = stream; + currentStream += DoAssignStreams (stream); + if (m_next != 0) + { + currentStream += m_next->AssignStreams (currentStream); + } + return (currentStream - stream); +} + // ------------------------------------------------------------------------- // NS_OBJECT_ENSURE_REGISTERED (RandomPropagationLossModel); @@ -84,9 +104,9 @@ .SetParent () .AddConstructor () .AddAttribute ("Variable", "The random variable used to pick a loss everytime CalcRxPower is invoked.", - RandomVariableValue (ConstantVariable (1.0)), - MakeRandomVariableAccessor (&RandomPropagationLossModel::m_variable), - MakeRandomVariableChecker ()) + StringValue ("ns3::ConstantRandomVariable[Constant=1.0]"), + MakePointerAccessor (&RandomPropagationLossModel::m_variable), + MakePointerChecker ()) ; return tid; } @@ -104,11 +124,18 @@ Ptr a, Ptr b) const { - double rxc = -m_variable.GetValue (); + double rxc = -m_variable->GetValue (); NS_LOG_DEBUG ("attenuation coefficent="<SetStream (stream); + return 1; +} + // ------------------------------------------------------------------------- // NS_OBJECT_ENSURE_REGISTERED (FriisPropagationLossModel); @@ -239,6 +266,12 @@ return txPowerDbm + pr; } +int64_t +FriisPropagationLossModel::DoAssignStreams (int64_t stream) +{ + return 0; +} + // ------------------------------------------------------------------------- // // -- Two-Ray Ground Model ported from NS-2 -- tomhewer@mac.com -- Nov09 // @@ -408,6 +441,11 @@ } } +int64_t +TwoRayGroundPropagationLossModel::DoAssignStreams (int64_t stream) +{ + return 0; +} // ------------------------------------------------------------------------- // @@ -491,6 +529,12 @@ return txPowerDbm + rxc; } +int64_t +LogDistancePropagationLossModel::DoAssignStreams (int64_t stream) +{ + return 0; +} + // ------------------------------------------------------------------------- // NS_OBJECT_ENSURE_REGISTERED (ThreeLogDistancePropagationLossModel); @@ -586,6 +630,12 @@ return txPowerDbm - pathLossDb; } +int64_t +ThreeLogDistancePropagationLossModel::DoAssignStreams (int64_t stream) +{ + return 0; +} + // ------------------------------------------------------------------------- // NS_OBJECT_ENSURE_REGISTERED (NakagamiPropagationLossModel); @@ -621,6 +671,16 @@ DoubleValue (0.75), MakeDoubleAccessor (&NakagamiPropagationLossModel::m_m2), MakeDoubleChecker ()) + .AddAttribute ("ErlangRv", + "Access to the underlying ErlangRandomVariable", + StringValue ("ns3::ErlangRandomVariable"), + MakePointerAccessor (&NakagamiPropagationLossModel::m_erlangRandomVariable), + MakePointerChecker ()) + .AddAttribute ("GammaRv", + "Access to the underlying GammaRandomVariable", + StringValue ("ns3::GammaRandomVariable"), + MakePointerAccessor (&NakagamiPropagationLossModel::m_gammaRandomVariable), + MakePointerChecker ()); ; return tid; @@ -666,11 +726,11 @@ if (int_m == m) { - resultPowerW = m_erlangRandomVariable.GetValue (int_m, powerW / m); + resultPowerW = m_erlangRandomVariable->GetValue (int_m, powerW / m); } else { - resultPowerW = m_gammaRandomVariable.GetValue (m, powerW / m); + resultPowerW = m_gammaRandomVariable->GetValue (m, powerW / m); } double resultPowerDbm = 10 * log10 (resultPowerW) + 30; @@ -682,6 +742,14 @@ return resultPowerDbm; } +int64_t +NakagamiPropagationLossModel::DoAssignStreams (int64_t stream) +{ + m_erlangRandomVariable->SetStream (stream); + m_gammaRandomVariable->SetStream (stream + 1); + return 2; +} + // ------------------------------------------------------------------------- // NS_OBJECT_ENSURE_REGISTERED (FixedRssLossModel); @@ -722,6 +790,12 @@ return m_rss; } +int64_t +FixedRssLossModel::DoAssignStreams (int64_t stream) +{ + return 0; +} + // ------------------------------------------------------------------------- // NS_OBJECT_ENSURE_REGISTERED (MatrixPropagationLossModel); @@ -795,6 +869,12 @@ } } +int64_t +MatrixPropagationLossModel::DoAssignStreams (int64_t stream) +{ + return 0; +} + // ------------------------------------------------------------------------- // NS_OBJECT_ENSURE_REGISTERED (RangePropagationLossModel); @@ -834,6 +914,12 @@ } } +int64_t +RangePropagationLossModel::DoAssignStreams (int64_t stream) +{ + return 0; +} + // ------------------------------------------------------------------------- // } // namespace ns3 diff -r 85eed149a0ea -r 7752dc4ce7e9 src/propagation/model/propagation-loss-model.h --- a/src/propagation/model/propagation-loss-model.h Wed Aug 15 15:33:02 2012 -0700 +++ b/src/propagation/model/propagation-loss-model.h Wed Aug 15 18:08:46 2012 -0700 @@ -26,7 +26,7 @@ #define PROPAGATION_LOSS_MODEL_H #include "ns3/object.h" -#include "ns3/random-variable.h" +#include "ns3/random-variable-stream.h" #include namespace ns3 { @@ -65,6 +65,17 @@ void SetNext (Ptr next); /** + * \brief Gets the next PropagationLossModel in the chain of loss models + * that act on the signal. + * \returns The next PropagationLossModel in the chain + * + * This method of chaining propagation loss models only works commutatively + * if the propagation loss of all models in the chain are independent + * of transmit power. + */ + Ptr GetNext (); + + /** * \param txPowerDbm current transmission power (in dBm) * \param a the mobility model of the source * \param b the mobility model of the destination @@ -73,6 +84,20 @@ double CalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + + /** + * If this loss model uses objects of type RandomVariableStream, + * set the stream numbers to the integers starting with the offset + * 'stream'. Return the number of streams (possibly zero) that + * have been assigned. If there are PropagationLossModels chained + * together, this method will also assign streams to the + * downstream models. + * + * \param stream + * \return the number of stream indices assigned by this model + */ + int64_t AssignStreams (int64_t stream); + private: PropagationLossModel (const PropagationLossModel &o); PropagationLossModel &operator = (const PropagationLossModel &o); @@ -80,6 +105,12 @@ Ptr a, Ptr b) const = 0; + /** + * Subclasses must implement this; those not using random variables + * can return zero + */ + virtual int64_t DoAssignStreams (int64_t stream) = 0; + Ptr m_next; }; @@ -102,7 +133,8 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; - RandomVariable m_variable; + virtual int64_t DoAssignStreams (int64_t stream); + Ptr m_variable; }; /** @@ -195,6 +227,7 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); double DbmToW (double dbm) const; double DbmFromW (double w) const; @@ -285,6 +318,7 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); double DbmToW (double dbm) const; double DbmFromW (double w) const; @@ -339,6 +373,7 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); static Ptr CreateDefaultReference (void); double m_exponent; @@ -401,6 +436,7 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); double m_distance0; double m_distance1; @@ -423,8 +459,8 @@ * \f[ p(x; m, \omega) = \frac{2 m^m}{\Gamma(m) \omega^m} x^{2m - 1} e^{-\frac{m}{\omega} x^2} = 2 x \cdot p_{\text{Gamma}}(x^2, m, \frac{m}{\omega}) \f] * with \f$ m \f$ the fading depth parameter and \f$ \omega \f$ the average received power. * - * It is implemented by either a ns3::GammaVariable or a ns3::ErlangVariable - * random variable. + * It is implemented by either a ns3::GammaRandomVariable or a + * ns3::ErlangRandomVariable random variable. * * Like in ns3::ThreeLogDistancePropagationLossModel, the m parameter is varied * over three distance fields: @@ -449,6 +485,7 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); double m_distance1; double m_distance2; @@ -457,8 +494,8 @@ double m_m1; double m_m2; - ErlangVariable m_erlangRandomVariable; - GammaVariable m_gammaRandomVariable; + Ptr m_erlangRandomVariable; + Ptr m_gammaRandomVariable; }; /** @@ -494,6 +531,7 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); double m_rss; }; @@ -529,6 +567,7 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); private: /// default loss double m_default; @@ -559,6 +598,7 @@ virtual double DoCalcRxPower (double txPowerDbm, Ptr a, Ptr b) const; + virtual int64_t DoAssignStreams (int64_t stream); private: double m_range; }; diff -r 85eed149a0ea -r 7752dc4ce7e9 src/spectrum/bindings/modulegen__gcc_ILP32.py --- a/src/spectrum/bindings/modulegen__gcc_ILP32.py Wed Aug 15 15:33:02 2012 -0700 +++ b/src/spectrum/bindings/modulegen__gcc_ILP32.py Wed Aug 15 18:08:46 2012 -0700 @@ -96,14 +96,8 @@ module.add_class('PacketTagList', import_from_module='ns.network') ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct] module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList']) - ## 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') ## multi-model-spectrum-channel.h (module 'spectrum'): ns3::RxSpectrumModelInfo [class] module.add_class('RxSpectrumModelInfo') - ## 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')) ## spectrum-analyzer-helper.h (module 'spectrum'): ns3::SpectrumAnalyzerHelper [class] @@ -118,8 +112,6 @@ 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']) ## multi-model-spectrum-channel.h (module 'spectrum'): ns3::TxSpectrumModelInfo [class] module.add_class('TxSpectrumModelInfo') ## type-id.h (module 'core'): ns3::TypeId [class] @@ -130,56 +122,28 @@ 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']) ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] module.add_class('Vector3D', import_from_module='ns.core') ## waveform-generator-helper.h (module 'spectrum'): ns3::WaveformGeneratorHelper [class] module.add_class('WaveformGeneratorHelper') - ## random-variable.h (module 'core'): ns3::WeibullVariable [class] - module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wifi-spectrum-value-helper.h (module 'spectrum'): ns3::WifiSpectrumValue5MhzFactory [class] module.add_class('WifiSpectrumValue5MhzFactory', allow_subclassing=True) ## wifi-spectrum-value-helper.h (module 'spectrum'): ns3::WifiSpectrumValueHelper [class] module.add_class('WifiSpectrumValueHelper', allow_subclassing=True) - ## 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']) - ## 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']) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel [class] module.add_class('PropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel [class] @@ -192,8 +156,12 @@ module.add_class('RandomPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel [class] module.add_class('RandomPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::RandomVariableStream [class] + module.add_class('RandomVariableStream', import_from_module='ns.core', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel [class] module.add_class('RangePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## 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] @@ -246,10 +214,20 @@ 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']) ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] module.add_class('TwoRayGroundPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::UniformRandomVariable [class] + module.add_class('UniformRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## waveform-generator.h (module 'spectrum'): ns3::WaveformGenerator [class] module.add_class('WaveformGenerator', parent=root_module['ns3::SpectrumPhy']) + ## 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']) ## aloha-noack-mac-header.h (module 'spectrum'): ns3::AlohaNoackMacHeader [class] module.add_class('AlohaNoackMacHeader', parent=root_module['ns3::Header']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] @@ -266,6 +244,8 @@ 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']) ## constant-spectrum-propagation-loss.h (module 'spectrum'): ns3::ConstantSpectrumPropagationLossModel [class] module.add_class('ConstantSpectrumPropagationLossModel', parent=root_module['ns3::SpectrumPropagationLossModel']) ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel [class] @@ -274,16 +254,26 @@ 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']) ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel [class] module.add_class('FixedRssLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel [class] module.add_class('FriisPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## friis-spectrum-propagation-loss.h (module 'spectrum'): ns3::FriisSpectrumPropagationLossModel [class] module.add_class('FriisSpectrumPropagationLossModel', parent=root_module['ns3::SpectrumPropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::GammaRandomVariable [class] + module.add_class('GammaRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## half-duplex-ideal-phy.h (module 'spectrum'): ns3::HalfDuplexIdealPhy [class] module.add_class('HalfDuplexIdealPhy', parent=root_module['ns3::SpectrumPhy']) ## half-duplex-ideal-phy.h (module 'spectrum'): ns3::HalfDuplexIdealPhy::State [enumeration] @@ -308,6 +298,8 @@ module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] module.add_class('LogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class] + 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] @@ -328,16 +320,16 @@ module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object']) ## non-communicating-net-device.h (module 'spectrum'): ns3::NonCommunicatingNetDevice [class] module.add_class('NonCommunicatingNetDevice', parent=root_module['ns3::NetDevice']) + ## 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] module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## 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']) ## spectrum-error-model.h (module 'spectrum'): ns3::ShannonSpectrumErrorModel [class] module.add_class('ShannonSpectrumErrorModel', parent=root_module['ns3::SpectrumErrorModel']) ## spectrum-analyzer.h (module 'spectrum'): ns3::SpectrumAnalyzer [class] @@ -387,10 +379,6 @@ typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') - 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') typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') @@ -481,10 +469,7 @@ register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item']) register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList']) register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData']) - register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) - register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager']) register_Ns3RxSpectrumModelInfo_methods(root_module, root_module['ns3::RxSpectrumModelInfo']) - 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_Ns3SpectrumAnalyzerHelper_methods(root_module, root_module['ns3::SpectrumAnalyzerHelper']) register_Ns3SpectrumChannelHelper_methods(root_module, root_module['ns3::SpectrumChannelHelper']) @@ -492,42 +477,29 @@ register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) 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_Ns3TxSpectrumModelInfo_methods(root_module, root_module['ns3::TxSpectrumModelInfo']) 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_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3WaveformGeneratorHelper_methods(root_module, root_module['ns3::WaveformGeneratorHelper']) - register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3WifiSpectrumValue5MhzFactory_methods(root_module, root_module['ns3::WifiSpectrumValue5MhzFactory']) register_Ns3WifiSpectrumValueHelper_methods(root_module, root_module['ns3::WifiSpectrumValueHelper']) - 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_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_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) + register_Ns3RandomVariableStream_methods(root_module, root_module['ns3::RandomVariableStream']) register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) + 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 >']) @@ -552,8 +524,13 @@ 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_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) + register_Ns3UniformRandomVariable_methods(root_module, root_module['ns3::UniformRandomVariable']) register_Ns3WaveformGenerator_methods(root_module, root_module['ns3::WaveformGenerator']) + 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_Ns3AlohaNoackMacHeader_methods(root_module, root_module['ns3::AlohaNoackMacHeader']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) @@ -562,15 +539,21 @@ 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_Ns3ConstantSpectrumPropagationLossModel_methods(root_module, root_module['ns3::ConstantSpectrumPropagationLossModel']) register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) 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_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) register_Ns3FriisSpectrumPropagationLossModel_methods(root_module, root_module['ns3::FriisSpectrumPropagationLossModel']) + register_Ns3GammaRandomVariable_methods(root_module, root_module['ns3::GammaRandomVariable']) register_Ns3HalfDuplexIdealPhy_methods(root_module, root_module['ns3::HalfDuplexIdealPhy']) register_Ns3HalfDuplexIdealPhySignalParameters_methods(root_module, root_module['ns3::HalfDuplexIdealPhySignalParameters']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) @@ -582,6 +565,7 @@ register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) + register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable']) register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) register_Ns3MatrixPropagationLossModel_methods(root_module, root_module['ns3::MatrixPropagationLossModel']) @@ -591,11 +575,11 @@ register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) register_Ns3Node_methods(root_module, root_module['ns3::Node']) register_Ns3NonCommunicatingNetDevice_methods(root_module, root_module['ns3::NonCommunicatingNetDevice']) + 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_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_Ns3ShannonSpectrumErrorModel_methods(root_module, root_module['ns3::ShannonSpectrumErrorModel']) register_Ns3SpectrumAnalyzer_methods(root_module, root_module['ns3::SpectrumAnalyzer']) register_Ns3SpectrumChannel_methods(root_module, root_module['ns3::SpectrumChannel']) @@ -2124,56 +2108,6 @@ cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) 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_Ns3RxSpectrumModelInfo_methods(root_module, cls): ## multi-model-spectrum-channel.h (module 'spectrum'): ns3::RxSpectrumModelInfo::RxSpectrumModelInfo(ns3::RxSpectrumModelInfo const & arg0) [copy constructor] cls.add_constructor([param('ns3::RxSpectrumModelInfo const &', 'arg0')]) @@ -2185,15 +2119,6 @@ cls.add_instance_attribute('m_rxSpectrumModel', 'ns3::Ptr< ns3::SpectrumModel const >', is_const=False) 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([]) @@ -2450,15 +2375,6 @@ [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_Ns3TxSpectrumModelInfo_methods(root_module, cls): ## multi-model-spectrum-channel.h (module 'spectrum'): ns3::TxSpectrumModelInfo::TxSpectrumModelInfo(ns3::TxSpectrumModelInfo const & arg0) [copy constructor] cls.add_constructor([param('ns3::TxSpectrumModelInfo const &', 'arg0')]) @@ -2644,28 +2560,6 @@ 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_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -2742,19 +2636,6 @@ [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')]) 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_Ns3WifiSpectrumValue5MhzFactory_methods(root_module, cls): ## wifi-spectrum-value-helper.h (module 'spectrum'): ns3::WifiSpectrumValue5MhzFactory::WifiSpectrumValue5MhzFactory() [constructor] cls.add_constructor([]) @@ -2799,24 +2680,6 @@ is_pure_virtual=True, is_virtual=True) 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([]) @@ -2953,86 +2816,6 @@ 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_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] @@ -3066,31 +2849,6 @@ 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([]) @@ -3157,28 +2915,15 @@ []) 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_Ns3PropagationDelayModel_methods(root_module, cls): ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel() [constructor] cls.add_constructor([]) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel(ns3::PropagationDelayModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::PropagationDelayModel const &', 'arg0')]) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::PropagationDelayModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::PropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('GetDelay', 'ns3::Time', @@ -3189,6 +2934,11 @@ 'ns3::TypeId', [], is_static=True) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::PropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3PropagationLossModel_methods(root_module, cls): @@ -3203,16 +2953,29 @@ cls.add_method('SetNext', 'void', [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): ns3::Ptr ns3::PropagationLossModel::GetNext() [member function] + cls.add_method('GetNext', + 'ns3::Ptr< ns3::PropagationLossModel >', + []) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('CalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('DoCalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3Queue_methods(root_module, cls): @@ -3318,6 +3081,11 @@ 'ns3::TypeId', [], is_static=True) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::RandomPropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3RandomPropagationLossModel_methods(root_module, cls): @@ -3333,6 +3101,54 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RandomPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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_Ns3RangePropagationLossModel_methods(root_module, cls): @@ -3348,6 +3164,51 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RangePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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): @@ -3780,6 +3641,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::ThreeLogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Time_methods(root_module, cls): @@ -3998,6 +3864,49 @@ 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_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -4046,6 +3955,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::TwoRayGroundPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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_Ns3WaveformGenerator_methods(root_module, cls): @@ -4144,6 +4096,120 @@ visibility='private', 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_Ns3AlohaNoackMacHeader_methods(root_module, cls): ## aloha-noack-mac-header.h (module 'spectrum'): ns3::AlohaNoackMacHeader::AlohaNoackMacHeader() [constructor] cls.add_constructor([]) @@ -4364,6 +4430,39 @@ 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_Ns3ConstantSpectrumPropagationLossModel_methods(root_module, cls): ## constant-spectrum-propagation-loss.h (module 'spectrum'): ns3::ConstantSpectrumPropagationLossModel::ConstantSpectrumPropagationLossModel(ns3::ConstantSpectrumPropagationLossModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::ConstantSpectrumPropagationLossModel const &', 'arg0')]) @@ -4414,6 +4513,11 @@ cls.add_method('SetSpeed', 'void', [param('double', 'speed')]) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::ConstantSpeedPropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3DataRateChecker_methods(root_module, cls): @@ -4456,6 +4560,64 @@ [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')]) @@ -4478,6 +4640,44 @@ 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')]) @@ -4502,6 +4702,44 @@ 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_Ns3FixedRssLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FixedRssLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -4519,6 +4757,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FixedRssLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3FriisPropagationLossModel_methods(root_module, cls): @@ -4565,6 +4808,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FriisPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3FriisSpectrumPropagationLossModel_methods(root_module, cls): @@ -4589,6 +4837,44 @@ is_static=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_Ns3HalfDuplexIdealPhy_methods(root_module, cls): ## half-duplex-ideal-phy.h (module 'spectrum'): ns3::HalfDuplexIdealPhy::HalfDuplexIdealPhy() [constructor] cls.add_constructor([]) @@ -4885,6 +5171,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::LogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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): @@ -4948,6 +5277,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::MatrixPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3MobilityModel_methods(root_module, cls): @@ -4955,6 +5289,10 @@ cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor] cls.add_constructor([]) + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr position) const [member function] cls.add_method('GetDistanceFrom', 'double', @@ -4989,6 +5327,11 @@ 'void', [], is_const=True, visibility='protected') + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::DoAssignStreams(int64_t start) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'start')], + visibility='private', is_virtual=True) ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function] cls.add_method('DoGetPosition', 'ns3::Vector', @@ -5019,6 +5362,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::NakagamiPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3NetDevice_methods(root_module, cls): @@ -5430,6 +5778,51 @@ visibility='private', 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([]) @@ -5651,44 +6044,47 @@ [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 >', - [], - 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')], +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_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-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.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function] - cls.add_method('Get', - 'ns3::RandomVariable', - [], - 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'): uint32_t ns3::ParetoRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) return def register_Ns3ShannonSpectrumErrorModel_methods(root_module, cls): diff -r 85eed149a0ea -r 7752dc4ce7e9 src/spectrum/bindings/modulegen__gcc_LP64.py --- a/src/spectrum/bindings/modulegen__gcc_LP64.py Wed Aug 15 15:33:02 2012 -0700 +++ b/src/spectrum/bindings/modulegen__gcc_LP64.py Wed Aug 15 18:08:46 2012 -0700 @@ -96,14 +96,8 @@ module.add_class('PacketTagList', import_from_module='ns.network') ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct] module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList']) - ## 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') ## multi-model-spectrum-channel.h (module 'spectrum'): ns3::RxSpectrumModelInfo [class] module.add_class('RxSpectrumModelInfo') - ## 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')) ## spectrum-analyzer-helper.h (module 'spectrum'): ns3::SpectrumAnalyzerHelper [class] @@ -118,8 +112,6 @@ 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']) ## multi-model-spectrum-channel.h (module 'spectrum'): ns3::TxSpectrumModelInfo [class] module.add_class('TxSpectrumModelInfo') ## type-id.h (module 'core'): ns3::TypeId [class] @@ -130,56 +122,28 @@ 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']) ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] module.add_class('Vector3D', import_from_module='ns.core') ## waveform-generator-helper.h (module 'spectrum'): ns3::WaveformGeneratorHelper [class] module.add_class('WaveformGeneratorHelper') - ## random-variable.h (module 'core'): ns3::WeibullVariable [class] - module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wifi-spectrum-value-helper.h (module 'spectrum'): ns3::WifiSpectrumValue5MhzFactory [class] module.add_class('WifiSpectrumValue5MhzFactory', allow_subclassing=True) ## wifi-spectrum-value-helper.h (module 'spectrum'): ns3::WifiSpectrumValueHelper [class] module.add_class('WifiSpectrumValueHelper', allow_subclassing=True) - ## 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']) - ## 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']) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel [class] module.add_class('PropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel [class] @@ -192,8 +156,12 @@ module.add_class('RandomPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel [class] module.add_class('RandomPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::RandomVariableStream [class] + module.add_class('RandomVariableStream', import_from_module='ns.core', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel [class] module.add_class('RangePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## 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] @@ -246,10 +214,20 @@ 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']) ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] module.add_class('TwoRayGroundPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::UniformRandomVariable [class] + module.add_class('UniformRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## waveform-generator.h (module 'spectrum'): ns3::WaveformGenerator [class] module.add_class('WaveformGenerator', parent=root_module['ns3::SpectrumPhy']) + ## 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']) ## aloha-noack-mac-header.h (module 'spectrum'): ns3::AlohaNoackMacHeader [class] module.add_class('AlohaNoackMacHeader', parent=root_module['ns3::Header']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] @@ -266,6 +244,8 @@ 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']) ## constant-spectrum-propagation-loss.h (module 'spectrum'): ns3::ConstantSpectrumPropagationLossModel [class] module.add_class('ConstantSpectrumPropagationLossModel', parent=root_module['ns3::SpectrumPropagationLossModel']) ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel [class] @@ -274,16 +254,26 @@ 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']) ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel [class] module.add_class('FixedRssLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel [class] module.add_class('FriisPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## friis-spectrum-propagation-loss.h (module 'spectrum'): ns3::FriisSpectrumPropagationLossModel [class] module.add_class('FriisSpectrumPropagationLossModel', parent=root_module['ns3::SpectrumPropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::GammaRandomVariable [class] + module.add_class('GammaRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## half-duplex-ideal-phy.h (module 'spectrum'): ns3::HalfDuplexIdealPhy [class] module.add_class('HalfDuplexIdealPhy', parent=root_module['ns3::SpectrumPhy']) ## half-duplex-ideal-phy.h (module 'spectrum'): ns3::HalfDuplexIdealPhy::State [enumeration] @@ -308,6 +298,8 @@ module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] module.add_class('LogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class] + 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] @@ -328,16 +320,16 @@ module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object']) ## non-communicating-net-device.h (module 'spectrum'): ns3::NonCommunicatingNetDevice [class] module.add_class('NonCommunicatingNetDevice', parent=root_module['ns3::NetDevice']) + ## 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] module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## 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']) ## spectrum-error-model.h (module 'spectrum'): ns3::ShannonSpectrumErrorModel [class] module.add_class('ShannonSpectrumErrorModel', parent=root_module['ns3::SpectrumErrorModel']) ## spectrum-analyzer.h (module 'spectrum'): ns3::SpectrumAnalyzer [class] @@ -387,10 +379,6 @@ typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') - 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') typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') @@ -481,10 +469,7 @@ register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item']) register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList']) register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData']) - register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) - register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager']) register_Ns3RxSpectrumModelInfo_methods(root_module, root_module['ns3::RxSpectrumModelInfo']) - 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_Ns3SpectrumAnalyzerHelper_methods(root_module, root_module['ns3::SpectrumAnalyzerHelper']) register_Ns3SpectrumChannelHelper_methods(root_module, root_module['ns3::SpectrumChannelHelper']) @@ -492,42 +477,29 @@ register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) 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_Ns3TxSpectrumModelInfo_methods(root_module, root_module['ns3::TxSpectrumModelInfo']) 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_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3WaveformGeneratorHelper_methods(root_module, root_module['ns3::WaveformGeneratorHelper']) - register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3WifiSpectrumValue5MhzFactory_methods(root_module, root_module['ns3::WifiSpectrumValue5MhzFactory']) register_Ns3WifiSpectrumValueHelper_methods(root_module, root_module['ns3::WifiSpectrumValueHelper']) - 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_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_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) + register_Ns3RandomVariableStream_methods(root_module, root_module['ns3::RandomVariableStream']) register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) + 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 >']) @@ -552,8 +524,13 @@ 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_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) + register_Ns3UniformRandomVariable_methods(root_module, root_module['ns3::UniformRandomVariable']) register_Ns3WaveformGenerator_methods(root_module, root_module['ns3::WaveformGenerator']) + 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_Ns3AlohaNoackMacHeader_methods(root_module, root_module['ns3::AlohaNoackMacHeader']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) @@ -562,15 +539,21 @@ 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_Ns3ConstantSpectrumPropagationLossModel_methods(root_module, root_module['ns3::ConstantSpectrumPropagationLossModel']) register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) 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_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) register_Ns3FriisSpectrumPropagationLossModel_methods(root_module, root_module['ns3::FriisSpectrumPropagationLossModel']) + register_Ns3GammaRandomVariable_methods(root_module, root_module['ns3::GammaRandomVariable']) register_Ns3HalfDuplexIdealPhy_methods(root_module, root_module['ns3::HalfDuplexIdealPhy']) register_Ns3HalfDuplexIdealPhySignalParameters_methods(root_module, root_module['ns3::HalfDuplexIdealPhySignalParameters']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) @@ -582,6 +565,7 @@ register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) + register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable']) register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) register_Ns3MatrixPropagationLossModel_methods(root_module, root_module['ns3::MatrixPropagationLossModel']) @@ -591,11 +575,11 @@ register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) register_Ns3Node_methods(root_module, root_module['ns3::Node']) register_Ns3NonCommunicatingNetDevice_methods(root_module, root_module['ns3::NonCommunicatingNetDevice']) + 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_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_Ns3ShannonSpectrumErrorModel_methods(root_module, root_module['ns3::ShannonSpectrumErrorModel']) register_Ns3SpectrumAnalyzer_methods(root_module, root_module['ns3::SpectrumAnalyzer']) register_Ns3SpectrumChannel_methods(root_module, root_module['ns3::SpectrumChannel']) @@ -2124,56 +2108,6 @@ cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) 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_Ns3RxSpectrumModelInfo_methods(root_module, cls): ## multi-model-spectrum-channel.h (module 'spectrum'): ns3::RxSpectrumModelInfo::RxSpectrumModelInfo(ns3::RxSpectrumModelInfo const & arg0) [copy constructor] cls.add_constructor([param('ns3::RxSpectrumModelInfo const &', 'arg0')]) @@ -2185,15 +2119,6 @@ cls.add_instance_attribute('m_rxSpectrumModel', 'ns3::Ptr< ns3::SpectrumModel const >', is_const=False) 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([]) @@ -2450,15 +2375,6 @@ [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_Ns3TxSpectrumModelInfo_methods(root_module, cls): ## multi-model-spectrum-channel.h (module 'spectrum'): ns3::TxSpectrumModelInfo::TxSpectrumModelInfo(ns3::TxSpectrumModelInfo const & arg0) [copy constructor] cls.add_constructor([param('ns3::TxSpectrumModelInfo const &', 'arg0')]) @@ -2644,28 +2560,6 @@ 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_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -2742,19 +2636,6 @@ [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')]) 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_Ns3WifiSpectrumValue5MhzFactory_methods(root_module, cls): ## wifi-spectrum-value-helper.h (module 'spectrum'): ns3::WifiSpectrumValue5MhzFactory::WifiSpectrumValue5MhzFactory() [constructor] cls.add_constructor([]) @@ -2799,24 +2680,6 @@ is_pure_virtual=True, is_virtual=True) 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([]) @@ -2953,86 +2816,6 @@ 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_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] @@ -3066,31 +2849,6 @@ 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([]) @@ -3157,28 +2915,15 @@ []) 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_Ns3PropagationDelayModel_methods(root_module, cls): ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel() [constructor] cls.add_constructor([]) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel(ns3::PropagationDelayModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::PropagationDelayModel const &', 'arg0')]) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::PropagationDelayModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::PropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('GetDelay', 'ns3::Time', @@ -3189,6 +2934,11 @@ 'ns3::TypeId', [], is_static=True) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::PropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3PropagationLossModel_methods(root_module, cls): @@ -3203,16 +2953,29 @@ cls.add_method('SetNext', 'void', [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): ns3::Ptr ns3::PropagationLossModel::GetNext() [member function] + cls.add_method('GetNext', + 'ns3::Ptr< ns3::PropagationLossModel >', + []) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('CalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('DoCalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3Queue_methods(root_module, cls): @@ -3318,6 +3081,11 @@ 'ns3::TypeId', [], is_static=True) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::RandomPropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3RandomPropagationLossModel_methods(root_module, cls): @@ -3333,6 +3101,54 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RandomPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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_Ns3RangePropagationLossModel_methods(root_module, cls): @@ -3348,6 +3164,51 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RangePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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): @@ -3780,6 +3641,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::ThreeLogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Time_methods(root_module, cls): @@ -3998,6 +3864,49 @@ 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_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -4046,6 +3955,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::TwoRayGroundPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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_Ns3WaveformGenerator_methods(root_module, cls): @@ -4144,6 +4096,120 @@ visibility='private', 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_Ns3AlohaNoackMacHeader_methods(root_module, cls): ## aloha-noack-mac-header.h (module 'spectrum'): ns3::AlohaNoackMacHeader::AlohaNoackMacHeader() [constructor] cls.add_constructor([]) @@ -4364,6 +4430,39 @@ 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_Ns3ConstantSpectrumPropagationLossModel_methods(root_module, cls): ## constant-spectrum-propagation-loss.h (module 'spectrum'): ns3::ConstantSpectrumPropagationLossModel::ConstantSpectrumPropagationLossModel(ns3::ConstantSpectrumPropagationLossModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::ConstantSpectrumPropagationLossModel const &', 'arg0')]) @@ -4414,6 +4513,11 @@ cls.add_method('SetSpeed', 'void', [param('double', 'speed')]) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::ConstantSpeedPropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3DataRateChecker_methods(root_module, cls): @@ -4456,6 +4560,64 @@ [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')]) @@ -4478,6 +4640,44 @@ 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')]) @@ -4502,6 +4702,44 @@ 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_Ns3FixedRssLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FixedRssLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -4519,6 +4757,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FixedRssLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3FriisPropagationLossModel_methods(root_module, cls): @@ -4565,6 +4808,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FriisPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3FriisSpectrumPropagationLossModel_methods(root_module, cls): @@ -4589,6 +4837,44 @@ is_static=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_Ns3HalfDuplexIdealPhy_methods(root_module, cls): ## half-duplex-ideal-phy.h (module 'spectrum'): ns3::HalfDuplexIdealPhy::HalfDuplexIdealPhy() [constructor] cls.add_constructor([]) @@ -4885,6 +5171,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::LogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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): @@ -4948,6 +5277,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::MatrixPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3MobilityModel_methods(root_module, cls): @@ -4955,6 +5289,10 @@ cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor] cls.add_constructor([]) + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr position) const [member function] cls.add_method('GetDistanceFrom', 'double', @@ -4989,6 +5327,11 @@ 'void', [], is_const=True, visibility='protected') + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::DoAssignStreams(int64_t start) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'start')], + visibility='private', is_virtual=True) ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function] cls.add_method('DoGetPosition', 'ns3::Vector', @@ -5019,6 +5362,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::NakagamiPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3NetDevice_methods(root_module, cls): @@ -5430,6 +5778,51 @@ visibility='private', 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([]) @@ -5651,44 +6044,47 @@ [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 >', - [], - 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')], +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_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-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.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function] - cls.add_method('Get', - 'ns3::RandomVariable', - [], - 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'): uint32_t ns3::ParetoRandomVariable::GetInteger() [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_virtual=True) return def register_Ns3ShannonSpectrumErrorModel_methods(root_module, cls): diff -r 85eed149a0ea -r 7752dc4ce7e9 src/wifi/bindings/modulegen__gcc_ILP32.py --- a/src/wifi/bindings/modulegen__gcc_ILP32.py Wed Aug 15 15:33:02 2012 -0700 +++ b/src/wifi/bindings/modulegen__gcc_ILP32.py Wed Aug 15 18:08:46 2012 -0700 @@ -160,14 +160,8 @@ module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network') ## propagation-cache.h (module 'propagation'): ns3::PropagationCache [class] module.add_class('PropagationCache', import_from_module='ns.propagation', template_parameters=['ns3::JakesProcess']) - ## random-variable.h (module 'core'): ns3::RandomVariable [class] - module.add_class('RandomVariable', import_from_module='ns.core') ## minstrel-wifi-manager.h (module 'wifi'): ns3::RateInfo [struct] module.add_class('RateInfo') - ## 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] @@ -178,8 +172,6 @@ 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] @@ -188,14 +180,10 @@ 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']) ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] module.add_class('Vector3D', import_from_module='ns.core') - ## random-variable.h (module 'core'): ns3::WeibullVariable [class] - module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wifi-helper.h (module 'wifi'): ns3::WifiHelper [class] module.add_class('WifiHelper') ## wifi-helper.h (module 'wifi'): ns3::WifiMacHelper [class] @@ -222,34 +210,14 @@ module.add_class('YansWifiPhyHelper', parent=[root_module['ns3::WifiPhyHelper'], root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) ## yans-wifi-helper.h (module 'wifi'): ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes [enumeration] module.add_enum('SupportedPcapDataLinkTypes', ['DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::YansWifiPhyHelper']) - ## 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']) - ## 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']) ## mgt-headers.h (module 'wifi'): ns3::MgtAddBaRequestHeader [class] module.add_class('MgtAddBaRequestHeader', parent=root_module['ns3::Header']) ## mgt-headers.h (module 'wifi'): ns3::MgtAddBaResponseHeader [class] @@ -264,16 +232,12 @@ module.add_class('MgtProbeRequestHeader', parent=root_module['ns3::Header']) ## mgt-headers.h (module 'wifi'): ns3::MgtProbeResponseHeader [class] module.add_class('MgtProbeResponseHeader', parent=root_module['ns3::Header']) - ## random-variable.h (module 'core'): ns3::NormalVariable [class] - module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## nqos-wifi-mac-helper.h (module 'wifi'): ns3::NqosWifiMacHelper [class] module.add_class('NqosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) ## 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']) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel [class] @@ -288,8 +252,12 @@ module.add_class('RandomPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel [class] module.add_class('RandomPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::RandomVariableStream [class] + module.add_class('RandomVariableStream', import_from_module='ns.core', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel [class] module.add_class('RangePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## 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] @@ -324,8 +292,14 @@ 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']) ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] module.add_class('TwoRayGroundPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## 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']) ## mgt-headers.h (module 'wifi'): ns3::WifiActionHeader [class] module.add_class('WifiActionHeader', parent=root_module['ns3::Header']) ## mgt-headers.h (module 'wifi'): ns3::WifiActionHeader::CategoryValue [enumeration] @@ -366,6 +340,10 @@ module.add_class('WifiRemoteStationManager', parent=root_module['ns3::Object']) ## yans-wifi-phy.h (module 'wifi'): ns3::YansWifiPhy [class] module.add_class('YansWifiPhy', parent=root_module['ns3::WifiPhy']) + ## 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']) ## aarf-wifi-manager.h (module 'wifi'): ns3::AarfWifiManager [class] module.add_class('AarfWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) ## aarfcd-wifi-manager.h (module 'wifi'): ns3::AarfcdWifiManager [class] @@ -394,6 +372,8 @@ module.add_class('CaraWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) ## 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']) ## constant-rate-wifi-manager.h (module 'wifi'): ns3::ConstantRateWifiManager [class] module.add_class('ConstantRateWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel [class] @@ -408,22 +388,32 @@ module.add_class('CtrlBAckResponseHeader', parent=root_module['ns3::Header']) ## dcf.h (module 'wifi'): ns3::Dcf [class] module.add_class('Dcf', parent=root_module['ns3::Object']) + ## random-variable-stream.h (module 'core'): ns3::DeterministicRandomVariable [class] + module.add_class('DeterministicRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## double.h (module 'core'): ns3::DoubleValue [class] module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## edca-txop-n.h (module 'wifi'): ns3::EdcaTxopN [class] module.add_class('EdcaTxopN', parent=root_module['ns3::Dcf']) + ## 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']) ## error-rate-model.h (module 'wifi'): ns3::ErrorRateModel [class] module.add_class('ErrorRateModel', parent=root_module['ns3::Object']) ## 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']) ## supported-rates.h (module 'wifi'): ns3::ExtendedSupportedRatesIE [class] module.add_class('ExtendedSupportedRatesIE', parent=root_module['ns3::WifiInformationElement']) ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel [class] module.add_class('FixedRssLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel [class] module.add_class('FriisPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::GammaRandomVariable [class] + module.add_class('GammaRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## ideal-wifi-manager.h (module 'wifi'): ns3::IdealWifiManager [class] module.add_class('IdealWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class] @@ -454,6 +444,8 @@ module.add_class('Kun2600MhzPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] module.add_class('LogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class] + 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] @@ -482,6 +474,8 @@ 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] @@ -494,10 +488,8 @@ 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']) ## regular-wifi-mac.h (module 'wifi'): ns3::RegularWifiMac [class] module.add_class('RegularWifiMac', parent=root_module['ns3::WifiMac']) ## rraa-wifi-manager.h (module 'wifi'): ns3::RraaWifiManager [class] @@ -557,10 +549,6 @@ typehandlers.add_type_alias('uint8_t', 'ns3::WifiInformationElementId') typehandlers.add_type_alias('uint8_t*', 'ns3::WifiInformationElementId*') typehandlers.add_type_alias('uint8_t&', 'ns3::WifiInformationElementId&') - 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') typehandlers.add_type_alias('__gnu_cxx::__normal_iterator< ns3::WifiMode const *, std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > > >', 'ns3::WifiModeListIterator') typehandlers.add_type_alias('__gnu_cxx::__normal_iterator< ns3::WifiMode const *, std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > > >*', 'ns3::WifiModeListIterator*') typehandlers.add_type_alias('__gnu_cxx::__normal_iterator< ns3::WifiMode const *, std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > > >&', 'ns3::WifiModeListIterator&') @@ -659,23 +647,17 @@ register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) register_Ns3PropagationCache__Ns3JakesProcess_methods(root_module, root_module['ns3::PropagationCache< ns3::JakesProcess >']) - register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) register_Ns3RateInfo_methods(root_module, root_module['ns3::RateInfo']) - 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_Ns3StatusCode_methods(root_module, root_module['ns3::StatusCode']) 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_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) - register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper']) register_Ns3WifiMacHelper_methods(root_module, root_module['ns3::WifiMacHelper']) register_Ns3WifiMode_methods(root_module, root_module['ns3::WifiMode']) @@ -687,20 +669,10 @@ register_Ns3WifiRemoteStationState_methods(root_module, root_module['ns3::WifiRemoteStationState']) register_Ns3YansWifiChannelHelper_methods(root_module, root_module['ns3::YansWifiChannelHelper']) register_Ns3YansWifiPhyHelper_methods(root_module, root_module['ns3::YansWifiPhyHelper']) - 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_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_Ns3MgtAddBaRequestHeader_methods(root_module, root_module['ns3::MgtAddBaRequestHeader']) register_Ns3MgtAddBaResponseHeader_methods(root_module, root_module['ns3::MgtAddBaResponseHeader']) register_Ns3MgtAssocRequestHeader_methods(root_module, root_module['ns3::MgtAssocRequestHeader']) @@ -708,11 +680,9 @@ register_Ns3MgtDelBaHeader_methods(root_module, root_module['ns3::MgtDelBaHeader']) register_Ns3MgtProbeRequestHeader_methods(root_module, root_module['ns3::MgtProbeRequestHeader']) register_Ns3MgtProbeResponseHeader_methods(root_module, root_module['ns3::MgtProbeResponseHeader']) - register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable']) register_Ns3NqosWifiMacHelper_methods(root_module, root_module['ns3::NqosWifiMacHelper']) 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_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) @@ -720,7 +690,9 @@ register_Ns3QosWifiMacHelper_methods(root_module, root_module['ns3::QosWifiMacHelper']) register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) + register_Ns3RandomVariableStream_methods(root_module, root_module['ns3::RandomVariableStream']) register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) + 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 >']) @@ -736,7 +708,10 @@ 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_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) + register_Ns3UniformRandomVariable_methods(root_module, root_module['ns3::UniformRandomVariable']) + register_Ns3WeibullRandomVariable_methods(root_module, root_module['ns3::WeibullRandomVariable']) register_Ns3WifiActionHeader_methods(root_module, root_module['ns3::WifiActionHeader']) register_Ns3WifiActionHeaderActionValue_methods(root_module, root_module['ns3::WifiActionHeader::ActionValue']) register_Ns3WifiInformationElement_methods(root_module, root_module['ns3::WifiInformationElement']) @@ -747,6 +722,8 @@ register_Ns3WifiPhy_methods(root_module, root_module['ns3::WifiPhy']) register_Ns3WifiRemoteStationManager_methods(root_module, root_module['ns3::WifiRemoteStationManager']) register_Ns3YansWifiPhy_methods(root_module, root_module['ns3::YansWifiPhy']) + register_Ns3ZetaRandomVariable_methods(root_module, root_module['ns3::ZetaRandomVariable']) + register_Ns3ZipfRandomVariable_methods(root_module, root_module['ns3::ZipfRandomVariable']) register_Ns3AarfWifiManager_methods(root_module, root_module['ns3::AarfWifiManager']) register_Ns3AarfcdWifiManager_methods(root_module, root_module['ns3::AarfcdWifiManager']) register_Ns3AmrrWifiManager_methods(root_module, root_module['ns3::AmrrWifiManager']) @@ -761,20 +738,26 @@ register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) register_Ns3CaraWifiManager_methods(root_module, root_module['ns3::CaraWifiManager']) register_Ns3Channel_methods(root_module, root_module['ns3::Channel']) + register_Ns3ConstantRandomVariable_methods(root_module, root_module['ns3::ConstantRandomVariable']) register_Ns3ConstantRateWifiManager_methods(root_module, root_module['ns3::ConstantRateWifiManager']) register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) register_Ns3Cost231PropagationLossModel_methods(root_module, root_module['ns3::Cost231PropagationLossModel']) register_Ns3CtrlBAckRequestHeader_methods(root_module, root_module['ns3::CtrlBAckRequestHeader']) register_Ns3CtrlBAckResponseHeader_methods(root_module, root_module['ns3::CtrlBAckResponseHeader']) register_Ns3Dcf_methods(root_module, root_module['ns3::Dcf']) + register_Ns3DeterministicRandomVariable_methods(root_module, root_module['ns3::DeterministicRandomVariable']) register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue']) register_Ns3EdcaTxopN_methods(root_module, root_module['ns3::EdcaTxopN']) + 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_Ns3ErrorRateModel_methods(root_module, root_module['ns3::ErrorRateModel']) register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) + register_Ns3ExponentialRandomVariable_methods(root_module, root_module['ns3::ExponentialRandomVariable']) register_Ns3ExtendedSupportedRatesIE_methods(root_module, root_module['ns3::ExtendedSupportedRatesIE']) register_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) + register_Ns3GammaRandomVariable_methods(root_module, root_module['ns3::GammaRandomVariable']) register_Ns3IdealWifiManager_methods(root_module, root_module['ns3::IdealWifiManager']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) @@ -790,6 +773,7 @@ register_Ns3JakesPropagationLossModel_methods(root_module, root_module['ns3::JakesPropagationLossModel']) register_Ns3Kun2600MhzPropagationLossModel_methods(root_module, root_module['ns3::Kun2600MhzPropagationLossModel']) register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) + register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable']) register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) register_Ns3MacLow_methods(root_module, root_module['ns3::MacLow']) @@ -803,14 +787,14 @@ register_Ns3NistErrorRateModel_methods(root_module, root_module['ns3::NistErrorRateModel']) 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_Ns3OkumuraHataPropagationLossModel_methods(root_module, root_module['ns3::OkumuraHataPropagationLossModel']) register_Ns3OnoeWifiManager_methods(root_module, root_module['ns3::OnoeWifiManager']) 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_Ns3RegularWifiMac_methods(root_module, root_module['ns3::RegularWifiMac']) register_Ns3RraaWifiManager_methods(root_module, root_module['ns3::RraaWifiManager']) register_Ns3Ssid_methods(root_module, root_module['ns3::Ssid']) @@ -3346,24 +3330,6 @@ [param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b'), param('uint32_t', 'modelUid')]) 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_Ns3RateInfo_methods(root_module, cls): ## minstrel-wifi-manager.h (module 'wifi'): ns3::RateInfo::RateInfo() [constructor] cls.add_constructor([]) @@ -3395,47 +3361,6 @@ cls.add_instance_attribute('throughput', 'uint32_t', is_const=False) 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([]) @@ -3658,15 +3583,6 @@ [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('<') @@ -3841,28 +3757,6 @@ 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_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -3893,24 +3787,15 @@ cls.add_instance_attribute('z', 'double', is_const=False) 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_Ns3WifiHelper_methods(root_module, cls): ## wifi-helper.h (module 'wifi'): ns3::WifiHelper::WifiHelper(ns3::WifiHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::WifiHelper const &', 'arg0')]) ## wifi-helper.h (module 'wifi'): ns3::WifiHelper::WifiHelper() [constructor] cls.add_constructor([]) + ## wifi-helper.h (module 'wifi'): int64_t ns3::WifiHelper::AssignStreams(ns3::NetDeviceContainer c, int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('ns3::NetDeviceContainer', 'c'), param('int64_t', 'stream')]) ## wifi-helper.h (module 'wifi'): static ns3::WifiHelper ns3::WifiHelper::Default() [member function] cls.add_method('Default', 'ns3::WifiHelper', @@ -4151,6 +4036,10 @@ cls.add_constructor([param('ns3::YansWifiPhyHelper const &', 'arg0')]) ## yans-wifi-helper.h (module 'wifi'): ns3::YansWifiPhyHelper::YansWifiPhyHelper() [constructor] cls.add_constructor([]) + ## yans-wifi-helper.h (module 'wifi'): int64_t ns3::YansWifiPhyHelper::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## yans-wifi-helper.h (module 'wifi'): static ns3::YansWifiPhyHelper ns3::YansWifiPhyHelper::Default() [member function] cls.add_method('Default', 'ns3::YansWifiPhyHelper', @@ -4193,24 +4082,6 @@ visibility='private', is_virtual=True) 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([]) @@ -4347,86 +4218,6 @@ 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_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] @@ -4460,20 +4251,6 @@ 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_Ns3MgtAddBaRequestHeader_methods(root_module, cls): ## mgt-headers.h (module 'wifi'): ns3::MgtAddBaRequestHeader::MgtAddBaRequestHeader(ns3::MgtAddBaRequestHeader const & arg0) [copy constructor] cls.add_constructor([param('ns3::MgtAddBaRequestHeader const &', 'arg0')]) @@ -4963,17 +4740,6 @@ [param('ns3::SupportedRates', 'rates')]) 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_Ns3NqosWifiMacHelper_methods(root_module, cls): ## nqos-wifi-mac-helper.h (module 'wifi'): ns3::NqosWifiMacHelper::NqosWifiMacHelper(ns3::NqosWifiMacHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::NqosWifiMacHelper const &', 'arg0')]) @@ -5061,23 +4827,6 @@ []) 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', @@ -5159,6 +4908,10 @@ cls.add_constructor([]) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel(ns3::PropagationDelayModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::PropagationDelayModel const &', 'arg0')]) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::PropagationDelayModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::PropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('GetDelay', 'ns3::Time', @@ -5169,6 +4922,11 @@ 'ns3::TypeId', [], is_static=True) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::PropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3PropagationLossModel_methods(root_module, cls): @@ -5183,16 +4941,29 @@ cls.add_method('SetNext', 'void', [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): ns3::Ptr ns3::PropagationLossModel::GetNext() [member function] + cls.add_method('GetNext', + 'ns3::Ptr< ns3::PropagationLossModel >', + []) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('CalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('DoCalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3QosTag_methods(root_module, cls): @@ -5295,6 +5066,11 @@ 'ns3::TypeId', [], is_static=True) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::RandomPropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3RandomPropagationLossModel_methods(root_module, cls): @@ -5310,6 +5086,54 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RandomPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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_Ns3RangePropagationLossModel_methods(root_module, cls): @@ -5325,6 +5149,51 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RangePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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): @@ -5472,6 +5341,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::ThreeLogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Time_methods(root_module, cls): @@ -5690,6 +5564,49 @@ 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_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -5738,6 +5655,92 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::TwoRayGroundPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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_Ns3WifiActionHeader_methods(root_module, cls): @@ -6650,6 +6653,11 @@ cls.add_constructor([param('ns3::WifiPhy const &', 'arg0')]) ## wifi-phy.h (module 'wifi'): ns3::WifiPhy::WifiPhy() [constructor] cls.add_constructor([]) + ## wifi-phy.h (module 'wifi'): int64_t ns3::WifiPhy::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, is_virtual=True) ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::CalculateSnr(ns3::WifiMode txMode, double ber) const [member function] cls.add_method('CalculateSnr', 'double', @@ -7518,6 +7526,11 @@ 'void', [param('ns3::WifiPhyStandard', 'standard')], is_virtual=True) + ## yans-wifi-phy.h (module 'wifi'): int64_t ns3::YansWifiPhy::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## yans-wifi-phy.h (module 'wifi'): void ns3::YansWifiPhy::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -7525,6 +7538,77 @@ visibility='private', 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_Ns3AarfWifiManager_methods(root_module, cls): ## aarf-wifi-manager.h (module 'wifi'): ns3::AarfWifiManager::AarfWifiManager(ns3::AarfWifiManager const & arg0) [copy constructor] cls.add_constructor([param('ns3::AarfWifiManager const &', 'arg0')]) @@ -8155,6 +8239,39 @@ 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_Ns3ConstantRateWifiManager_methods(root_module, cls): ## constant-rate-wifi-manager.h (module 'wifi'): ns3::ConstantRateWifiManager::ConstantRateWifiManager(ns3::ConstantRateWifiManager const & arg0) [copy constructor] cls.add_constructor([param('ns3::ConstantRateWifiManager const &', 'arg0')]) @@ -8246,6 +8363,11 @@ cls.add_method('SetSpeed', 'void', [param('double', 'speed')]) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::ConstantSpeedPropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Cost231PropagationLossModel_methods(root_module, cls): @@ -8323,6 +8445,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## cost231-propagation-loss-model.h (module 'propagation'): int64_t ns3::Cost231PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3CtrlBAckRequestHeader_methods(root_module, cls): @@ -8579,6 +8706,30 @@ is_pure_virtual=True, is_virtual=True) 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_Ns3DoubleValue_methods(root_module, cls): ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor] cls.add_constructor([]) @@ -8850,6 +9001,10 @@ cls.add_method('SendDelbaFrame', 'void', [param('ns3::Mac48Address', 'addr'), param('uint8_t', 'tid'), param('bool', 'byOriginator')]) + ## edca-txop-n.h (module 'wifi'): int64_t ns3::EdcaTxopN::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## edca-txop-n.h (module 'wifi'): void ns3::EdcaTxopN::DoStart() [member function] cls.add_method('DoStart', 'void', @@ -8857,6 +9012,40 @@ visibility='private', 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')]) @@ -8879,6 +9068,44 @@ 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_Ns3ErrorRateModel_methods(root_module, cls): ## error-rate-model.h (module 'wifi'): ns3::ErrorRateModel::ErrorRateModel() [constructor] cls.add_constructor([]) @@ -8925,6 +9152,44 @@ 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_Ns3ExtendedSupportedRatesIE_methods(root_module, cls): ## supported-rates.h (module 'wifi'): ns3::ExtendedSupportedRatesIE::ExtendedSupportedRatesIE(ns3::ExtendedSupportedRatesIE const & arg0) [copy constructor] cls.add_constructor([param('ns3::ExtendedSupportedRatesIE const &', 'arg0')]) @@ -8981,6 +9246,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FixedRssLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3FriisPropagationLossModel_methods(root_module, cls): @@ -9027,6 +9297,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FriisPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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_Ns3IdealWifiManager_methods(root_module, cls): @@ -9283,6 +9596,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## itu-r-1411-los-propagation-loss-model.h (module 'propagation'): int64_t ns3::ItuR1411LosPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3ItuR1411NlosOverRooftopPropagationLossModel_methods(root_module, cls): @@ -9307,6 +9625,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## itu-r-1411-nlos-over-rooftop-propagation-loss-model.h (module 'propagation'): int64_t ns3::ItuR1411NlosOverRooftopPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3JakesProcess_methods(root_module, cls): @@ -9314,6 +9637,11 @@ cls.add_constructor([param('ns3::JakesProcess const &', 'arg0')]) ## jakes-process.h (module 'propagation'): ns3::JakesProcess::JakesProcess() [constructor] cls.add_constructor([]) + ## jakes-process.h (module 'propagation'): static int64_t ns3::JakesProcess::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_static=True) ## jakes-process.h (module 'propagation'): double ns3::JakesProcess::GetChannelGainDb() const [member function] cls.add_method('GetChannelGainDb', 'double', @@ -9344,6 +9672,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## jakes-propagation-loss-model.h (module 'propagation'): int64_t ns3::JakesPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Kun2600MhzPropagationLossModel_methods(root_module, cls): @@ -9364,6 +9697,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## kun-2600-mhz-propagation-loss-model.h (module 'propagation'): int64_t ns3::Kun2600MhzPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3LogDistancePropagationLossModel_methods(root_module, cls): @@ -9392,6 +9730,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::LogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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): @@ -9601,6 +9982,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::MatrixPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3MgtBeaconHeader_methods(root_module, cls): @@ -9615,6 +10001,10 @@ cls.add_constructor([param('ns3::MinstrelWifiManager const &', 'arg0')]) ## minstrel-wifi-manager.h (module 'wifi'): ns3::MinstrelWifiManager::MinstrelWifiManager() [constructor] cls.add_constructor([]) + ## minstrel-wifi-manager.h (module 'wifi'): int64_t ns3::MinstrelWifiManager::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## minstrel-wifi-manager.h (module 'wifi'): static ns3::TypeId ns3::MinstrelWifiManager::GetTypeId() [member function] cls.add_method('GetTypeId', 'ns3::TypeId', @@ -9687,6 +10077,10 @@ cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor] cls.add_constructor([]) + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr position) const [member function] cls.add_method('GetDistanceFrom', 'double', @@ -9721,6 +10115,11 @@ 'void', [], is_const=True, visibility='protected') + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::DoAssignStreams(int64_t start) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'start')], + visibility='private', is_virtual=True) ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function] cls.add_method('DoGetPosition', 'ns3::Vector', @@ -9773,6 +10172,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::NakagamiPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3NetDevice_methods(root_module, cls): @@ -10051,6 +10455,51 @@ 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([]) @@ -10109,6 +10558,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## okumura-hata-propagation-loss-model.h (module 'propagation'): int64_t ns3::OkumuraHataPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3OnoeWifiManager_methods(root_module, cls): @@ -10372,44 +10826,47 @@ [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 >', - [], - 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_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')]) +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_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-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_Ns3RegularWifiMac_methods(root_module, cls): @@ -11366,6 +11823,10 @@ 'void', [param('ns3::Ptr< ns3::YansWifiPhy >', 'sender'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('double', 'txPowerDbm'), param('ns3::WifiMode', 'wifiMode'), param('ns3::WifiPreamble', 'preamble')], is_const=True) + ## yans-wifi-channel.h (module 'wifi'): int64_t ns3::YansWifiChannel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) return def register_Ns3AddressChecker_methods(root_module, cls): @@ -11588,6 +12049,10 @@ cls.add_method('Queue', 'void', [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const &', 'hdr')]) + ## dca-txop.h (module 'wifi'): int64_t ns3::DcaTxop::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## dca-txop.h (module 'wifi'): void ns3::DcaTxop::DoStart() [member function] cls.add_method('DoStart', 'void', diff -r 85eed149a0ea -r 7752dc4ce7e9 src/wifi/bindings/modulegen__gcc_LP64.py --- a/src/wifi/bindings/modulegen__gcc_LP64.py Wed Aug 15 15:33:02 2012 -0700 +++ b/src/wifi/bindings/modulegen__gcc_LP64.py Wed Aug 15 18:08:46 2012 -0700 @@ -160,14 +160,8 @@ module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network') ## propagation-cache.h (module 'propagation'): ns3::PropagationCache [class] module.add_class('PropagationCache', import_from_module='ns.propagation', template_parameters=['ns3::JakesProcess']) - ## random-variable.h (module 'core'): ns3::RandomVariable [class] - module.add_class('RandomVariable', import_from_module='ns.core') ## minstrel-wifi-manager.h (module 'wifi'): ns3::RateInfo [struct] module.add_class('RateInfo') - ## 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] @@ -178,8 +172,6 @@ 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] @@ -188,14 +180,10 @@ 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']) ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] module.add_class('Vector3D', import_from_module='ns.core') - ## random-variable.h (module 'core'): ns3::WeibullVariable [class] - module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wifi-helper.h (module 'wifi'): ns3::WifiHelper [class] module.add_class('WifiHelper') ## wifi-helper.h (module 'wifi'): ns3::WifiMacHelper [class] @@ -222,34 +210,14 @@ module.add_class('YansWifiPhyHelper', parent=[root_module['ns3::WifiPhyHelper'], root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) ## yans-wifi-helper.h (module 'wifi'): ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes [enumeration] module.add_enum('SupportedPcapDataLinkTypes', ['DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::YansWifiPhyHelper']) - ## 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']) - ## 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']) ## mgt-headers.h (module 'wifi'): ns3::MgtAddBaRequestHeader [class] module.add_class('MgtAddBaRequestHeader', parent=root_module['ns3::Header']) ## mgt-headers.h (module 'wifi'): ns3::MgtAddBaResponseHeader [class] @@ -264,16 +232,12 @@ module.add_class('MgtProbeRequestHeader', parent=root_module['ns3::Header']) ## mgt-headers.h (module 'wifi'): ns3::MgtProbeResponseHeader [class] module.add_class('MgtProbeResponseHeader', parent=root_module['ns3::Header']) - ## random-variable.h (module 'core'): ns3::NormalVariable [class] - module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## nqos-wifi-mac-helper.h (module 'wifi'): ns3::NqosWifiMacHelper [class] module.add_class('NqosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) ## 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']) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel [class] @@ -288,8 +252,12 @@ module.add_class('RandomPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel [class] module.add_class('RandomPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::RandomVariableStream [class] + module.add_class('RandomVariableStream', import_from_module='ns.core', parent=root_module['ns3::Object']) ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel [class] module.add_class('RangePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## 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] @@ -324,8 +292,14 @@ 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']) ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] module.add_class('TwoRayGroundPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## 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']) ## mgt-headers.h (module 'wifi'): ns3::WifiActionHeader [class] module.add_class('WifiActionHeader', parent=root_module['ns3::Header']) ## mgt-headers.h (module 'wifi'): ns3::WifiActionHeader::CategoryValue [enumeration] @@ -366,6 +340,10 @@ module.add_class('WifiRemoteStationManager', parent=root_module['ns3::Object']) ## yans-wifi-phy.h (module 'wifi'): ns3::YansWifiPhy [class] module.add_class('YansWifiPhy', parent=root_module['ns3::WifiPhy']) + ## 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']) ## aarf-wifi-manager.h (module 'wifi'): ns3::AarfWifiManager [class] module.add_class('AarfWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) ## aarfcd-wifi-manager.h (module 'wifi'): ns3::AarfcdWifiManager [class] @@ -394,6 +372,8 @@ module.add_class('CaraWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) ## 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']) ## constant-rate-wifi-manager.h (module 'wifi'): ns3::ConstantRateWifiManager [class] module.add_class('ConstantRateWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel [class] @@ -408,22 +388,32 @@ module.add_class('CtrlBAckResponseHeader', parent=root_module['ns3::Header']) ## dcf.h (module 'wifi'): ns3::Dcf [class] module.add_class('Dcf', parent=root_module['ns3::Object']) + ## random-variable-stream.h (module 'core'): ns3::DeterministicRandomVariable [class] + module.add_class('DeterministicRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## double.h (module 'core'): ns3::DoubleValue [class] module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## edca-txop-n.h (module 'wifi'): ns3::EdcaTxopN [class] module.add_class('EdcaTxopN', parent=root_module['ns3::Dcf']) + ## 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']) ## error-rate-model.h (module 'wifi'): ns3::ErrorRateModel [class] module.add_class('ErrorRateModel', parent=root_module['ns3::Object']) ## 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']) ## supported-rates.h (module 'wifi'): ns3::ExtendedSupportedRatesIE [class] module.add_class('ExtendedSupportedRatesIE', parent=root_module['ns3::WifiInformationElement']) ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel [class] module.add_class('FixedRssLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel [class] module.add_class('FriisPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::GammaRandomVariable [class] + module.add_class('GammaRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) ## ideal-wifi-manager.h (module 'wifi'): ns3::IdealWifiManager [class] module.add_class('IdealWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class] @@ -454,6 +444,8 @@ module.add_class('Kun2600MhzPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] module.add_class('LogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class] + 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] @@ -482,6 +474,8 @@ 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] @@ -494,10 +488,8 @@ 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']) ## regular-wifi-mac.h (module 'wifi'): ns3::RegularWifiMac [class] module.add_class('RegularWifiMac', parent=root_module['ns3::WifiMac']) ## rraa-wifi-manager.h (module 'wifi'): ns3::RraaWifiManager [class] @@ -557,10 +549,6 @@ typehandlers.add_type_alias('uint8_t', 'ns3::WifiInformationElementId') typehandlers.add_type_alias('uint8_t*', 'ns3::WifiInformationElementId*') typehandlers.add_type_alias('uint8_t&', 'ns3::WifiInformationElementId&') - 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') typehandlers.add_type_alias('__gnu_cxx::__normal_iterator< ns3::WifiMode const *, std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > > >', 'ns3::WifiModeListIterator') typehandlers.add_type_alias('__gnu_cxx::__normal_iterator< ns3::WifiMode const *, std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > > >*', 'ns3::WifiModeListIterator*') typehandlers.add_type_alias('__gnu_cxx::__normal_iterator< ns3::WifiMode const *, std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > > >&', 'ns3::WifiModeListIterator&') @@ -659,23 +647,17 @@ register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) register_Ns3PropagationCache__Ns3JakesProcess_methods(root_module, root_module['ns3::PropagationCache< ns3::JakesProcess >']) - register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) register_Ns3RateInfo_methods(root_module, root_module['ns3::RateInfo']) - 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_Ns3StatusCode_methods(root_module, root_module['ns3::StatusCode']) 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_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) - register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper']) register_Ns3WifiMacHelper_methods(root_module, root_module['ns3::WifiMacHelper']) register_Ns3WifiMode_methods(root_module, root_module['ns3::WifiMode']) @@ -687,20 +669,10 @@ register_Ns3WifiRemoteStationState_methods(root_module, root_module['ns3::WifiRemoteStationState']) register_Ns3YansWifiChannelHelper_methods(root_module, root_module['ns3::YansWifiChannelHelper']) register_Ns3YansWifiPhyHelper_methods(root_module, root_module['ns3::YansWifiPhyHelper']) - 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_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_Ns3MgtAddBaRequestHeader_methods(root_module, root_module['ns3::MgtAddBaRequestHeader']) register_Ns3MgtAddBaResponseHeader_methods(root_module, root_module['ns3::MgtAddBaResponseHeader']) register_Ns3MgtAssocRequestHeader_methods(root_module, root_module['ns3::MgtAssocRequestHeader']) @@ -708,11 +680,9 @@ register_Ns3MgtDelBaHeader_methods(root_module, root_module['ns3::MgtDelBaHeader']) register_Ns3MgtProbeRequestHeader_methods(root_module, root_module['ns3::MgtProbeRequestHeader']) register_Ns3MgtProbeResponseHeader_methods(root_module, root_module['ns3::MgtProbeResponseHeader']) - register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable']) register_Ns3NqosWifiMacHelper_methods(root_module, root_module['ns3::NqosWifiMacHelper']) 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_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) @@ -720,7 +690,9 @@ register_Ns3QosWifiMacHelper_methods(root_module, root_module['ns3::QosWifiMacHelper']) register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) + register_Ns3RandomVariableStream_methods(root_module, root_module['ns3::RandomVariableStream']) register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) + 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 >']) @@ -736,7 +708,10 @@ 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_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) + register_Ns3UniformRandomVariable_methods(root_module, root_module['ns3::UniformRandomVariable']) + register_Ns3WeibullRandomVariable_methods(root_module, root_module['ns3::WeibullRandomVariable']) register_Ns3WifiActionHeader_methods(root_module, root_module['ns3::WifiActionHeader']) register_Ns3WifiActionHeaderActionValue_methods(root_module, root_module['ns3::WifiActionHeader::ActionValue']) register_Ns3WifiInformationElement_methods(root_module, root_module['ns3::WifiInformationElement']) @@ -747,6 +722,8 @@ register_Ns3WifiPhy_methods(root_module, root_module['ns3::WifiPhy']) register_Ns3WifiRemoteStationManager_methods(root_module, root_module['ns3::WifiRemoteStationManager']) register_Ns3YansWifiPhy_methods(root_module, root_module['ns3::YansWifiPhy']) + register_Ns3ZetaRandomVariable_methods(root_module, root_module['ns3::ZetaRandomVariable']) + register_Ns3ZipfRandomVariable_methods(root_module, root_module['ns3::ZipfRandomVariable']) register_Ns3AarfWifiManager_methods(root_module, root_module['ns3::AarfWifiManager']) register_Ns3AarfcdWifiManager_methods(root_module, root_module['ns3::AarfcdWifiManager']) register_Ns3AmrrWifiManager_methods(root_module, root_module['ns3::AmrrWifiManager']) @@ -761,20 +738,26 @@ register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) register_Ns3CaraWifiManager_methods(root_module, root_module['ns3::CaraWifiManager']) register_Ns3Channel_methods(root_module, root_module['ns3::Channel']) + register_Ns3ConstantRandomVariable_methods(root_module, root_module['ns3::ConstantRandomVariable']) register_Ns3ConstantRateWifiManager_methods(root_module, root_module['ns3::ConstantRateWifiManager']) register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) register_Ns3Cost231PropagationLossModel_methods(root_module, root_module['ns3::Cost231PropagationLossModel']) register_Ns3CtrlBAckRequestHeader_methods(root_module, root_module['ns3::CtrlBAckRequestHeader']) register_Ns3CtrlBAckResponseHeader_methods(root_module, root_module['ns3::CtrlBAckResponseHeader']) register_Ns3Dcf_methods(root_module, root_module['ns3::Dcf']) + register_Ns3DeterministicRandomVariable_methods(root_module, root_module['ns3::DeterministicRandomVariable']) register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue']) register_Ns3EdcaTxopN_methods(root_module, root_module['ns3::EdcaTxopN']) + 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_Ns3ErrorRateModel_methods(root_module, root_module['ns3::ErrorRateModel']) register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) + register_Ns3ExponentialRandomVariable_methods(root_module, root_module['ns3::ExponentialRandomVariable']) register_Ns3ExtendedSupportedRatesIE_methods(root_module, root_module['ns3::ExtendedSupportedRatesIE']) register_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) + register_Ns3GammaRandomVariable_methods(root_module, root_module['ns3::GammaRandomVariable']) register_Ns3IdealWifiManager_methods(root_module, root_module['ns3::IdealWifiManager']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) @@ -790,6 +773,7 @@ register_Ns3JakesPropagationLossModel_methods(root_module, root_module['ns3::JakesPropagationLossModel']) register_Ns3Kun2600MhzPropagationLossModel_methods(root_module, root_module['ns3::Kun2600MhzPropagationLossModel']) register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) + register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable']) register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) register_Ns3MacLow_methods(root_module, root_module['ns3::MacLow']) @@ -803,14 +787,14 @@ register_Ns3NistErrorRateModel_methods(root_module, root_module['ns3::NistErrorRateModel']) 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_Ns3OkumuraHataPropagationLossModel_methods(root_module, root_module['ns3::OkumuraHataPropagationLossModel']) register_Ns3OnoeWifiManager_methods(root_module, root_module['ns3::OnoeWifiManager']) 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_Ns3RegularWifiMac_methods(root_module, root_module['ns3::RegularWifiMac']) register_Ns3RraaWifiManager_methods(root_module, root_module['ns3::RraaWifiManager']) register_Ns3Ssid_methods(root_module, root_module['ns3::Ssid']) @@ -3346,24 +3330,6 @@ [param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b'), param('uint32_t', 'modelUid')]) 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_Ns3RateInfo_methods(root_module, cls): ## minstrel-wifi-manager.h (module 'wifi'): ns3::RateInfo::RateInfo() [constructor] cls.add_constructor([]) @@ -3395,47 +3361,6 @@ cls.add_instance_attribute('throughput', 'uint32_t', is_const=False) 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([]) @@ -3658,15 +3583,6 @@ [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('<') @@ -3841,28 +3757,6 @@ 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_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -3893,24 +3787,15 @@ cls.add_instance_attribute('z', 'double', is_const=False) 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_Ns3WifiHelper_methods(root_module, cls): ## wifi-helper.h (module 'wifi'): ns3::WifiHelper::WifiHelper(ns3::WifiHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::WifiHelper const &', 'arg0')]) ## wifi-helper.h (module 'wifi'): ns3::WifiHelper::WifiHelper() [constructor] cls.add_constructor([]) + ## wifi-helper.h (module 'wifi'): int64_t ns3::WifiHelper::AssignStreams(ns3::NetDeviceContainer c, int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('ns3::NetDeviceContainer', 'c'), param('int64_t', 'stream')]) ## wifi-helper.h (module 'wifi'): static ns3::WifiHelper ns3::WifiHelper::Default() [member function] cls.add_method('Default', 'ns3::WifiHelper', @@ -4151,6 +4036,10 @@ cls.add_constructor([param('ns3::YansWifiPhyHelper const &', 'arg0')]) ## yans-wifi-helper.h (module 'wifi'): ns3::YansWifiPhyHelper::YansWifiPhyHelper() [constructor] cls.add_constructor([]) + ## yans-wifi-helper.h (module 'wifi'): int64_t ns3::YansWifiPhyHelper::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## yans-wifi-helper.h (module 'wifi'): static ns3::YansWifiPhyHelper ns3::YansWifiPhyHelper::Default() [member function] cls.add_method('Default', 'ns3::YansWifiPhyHelper', @@ -4193,24 +4082,6 @@ visibility='private', is_virtual=True) 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([]) @@ -4347,86 +4218,6 @@ 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_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] @@ -4460,20 +4251,6 @@ 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_Ns3MgtAddBaRequestHeader_methods(root_module, cls): ## mgt-headers.h (module 'wifi'): ns3::MgtAddBaRequestHeader::MgtAddBaRequestHeader(ns3::MgtAddBaRequestHeader const & arg0) [copy constructor] cls.add_constructor([param('ns3::MgtAddBaRequestHeader const &', 'arg0')]) @@ -4963,17 +4740,6 @@ [param('ns3::SupportedRates', 'rates')]) 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_Ns3NqosWifiMacHelper_methods(root_module, cls): ## nqos-wifi-mac-helper.h (module 'wifi'): ns3::NqosWifiMacHelper::NqosWifiMacHelper(ns3::NqosWifiMacHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::NqosWifiMacHelper const &', 'arg0')]) @@ -5061,23 +4827,6 @@ []) 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', @@ -5159,6 +4908,10 @@ cls.add_constructor([]) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel(ns3::PropagationDelayModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::PropagationDelayModel const &', 'arg0')]) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::PropagationDelayModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::PropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('GetDelay', 'ns3::Time', @@ -5169,6 +4922,11 @@ 'ns3::TypeId', [], is_static=True) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::PropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3PropagationLossModel_methods(root_module, cls): @@ -5183,16 +4941,29 @@ cls.add_method('SetNext', 'void', [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): ns3::Ptr ns3::PropagationLossModel::GetNext() [member function] + cls.add_method('GetNext', + 'ns3::Ptr< ns3::PropagationLossModel >', + []) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('CalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('DoCalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3QosTag_methods(root_module, cls): @@ -5295,6 +5066,11 @@ 'ns3::TypeId', [], is_static=True) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::RandomPropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3RandomPropagationLossModel_methods(root_module, cls): @@ -5310,6 +5086,54 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RandomPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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_Ns3RangePropagationLossModel_methods(root_module, cls): @@ -5325,6 +5149,51 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RangePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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): @@ -5472,6 +5341,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::ThreeLogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Time_methods(root_module, cls): @@ -5690,6 +5564,49 @@ 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_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -5738,6 +5655,92 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::TwoRayGroundPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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_Ns3WifiActionHeader_methods(root_module, cls): @@ -6650,6 +6653,11 @@ cls.add_constructor([param('ns3::WifiPhy const &', 'arg0')]) ## wifi-phy.h (module 'wifi'): ns3::WifiPhy::WifiPhy() [constructor] cls.add_constructor([]) + ## wifi-phy.h (module 'wifi'): int64_t ns3::WifiPhy::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, is_virtual=True) ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::CalculateSnr(ns3::WifiMode txMode, double ber) const [member function] cls.add_method('CalculateSnr', 'double', @@ -7518,6 +7526,11 @@ 'void', [param('ns3::WifiPhyStandard', 'standard')], is_virtual=True) + ## yans-wifi-phy.h (module 'wifi'): int64_t ns3::YansWifiPhy::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_virtual=True) ## yans-wifi-phy.h (module 'wifi'): void ns3::YansWifiPhy::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -7525,6 +7538,77 @@ visibility='private', 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_Ns3AarfWifiManager_methods(root_module, cls): ## aarf-wifi-manager.h (module 'wifi'): ns3::AarfWifiManager::AarfWifiManager(ns3::AarfWifiManager const & arg0) [copy constructor] cls.add_constructor([param('ns3::AarfWifiManager const &', 'arg0')]) @@ -8155,6 +8239,39 @@ 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_Ns3ConstantRateWifiManager_methods(root_module, cls): ## constant-rate-wifi-manager.h (module 'wifi'): ns3::ConstantRateWifiManager::ConstantRateWifiManager(ns3::ConstantRateWifiManager const & arg0) [copy constructor] cls.add_constructor([param('ns3::ConstantRateWifiManager const &', 'arg0')]) @@ -8246,6 +8363,11 @@ cls.add_method('SetSpeed', 'void', [param('double', 'speed')]) + ## propagation-delay-model.h (module 'propagation'): int64_t ns3::ConstantSpeedPropagationDelayModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Cost231PropagationLossModel_methods(root_module, cls): @@ -8323,6 +8445,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## cost231-propagation-loss-model.h (module 'propagation'): int64_t ns3::Cost231PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3CtrlBAckRequestHeader_methods(root_module, cls): @@ -8579,6 +8706,30 @@ is_pure_virtual=True, is_virtual=True) 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_Ns3DoubleValue_methods(root_module, cls): ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor] cls.add_constructor([]) @@ -8850,6 +9001,10 @@ cls.add_method('SendDelbaFrame', 'void', [param('ns3::Mac48Address', 'addr'), param('uint8_t', 'tid'), param('bool', 'byOriginator')]) + ## edca-txop-n.h (module 'wifi'): int64_t ns3::EdcaTxopN::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## edca-txop-n.h (module 'wifi'): void ns3::EdcaTxopN::DoStart() [member function] cls.add_method('DoStart', 'void', @@ -8857,6 +9012,40 @@ visibility='private', 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')]) @@ -8879,6 +9068,44 @@ 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_Ns3ErrorRateModel_methods(root_module, cls): ## error-rate-model.h (module 'wifi'): ns3::ErrorRateModel::ErrorRateModel() [constructor] cls.add_constructor([]) @@ -8925,6 +9152,44 @@ 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_Ns3ExtendedSupportedRatesIE_methods(root_module, cls): ## supported-rates.h (module 'wifi'): ns3::ExtendedSupportedRatesIE::ExtendedSupportedRatesIE(ns3::ExtendedSupportedRatesIE const & arg0) [copy constructor] cls.add_constructor([param('ns3::ExtendedSupportedRatesIE const &', 'arg0')]) @@ -8981,6 +9246,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FixedRssLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3FriisPropagationLossModel_methods(root_module, cls): @@ -9027,6 +9297,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FriisPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', 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_Ns3IdealWifiManager_methods(root_module, cls): @@ -9283,6 +9596,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## itu-r-1411-los-propagation-loss-model.h (module 'propagation'): int64_t ns3::ItuR1411LosPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3ItuR1411NlosOverRooftopPropagationLossModel_methods(root_module, cls): @@ -9307,6 +9625,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## itu-r-1411-nlos-over-rooftop-propagation-loss-model.h (module 'propagation'): int64_t ns3::ItuR1411NlosOverRooftopPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3JakesProcess_methods(root_module, cls): @@ -9314,6 +9637,11 @@ cls.add_constructor([param('ns3::JakesProcess const &', 'arg0')]) ## jakes-process.h (module 'propagation'): ns3::JakesProcess::JakesProcess() [constructor] cls.add_constructor([]) + ## jakes-process.h (module 'propagation'): static int64_t ns3::JakesProcess::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_static=True) ## jakes-process.h (module 'propagation'): double ns3::JakesProcess::GetChannelGainDb() const [member function] cls.add_method('GetChannelGainDb', 'double', @@ -9344,6 +9672,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## jakes-propagation-loss-model.h (module 'propagation'): int64_t ns3::JakesPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Kun2600MhzPropagationLossModel_methods(root_module, cls): @@ -9364,6 +9697,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## kun-2600-mhz-propagation-loss-model.h (module 'propagation'): int64_t ns3::Kun2600MhzPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3LogDistancePropagationLossModel_methods(root_module, cls): @@ -9392,6 +9730,49 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::LogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) + 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): @@ -9601,6 +9982,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::MatrixPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3MgtBeaconHeader_methods(root_module, cls): @@ -9615,6 +10001,10 @@ cls.add_constructor([param('ns3::MinstrelWifiManager const &', 'arg0')]) ## minstrel-wifi-manager.h (module 'wifi'): ns3::MinstrelWifiManager::MinstrelWifiManager() [constructor] cls.add_constructor([]) + ## minstrel-wifi-manager.h (module 'wifi'): int64_t ns3::MinstrelWifiManager::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## minstrel-wifi-manager.h (module 'wifi'): static ns3::TypeId ns3::MinstrelWifiManager::GetTypeId() [member function] cls.add_method('GetTypeId', 'ns3::TypeId', @@ -9687,6 +10077,10 @@ cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor] cls.add_constructor([]) + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr position) const [member function] cls.add_method('GetDistanceFrom', 'double', @@ -9721,6 +10115,11 @@ 'void', [], is_const=True, visibility='protected') + ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::DoAssignStreams(int64_t start) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'start')], + visibility='private', is_virtual=True) ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function] cls.add_method('DoGetPosition', 'ns3::Vector', @@ -9773,6 +10172,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::NakagamiPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3NetDevice_methods(root_module, cls): @@ -10051,6 +10455,51 @@ 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([]) @@ -10109,6 +10558,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## okumura-hata-propagation-loss-model.h (module 'propagation'): int64_t ns3::OkumuraHataPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3OnoeWifiManager_methods(root_module, cls): @@ -10372,44 +10826,47 @@ [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 >', - [], - 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_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')]) +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_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-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_Ns3RegularWifiMac_methods(root_module, cls): @@ -11366,6 +11823,10 @@ 'void', [param('ns3::Ptr< ns3::YansWifiPhy >', 'sender'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('double', 'txPowerDbm'), param('ns3::WifiMode', 'wifiMode'), param('ns3::WifiPreamble', 'preamble')], is_const=True) + ## yans-wifi-channel.h (module 'wifi'): int64_t ns3::YansWifiChannel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) return def register_Ns3AddressChecker_methods(root_module, cls): @@ -11588,6 +12049,10 @@ cls.add_method('Queue', 'void', [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const &', 'hdr')]) + ## dca-txop.h (module 'wifi'): int64_t ns3::DcaTxop::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## dca-txop.h (module 'wifi'): void ns3::DcaTxop::DoStart() [member function] cls.add_method('DoStart', 'void', diff -r 85eed149a0ea -r 7752dc4ce7e9 src/wifi/helper/yans-wifi-helper.cc --- a/src/wifi/helper/yans-wifi-helper.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/wifi/helper/yans-wifi-helper.cc Wed Aug 15 18:08:46 2012 -0700 @@ -172,7 +172,6 @@ return channel; } - YansWifiPhyHelper::YansWifiPhyHelper () : m_channel (0), m_pcapDlt (PcapHelper::DLT_IEEE802_11) diff -r 85eed149a0ea -r 7752dc4ce7e9 src/wifi/model/yans-wifi-channel.cc --- a/src/wifi/model/yans-wifi-channel.cc Wed Aug 15 15:33:02 2012 -0700 +++ b/src/wifi/model/yans-wifi-channel.cc Wed Aug 15 18:08:46 2012 -0700 @@ -147,6 +147,7 @@ Ptr yans = (*i); currentStream += yans->AssignStreams (currentStream); } + currentStream += m_loss->AssignStreams (stream); return (currentStream - stream); } diff -r 85eed149a0ea -r 7752dc4ce7e9 src/wimax/bindings/modulegen__gcc_ILP32.py --- a/src/wimax/bindings/modulegen__gcc_ILP32.py Wed Aug 15 15:33:02 2012 -0700 +++ b/src/wimax/bindings/modulegen__gcc_ILP32.py Wed Aug 15 18:08:46 2012 -0700 @@ -136,10 +136,6 @@ 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') ## snr-to-block-error-rate-manager.h (module 'wimax'): ns3::SNRToBlockErrorRateManager [class] module.add_class('SNRToBlockErrorRateManager') ## snr-to-block-error-rate-record.h (module 'wimax'): ns3::SNRToBlockErrorRateRecord [class] @@ -148,8 +144,6 @@ module.add_class('SSRecord') ## send-params.h (module 'wimax'): ns3::SendParams [class] module.add_class('SendParams') - ## random-variable.h (module 'core'): ns3::SequentialVariable [class] - module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## service-flow.h (module 'wimax'): ns3::ServiceFlow [class] module.add_class('ServiceFlow') ## service-flow.h (module 'wimax'): ns3::ServiceFlow::Direction [enumeration] @@ -176,8 +170,6 @@ module.add_class('TlvValue', allow_subclassing=True) ## wimax-tlv.h (module 'wimax'): ns3::TosTlvValue [class] module.add_class('TosTlvValue', parent=root_module['ns3::TlvValue']) - ## 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] @@ -194,12 +186,8 @@ module.add_class('U8TlvValue', parent=root_module['ns3::TlvValue']) ## ul-mac-messages.h (module 'wimax'): ns3::UcdChannelEncodings [class] module.add_class('UcdChannelEncodings', allow_subclassing=True) - ## random-variable.h (module 'core'): ns3::UniformVariable [class] - module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wimax-tlv.h (module 'wimax'): ns3::VectorTlvValue [class] module.add_class('VectorTlvValue', parent=root_module['ns3::TlvValue']) - ## random-variable.h (module 'core'): ns3::WeibullVariable [class] - module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wimax-helper.h (module 'wimax'): ns3::WimaxHelper [class] module.add_class('WimaxHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) ## wimax-helper.h (module 'wimax'): ns3::WimaxHelper::NetDeviceType [enumeration] @@ -208,10 +196,6 @@ module.add_enum('PhyType', ['SIMPLE_PHY_TYPE_OFDM'], outer_class=root_module['ns3::WimaxHelper']) ## wimax-helper.h (module 'wimax'): ns3::WimaxHelper::SchedulerType [enumeration] module.add_enum('SchedulerType', ['SCHED_TYPE_SIMPLE', 'SCHED_TYPE_RTPS', 'SCHED_TYPE_MBQOS'], outer_class=root_module['ns3::WimaxHelper']) - ## 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] @@ -224,32 +208,16 @@ module.add_class('ClassificationRuleVectorTlvValue', parent=root_module['ns3::VectorTlvValue']) ## wimax-tlv.h (module 'wimax'): ns3::ClassificationRuleVectorTlvValue::ClassificationRuleTlvType [enumeration] module.add_enum('ClassificationRuleTlvType', ['Priority', 'ToS', 'Protocol', 'IP_src', 'IP_dst', 'Port_src', 'Port_dst', 'Index'], outer_class=root_module['ns3::ClassificationRuleVectorTlvValue']) - ## random-variable.h (module 'core'): ns3::ConstantVariable [class] - module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wimax-tlv.h (module 'wimax'): ns3::CsParamVectorTlvValue [class] module.add_class('CsParamVectorTlvValue', parent=root_module['ns3::VectorTlvValue']) ## wimax-tlv.h (module 'wimax'): ns3::CsParamVectorTlvValue::Type [enumeration] module.add_enum('Type', ['Classifier_DSC_Action', 'Packet_Classification_Rule'], outer_class=root_module['ns3::CsParamVectorTlvValue']) - ## 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']) ## wimax-tlv.h (module 'wimax'): ns3::Ipv4AddressTlvValue [class] module.add_class('Ipv4AddressTlvValue', parent=root_module['ns3::TlvValue']) ## wimax-tlv.h (module 'wimax'): ns3::Ipv4AddressTlvValue::ipv4Addr [struct] module.add_class('ipv4Addr', outer_class=root_module['ns3::Ipv4AddressTlvValue']) - ## random-variable.h (module 'core'): ns3::LogNormalVariable [class] - module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wimax-mac-header.h (module 'wimax'): ns3::MacHeaderType [class] module.add_class('MacHeaderType', parent=root_module['ns3::Header']) ## wimax-mac-header.h (module 'wimax'): ns3::MacHeaderType::HeaderType [enumeration] @@ -258,8 +226,6 @@ module.add_class('ManagementMessageType', parent=root_module['ns3::Header']) ## mac-messages.h (module 'wimax'): ns3::ManagementMessageType::MessageType [enumeration] module.add_enum('MessageType', ['MESSAGE_TYPE_UCD', 'MESSAGE_TYPE_DCD', 'MESSAGE_TYPE_DL_MAP', 'MESSAGE_TYPE_UL_MAP', 'MESSAGE_TYPE_RNG_REQ', 'MESSAGE_TYPE_RNG_RSP', 'MESSAGE_TYPE_REG_REQ', 'MESSAGE_TYPE_REG_RSP', 'MESSAGE_TYPE_DSA_REQ', 'MESSAGE_TYPE_DSA_RSP', 'MESSAGE_TYPE_DSA_ACK'], outer_class=root_module['ns3::ManagementMessageType']) - ## 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] @@ -272,8 +238,6 @@ module.add_class('OfdmUcdChannelEncodings', parent=root_module['ns3::UcdChannelEncodings']) ## packet-burst.h (module 'network'): ns3::PacketBurst [class] module.add_class('PacketBurst', import_from_module='ns.network', parent=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']) ## wimax-tlv.h (module 'wimax'): ns3::PortRangeTlvValue [class] @@ -506,10 +470,6 @@ module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) ## random-variable-stream.h (module 'core'): ns3::ParetoRandomVariable [class] module.add_class('ParetoRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) - ## 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']) ## simple-ofdm-wimax-phy.h (module 'wimax'): ns3::SimpleOfdmWimaxPhy [class] module.add_class('SimpleOfdmWimaxPhy', parent=root_module['ns3::WimaxPhy']) ## simple-ofdm-wimax-phy.h (module 'wimax'): ns3::SimpleOfdmWimaxPhy::FrameDurationCode [enumeration] @@ -567,10 +527,6 @@ module.add_container('std::vector< ns3::Ptr< ns3::WimaxConnection > >', 'ns3::Ptr< ns3::WimaxConnection >', container_type='vector') module.add_container('std::vector< ns3::OfdmDlBurstProfile >', 'ns3::OfdmDlBurstProfile', container_type='vector') module.add_container('std::list< ns3::OfdmDlMapIe >', 'ns3::OfdmDlMapIe', container_type='list') - 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') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogNodePrinter') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogNodePrinter*') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogNodePrinter&') @@ -648,13 +604,10 @@ 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_Ns3SNRToBlockErrorRateManager_methods(root_module, root_module['ns3::SNRToBlockErrorRateManager']) register_Ns3SNRToBlockErrorRateRecord_methods(root_module, root_module['ns3::SNRToBlockErrorRateRecord']) register_Ns3SSRecord_methods(root_module, root_module['ns3::SSRecord']) register_Ns3SendParams_methods(root_module, root_module['ns3::SendParams']) - register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3ServiceFlow_methods(root_module, root_module['ns3::ServiceFlow']) register_Ns3ServiceFlowRecord_methods(root_module, root_module['ns3::ServiceFlowRecord']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) @@ -663,7 +616,6 @@ register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TlvValue_methods(root_module, root_module['ns3::TlvValue']) register_Ns3TosTlvValue_methods(root_module, root_module['ns3::TosTlvValue']) - 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']) @@ -671,39 +623,25 @@ register_Ns3U32TlvValue_methods(root_module, root_module['ns3::U32TlvValue']) register_Ns3U8TlvValue_methods(root_module, root_module['ns3::U8TlvValue']) register_Ns3UcdChannelEncodings_methods(root_module, root_module['ns3::UcdChannelEncodings']) - register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) register_Ns3VectorTlvValue_methods(root_module, root_module['ns3::VectorTlvValue']) - register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3WimaxHelper_methods(root_module, root_module['ns3::WimaxHelper']) - 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_Ns3SimpleOfdmSendParam_methods(root_module, root_module['ns3::simpleOfdmSendParam']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) register_Ns3ClassificationRuleVectorTlvValue_methods(root_module, root_module['ns3::ClassificationRuleVectorTlvValue']) - register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) register_Ns3CsParamVectorTlvValue_methods(root_module, root_module['ns3::CsParamVectorTlvValue']) - 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_Ns3Ipv4AddressTlvValue_methods(root_module, root_module['ns3::Ipv4AddressTlvValue']) register_Ns3Ipv4AddressTlvValueIpv4Addr_methods(root_module, root_module['ns3::Ipv4AddressTlvValue::ipv4Addr']) - register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable']) register_Ns3MacHeaderType_methods(root_module, root_module['ns3::MacHeaderType']) register_Ns3ManagementMessageType_methods(root_module, root_module['ns3::ManagementMessageType']) - 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_Ns3OfdmDownlinkFramePrefix_methods(root_module, root_module['ns3::OfdmDownlinkFramePrefix']) register_Ns3OfdmSendParams_methods(root_module, root_module['ns3::OfdmSendParams']) register_Ns3OfdmUcdChannelEncodings_methods(root_module, root_module['ns3::OfdmUcdChannelEncodings']) register_Ns3PacketBurst_methods(root_module, root_module['ns3::PacketBurst']) - register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper']) register_Ns3PortRangeTlvValue_methods(root_module, root_module['ns3::PortRangeTlvValue']) register_Ns3PortRangeTlvValuePortRange_methods(root_module, root_module['ns3::PortRangeTlvValue::PortRange']) @@ -807,8 +745,6 @@ register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper']) register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) register_Ns3ParetoRandomVariable_methods(root_module, root_module['ns3::ParetoRandomVariable']) - register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) - register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue']) register_Ns3SimpleOfdmWimaxPhy_methods(root_module, root_module['ns3::SimpleOfdmWimaxPhy']) register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) @@ -3168,56 +3104,6 @@ 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_Ns3SNRToBlockErrorRateManager_methods(root_module, cls): ## snr-to-block-error-rate-manager.h (module 'wimax'): ns3::SNRToBlockErrorRateManager::SNRToBlockErrorRateManager(ns3::SNRToBlockErrorRateManager const & arg0) [copy constructor] cls.add_constructor([param('ns3::SNRToBlockErrorRateManager const &', 'arg0')]) @@ -3508,15 +3394,6 @@ cls.add_constructor([]) 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_Ns3ServiceFlow_methods(root_module, cls): ## service-flow.h (module 'wimax'): ns3::ServiceFlow::ServiceFlow(ns3::Tlv tlv) [constructor] cls.add_constructor([param('ns3::Tlv', 'tlv')]) @@ -4329,15 +4206,6 @@ is_const=True, is_virtual=True) 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('<') @@ -4684,28 +4552,6 @@ is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) 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_Ns3VectorTlvValue_methods(root_module, cls): ## wimax-tlv.h (module 'wimax'): ns3::VectorTlvValue::VectorTlvValue(ns3::VectorTlvValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::VectorTlvValue const &', 'arg0')]) @@ -4747,19 +4593,6 @@ is_const=True, is_virtual=True) 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_Ns3WimaxHelper_methods(root_module, cls): ## wimax-helper.h (module 'wimax'): ns3::WimaxHelper::WimaxHelper(ns3::WimaxHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::WimaxHelper const &', 'arg0')]) @@ -4843,24 +4676,6 @@ visibility='private', is_virtual=True) 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([]) @@ -5085,19 +4900,6 @@ 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_Ns3CsParamVectorTlvValue_methods(root_module, cls): ## wimax-tlv.h (module 'wimax'): ns3::CsParamVectorTlvValue::CsParamVectorTlvValue(ns3::CsParamVectorTlvValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::CsParamVectorTlvValue const &', 'arg0')]) @@ -5115,73 +4917,6 @@ 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] @@ -5215,13 +4950,6 @@ 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_Ns3Ipv4AddressTlvValue_methods(root_module, cls): ## wimax-tlv.h (module 'wimax'): ns3::Ipv4AddressTlvValue::Ipv4AddressTlvValue(ns3::Ipv4AddressTlvValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::Ipv4AddressTlvValue const &', 'arg0')]) @@ -5274,13 +5002,6 @@ cls.add_instance_attribute('Mask', 'ns3::Ipv4Mask', is_const=False) 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_Ns3MacHeaderType_methods(root_module, cls): ## wimax-mac-header.h (module 'wimax'): ns3::MacHeaderType::MacHeaderType(ns3::MacHeaderType const & arg0) [copy constructor] cls.add_constructor([param('ns3::MacHeaderType const &', 'arg0')]) @@ -5387,17 +5108,6 @@ [param('uint8_t', 'type')]) 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([]) @@ -5654,23 +5364,6 @@ visibility='private', is_virtual=True) 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', @@ -5834,16 +5527,29 @@ cls.add_method('SetNext', 'void', [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): ns3::Ptr ns3::PropagationLossModel::GetNext() [member function] + cls.add_method('GetNext', + 'ns3::Ptr< ns3::PropagationLossModel >', + []) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('CalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('DoCalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3ProtocolTlvValue_methods(root_module, cls): @@ -5900,6 +5606,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RandomPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3RandomVariableStream_methods(root_module, cls): @@ -5958,6 +5669,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RangePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3RngReq_methods(root_module, cls): @@ -6561,6 +6277,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::ThreeLogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Time_methods(root_module, cls): @@ -6933,6 +6654,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::TwoRayGroundPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Ucd_methods(root_module, cls): @@ -9572,6 +9298,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FixedRssLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3FragmentationSubheader_methods(root_module, cls): @@ -9678,6 +9409,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FriisPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3GammaRandomVariable_methods(root_module, cls): @@ -10108,6 +9844,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::LogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3LogNormalRandomVariable_methods(root_module, cls): @@ -10209,6 +9950,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::MatrixPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3NakagamiPropagationLossModel_methods(root_module, cls): @@ -10224,6 +9970,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::NakagamiPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3NetDevice_methods(root_module, cls): @@ -10807,46 +10558,6 @@ is_virtual=True) 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 >', - [], - 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_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')]) - return - def register_Ns3SimpleOfdmWimaxPhy_methods(root_module, cls): ## simple-ofdm-wimax-phy.h (module 'wimax'): ns3::SimpleOfdmWimaxPhy::SimpleOfdmWimaxPhy(ns3::SimpleOfdmWimaxPhy const & arg0) [copy constructor] cls.add_constructor([param('ns3::SimpleOfdmWimaxPhy const &', 'arg0')]) diff -r 85eed149a0ea -r 7752dc4ce7e9 src/wimax/bindings/modulegen__gcc_LP64.py --- a/src/wimax/bindings/modulegen__gcc_LP64.py Wed Aug 15 15:33:02 2012 -0700 +++ b/src/wimax/bindings/modulegen__gcc_LP64.py Wed Aug 15 18:08:46 2012 -0700 @@ -136,10 +136,6 @@ 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') ## snr-to-block-error-rate-manager.h (module 'wimax'): ns3::SNRToBlockErrorRateManager [class] module.add_class('SNRToBlockErrorRateManager') ## snr-to-block-error-rate-record.h (module 'wimax'): ns3::SNRToBlockErrorRateRecord [class] @@ -148,8 +144,6 @@ module.add_class('SSRecord') ## send-params.h (module 'wimax'): ns3::SendParams [class] module.add_class('SendParams') - ## random-variable.h (module 'core'): ns3::SequentialVariable [class] - module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## service-flow.h (module 'wimax'): ns3::ServiceFlow [class] module.add_class('ServiceFlow') ## service-flow.h (module 'wimax'): ns3::ServiceFlow::Direction [enumeration] @@ -176,8 +170,6 @@ module.add_class('TlvValue', allow_subclassing=True) ## wimax-tlv.h (module 'wimax'): ns3::TosTlvValue [class] module.add_class('TosTlvValue', parent=root_module['ns3::TlvValue']) - ## 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] @@ -194,12 +186,8 @@ module.add_class('U8TlvValue', parent=root_module['ns3::TlvValue']) ## ul-mac-messages.h (module 'wimax'): ns3::UcdChannelEncodings [class] module.add_class('UcdChannelEncodings', allow_subclassing=True) - ## random-variable.h (module 'core'): ns3::UniformVariable [class] - module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wimax-tlv.h (module 'wimax'): ns3::VectorTlvValue [class] module.add_class('VectorTlvValue', parent=root_module['ns3::TlvValue']) - ## random-variable.h (module 'core'): ns3::WeibullVariable [class] - module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wimax-helper.h (module 'wimax'): ns3::WimaxHelper [class] module.add_class('WimaxHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) ## wimax-helper.h (module 'wimax'): ns3::WimaxHelper::NetDeviceType [enumeration] @@ -208,10 +196,6 @@ module.add_enum('PhyType', ['SIMPLE_PHY_TYPE_OFDM'], outer_class=root_module['ns3::WimaxHelper']) ## wimax-helper.h (module 'wimax'): ns3::WimaxHelper::SchedulerType [enumeration] module.add_enum('SchedulerType', ['SCHED_TYPE_SIMPLE', 'SCHED_TYPE_RTPS', 'SCHED_TYPE_MBQOS'], outer_class=root_module['ns3::WimaxHelper']) - ## 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] @@ -224,32 +208,16 @@ module.add_class('ClassificationRuleVectorTlvValue', parent=root_module['ns3::VectorTlvValue']) ## wimax-tlv.h (module 'wimax'): ns3::ClassificationRuleVectorTlvValue::ClassificationRuleTlvType [enumeration] module.add_enum('ClassificationRuleTlvType', ['Priority', 'ToS', 'Protocol', 'IP_src', 'IP_dst', 'Port_src', 'Port_dst', 'Index'], outer_class=root_module['ns3::ClassificationRuleVectorTlvValue']) - ## random-variable.h (module 'core'): ns3::ConstantVariable [class] - module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wimax-tlv.h (module 'wimax'): ns3::CsParamVectorTlvValue [class] module.add_class('CsParamVectorTlvValue', parent=root_module['ns3::VectorTlvValue']) ## wimax-tlv.h (module 'wimax'): ns3::CsParamVectorTlvValue::Type [enumeration] module.add_enum('Type', ['Classifier_DSC_Action', 'Packet_Classification_Rule'], outer_class=root_module['ns3::CsParamVectorTlvValue']) - ## 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']) ## wimax-tlv.h (module 'wimax'): ns3::Ipv4AddressTlvValue [class] module.add_class('Ipv4AddressTlvValue', parent=root_module['ns3::TlvValue']) ## wimax-tlv.h (module 'wimax'): ns3::Ipv4AddressTlvValue::ipv4Addr [struct] module.add_class('ipv4Addr', outer_class=root_module['ns3::Ipv4AddressTlvValue']) - ## random-variable.h (module 'core'): ns3::LogNormalVariable [class] - module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wimax-mac-header.h (module 'wimax'): ns3::MacHeaderType [class] module.add_class('MacHeaderType', parent=root_module['ns3::Header']) ## wimax-mac-header.h (module 'wimax'): ns3::MacHeaderType::HeaderType [enumeration] @@ -258,8 +226,6 @@ module.add_class('ManagementMessageType', parent=root_module['ns3::Header']) ## mac-messages.h (module 'wimax'): ns3::ManagementMessageType::MessageType [enumeration] module.add_enum('MessageType', ['MESSAGE_TYPE_UCD', 'MESSAGE_TYPE_DCD', 'MESSAGE_TYPE_DL_MAP', 'MESSAGE_TYPE_UL_MAP', 'MESSAGE_TYPE_RNG_REQ', 'MESSAGE_TYPE_RNG_RSP', 'MESSAGE_TYPE_REG_REQ', 'MESSAGE_TYPE_REG_RSP', 'MESSAGE_TYPE_DSA_REQ', 'MESSAGE_TYPE_DSA_RSP', 'MESSAGE_TYPE_DSA_ACK'], outer_class=root_module['ns3::ManagementMessageType']) - ## 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] @@ -272,8 +238,6 @@ module.add_class('OfdmUcdChannelEncodings', parent=root_module['ns3::UcdChannelEncodings']) ## packet-burst.h (module 'network'): ns3::PacketBurst [class] module.add_class('PacketBurst', import_from_module='ns.network', parent=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']) ## wimax-tlv.h (module 'wimax'): ns3::PortRangeTlvValue [class] @@ -506,10 +470,6 @@ module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) ## random-variable-stream.h (module 'core'): ns3::ParetoRandomVariable [class] module.add_class('ParetoRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream']) - ## 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']) ## simple-ofdm-wimax-phy.h (module 'wimax'): ns3::SimpleOfdmWimaxPhy [class] module.add_class('SimpleOfdmWimaxPhy', parent=root_module['ns3::WimaxPhy']) ## simple-ofdm-wimax-phy.h (module 'wimax'): ns3::SimpleOfdmWimaxPhy::FrameDurationCode [enumeration] @@ -567,10 +527,6 @@ module.add_container('std::vector< ns3::Ptr< ns3::WimaxConnection > >', 'ns3::Ptr< ns3::WimaxConnection >', container_type='vector') module.add_container('std::vector< ns3::OfdmDlBurstProfile >', 'ns3::OfdmDlBurstProfile', container_type='vector') module.add_container('std::list< ns3::OfdmDlMapIe >', 'ns3::OfdmDlMapIe', container_type='list') - 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') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogNodePrinter') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogNodePrinter*') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogNodePrinter&') @@ -648,13 +604,10 @@ 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_Ns3SNRToBlockErrorRateManager_methods(root_module, root_module['ns3::SNRToBlockErrorRateManager']) register_Ns3SNRToBlockErrorRateRecord_methods(root_module, root_module['ns3::SNRToBlockErrorRateRecord']) register_Ns3SSRecord_methods(root_module, root_module['ns3::SSRecord']) register_Ns3SendParams_methods(root_module, root_module['ns3::SendParams']) - register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3ServiceFlow_methods(root_module, root_module['ns3::ServiceFlow']) register_Ns3ServiceFlowRecord_methods(root_module, root_module['ns3::ServiceFlowRecord']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) @@ -663,7 +616,6 @@ register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TlvValue_methods(root_module, root_module['ns3::TlvValue']) register_Ns3TosTlvValue_methods(root_module, root_module['ns3::TosTlvValue']) - 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']) @@ -671,39 +623,25 @@ register_Ns3U32TlvValue_methods(root_module, root_module['ns3::U32TlvValue']) register_Ns3U8TlvValue_methods(root_module, root_module['ns3::U8TlvValue']) register_Ns3UcdChannelEncodings_methods(root_module, root_module['ns3::UcdChannelEncodings']) - register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) register_Ns3VectorTlvValue_methods(root_module, root_module['ns3::VectorTlvValue']) - register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3WimaxHelper_methods(root_module, root_module['ns3::WimaxHelper']) - 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_Ns3SimpleOfdmSendParam_methods(root_module, root_module['ns3::simpleOfdmSendParam']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) register_Ns3ClassificationRuleVectorTlvValue_methods(root_module, root_module['ns3::ClassificationRuleVectorTlvValue']) - register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) register_Ns3CsParamVectorTlvValue_methods(root_module, root_module['ns3::CsParamVectorTlvValue']) - 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_Ns3Ipv4AddressTlvValue_methods(root_module, root_module['ns3::Ipv4AddressTlvValue']) register_Ns3Ipv4AddressTlvValueIpv4Addr_methods(root_module, root_module['ns3::Ipv4AddressTlvValue::ipv4Addr']) - register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable']) register_Ns3MacHeaderType_methods(root_module, root_module['ns3::MacHeaderType']) register_Ns3ManagementMessageType_methods(root_module, root_module['ns3::ManagementMessageType']) - 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_Ns3OfdmDownlinkFramePrefix_methods(root_module, root_module['ns3::OfdmDownlinkFramePrefix']) register_Ns3OfdmSendParams_methods(root_module, root_module['ns3::OfdmSendParams']) register_Ns3OfdmUcdChannelEncodings_methods(root_module, root_module['ns3::OfdmUcdChannelEncodings']) register_Ns3PacketBurst_methods(root_module, root_module['ns3::PacketBurst']) - register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper']) register_Ns3PortRangeTlvValue_methods(root_module, root_module['ns3::PortRangeTlvValue']) register_Ns3PortRangeTlvValuePortRange_methods(root_module, root_module['ns3::PortRangeTlvValue::PortRange']) @@ -807,8 +745,6 @@ register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper']) register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) register_Ns3ParetoRandomVariable_methods(root_module, root_module['ns3::ParetoRandomVariable']) - register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) - register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue']) register_Ns3SimpleOfdmWimaxPhy_methods(root_module, root_module['ns3::SimpleOfdmWimaxPhy']) register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) @@ -3168,56 +3104,6 @@ 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_Ns3SNRToBlockErrorRateManager_methods(root_module, cls): ## snr-to-block-error-rate-manager.h (module 'wimax'): ns3::SNRToBlockErrorRateManager::SNRToBlockErrorRateManager(ns3::SNRToBlockErrorRateManager const & arg0) [copy constructor] cls.add_constructor([param('ns3::SNRToBlockErrorRateManager const &', 'arg0')]) @@ -3508,15 +3394,6 @@ cls.add_constructor([]) 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_Ns3ServiceFlow_methods(root_module, cls): ## service-flow.h (module 'wimax'): ns3::ServiceFlow::ServiceFlow(ns3::Tlv tlv) [constructor] cls.add_constructor([param('ns3::Tlv', 'tlv')]) @@ -4329,15 +4206,6 @@ is_const=True, is_virtual=True) 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('<') @@ -4684,28 +4552,6 @@ is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) 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_Ns3VectorTlvValue_methods(root_module, cls): ## wimax-tlv.h (module 'wimax'): ns3::VectorTlvValue::VectorTlvValue(ns3::VectorTlvValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::VectorTlvValue const &', 'arg0')]) @@ -4747,19 +4593,6 @@ is_const=True, is_virtual=True) 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_Ns3WimaxHelper_methods(root_module, cls): ## wimax-helper.h (module 'wimax'): ns3::WimaxHelper::WimaxHelper(ns3::WimaxHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::WimaxHelper const &', 'arg0')]) @@ -4843,24 +4676,6 @@ visibility='private', is_virtual=True) 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([]) @@ -5085,19 +4900,6 @@ 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_Ns3CsParamVectorTlvValue_methods(root_module, cls): ## wimax-tlv.h (module 'wimax'): ns3::CsParamVectorTlvValue::CsParamVectorTlvValue(ns3::CsParamVectorTlvValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::CsParamVectorTlvValue const &', 'arg0')]) @@ -5115,73 +4917,6 @@ 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] @@ -5215,13 +4950,6 @@ 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_Ns3Ipv4AddressTlvValue_methods(root_module, cls): ## wimax-tlv.h (module 'wimax'): ns3::Ipv4AddressTlvValue::Ipv4AddressTlvValue(ns3::Ipv4AddressTlvValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::Ipv4AddressTlvValue const &', 'arg0')]) @@ -5274,13 +5002,6 @@ cls.add_instance_attribute('Mask', 'ns3::Ipv4Mask', is_const=False) 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_Ns3MacHeaderType_methods(root_module, cls): ## wimax-mac-header.h (module 'wimax'): ns3::MacHeaderType::MacHeaderType(ns3::MacHeaderType const & arg0) [copy constructor] cls.add_constructor([param('ns3::MacHeaderType const &', 'arg0')]) @@ -5387,17 +5108,6 @@ [param('uint8_t', 'type')]) 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([]) @@ -5654,23 +5364,6 @@ visibility='private', is_virtual=True) 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', @@ -5834,16 +5527,29 @@ cls.add_method('SetNext', 'void', [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): ns3::Ptr ns3::PropagationLossModel::GetNext() [member function] + cls.add_method('GetNext', + 'ns3::Ptr< ns3::PropagationLossModel >', + []) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('CalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::AssignStreams(int64_t stream) [member function] + cls.add_method('AssignStreams', + 'int64_t', + [param('int64_t', 'stream')]) ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] cls.add_method('DoCalcRxPower', 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::PropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + is_pure_virtual=True, visibility='private', is_virtual=True) return def register_Ns3ProtocolTlvValue_methods(root_module, cls): @@ -5900,6 +5606,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RandomPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3RandomVariableStream_methods(root_module, cls): @@ -5958,6 +5669,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::RangePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3RngReq_methods(root_module, cls): @@ -6561,6 +6277,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::ThreeLogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Time_methods(root_module, cls): @@ -6933,6 +6654,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::TwoRayGroundPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3Ucd_methods(root_module, cls): @@ -9572,6 +9298,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FixedRssLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3FragmentationSubheader_methods(root_module, cls): @@ -9678,6 +9409,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::FriisPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3GammaRandomVariable_methods(root_module, cls): @@ -10108,6 +9844,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::LogDistancePropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3LogNormalRandomVariable_methods(root_module, cls): @@ -10209,6 +9950,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::MatrixPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3NakagamiPropagationLossModel_methods(root_module, cls): @@ -10224,6 +9970,11 @@ 'double', [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], is_const=True, visibility='private', is_virtual=True) + ## propagation-loss-model.h (module 'propagation'): int64_t ns3::NakagamiPropagationLossModel::DoAssignStreams(int64_t stream) [member function] + cls.add_method('DoAssignStreams', + 'int64_t', + [param('int64_t', 'stream')], + visibility='private', is_virtual=True) return def register_Ns3NetDevice_methods(root_module, cls): @@ -10807,46 +10558,6 @@ is_virtual=True) 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 >', - [], - 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_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')]) - return - def register_Ns3SimpleOfdmWimaxPhy_methods(root_module, cls): ## simple-ofdm-wimax-phy.h (module 'wimax'): ns3::SimpleOfdmWimaxPhy::SimpleOfdmWimaxPhy(ns3::SimpleOfdmWimaxPhy const & arg0) [copy constructor] cls.add_constructor([param('ns3::SimpleOfdmWimaxPhy const &', 'arg0')])