src/wimax/bindings/modulegen__gcc_LP64.py
changeset 8893 a11fdda061ae
parent 7853 1d8f7c004b89
child 8982 a85e48eb2acb
equal deleted inserted replaced
8892:b5ef4158fb8f 8893:a11fdda061ae
   136     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')
   136     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')
   137     ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
   137     ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
   138     module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
   138     module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
   139     ## random-variable.h (module 'core'): ns3::RandomVariable [class]
   139     ## random-variable.h (module 'core'): ns3::RandomVariable [class]
   140     module.add_class('RandomVariable', import_from_module='ns.core')
   140     module.add_class('RandomVariable', import_from_module='ns.core')
       
   141     ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager [class]
       
   142     module.add_class('RngSeedManager', import_from_module='ns.core')
   141     ## snr-to-block-error-rate-manager.h (module 'wimax'): ns3::SNRToBlockErrorRateManager [class]
   143     ## snr-to-block-error-rate-manager.h (module 'wimax'): ns3::SNRToBlockErrorRateManager [class]
   142     module.add_class('SNRToBlockErrorRateManager')
   144     module.add_class('SNRToBlockErrorRateManager')
   143     ## snr-to-block-error-rate-record.h (module 'wimax'): ns3::SNRToBlockErrorRateRecord [class]
   145     ## snr-to-block-error-rate-record.h (module 'wimax'): ns3::SNRToBlockErrorRateRecord [class]
   144     module.add_class('SNRToBlockErrorRateRecord')
   146     module.add_class('SNRToBlockErrorRateRecord')
   145     ## ss-record.h (module 'wimax'): ns3::SSRecord [class]
   147     ## ss-record.h (module 'wimax'): ns3::SSRecord [class]
   146     module.add_class('SSRecord')
   148     module.add_class('SSRecord')
   147     ## random-variable.h (module 'core'): ns3::SeedManager [class]
       
   148     module.add_class('SeedManager', import_from_module='ns.core')
       
   149     ## send-params.h (module 'wimax'): ns3::SendParams [class]
   149     ## send-params.h (module 'wimax'): ns3::SendParams [class]
   150     module.add_class('SendParams')
   150     module.add_class('SendParams')
   151     ## random-variable.h (module 'core'): ns3::SequentialVariable [class]
   151     ## random-variable.h (module 'core'): ns3::SequentialVariable [class]
   152     module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
   152     module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
   153     ## service-flow.h (module 'wimax'): ns3::ServiceFlow [class]
   153     ## service-flow.h (module 'wimax'): ns3::ServiceFlow [class]
   533     module.add_container('std::deque< ns3::WimaxMacQueue::QueueElement >', 'ns3::WimaxMacQueue::QueueElement', container_type='dequeue')
   533     module.add_container('std::deque< ns3::WimaxMacQueue::QueueElement >', 'ns3::WimaxMacQueue::QueueElement', container_type='dequeue')
   534     module.add_container('std::list< std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > > >', 'std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > >', container_type='list')
   534     module.add_container('std::list< std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > > >', 'std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > >', container_type='list')
   535     module.add_container('std::vector< ns3::Ptr< ns3::WimaxConnection > >', 'ns3::Ptr< ns3::WimaxConnection >', container_type='vector')
   535     module.add_container('std::vector< ns3::Ptr< ns3::WimaxConnection > >', 'ns3::Ptr< ns3::WimaxConnection >', container_type='vector')
   536     module.add_container('std::vector< ns3::OfdmDlBurstProfile >', 'ns3::OfdmDlBurstProfile', container_type='vector')
   536     module.add_container('std::vector< ns3::OfdmDlBurstProfile >', 'ns3::OfdmDlBurstProfile', container_type='vector')
   537     module.add_container('std::list< ns3::OfdmDlMapIe >', 'ns3::OfdmDlMapIe', container_type='list')
   537     module.add_container('std::list< ns3::OfdmDlMapIe >', 'ns3::OfdmDlMapIe', container_type='list')
       
   538     typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager')
       
   539     typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*')
       
   540     typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&')
       
   541     module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager')
   538     typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogNodePrinter')
   542     typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogNodePrinter')
   539     typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogNodePrinter*')
   543     typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogNodePrinter*')
   540     typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogNodePrinter&')
   544     typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogNodePrinter&')
   541     typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter')
   545     typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter')
   542     typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*')
   546     typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*')
   611     register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
   615     register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
   612     register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
   616     register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
   613     register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper'])
   617     register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper'])
   614     register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice'])
   618     register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice'])
   615     register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
   619     register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
       
   620     register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager'])
   616     register_Ns3SNRToBlockErrorRateManager_methods(root_module, root_module['ns3::SNRToBlockErrorRateManager'])
   621     register_Ns3SNRToBlockErrorRateManager_methods(root_module, root_module['ns3::SNRToBlockErrorRateManager'])
   617     register_Ns3SNRToBlockErrorRateRecord_methods(root_module, root_module['ns3::SNRToBlockErrorRateRecord'])
   622     register_Ns3SNRToBlockErrorRateRecord_methods(root_module, root_module['ns3::SNRToBlockErrorRateRecord'])
   618     register_Ns3SSRecord_methods(root_module, root_module['ns3::SSRecord'])
   623     register_Ns3SSRecord_methods(root_module, root_module['ns3::SSRecord'])
   619     register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager'])
       
   620     register_Ns3SendParams_methods(root_module, root_module['ns3::SendParams'])
   624     register_Ns3SendParams_methods(root_module, root_module['ns3::SendParams'])
   621     register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
   625     register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
   622     register_Ns3ServiceFlow_methods(root_module, root_module['ns3::ServiceFlow'])
   626     register_Ns3ServiceFlow_methods(root_module, root_module['ns3::ServiceFlow'])
   623     register_Ns3ServiceFlowRecord_methods(root_module, root_module['ns3::ServiceFlowRecord'])
   627     register_Ns3ServiceFlowRecord_methods(root_module, root_module['ns3::ServiceFlowRecord'])
   624     register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
   628     register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
  3132                    'double', 
  3136                    'double', 
  3133                    [], 
  3137                    [], 
  3134                    is_const=True)
  3138                    is_const=True)
  3135     return
  3139     return
  3136 
  3140 
       
  3141 def register_Ns3RngSeedManager_methods(root_module, cls):
       
  3142     ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor]
       
  3143     cls.add_constructor([])
       
  3144     ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor]
       
  3145     cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')])
       
  3146     ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function]
       
  3147     cls.add_method('GetNextStreamIndex', 
       
  3148                    'uint64_t', 
       
  3149                    [], 
       
  3150                    is_static=True)
       
  3151     ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function]
       
  3152     cls.add_method('GetRun', 
       
  3153                    'uint64_t', 
       
  3154                    [], 
       
  3155                    is_static=True)
       
  3156     ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function]
       
  3157     cls.add_method('GetSeed', 
       
  3158                    'uint32_t', 
       
  3159                    [], 
       
  3160                    is_static=True)
       
  3161     ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function]
       
  3162     cls.add_method('SetRun', 
       
  3163                    'void', 
       
  3164                    [param('uint64_t', 'run')], 
       
  3165                    is_static=True)
       
  3166     ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function]
       
  3167     cls.add_method('SetSeed', 
       
  3168                    'void', 
       
  3169                    [param('uint32_t', 'seed')], 
       
  3170                    is_static=True)
       
  3171     return
       
  3172 
  3137 def register_Ns3SNRToBlockErrorRateManager_methods(root_module, cls):
  3173 def register_Ns3SNRToBlockErrorRateManager_methods(root_module, cls):
  3138     ## snr-to-block-error-rate-manager.h (module 'wimax'): ns3::SNRToBlockErrorRateManager::SNRToBlockErrorRateManager(ns3::SNRToBlockErrorRateManager const & arg0) [copy constructor]
  3174     ## snr-to-block-error-rate-manager.h (module 'wimax'): ns3::SNRToBlockErrorRateManager::SNRToBlockErrorRateManager(ns3::SNRToBlockErrorRateManager const & arg0) [copy constructor]
  3139     cls.add_constructor([param('ns3::SNRToBlockErrorRateManager const &', 'arg0')])
  3175     cls.add_constructor([param('ns3::SNRToBlockErrorRateManager const &', 'arg0')])
  3140     ## snr-to-block-error-rate-manager.h (module 'wimax'): ns3::SNRToBlockErrorRateManager::SNRToBlockErrorRateManager() [constructor]
  3176     ## snr-to-block-error-rate-manager.h (module 'wimax'): ns3::SNRToBlockErrorRateManager::SNRToBlockErrorRateManager() [constructor]
  3141     cls.add_constructor([])
  3177     cls.add_constructor([])
  3413                    [param('ns3::WimaxNetDevice::RangingStatus', 'rangingStatus')])
  3449                    [param('ns3::WimaxNetDevice::RangingStatus', 'rangingStatus')])
  3414     ## ss-record.h (module 'wimax'): void ns3::SSRecord::SetSfTransactionId(uint16_t sfTransactionId) [member function]
  3450     ## ss-record.h (module 'wimax'): void ns3::SSRecord::SetSfTransactionId(uint16_t sfTransactionId) [member function]
  3415     cls.add_method('SetSfTransactionId', 
  3451     cls.add_method('SetSfTransactionId', 
  3416                    'void', 
  3452                    'void', 
  3417                    [param('uint16_t', 'sfTransactionId')])
  3453                    [param('uint16_t', 'sfTransactionId')])
  3418     return
       
  3419 
       
  3420 def register_Ns3SeedManager_methods(root_module, cls):
       
  3421     ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager() [constructor]
       
  3422     cls.add_constructor([])
       
  3423     ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager(ns3::SeedManager const & arg0) [copy constructor]
       
  3424     cls.add_constructor([param('ns3::SeedManager const &', 'arg0')])
       
  3425     ## random-variable.h (module 'core'): static bool ns3::SeedManager::CheckSeed(uint32_t seed) [member function]
       
  3426     cls.add_method('CheckSeed', 
       
  3427                    'bool', 
       
  3428                    [param('uint32_t', 'seed')], 
       
  3429                    is_static=True)
       
  3430     ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetRun() [member function]
       
  3431     cls.add_method('GetRun', 
       
  3432                    'uint32_t', 
       
  3433                    [], 
       
  3434                    is_static=True)
       
  3435     ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetSeed() [member function]
       
  3436     cls.add_method('GetSeed', 
       
  3437                    'uint32_t', 
       
  3438                    [], 
       
  3439                    is_static=True)
       
  3440     ## random-variable.h (module 'core'): static void ns3::SeedManager::SetRun(uint32_t run) [member function]
       
  3441     cls.add_method('SetRun', 
       
  3442                    'void', 
       
  3443                    [param('uint32_t', 'run')], 
       
  3444                    is_static=True)
       
  3445     ## random-variable.h (module 'core'): static void ns3::SeedManager::SetSeed(uint32_t seed) [member function]
       
  3446     cls.add_method('SetSeed', 
       
  3447                    'void', 
       
  3448                    [param('uint32_t', 'seed')], 
       
  3449                    is_static=True)
       
  3450     return
  3454     return
  3451 
  3455 
  3452 def register_Ns3SendParams_methods(root_module, cls):
  3456 def register_Ns3SendParams_methods(root_module, cls):
  3453     ## send-params.h (module 'wimax'): ns3::SendParams::SendParams(ns3::SendParams const & arg0) [copy constructor]
  3457     ## send-params.h (module 'wimax'): ns3::SendParams::SendParams(ns3::SendParams const & arg0) [copy constructor]
  3454     cls.add_constructor([param('ns3::SendParams const &', 'arg0')])
  3458     cls.add_constructor([param('ns3::SendParams const &', 'arg0')])