bindings/python/ns3_module_helper.py
changeset 4422 f5ef533e56e4
parent 4407 ef566eeff84f
child 4449 c11b6d768ab3
equal deleted inserted replaced
4421:0608881b163f 4422:f5ef533e56e4
    55     module.add_class('YansWifiChannelHelper', allow_subclassing=False)
    55     module.add_class('YansWifiChannelHelper', allow_subclassing=False)
    56     ## yans-wifi-helper.h: ns3::YansWifiPhyHelper [class]
    56     ## yans-wifi-helper.h: ns3::YansWifiPhyHelper [class]
    57     module.add_class('YansWifiPhyHelper', allow_subclassing=False, parent=root_module['ns3::WifiPhyHelper'])
    57     module.add_class('YansWifiPhyHelper', allow_subclassing=False, parent=root_module['ns3::WifiPhyHelper'])
    58     ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper [class]
    58     ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper [class]
    59     module.add_class('NqosWifiMacHelper', allow_subclassing=False, parent=root_module['ns3::WifiMacHelper'])
    59     module.add_class('NqosWifiMacHelper', allow_subclassing=False, parent=root_module['ns3::WifiMacHelper'])
       
    60     ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper [class]
       
    61     module.add_class('QosWifiMacHelper', allow_subclassing=False, parent=root_module['ns3::WifiMacHelper'])
    60     
    62     
    61     ## Register a nested module for the namespace Config
    63     ## Register a nested module for the namespace Config
    62     
    64     
    63     nested_module = module.add_cpp_namespace('Config')
    65     nested_module = module.add_cpp_namespace('Config')
    64     register_types_ns3_Config(nested_module)
    66     register_types_ns3_Config(nested_module)
   124     register_Ns3WifiMacHelper_methods(root_module, root_module['ns3::WifiMacHelper'])
   126     register_Ns3WifiMacHelper_methods(root_module, root_module['ns3::WifiMacHelper'])
   125     register_Ns3WifiPhyHelper_methods(root_module, root_module['ns3::WifiPhyHelper'])
   127     register_Ns3WifiPhyHelper_methods(root_module, root_module['ns3::WifiPhyHelper'])
   126     register_Ns3YansWifiChannelHelper_methods(root_module, root_module['ns3::YansWifiChannelHelper'])
   128     register_Ns3YansWifiChannelHelper_methods(root_module, root_module['ns3::YansWifiChannelHelper'])
   127     register_Ns3YansWifiPhyHelper_methods(root_module, root_module['ns3::YansWifiPhyHelper'])
   129     register_Ns3YansWifiPhyHelper_methods(root_module, root_module['ns3::YansWifiPhyHelper'])
   128     register_Ns3NqosWifiMacHelper_methods(root_module, root_module['ns3::NqosWifiMacHelper'])
   130     register_Ns3NqosWifiMacHelper_methods(root_module, root_module['ns3::NqosWifiMacHelper'])
       
   131     register_Ns3QosWifiMacHelper_methods(root_module, root_module['ns3::QosWifiMacHelper'])
   129     return
   132     return
   130 
   133 
   131 def register_Ns3ApplicationContainer_methods(root_module, cls):
   134 def register_Ns3ApplicationContainer_methods(root_module, cls):
   132     ## application-container.h: ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
   135     ## application-container.h: ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
   133     cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
   136     cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
  1246                    'ns3::Ptr< ns3::WifiMac >', 
  1249                    'ns3::Ptr< ns3::WifiMac >', 
  1247                    [], 
  1250                    [], 
  1248                    is_const=True, visibility='private', is_virtual=True)
  1251                    is_const=True, visibility='private', is_virtual=True)
  1249     return
  1252     return
  1250 
  1253 
       
  1254 def register_Ns3QosWifiMacHelper_methods(root_module, cls):
       
  1255     ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper::QosWifiMacHelper(ns3::QosWifiMacHelper const & arg0) [copy constructor]
       
  1256     cls.add_constructor([param('ns3::QosWifiMacHelper const &', 'arg0')])
       
  1257     ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper::QosWifiMacHelper() [constructor]
       
  1258     cls.add_constructor([])
       
  1259     ## qos-wifi-mac-helper.h: static ns3::QosWifiMacHelper ns3::QosWifiMacHelper::Default() [member function]
       
  1260     cls.add_method('Default', 
       
  1261                    'ns3::QosWifiMacHelper', 
       
  1262                    [], 
       
  1263                    is_static=True)
       
  1264     ## qos-wifi-mac-helper.h: void ns3::QosWifiMacHelper::SetType(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
       
  1265     cls.add_method('SetType', 
       
  1266                    'void', 
       
  1267                    [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')])
       
  1268     ## qos-wifi-mac-helper.h: void ns3::QosWifiMacHelper::SetMsduAggregatorForAc(ns3::AccessClass accessClass, std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue()) [member function]
       
  1269     cls.add_method('SetMsduAggregatorForAc', 
       
  1270                    'void', 
       
  1271                    [param('ns3::AccessClass', 'accessClass'), param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()')])
       
  1272     ## qos-wifi-mac-helper.h: void ns3::QosWifiMacHelper::SetEdcaParametersForAc(ns3::AccessClass accessClass, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue()) [member function]
       
  1273     cls.add_method('SetEdcaParametersForAc', 
       
  1274                    'void', 
       
  1275                    [param('ns3::AccessClass', 'accessClass'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()')])
       
  1276     ## qos-wifi-mac-helper.h: ns3::Ptr<ns3::WifiMac> ns3::QosWifiMacHelper::Create() const [member function]
       
  1277     cls.add_method('Create', 
       
  1278                    'ns3::Ptr< ns3::WifiMac >', 
       
  1279                    [], 
       
  1280                    is_const=True, visibility='private', is_virtual=True)
       
  1281     return
       
  1282 
  1251 def register_functions(root_module):
  1283 def register_functions(root_module):
  1252     module = root_module
  1284     module = root_module
  1253     register_functions_ns3_Config(module.get_submodule('Config'), root_module)
  1285     register_functions_ns3_Config(module.get_submodule('Config'), root_module)
  1254     register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
  1286     register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
  1255     register_functions_ns3_internal(module.get_submodule('internal'), root_module)
  1287     register_functions_ns3_internal(module.get_submodule('internal'), root_module)