src/mesh/bindings/modulegen__gcc_ILP32.py
changeset 10219 a48c25fffcd7
parent 10183 308e44d51626
child 10534 2f6018cfe926
equal deleted inserted replaced
10218:97da49da2d6c 10219:a48c25fffcd7
    25     ## wifi-preamble.h (module 'wifi'): ns3::WifiPreamble [enumeration]
    25     ## wifi-preamble.h (module 'wifi'): ns3::WifiPreamble [enumeration]
    26     module.add_enum('WifiPreamble', ['WIFI_PREAMBLE_LONG', 'WIFI_PREAMBLE_SHORT', 'WIFI_PREAMBLE_HT_MF', 'WIFI_PREAMBLE_HT_GF'], import_from_module='ns.wifi')
    26     module.add_enum('WifiPreamble', ['WIFI_PREAMBLE_LONG', 'WIFI_PREAMBLE_SHORT', 'WIFI_PREAMBLE_HT_MF', 'WIFI_PREAMBLE_HT_GF'], import_from_module='ns.wifi')
    27     ## wifi-mode.h (module 'wifi'): ns3::WifiModulationClass [enumeration]
    27     ## wifi-mode.h (module 'wifi'): ns3::WifiModulationClass [enumeration]
    28     module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT'], import_from_module='ns.wifi')
    28     module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT'], import_from_module='ns.wifi')
    29     ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration]
    29     ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration]
    30     module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH', 'WIFI_PHY_STANDARD_80211n_2_4GHZ', 'WIFI_PHY_STANDARD_80211n_5GHZ'], import_from_module='ns.wifi')
    30     module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211n_2_4GHZ', 'WIFI_PHY_STANDARD_80211n_5GHZ'], import_from_module='ns.wifi')
    31     ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration]
    31     ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration]
    32     module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2', 'WIFI_CODE_RATE_5_6'], import_from_module='ns.wifi')
    32     module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2', 'WIFI_CODE_RATE_5_6'], import_from_module='ns.wifi')
    33     ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration]
    33     ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration]
    34     module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF'], import_from_module='ns.wifi')
    34     module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF'], import_from_module='ns.wifi')
    35     ## edca-txop-n.h (module 'wifi'): ns3::TypeOfStation [enumeration]
    35     ## edca-txop-n.h (module 'wifi'): ns3::TypeOfStation [enumeration]
   500     module.add_enum('dot11sPathSelectionProtocol', ['PROTOCOL_HWMP'])
   500     module.add_enum('dot11sPathSelectionProtocol', ['PROTOCOL_HWMP'])
   501     ## ie-dot11s-configuration.h (module 'mesh'): ns3::dot11s::dot11sSynchronizationProtocolIdentifier [enumeration]
   501     ## ie-dot11s-configuration.h (module 'mesh'): ns3::dot11s::dot11sSynchronizationProtocolIdentifier [enumeration]
   502     module.add_enum('dot11sSynchronizationProtocolIdentifier', ['SYNC_NEIGHBOUR_OFFSET', 'SYNC_NULL'])
   502     module.add_enum('dot11sSynchronizationProtocolIdentifier', ['SYNC_NEIGHBOUR_OFFSET', 'SYNC_NULL'])
   503     ## ie-dot11s-configuration.h (module 'mesh'): ns3::dot11s::dot11sCongestionControlMode [enumeration]
   503     ## ie-dot11s-configuration.h (module 'mesh'): ns3::dot11s::dot11sCongestionControlMode [enumeration]
   504     module.add_enum('dot11sCongestionControlMode', ['CONGESTION_SIGNALING', 'CONGESTION_NULL'])
   504     module.add_enum('dot11sCongestionControlMode', ['CONGESTION_SIGNALING', 'CONGESTION_NULL'])
       
   505     ## ie-dot11s-configuration.h (module 'mesh'): ns3::dot11s::dot11sAuthenticationProtocol [enumeration]
       
   506     module.add_enum('dot11sAuthenticationProtocol', ['AUTH_NULL', 'AUTH_SAE'])
   505     ## ie-dot11s-configuration.h (module 'mesh'): ns3::dot11s::dot11sPathSelectionMetric [enumeration]
   507     ## ie-dot11s-configuration.h (module 'mesh'): ns3::dot11s::dot11sPathSelectionMetric [enumeration]
   506     module.add_enum('dot11sPathSelectionMetric', ['METRIC_AIRTIME'])
   508     module.add_enum('dot11sPathSelectionMetric', ['METRIC_AIRTIME'])
   507     ## ie-dot11s-peer-management.h (module 'mesh'): ns3::dot11s::PmpReasonCode [enumeration]
   509     ## ie-dot11s-peer-management.h (module 'mesh'): ns3::dot11s::PmpReasonCode [enumeration]
   508     module.add_enum('PmpReasonCode', ['REASON11S_PEERING_CANCELLED', 'REASON11S_MESH_MAX_PEERS', 'REASON11S_MESH_CAPABILITY_POLICY_VIOLATION', 'REASON11S_MESH_CLOSE_RCVD', 'REASON11S_MESH_MAX_RETRIES', 'REASON11S_MESH_CONFIRM_TIMEOUT', 'REASON11S_MESH_INVALID_GTK', 'REASON11S_MESH_INCONSISTENT_PARAMETERS', 'REASON11S_MESH_INVALID_SECURITY_CAPABILITY', 'REASON11S_RESERVED'])
   510     module.add_enum('PmpReasonCode', ['REASON11S_PEERING_CANCELLED', 'REASON11S_MESH_MAX_PEERS', 'REASON11S_MESH_CAPABILITY_POLICY_VIOLATION', 'REASON11S_MESH_CLOSE_RCVD', 'REASON11S_MESH_MAX_RETRIES', 'REASON11S_MESH_CONFIRM_TIMEOUT', 'REASON11S_MESH_INVALID_GTK', 'REASON11S_MESH_INCONSISTENT_PARAMETERS', 'REASON11S_MESH_INVALID_SECURITY_CAPABILITY', 'REASON11S_RESERVED'])
   509     ## ie-dot11s-configuration.h (module 'mesh'): ns3::dot11s::dot11sAuthenticationProtocol [enumeration]
       
   510     module.add_enum('dot11sAuthenticationProtocol', ['AUTH_NULL', 'AUTH_SAE'])
       
   511     ## ie-dot11s-preq.h (module 'mesh'): ns3::dot11s::DestinationAddressUnit [class]
   511     ## ie-dot11s-preq.h (module 'mesh'): ns3::dot11s::DestinationAddressUnit [class]
   512     module.add_class('DestinationAddressUnit', parent=root_module['ns3::SimpleRefCount< ns3::dot11s::DestinationAddressUnit, ns3::empty, ns3::DefaultDeleter<ns3::dot11s::DestinationAddressUnit> >'])
   512     module.add_class('DestinationAddressUnit', parent=root_module['ns3::SimpleRefCount< ns3::dot11s::DestinationAddressUnit, ns3::empty, ns3::DefaultDeleter<ns3::dot11s::DestinationAddressUnit> >'])
   513     ## ie-dot11s-configuration.h (module 'mesh'): ns3::dot11s::Dot11sMeshCapability [class]
   513     ## ie-dot11s-configuration.h (module 'mesh'): ns3::dot11s::Dot11sMeshCapability [class]
   514     module.add_class('Dot11sMeshCapability')
   514     module.add_class('Dot11sMeshCapability')
   515     ## hwmp-protocol.h (module 'mesh'): ns3::dot11s::HwmpProtocol [class]
   515     ## hwmp-protocol.h (module 'mesh'): ns3::dot11s::HwmpProtocol [class]
  3613     ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
  3613     ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
  3614     cls.add_constructor([param('ns3::empty const &', 'arg0')])
  3614     cls.add_constructor([param('ns3::empty const &', 'arg0')])
  3615     return
  3615     return
  3616 
  3616 
  3617 def register_Ns3Int64x64_t_methods(root_module, cls):
  3617 def register_Ns3Int64x64_t_methods(root_module, cls):
       
  3618     cls.add_binary_comparison_operator('<=')
  3618     cls.add_binary_comparison_operator('!=')
  3619     cls.add_binary_comparison_operator('!=')
  3619     cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
  3620     cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
  3620     cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
  3621     cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
  3621     cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
  3622     cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
  3622     cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
  3623     cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
  3670     cls.add_binary_comparison_operator('>')
  3671     cls.add_binary_comparison_operator('>')
  3671     cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
  3672     cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
  3672     cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
  3673     cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
  3673     cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
  3674     cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
  3674     cls.add_output_stream_operator()
  3675     cls.add_output_stream_operator()
  3675     cls.add_binary_comparison_operator('<=')
       
  3676     cls.add_binary_comparison_operator('==')
  3676     cls.add_binary_comparison_operator('==')
  3677     cls.add_binary_comparison_operator('>=')
  3677     cls.add_binary_comparison_operator('>=')
  3678     ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
  3678     ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
  3679     cls.add_constructor([])
  3679     cls.add_constructor([])
  3680     ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
  3680     ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
  4610                    [], 
  4610                    [], 
  4611                    is_static=True)
  4611                    is_static=True)
  4612     return
  4612     return
  4613 
  4613 
  4614 def register_Ns3Time_methods(root_module, cls):
  4614 def register_Ns3Time_methods(root_module, cls):
       
  4615     cls.add_binary_comparison_operator('<=')
  4615     cls.add_binary_comparison_operator('!=')
  4616     cls.add_binary_comparison_operator('!=')
  4616     cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
  4617     cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
  4617     cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
  4618     cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
  4618     cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
  4619     cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
  4619     cls.add_binary_comparison_operator('<')
  4620     cls.add_binary_comparison_operator('<')
  4620     cls.add_binary_comparison_operator('>')
  4621     cls.add_binary_comparison_operator('>')
  4621     cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
  4622     cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
  4622     cls.add_output_stream_operator()
  4623     cls.add_output_stream_operator()
  4623     cls.add_binary_comparison_operator('<=')
       
  4624     cls.add_binary_comparison_operator('==')
  4624     cls.add_binary_comparison_operator('==')
  4625     cls.add_binary_comparison_operator('>=')
  4625     cls.add_binary_comparison_operator('>=')
  4626     ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
  4626     ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
  4627     cls.add_constructor([])
  4627     cls.add_constructor([])
  4628     ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
  4628     ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
  5237     ## wifi-mac.h (module 'wifi'): bool ns3::WifiMac::SupportsSendFrom() const [member function]
  5237     ## wifi-mac.h (module 'wifi'): bool ns3::WifiMac::SupportsSendFrom() const [member function]
  5238     cls.add_method('SupportsSendFrom', 
  5238     cls.add_method('SupportsSendFrom', 
  5239                    'bool', 
  5239                    'bool', 
  5240                    [], 
  5240                    [], 
  5241                    is_pure_virtual=True, is_const=True, is_virtual=True)
  5241                    is_pure_virtual=True, is_const=True, is_virtual=True)
  5242     ## wifi-mac.h (module 'wifi'): void ns3::WifiMac::ConfigureCCHDcf(ns3::Ptr<ns3::Dcf> dcf, uint32_t cwmin, uint32_t cwmax, ns3::AcIndex ac) [member function]
       
  5243     cls.add_method('ConfigureCCHDcf', 
       
  5244                    'void', 
       
  5245                    [param('ns3::Ptr< ns3::Dcf >', 'dcf'), param('uint32_t', 'cwmin'), param('uint32_t', 'cwmax'), param('ns3::AcIndex', 'ac')], 
       
  5246                    visibility='protected')
       
  5247     ## wifi-mac.h (module 'wifi'): void ns3::WifiMac::ConfigureDcf(ns3::Ptr<ns3::Dcf> dcf, uint32_t cwmin, uint32_t cwmax, ns3::AcIndex ac) [member function]
  5242     ## wifi-mac.h (module 'wifi'): void ns3::WifiMac::ConfigureDcf(ns3::Ptr<ns3::Dcf> dcf, uint32_t cwmin, uint32_t cwmax, ns3::AcIndex ac) [member function]
  5248     cls.add_method('ConfigureDcf', 
  5243     cls.add_method('ConfigureDcf', 
  5249                    'void', 
  5244                    'void', 
  5250                    [param('ns3::Ptr< ns3::Dcf >', 'dcf'), param('uint32_t', 'cwmin'), param('uint32_t', 'cwmax'), param('ns3::AcIndex', 'ac')], 
  5245                    [param('ns3::Ptr< ns3::Dcf >', 'dcf'), param('uint32_t', 'cwmin'), param('uint32_t', 'cwmax'), param('ns3::AcIndex', 'ac')], 
  5251                    visibility='protected')
  5246                    visibility='protected')
 11500     return
 11495     return
 11501 
 11496 
 11502 def register_Ns3FlameFlameProtocolMac_methods(root_module, cls):
 11497 def register_Ns3FlameFlameProtocolMac_methods(root_module, cls):
 11503     ## flame-protocol-mac.h (module 'mesh'): ns3::flame::FlameProtocolMac::FlameProtocolMac(ns3::flame::FlameProtocolMac const & arg0) [copy constructor]
 11498     ## flame-protocol-mac.h (module 'mesh'): ns3::flame::FlameProtocolMac::FlameProtocolMac(ns3::flame::FlameProtocolMac const & arg0) [copy constructor]
 11504     cls.add_constructor([param('ns3::flame::FlameProtocolMac const &', 'arg0')])
 11499     cls.add_constructor([param('ns3::flame::FlameProtocolMac const &', 'arg0')])
 11505     ## flame-protocol-mac.h (module 'mesh'): ns3::flame::FlameProtocolMac::FlameProtocolMac(uint32_t arg0, ns3::Ptr<ns3::flame::FlameProtocol> arg1) [constructor]
 11500     ## flame-protocol-mac.h (module 'mesh'): ns3::flame::FlameProtocolMac::FlameProtocolMac(ns3::Ptr<ns3::flame::FlameProtocol> arg0) [constructor]
 11506     cls.add_constructor([param('uint32_t', 'arg0'), param('ns3::Ptr< ns3::flame::FlameProtocol >', 'arg1')])
 11501     cls.add_constructor([param('ns3::Ptr< ns3::flame::FlameProtocol >', 'arg0')])
 11507     ## flame-protocol-mac.h (module 'mesh'): int64_t ns3::flame::FlameProtocolMac::AssignStreams(int64_t stream) [member function]
 11502     ## flame-protocol-mac.h (module 'mesh'): int64_t ns3::flame::FlameProtocolMac::AssignStreams(int64_t stream) [member function]
 11508     cls.add_method('AssignStreams', 
 11503     cls.add_method('AssignStreams', 
 11509                    'int64_t', 
 11504                    'int64_t', 
 11510                    [param('int64_t', 'stream')], 
 11505                    [param('int64_t', 'stream')], 
 11511                    is_virtual=True)
 11506                    is_virtual=True)