src/wave/bindings/modulegen__gcc_LP64.py
changeset 10795 29506f2221e2
parent 10631 a258a16d4793
child 10956 fa4be182ef17
equal deleted inserted replaced
10794:14430d46a1a6 10795:29506f2221e2
   141     ## pcap-file.h (module 'network'): ns3::PcapFile [class]
   141     ## pcap-file.h (module 'network'): ns3::PcapFile [class]
   142     module.add_class('PcapFile', import_from_module='ns.network')
   142     module.add_class('PcapFile', import_from_module='ns.network')
   143     ## trace-helper.h (module 'network'): ns3::PcapHelper [class]
   143     ## trace-helper.h (module 'network'): ns3::PcapHelper [class]
   144     module.add_class('PcapHelper', import_from_module='ns.network')
   144     module.add_class('PcapHelper', import_from_module='ns.network')
   145     ## trace-helper.h (module 'network'): ns3::PcapHelper [enumeration]
   145     ## trace-helper.h (module 'network'): ns3::PcapHelper [enumeration]
   146     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')
   146     module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO', 'DLT_IEEE802_15_4'], outer_class=root_module['ns3::PcapHelper'], import_from_module='ns.network')
   147     ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
   147     ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
   148     module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
   148     module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
   149     ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
   149     ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
   150     module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
   150     module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
   151     ## simulator.h (module 'core'): ns3::Simulator [class]
   151     ## simulator.h (module 'core'): ns3::Simulator [class]
   154     module.add_class('StatusCode', import_from_module='ns.wifi')
   154     module.add_class('StatusCode', import_from_module='ns.wifi')
   155     ## tag.h (module 'network'): ns3::Tag [class]
   155     ## tag.h (module 'network'): ns3::Tag [class]
   156     module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
   156     module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
   157     ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
   157     ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
   158     module.add_class('TagBuffer', import_from_module='ns.network')
   158     module.add_class('TagBuffer', import_from_module='ns.network')
       
   159     ## nstime.h (module 'core'): ns3::TimeWithUnit [class]
       
   160     module.add_class('TimeWithUnit', import_from_module='ns.core')
   159     ## type-id.h (module 'core'): ns3::TypeId [class]
   161     ## type-id.h (module 'core'): ns3::TypeId [class]
   160     module.add_class('TypeId', import_from_module='ns.core')
   162     module.add_class('TypeId', import_from_module='ns.core')
   161     ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
   163     ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
   162     module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
   164     module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
   163     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
   165     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
   539     register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
   541     register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
   540     register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
   542     register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
   541     register_Ns3StatusCode_methods(root_module, root_module['ns3::StatusCode'])
   543     register_Ns3StatusCode_methods(root_module, root_module['ns3::StatusCode'])
   542     register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
   544     register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
   543     register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
   545     register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
       
   546     register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit'])
   544     register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
   547     register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
   545     register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
   548     register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
   546     register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
   549     register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
   547     register_Ns3VendorSpecificContentManager_methods(root_module, root_module['ns3::VendorSpecificContentManager'])
   550     register_Ns3VendorSpecificContentManager_methods(root_module, root_module['ns3::VendorSpecificContentManager'])
   548     register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper'])
   551     register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper'])
  3201     cls.add_method('WriteU8', 
  3204     cls.add_method('WriteU8', 
  3202                    'void', 
  3205                    'void', 
  3203                    [param('uint8_t', 'v')])
  3206                    [param('uint8_t', 'v')])
  3204     return
  3207     return
  3205 
  3208 
       
  3209 def register_Ns3TimeWithUnit_methods(root_module, cls):
       
  3210     cls.add_output_stream_operator()
       
  3211     ## nstime.h (module 'core'): ns3::TimeWithUnit::TimeWithUnit(ns3::TimeWithUnit const & arg0) [copy constructor]
       
  3212     cls.add_constructor([param('ns3::TimeWithUnit const &', 'arg0')])
       
  3213     ## nstime.h (module 'core'): ns3::TimeWithUnit::TimeWithUnit(ns3::Time const time, ns3::Time::Unit const unit) [constructor]
       
  3214     cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')])
       
  3215     return
       
  3216 
  3206 def register_Ns3TypeId_methods(root_module, cls):
  3217 def register_Ns3TypeId_methods(root_module, cls):
  3207     cls.add_binary_comparison_operator('!=')
  3218     cls.add_binary_comparison_operator('!=')
  3208     cls.add_binary_comparison_operator('<')
  3219     cls.add_binary_comparison_operator('<')
  3209     cls.add_output_stream_operator()
  3220     cls.add_output_stream_operator()
  3210     cls.add_binary_comparison_operator('==')
  3221     cls.add_binary_comparison_operator('==')
  4783     cls.add_constructor([param('long long unsigned int', 'v')])
  4794     cls.add_constructor([param('long long unsigned int', 'v')])
  4784     ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
  4795     ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
  4785     cls.add_constructor([param('std::string const &', 's')])
  4796     cls.add_constructor([param('std::string const &', 's')])
  4786     ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
  4797     ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
  4787     cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
  4798     cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
       
  4799     ## nstime.h (module 'core'): ns3::TimeWithUnit ns3::Time::As(ns3::Time::Unit const unit) const [member function]
       
  4800     cls.add_method('As', 
       
  4801                    'ns3::TimeWithUnit', 
       
  4802                    [param('ns3::Time::Unit const', 'unit')], 
       
  4803                    is_const=True)
  4788     ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
  4804     ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
  4789     cls.add_method('Compare', 
  4805     cls.add_method('Compare', 
  4790                    'int', 
  4806                    'int', 
  4791                    [param('ns3::Time const &', 'o')], 
  4807                    [param('ns3::Time const &', 'o')], 
  4792                    is_const=True)
  4808                    is_const=True)
  8902     ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
  8918     ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
  8903     cls.add_method('Serialize', 
  8919     cls.add_method('Serialize', 
  8904                    'uint32_t', 
  8920                    'uint32_t', 
  8905                    [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
  8921                    [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
  8906                    is_const=True)
  8922                    is_const=True)
  8907     ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
  8923     ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> nixVector) [member function]
  8908     cls.add_method('SetNixVector', 
  8924     cls.add_method('SetNixVector', 
  8909                    'void', 
  8925                    'void', 
  8910                    [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
  8926                    [param('ns3::Ptr< ns3::NixVector >', 'nixVector')])
  8911     return
  8927     return
  8912 
  8928 
  8913 def register_Ns3PointerChecker_methods(root_module, cls):
  8929 def register_Ns3PointerChecker_methods(root_module, cls):
  8914     ## pointer.h (module 'core'): ns3::PointerChecker::PointerChecker() [constructor]
  8930     ## pointer.h (module 'core'): ns3::PointerChecker::PointerChecker() [constructor]
  8915     cls.add_constructor([])
  8931     cls.add_constructor([])
  9627                    [param('ns3::DcfManager *', 'manager')])
  9643                    [param('ns3::DcfManager *', 'manager')])
  9628     ## dca-txop.h (module 'wifi'): void ns3::DcaTxop::SetWifiRemoteStationManager(ns3::Ptr<ns3::WifiRemoteStationManager> remoteManager) [member function]
  9644     ## dca-txop.h (module 'wifi'): void ns3::DcaTxop::SetWifiRemoteStationManager(ns3::Ptr<ns3::WifiRemoteStationManager> remoteManager) [member function]
  9629     cls.add_method('SetWifiRemoteStationManager', 
  9645     cls.add_method('SetWifiRemoteStationManager', 
  9630                    'void', 
  9646                    'void', 
  9631                    [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'remoteManager')])
  9647                    [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'remoteManager')])
       
  9648     ## dca-txop.h (module 'wifi'): void ns3::DcaTxop::SetTxMiddle(ns3::MacTxMiddle * txMiddle) [member function]
       
  9649     cls.add_method('SetTxMiddle', 
       
  9650                    'void', 
       
  9651                    [param('ns3::MacTxMiddle *', 'txMiddle')])
  9632     ## dca-txop.h (module 'wifi'): void ns3::DcaTxop::SetTxOkCallback(ns3::Callback<void, ns3::WifiMacHeader const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
  9652     ## dca-txop.h (module 'wifi'): void ns3::DcaTxop::SetTxOkCallback(ns3::Callback<void, ns3::WifiMacHeader const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
  9633     cls.add_method('SetTxOkCallback', 
  9653     cls.add_method('SetTxOkCallback', 
  9634                    'void', 
  9654                    'void', 
  9635                    [param('ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')])
  9655                    [param('ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')])
  9636     ## dca-txop.h (module 'wifi'): void ns3::DcaTxop::SetTxFailedCallback(ns3::Callback<void, ns3::WifiMacHeader const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
  9656     ## dca-txop.h (module 'wifi'): void ns3::DcaTxop::SetTxFailedCallback(ns3::Callback<void, ns3::WifiMacHeader const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]