src/propagation/bindings/modulegen__gcc_ILP32.py
changeset 8893 a11fdda061ae
parent 8790 ee833de00a72
child 8985 7752dc4ce7e9
equal deleted inserted replaced
8892:b5ef4158fb8f 8893:a11fdda061ae
    36     module.add_class('ObjectDeleter', import_from_module='ns.core')
    36     module.add_class('ObjectDeleter', import_from_module='ns.core')
    37     ## propagation-cache.h (module 'propagation'): ns3::PropagationCache<ns3::JakesProcess> [class]
    37     ## propagation-cache.h (module 'propagation'): ns3::PropagationCache<ns3::JakesProcess> [class]
    38     module.add_class('PropagationCache', template_parameters=['ns3::JakesProcess'])
    38     module.add_class('PropagationCache', template_parameters=['ns3::JakesProcess'])
    39     ## random-variable.h (module 'core'): ns3::RandomVariable [class]
    39     ## random-variable.h (module 'core'): ns3::RandomVariable [class]
    40     module.add_class('RandomVariable', import_from_module='ns.core')
    40     module.add_class('RandomVariable', import_from_module='ns.core')
    41     ## random-variable.h (module 'core'): ns3::SeedManager [class]
    41     ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager [class]
    42     module.add_class('SeedManager', import_from_module='ns.core')
    42     module.add_class('RngSeedManager', import_from_module='ns.core')
    43     ## random-variable.h (module 'core'): ns3::SequentialVariable [class]
    43     ## random-variable.h (module 'core'): ns3::SequentialVariable [class]
    44     module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
    44     module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
    45     ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
    45     ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
    46     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'))
    46     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'))
    47     ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
    47     ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
   192     module.add_class('Vector3DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
   192     module.add_class('Vector3DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
   193     typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue')
   193     typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue')
   194     typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*')
   194     typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*')
   195     typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&')
   195     typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&')
   196     module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue')
   196     module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue')
       
   197     typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager')
       
   198     typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*')
       
   199     typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&')
       
   200     module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager')
   197     typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector')
   201     typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector')
   198     typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*')
   202     typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*')
   199     typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&')
   203     typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&')
   200     module.add_typedef(root_module['ns3::Vector3D'], 'Vector')
   204     module.add_typedef(root_module['ns3::Vector3D'], 'Vector')
   201     typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker')
   205     typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker')
   219     register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
   223     register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
   220     register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
   224     register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
   221     register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
   225     register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
   222     register_Ns3PropagationCache__Ns3JakesProcess_methods(root_module, root_module['ns3::PropagationCache< ns3::JakesProcess >'])
   226     register_Ns3PropagationCache__Ns3JakesProcess_methods(root_module, root_module['ns3::PropagationCache< ns3::JakesProcess >'])
   223     register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
   227     register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
   224     register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager'])
   228     register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager'])
   225     register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
   229     register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
   226     register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
   230     register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
   227     register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
   231     register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
   228     register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
   232     register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
   229     register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
   233     register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
   454                    'double', 
   458                    'double', 
   455                    [], 
   459                    [], 
   456                    is_const=True)
   460                    is_const=True)
   457     return
   461     return
   458 
   462 
   459 def register_Ns3SeedManager_methods(root_module, cls):
   463 def register_Ns3RngSeedManager_methods(root_module, cls):
   460     ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager() [constructor]
   464     ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor]
   461     cls.add_constructor([])
   465     cls.add_constructor([])
   462     ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager(ns3::SeedManager const & arg0) [copy constructor]
   466     ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor]
   463     cls.add_constructor([param('ns3::SeedManager const &', 'arg0')])
   467     cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')])
   464     ## random-variable.h (module 'core'): static bool ns3::SeedManager::CheckSeed(uint32_t seed) [member function]
   468     ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function]
   465     cls.add_method('CheckSeed', 
   469     cls.add_method('GetNextStreamIndex', 
   466                    'bool', 
   470                    'uint64_t', 
   467                    [param('uint32_t', 'seed')], 
   471                    [], 
   468                    is_static=True)
   472                    is_static=True)
   469     ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetRun() [member function]
   473     ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function]
   470     cls.add_method('GetRun', 
   474     cls.add_method('GetRun', 
   471                    'uint32_t', 
   475                    'uint64_t', 
   472                    [], 
   476                    [], 
   473                    is_static=True)
   477                    is_static=True)
   474     ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetSeed() [member function]
   478     ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function]
   475     cls.add_method('GetSeed', 
   479     cls.add_method('GetSeed', 
   476                    'uint32_t', 
   480                    'uint32_t', 
   477                    [], 
   481                    [], 
   478                    is_static=True)
   482                    is_static=True)
   479     ## random-variable.h (module 'core'): static void ns3::SeedManager::SetRun(uint32_t run) [member function]
   483     ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function]
   480     cls.add_method('SetRun', 
   484     cls.add_method('SetRun', 
   481                    'void', 
   485                    'void', 
   482                    [param('uint32_t', 'run')], 
   486                    [param('uint64_t', 'run')], 
   483                    is_static=True)
   487                    is_static=True)
   484     ## random-variable.h (module 'core'): static void ns3::SeedManager::SetSeed(uint32_t seed) [member function]
   488     ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function]
   485     cls.add_method('SetSeed', 
   489     cls.add_method('SetSeed', 
   486                    'void', 
   490                    'void', 
   487                    [param('uint32_t', 'seed')], 
   491                    [param('uint32_t', 'seed')], 
   488                    is_static=True)
   492                    is_static=True)
   489     return
   493     return