src/applications/bindings/modulegen__gcc_LP64.py
changeset 9708 443bde2aa701
parent 9294 4cac575735b3
child 9846 96f72408b66c
equal deleted inserted replaced
9707:123864f4f6ed 9708:443bde2aa701
   462     module.add_class('V4Ping', parent=root_module['ns3::Application'])
   462     module.add_class('V4Ping', parent=root_module['ns3::Application'])
   463     ## address.h (module 'network'): ns3::AddressChecker [class]
   463     ## address.h (module 'network'): ns3::AddressChecker [class]
   464     module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
   464     module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
   465     ## address.h (module 'network'): ns3::AddressValue [class]
   465     ## address.h (module 'network'): ns3::AddressValue [class]
   466     module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
   466     module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
       
   467     ## error-model.h (module 'network'): ns3::BurstErrorModel [class]
       
   468     module.add_class('BurstErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel'])
   467     ## packetbb.h (module 'network'): ns3::PbbAddressTlv [class]
   469     ## packetbb.h (module 'network'): ns3::PbbAddressTlv [class]
   468     module.add_class('PbbAddressTlv', import_from_module='ns.network', parent=root_module['ns3::PbbTlv'])
   470     module.add_class('PbbAddressTlv', import_from_module='ns.network', parent=root_module['ns3::PbbTlv'])
   469     module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type='vector')
   471     module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type='vector')
   470     module.add_container('std::list< ns3::Ptr< ns3::Packet > >', 'ns3::Ptr< ns3::Packet >', container_type='list')
   472     module.add_container('std::list< ns3::Ptr< ns3::Packet > >', 'ns3::Ptr< ns3::Packet >', container_type='list')
   471     module.add_container('std::list< unsigned int >', 'unsigned int', container_type='list')
   473     module.add_container('std::list< unsigned int >', 'unsigned int', container_type='list')
   711     register_Ns3UdpServer_methods(root_module, root_module['ns3::UdpServer'])
   713     register_Ns3UdpServer_methods(root_module, root_module['ns3::UdpServer'])
   712     register_Ns3UdpTraceClient_methods(root_module, root_module['ns3::UdpTraceClient'])
   714     register_Ns3UdpTraceClient_methods(root_module, root_module['ns3::UdpTraceClient'])
   713     register_Ns3V4Ping_methods(root_module, root_module['ns3::V4Ping'])
   715     register_Ns3V4Ping_methods(root_module, root_module['ns3::V4Ping'])
   714     register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
   716     register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
   715     register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
   717     register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
       
   718     register_Ns3BurstErrorModel_methods(root_module, root_module['ns3::BurstErrorModel'])
   716     register_Ns3PbbAddressTlv_methods(root_module, root_module['ns3::PbbAddressTlv'])
   719     register_Ns3PbbAddressTlv_methods(root_module, root_module['ns3::PbbAddressTlv'])
   717     return
   720     return
   718 
   721 
   719 def register_Ns3Address_methods(root_module, cls):
   722 def register_Ns3Address_methods(root_module, cls):
   720     cls.add_binary_comparison_operator('!=')
   723     cls.add_binary_comparison_operator('!=')
  4134     ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
  4137     ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
  4135     cls.add_method('GetTypeId', 
  4138     cls.add_method('GetTypeId', 
  4136                    'ns3::TypeId', 
  4139                    'ns3::TypeId', 
  4137                    [], 
  4140                    [], 
  4138                    is_static=True)
  4141                    is_static=True)
  4139     ## object.h (module 'core'): void ns3::Object::Start() [member function]
  4142     ## object.h (module 'core'): void ns3::Object::Initialize() [member function]
  4140     cls.add_method('Start', 
  4143     cls.add_method('Initialize', 
  4141                    'void', 
  4144                    'void', 
  4142                    [])
  4145                    [])
  4143     ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
  4146     ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
  4144     cls.add_constructor([param('ns3::Object const &', 'o')], 
  4147     cls.add_constructor([param('ns3::Object const &', 'o')], 
  4145                         visibility='protected')
  4148                         visibility='protected')
  4146     ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
  4149     ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
  4147     cls.add_method('DoDispose', 
  4150     cls.add_method('DoDispose', 
  4148                    'void', 
  4151                    'void', 
  4149                    [], 
  4152                    [], 
  4150                    visibility='protected', is_virtual=True)
  4153                    visibility='protected', is_virtual=True)
  4151     ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
  4154     ## object.h (module 'core'): void ns3::Object::DoInitialize() [member function]
  4152     cls.add_method('DoStart', 
  4155     cls.add_method('DoInitialize', 
  4153                    'void', 
  4156                    'void', 
  4154                    [], 
  4157                    [], 
  4155                    visibility='protected', is_virtual=True)
  4158                    visibility='protected', is_virtual=True)
  4156     ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
  4159     ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
  4157     cls.add_method('NotifyNewAggregate', 
  4160     cls.add_method('NotifyNewAggregate', 
  5993     ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
  5996     ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
  5994     cls.add_method('DoDispose', 
  5997     cls.add_method('DoDispose', 
  5995                    'void', 
  5998                    'void', 
  5996                    [], 
  5999                    [], 
  5997                    visibility='protected', is_virtual=True)
  6000                    visibility='protected', is_virtual=True)
  5998     ## application.h (module 'network'): void ns3::Application::DoStart() [member function]
  6001     ## application.h (module 'network'): void ns3::Application::DoInitialize() [member function]
  5999     cls.add_method('DoStart', 
  6002     cls.add_method('DoInitialize', 
  6000                    'void', 
  6003                    'void', 
  6001                    [], 
  6004                    [], 
  6002                    visibility='protected', is_virtual=True)
  6005                    visibility='protected', is_virtual=True)
  6003     ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
  6006     ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
  6004     cls.add_method('StartApplication', 
  6007     cls.add_method('StartApplication', 
  7439     ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
  7442     ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
  7440     cls.add_method('DoDispose', 
  7443     cls.add_method('DoDispose', 
  7441                    'void', 
  7444                    'void', 
  7442                    [], 
  7445                    [], 
  7443                    visibility='protected', is_virtual=True)
  7446                    visibility='protected', is_virtual=True)
  7444     ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
  7447     ## node.h (module 'network'): void ns3::Node::DoInitialize() [member function]
  7445     cls.add_method('DoStart', 
  7448     cls.add_method('DoInitialize', 
  7446                    'void', 
  7449                    'void', 
  7447                    [], 
  7450                    [], 
  7448                    visibility='protected', is_virtual=True)
  7451                    visibility='protected', is_virtual=True)
  7449     return
  7452     return
  7450 
  7453 
  9962     cls.add_method('Set', 
  9965     cls.add_method('Set', 
  9963                    'void', 
  9966                    'void', 
  9964                    [param('ns3::Address const &', 'value')])
  9967                    [param('ns3::Address const &', 'value')])
  9965     return
  9968     return
  9966 
  9969 
       
  9970 def register_Ns3BurstErrorModel_methods(root_module, cls):
       
  9971     ## error-model.h (module 'network'): ns3::BurstErrorModel::BurstErrorModel(ns3::BurstErrorModel const & arg0) [copy constructor]
       
  9972     cls.add_constructor([param('ns3::BurstErrorModel const &', 'arg0')])
       
  9973     ## error-model.h (module 'network'): ns3::BurstErrorModel::BurstErrorModel() [constructor]
       
  9974     cls.add_constructor([])
       
  9975     ## error-model.h (module 'network'): int64_t ns3::BurstErrorModel::AssignStreams(int64_t stream) [member function]
       
  9976     cls.add_method('AssignStreams', 
       
  9977                    'int64_t', 
       
  9978                    [param('int64_t', 'stream')])
       
  9979     ## error-model.h (module 'network'): double ns3::BurstErrorModel::GetBurstRate() const [member function]
       
  9980     cls.add_method('GetBurstRate', 
       
  9981                    'double', 
       
  9982                    [], 
       
  9983                    is_const=True)
       
  9984     ## error-model.h (module 'network'): static ns3::TypeId ns3::BurstErrorModel::GetTypeId() [member function]
       
  9985     cls.add_method('GetTypeId', 
       
  9986                    'ns3::TypeId', 
       
  9987                    [], 
       
  9988                    is_static=True)
       
  9989     ## error-model.h (module 'network'): void ns3::BurstErrorModel::SetBurstRate(double rate) [member function]
       
  9990     cls.add_method('SetBurstRate', 
       
  9991                    'void', 
       
  9992                    [param('double', 'rate')])
       
  9993     ## error-model.h (module 'network'): void ns3::BurstErrorModel::SetRandomBurstSize(ns3::Ptr<ns3::RandomVariableStream> arg0) [member function]
       
  9994     cls.add_method('SetRandomBurstSize', 
       
  9995                    'void', 
       
  9996                    [param('ns3::Ptr< ns3::RandomVariableStream >', 'arg0')])
       
  9997     ## error-model.h (module 'network'): void ns3::BurstErrorModel::SetRandomVariable(ns3::Ptr<ns3::RandomVariableStream> arg0) [member function]
       
  9998     cls.add_method('SetRandomVariable', 
       
  9999                    'void', 
       
 10000                    [param('ns3::Ptr< ns3::RandomVariableStream >', 'arg0')])
       
 10001     ## error-model.h (module 'network'): bool ns3::BurstErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
       
 10002     cls.add_method('DoCorrupt', 
       
 10003                    'bool', 
       
 10004                    [param('ns3::Ptr< ns3::Packet >', 'p')], 
       
 10005                    visibility='private', is_virtual=True)
       
 10006     ## error-model.h (module 'network'): void ns3::BurstErrorModel::DoReset() [member function]
       
 10007     cls.add_method('DoReset', 
       
 10008                    'void', 
       
 10009                    [], 
       
 10010                    visibility='private', is_virtual=True)
       
 10011     return
       
 10012 
  9967 def register_Ns3PbbAddressTlv_methods(root_module, cls):
 10013 def register_Ns3PbbAddressTlv_methods(root_module, cls):
  9968     ## packetbb.h (module 'network'): ns3::PbbAddressTlv::PbbAddressTlv() [constructor]
 10014     ## packetbb.h (module 'network'): ns3::PbbAddressTlv::PbbAddressTlv() [constructor]
  9969     cls.add_constructor([])
 10015     cls.add_constructor([])
  9970     ## packetbb.h (module 'network'): ns3::PbbAddressTlv::PbbAddressTlv(ns3::PbbAddressTlv const & arg0) [copy constructor]
 10016     ## packetbb.h (module 'network'): ns3::PbbAddressTlv::PbbAddressTlv(ns3::PbbAddressTlv const & arg0) [copy constructor]
  9971     cls.add_constructor([param('ns3::PbbAddressTlv const &', 'arg0')])
 10017     cls.add_constructor([param('ns3::PbbAddressTlv const &', 'arg0')])