284 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) |
284 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) |
285 ## address.h (module 'network'): ns3::AddressChecker [class] |
285 ## address.h (module 'network'): ns3::AddressChecker [class] |
286 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) |
286 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) |
287 ## address.h (module 'network'): ns3::AddressValue [class] |
287 ## address.h (module 'network'): ns3::AddressValue [class] |
288 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) |
288 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) |
|
289 ## error-model.h (module 'network'): ns3::BurstErrorModel [class] |
|
290 module.add_class('BurstErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) |
289 module.add_container('std::list< unsigned int >', 'unsigned int', container_type='list') |
291 module.add_container('std::list< unsigned int >', 'unsigned int', container_type='list') |
290 |
292 |
291 ## Register a nested module for the namespace FatalImpl |
293 ## Register a nested module for the namespace FatalImpl |
292 |
294 |
293 nested_module = module.add_cpp_namespace('FatalImpl') |
295 nested_module = module.add_cpp_namespace('FatalImpl') |
418 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) |
420 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) |
419 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) |
421 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) |
420 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) |
422 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) |
421 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) |
423 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) |
422 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) |
424 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) |
|
425 register_Ns3BurstErrorModel_methods(root_module, root_module['ns3::BurstErrorModel']) |
423 return |
426 return |
424 |
427 |
425 def register_Ns3Address_methods(root_module, cls): |
428 def register_Ns3Address_methods(root_module, cls): |
426 cls.add_binary_comparison_operator('<') |
429 cls.add_binary_comparison_operator('<') |
427 cls.add_binary_comparison_operator('!=') |
430 cls.add_binary_comparison_operator('!=') |
2717 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function] |
2720 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function] |
2718 cls.add_method('GetTypeId', |
2721 cls.add_method('GetTypeId', |
2719 'ns3::TypeId', |
2722 'ns3::TypeId', |
2720 [], |
2723 [], |
2721 is_static=True) |
2724 is_static=True) |
2722 ## object.h (module 'core'): void ns3::Object::Start() [member function] |
2725 ## object.h (module 'core'): void ns3::Object::Initialize() [member function] |
2723 cls.add_method('Start', |
2726 cls.add_method('Initialize', |
2724 'void', |
2727 'void', |
2725 []) |
2728 []) |
2726 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor] |
2729 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor] |
2727 cls.add_constructor([param('ns3::Object const &', 'o')], |
2730 cls.add_constructor([param('ns3::Object const &', 'o')], |
2728 visibility='protected') |
2731 visibility='protected') |
2729 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function] |
2732 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function] |
2730 cls.add_method('DoDispose', |
2733 cls.add_method('DoDispose', |
2731 'void', |
2734 'void', |
2732 [], |
2735 [], |
2733 visibility='protected', is_virtual=True) |
2736 visibility='protected', is_virtual=True) |
2734 ## object.h (module 'core'): void ns3::Object::DoStart() [member function] |
2737 ## object.h (module 'core'): void ns3::Object::DoInitialize() [member function] |
2735 cls.add_method('DoStart', |
2738 cls.add_method('DoInitialize', |
2736 'void', |
2739 'void', |
2737 [], |
2740 [], |
2738 visibility='protected', is_virtual=True) |
2741 visibility='protected', is_virtual=True) |
2739 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function] |
2742 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function] |
2740 cls.add_method('NotifyNewAggregate', |
2743 cls.add_method('NotifyNewAggregate', |
4588 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function] |
4591 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function] |
4589 cls.add_method('DoDispose', |
4592 cls.add_method('DoDispose', |
4590 'void', |
4593 'void', |
4591 [], |
4594 [], |
4592 visibility='protected', is_virtual=True) |
4595 visibility='protected', is_virtual=True) |
4593 ## node.h (module 'network'): void ns3::Node::DoStart() [member function] |
4596 ## node.h (module 'network'): void ns3::Node::DoInitialize() [member function] |
4594 cls.add_method('DoStart', |
4597 cls.add_method('DoInitialize', |
4595 'void', |
4598 'void', |
4596 [], |
4599 [], |
4597 visibility='protected', is_virtual=True) |
4600 visibility='protected', is_virtual=True) |
4598 return |
4601 return |
4599 |
4602 |
5373 cls.add_method('Set', |
5376 cls.add_method('Set', |
5374 'void', |
5377 'void', |
5375 [param('ns3::Address const &', 'value')]) |
5378 [param('ns3::Address const &', 'value')]) |
5376 return |
5379 return |
5377 |
5380 |
|
5381 def register_Ns3BurstErrorModel_methods(root_module, cls): |
|
5382 ## error-model.h (module 'network'): ns3::BurstErrorModel::BurstErrorModel(ns3::BurstErrorModel const & arg0) [copy constructor] |
|
5383 cls.add_constructor([param('ns3::BurstErrorModel const &', 'arg0')]) |
|
5384 ## error-model.h (module 'network'): ns3::BurstErrorModel::BurstErrorModel() [constructor] |
|
5385 cls.add_constructor([]) |
|
5386 ## error-model.h (module 'network'): int64_t ns3::BurstErrorModel::AssignStreams(int64_t stream) [member function] |
|
5387 cls.add_method('AssignStreams', |
|
5388 'int64_t', |
|
5389 [param('int64_t', 'stream')]) |
|
5390 ## error-model.h (module 'network'): double ns3::BurstErrorModel::GetBurstRate() const [member function] |
|
5391 cls.add_method('GetBurstRate', |
|
5392 'double', |
|
5393 [], |
|
5394 is_const=True) |
|
5395 ## error-model.h (module 'network'): static ns3::TypeId ns3::BurstErrorModel::GetTypeId() [member function] |
|
5396 cls.add_method('GetTypeId', |
|
5397 'ns3::TypeId', |
|
5398 [], |
|
5399 is_static=True) |
|
5400 ## error-model.h (module 'network'): void ns3::BurstErrorModel::SetBurstRate(double rate) [member function] |
|
5401 cls.add_method('SetBurstRate', |
|
5402 'void', |
|
5403 [param('double', 'rate')]) |
|
5404 ## error-model.h (module 'network'): void ns3::BurstErrorModel::SetRandomBurstSize(ns3::Ptr<ns3::RandomVariableStream> arg0) [member function] |
|
5405 cls.add_method('SetRandomBurstSize', |
|
5406 'void', |
|
5407 [param('ns3::Ptr< ns3::RandomVariableStream >', 'arg0')]) |
|
5408 ## error-model.h (module 'network'): void ns3::BurstErrorModel::SetRandomVariable(ns3::Ptr<ns3::RandomVariableStream> arg0) [member function] |
|
5409 cls.add_method('SetRandomVariable', |
|
5410 'void', |
|
5411 [param('ns3::Ptr< ns3::RandomVariableStream >', 'arg0')]) |
|
5412 ## error-model.h (module 'network'): bool ns3::BurstErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function] |
|
5413 cls.add_method('DoCorrupt', |
|
5414 'bool', |
|
5415 [param('ns3::Ptr< ns3::Packet >', 'p')], |
|
5416 visibility='private', is_virtual=True) |
|
5417 ## error-model.h (module 'network'): void ns3::BurstErrorModel::DoReset() [member function] |
|
5418 cls.add_method('DoReset', |
|
5419 'void', |
|
5420 [], |
|
5421 visibility='private', is_virtual=True) |
|
5422 return |
|
5423 |
5378 def register_functions(root_module): |
5424 def register_functions(root_module): |
5379 module = root_module |
5425 module = root_module |
5380 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) |
5426 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) |
5381 return |
5427 return |
5382 |
5428 |