bindings/python/ns3_module_wifi.py
changeset 4038 c6f634d0fc6f
parent 3972 a84f2ab246e6
child 4044 1c47d32e8503
equal deleted inserted replaced
4037:a8f42518c058 4038:c6f634d0fc6f
    97     module.add_class('RraaWifiManager', parent=root_module['ns3::WifiRemoteStationManager'])
    97     module.add_class('RraaWifiManager', parent=root_module['ns3::WifiRemoteStationManager'])
    98     ## wifi-channel.h: ns3::WifiChannel [class]
    98     ## wifi-channel.h: ns3::WifiChannel [class]
    99     module.add_class('WifiChannel', parent=root_module['ns3::Channel'])
    99     module.add_class('WifiChannel', parent=root_module['ns3::Channel'])
   100     ## wifi-net-device.h: ns3::WifiNetDevice [class]
   100     ## wifi-net-device.h: ns3::WifiNetDevice [class]
   101     module.add_class('WifiNetDevice', parent=root_module['ns3::NetDevice'])
   101     module.add_class('WifiNetDevice', parent=root_module['ns3::NetDevice'])
       
   102     ## yans-error-rate-model.h: ns3::YansErrorRateModel [class]
       
   103     module.add_class('YansErrorRateModel', parent=root_module['ns3::ErrorRateModel'])
   102     ## yans-wifi-channel.h: ns3::YansWifiChannel [class]
   104     ## yans-wifi-channel.h: ns3::YansWifiChannel [class]
   103     module.add_class('YansWifiChannel', parent=root_module['ns3::WifiChannel'])
   105     module.add_class('YansWifiChannel', parent=root_module['ns3::WifiChannel'])
   104     ## aarf-wifi-manager.h: ns3::AarfWifiManager [class]
   106     ## aarf-wifi-manager.h: ns3::AarfWifiManager [class]
   105     module.add_class('AarfWifiManager', parent=root_module['ns3::ArfWifiManager'])
   107     module.add_class('AarfWifiManager', parent=root_module['ns3::ArfWifiManager'])
   106     
   108     
   187     register_Ns3NqstaWifiMac_methods(root_module, root_module['ns3::NqstaWifiMac'])
   189     register_Ns3NqstaWifiMac_methods(root_module, root_module['ns3::NqstaWifiMac'])
   188     register_Ns3OnoeWifiManager_methods(root_module, root_module['ns3::OnoeWifiManager'])
   190     register_Ns3OnoeWifiManager_methods(root_module, root_module['ns3::OnoeWifiManager'])
   189     register_Ns3RraaWifiManager_methods(root_module, root_module['ns3::RraaWifiManager'])
   191     register_Ns3RraaWifiManager_methods(root_module, root_module['ns3::RraaWifiManager'])
   190     register_Ns3WifiChannel_methods(root_module, root_module['ns3::WifiChannel'])
   192     register_Ns3WifiChannel_methods(root_module, root_module['ns3::WifiChannel'])
   191     register_Ns3WifiNetDevice_methods(root_module, root_module['ns3::WifiNetDevice'])
   193     register_Ns3WifiNetDevice_methods(root_module, root_module['ns3::WifiNetDevice'])
       
   194     register_Ns3YansErrorRateModel_methods(root_module, root_module['ns3::YansErrorRateModel'])
   192     register_Ns3YansWifiChannel_methods(root_module, root_module['ns3::YansWifiChannel'])
   195     register_Ns3YansWifiChannel_methods(root_module, root_module['ns3::YansWifiChannel'])
   193     register_Ns3AarfWifiManager_methods(root_module, root_module['ns3::AarfWifiManager'])
   196     register_Ns3AarfWifiManager_methods(root_module, root_module['ns3::AarfWifiManager'])
   194     return
   197     return
   195 
   198 
   196 def register_Ns3InterferenceHelper_methods(root_module, cls):
   199 def register_Ns3InterferenceHelper_methods(root_module, cls):
  2049     return
  2052     return
  2050 
  2053 
  2051 def register_Ns3ErrorRateModel_methods(root_module, cls):
  2054 def register_Ns3ErrorRateModel_methods(root_module, cls):
  2052     ## error-rate-model.h: ns3::ErrorRateModel::ErrorRateModel(ns3::ErrorRateModel const & arg0) [copy constructor]
  2055     ## error-rate-model.h: ns3::ErrorRateModel::ErrorRateModel(ns3::ErrorRateModel const & arg0) [copy constructor]
  2053     cls.add_constructor([param('ns3::ErrorRateModel const &', 'arg0')])
  2056     cls.add_constructor([param('ns3::ErrorRateModel const &', 'arg0')])
       
  2057     ## error-rate-model.h: ns3::ErrorRateModel::ErrorRateModel() [constructor]
       
  2058     cls.add_constructor([])
  2054     ## error-rate-model.h: static ns3::TypeId ns3::ErrorRateModel::GetTypeId() [member function]
  2059     ## error-rate-model.h: static ns3::TypeId ns3::ErrorRateModel::GetTypeId() [member function]
  2055     cls.add_method('GetTypeId', 
  2060     cls.add_method('GetTypeId', 
  2056                    'ns3::TypeId', 
  2061                    'ns3::TypeId', 
  2057                    [], 
  2062                    [], 
  2058                    is_static=True)
  2063                    is_static=True)
  2059     ## error-rate-model.h: ns3::ErrorRateModel::ErrorRateModel() [constructor]
       
  2060     cls.add_constructor([])
       
  2061     ## error-rate-model.h: double ns3::ErrorRateModel::CalculateSnr(ns3::WifiMode txMode, double ber) const [member function]
  2064     ## error-rate-model.h: double ns3::ErrorRateModel::CalculateSnr(ns3::WifiMode txMode, double ber) const [member function]
  2062     cls.add_method('CalculateSnr', 
  2065     cls.add_method('CalculateSnr', 
  2063                    'double', 
  2066                    'double', 
  2064                    [param('ns3::WifiMode', 'txMode'), param('double', 'ber')], 
  2067                    [param('ns3::WifiMode', 'txMode'), param('double', 'ber')], 
  2065                    is_const=True)
  2068                    is_const=True)
  2066     ## error-rate-model.h: double ns3::ErrorRateModel::GetChunkSuccessRate(ns3::WifiMode mode, double snr, uint32_t nbits) const [member function]
  2069     ## error-rate-model.h: double ns3::ErrorRateModel::GetChunkSuccessRate(ns3::WifiMode mode, double snr, uint32_t nbits) const [member function]
  2067     cls.add_method('GetChunkSuccessRate', 
  2070     cls.add_method('GetChunkSuccessRate', 
  2068                    'double', 
  2071                    'double', 
  2069                    [param('ns3::WifiMode', 'mode'), param('double', 'snr'), param('uint32_t', 'nbits')], 
  2072                    [param('ns3::WifiMode', 'mode'), param('double', 'snr'), param('uint32_t', 'nbits')], 
  2070                    is_const=True)
  2073                    is_pure_virtual=True, is_const=True, is_virtual=True)
  2071     return
  2074     return
  2072 
  2075 
  2073 def register_Ns3FriisPropagationLossModel_methods(root_module, cls):
  2076 def register_Ns3FriisPropagationLossModel_methods(root_module, cls):
  2074     ## propagation-loss-model.h: static ns3::TypeId ns3::FriisPropagationLossModel::GetTypeId() [member function]
  2077     ## propagation-loss-model.h: static ns3::TypeId ns3::FriisPropagationLossModel::GetTypeId() [member function]
  2075     cls.add_method('GetTypeId', 
  2078     cls.add_method('GetTypeId', 
  2732     ## wifi-net-device.h: void ns3::WifiNetDevice::DoDispose() [member function]
  2735     ## wifi-net-device.h: void ns3::WifiNetDevice::DoDispose() [member function]
  2733     cls.add_method('DoDispose', 
  2736     cls.add_method('DoDispose', 
  2734                    'void', 
  2737                    'void', 
  2735                    [], 
  2738                    [], 
  2736                    visibility='private', is_virtual=True)
  2739                    visibility='private', is_virtual=True)
       
  2740     return
       
  2741 
       
  2742 def register_Ns3YansErrorRateModel_methods(root_module, cls):
       
  2743     ## yans-error-rate-model.h: ns3::YansErrorRateModel::YansErrorRateModel(ns3::YansErrorRateModel const & arg0) [copy constructor]
       
  2744     cls.add_constructor([param('ns3::YansErrorRateModel const &', 'arg0')])
       
  2745     ## yans-error-rate-model.h: static ns3::TypeId ns3::YansErrorRateModel::GetTypeId() [member function]
       
  2746     cls.add_method('GetTypeId', 
       
  2747                    'ns3::TypeId', 
       
  2748                    [], 
       
  2749                    is_static=True)
       
  2750     ## yans-error-rate-model.h: ns3::YansErrorRateModel::YansErrorRateModel() [constructor]
       
  2751     cls.add_constructor([])
       
  2752     ## yans-error-rate-model.h: double ns3::YansErrorRateModel::GetChunkSuccessRate(ns3::WifiMode mode, double snr, uint32_t nbits) const [member function]
       
  2753     cls.add_method('GetChunkSuccessRate', 
       
  2754                    'double', 
       
  2755                    [param('ns3::WifiMode', 'mode'), param('double', 'snr'), param('uint32_t', 'nbits')], 
       
  2756                    is_const=True, is_virtual=True)
  2737     return
  2757     return
  2738 
  2758 
  2739 def register_Ns3YansWifiChannel_methods(root_module, cls):
  2759 def register_Ns3YansWifiChannel_methods(root_module, cls):
  2740     ## yans-wifi-channel.h: ns3::YansWifiChannel::YansWifiChannel(ns3::YansWifiChannel const & arg0) [copy constructor]
  2760     ## yans-wifi-channel.h: ns3::YansWifiChannel::YansWifiChannel(ns3::YansWifiChannel const & arg0) [copy constructor]
  2741     cls.add_constructor([param('ns3::YansWifiChannel const &', 'arg0')])
  2761     cls.add_constructor([param('ns3::YansWifiChannel const &', 'arg0')])