66 module.add_class('ObjectDeleter', import_from_module='ns.core') |
66 module.add_class('ObjectDeleter', import_from_module='ns.core') |
67 ## object-factory.h (module 'core'): ns3::ObjectFactory [class] |
67 ## object-factory.h (module 'core'): ns3::ObjectFactory [class] |
68 module.add_class('ObjectFactory', import_from_module='ns.core') |
68 module.add_class('ObjectFactory', import_from_module='ns.core') |
69 ## random-variable.h (module 'core'): ns3::RandomVariable [class] |
69 ## random-variable.h (module 'core'): ns3::RandomVariable [class] |
70 module.add_class('RandomVariable', import_from_module='ns.core') |
70 module.add_class('RandomVariable', import_from_module='ns.core') |
71 ## random-variable.h (module 'core'): ns3::SeedManager [class] |
71 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager [class] |
72 module.add_class('SeedManager', import_from_module='ns.core') |
72 module.add_class('RngSeedManager', import_from_module='ns.core') |
73 ## random-variable.h (module 'core'): ns3::SequentialVariable [class] |
73 ## random-variable.h (module 'core'): ns3::SequentialVariable [class] |
74 module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) |
74 module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) |
75 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class] |
75 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class] |
76 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')) |
76 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')) |
77 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] |
77 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] |
276 module.add_class('BuildingsMobilityModel', parent=root_module['ns3::MobilityModel']) |
276 module.add_class('BuildingsMobilityModel', parent=root_module['ns3::MobilityModel']) |
277 typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue') |
277 typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue') |
278 typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') |
278 typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') |
279 typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') |
279 typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') |
280 module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') |
280 module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') |
|
281 typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager') |
|
282 typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*') |
|
283 typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&') |
|
284 module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager') |
281 typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') |
285 typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') |
282 typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') |
286 typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') |
283 typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') |
287 typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') |
284 module.add_typedef(root_module['ns3::Vector3D'], 'Vector') |
288 module.add_typedef(root_module['ns3::Vector3D'], 'Vector') |
285 typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker') |
289 typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker') |
314 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer']) |
318 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer']) |
315 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) |
319 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) |
316 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) |
320 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) |
317 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) |
321 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) |
318 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) |
322 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) |
319 register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager']) |
323 register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager']) |
320 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) |
324 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) |
321 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) |
325 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) |
322 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) |
326 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) |
323 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) |
327 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) |
324 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) |
328 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) |
1324 'double', |
1328 'double', |
1325 [], |
1329 [], |
1326 is_const=True) |
1330 is_const=True) |
1327 return |
1331 return |
1328 |
1332 |
1329 def register_Ns3SeedManager_methods(root_module, cls): |
1333 def register_Ns3RngSeedManager_methods(root_module, cls): |
1330 ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager() [constructor] |
1334 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor] |
1331 cls.add_constructor([]) |
1335 cls.add_constructor([]) |
1332 ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager(ns3::SeedManager const & arg0) [copy constructor] |
1336 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor] |
1333 cls.add_constructor([param('ns3::SeedManager const &', 'arg0')]) |
1337 cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')]) |
1334 ## random-variable.h (module 'core'): static bool ns3::SeedManager::CheckSeed(uint32_t seed) [member function] |
1338 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function] |
1335 cls.add_method('CheckSeed', |
1339 cls.add_method('GetNextStreamIndex', |
1336 'bool', |
1340 'uint64_t', |
1337 [param('uint32_t', 'seed')], |
1341 [], |
1338 is_static=True) |
1342 is_static=True) |
1339 ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetRun() [member function] |
1343 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function] |
1340 cls.add_method('GetRun', |
1344 cls.add_method('GetRun', |
1341 'uint32_t', |
1345 'uint64_t', |
1342 [], |
1346 [], |
1343 is_static=True) |
1347 is_static=True) |
1344 ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetSeed() [member function] |
1348 ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function] |
1345 cls.add_method('GetSeed', |
1349 cls.add_method('GetSeed', |
1346 'uint32_t', |
1350 'uint32_t', |
1347 [], |
1351 [], |
1348 is_static=True) |
1352 is_static=True) |
1349 ## random-variable.h (module 'core'): static void ns3::SeedManager::SetRun(uint32_t run) [member function] |
1353 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function] |
1350 cls.add_method('SetRun', |
1354 cls.add_method('SetRun', |
1351 'void', |
1355 'void', |
1352 [param('uint32_t', 'run')], |
1356 [param('uint64_t', 'run')], |
1353 is_static=True) |
1357 is_static=True) |
1354 ## random-variable.h (module 'core'): static void ns3::SeedManager::SetSeed(uint32_t seed) [member function] |
1358 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function] |
1355 cls.add_method('SetSeed', |
1359 cls.add_method('SetSeed', |
1356 'void', |
1360 'void', |
1357 [param('uint32_t', 'seed')], |
1361 [param('uint32_t', 'seed')], |
1358 is_static=True) |
1362 is_static=True) |
1359 return |
1363 return |