bindings/python/ns3_module_internet_stack.py
changeset 3588 ad0a36bfdb62
parent 3584 4eb48239b4dc
child 3610 ab843919beb1
equal deleted inserted replaced
3587:53e2e87aebd0 3588:ad0a36bfdb62
   341     return
   341     return
   342 
   342 
   343 def register_Ns3Ipv4L3Protocol_methods(root_module, cls):
   343 def register_Ns3Ipv4L3Protocol_methods(root_module, cls):
   344     ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::PROT_NUMBER [variable]
   344     ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::PROT_NUMBER [variable]
   345     cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
   345     cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
   346     ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::Ipv4L3Protocol(ns3::Ipv4L3Protocol const & arg0) [copy constructor]
       
   347     cls.add_constructor([param('ns3::Ipv4L3Protocol const &', 'arg0')])
       
   348     ## ipv4-l3-protocol.h: static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function]
   346     ## ipv4-l3-protocol.h: static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function]
   349     cls.add_method('GetTypeId', 
   347     cls.add_method('GetTypeId', 
   350                    'ns3::TypeId', 
   348                    'ns3::TypeId', 
   351                    [], 
   349                    [], 
   352                    is_static=True)
   350                    is_static=True)
   354     cls.add_constructor([])
   352     cls.add_constructor([])
   355     ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
   353     ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
   356     cls.add_method('SetNode', 
   354     cls.add_method('SetNode', 
   357                    'void', 
   355                    'void', 
   358                    [param('ns3::Ptr< ns3::Node >', 'node')])
   356                    [param('ns3::Ptr< ns3::Node >', 'node')])
       
   357     ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
       
   358     cls.add_method('Insert', 
       
   359                    'void', 
       
   360                    [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')])
       
   361     ## ipv4-l3-protocol.h: ns3::Ptr<ns3::Ipv4L4Protocol> ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) [member function]
       
   362     cls.add_method('GetProtocol', 
       
   363                    'ns3::Ptr< ns3::Ipv4L4Protocol >', 
       
   364                    [param('int', 'protocolNumber')])
       
   365     ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Remove(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
       
   366     cls.add_method('Remove', 
       
   367                    'void', 
       
   368                    [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')])
   359     ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
   369     ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
   360     cls.add_method('SetDefaultTtl', 
   370     cls.add_method('SetDefaultTtl', 
   361                    'void', 
   371                    'void', 
   362                    [param('uint8_t', 'ttl')])
   372                    [param('uint8_t', 'ttl')])
   363     ## ipv4-l3-protocol.h: ns3::Ptr<ns3::Ipv4Interface> ns3::Ipv4L3Protocol::FindInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) [member function]
   373     ## ipv4-l3-protocol.h: ns3::Ptr<ns3::Ipv4Interface> ns3::Ipv4L3Protocol::FindInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) [member function]
   625     module = root_module
   635     module = root_module
   626     ## internet-stack.h: extern void ns3::AddInternetStack(ns3::Ptr<ns3::Node> node) [free function]
   636     ## internet-stack.h: extern void ns3::AddInternetStack(ns3::Ptr<ns3::Node> node) [free function]
   627     module.add_function('AddInternetStack', 
   637     module.add_function('AddInternetStack', 
   628                         'void', 
   638                         'void', 
   629                         [param('ns3::Ptr< ns3::Node >', 'node')])
   639                         [param('ns3::Ptr< ns3::Node >', 'node')])
       
   640     ## internet-stack.h: extern void ns3::AddNscInternetStack(ns3::Ptr<ns3::Node> node, std::string const & soname) [free function]
       
   641     module.add_function('AddNscInternetStack', 
       
   642                         'void', 
       
   643                         [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'soname')])
   630     register_functions_ns3_internal(module.get_submodule('internal'), root_module)
   644     register_functions_ns3_internal(module.get_submodule('internal'), root_module)
   631     register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
   645     register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
   632     register_functions_ns3_Config(module.get_submodule('Config'), root_module)
   646     register_functions_ns3_Config(module.get_submodule('Config'), root_module)
   633     register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
   647     register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
   634     return
   648     return