bindings/python/ns3_module_packet_sink.py
changeset 3972 a84f2ab246e6
parent 3951 561a37800333
child 4218 debf1a8a96d3
equal deleted inserted replaced
3971:d97b4527ec9b 3972:a84f2ab246e6
    49 def register_methods(root_module):
    49 def register_methods(root_module):
    50     register_Ns3PacketSink_methods(root_module, root_module['ns3::PacketSink'])
    50     register_Ns3PacketSink_methods(root_module, root_module['ns3::PacketSink'])
    51     return
    51     return
    52 
    52 
    53 def register_Ns3PacketSink_methods(root_module, cls):
    53 def register_Ns3PacketSink_methods(root_module, cls):
       
    54     ## packet-sink.h: ns3::PacketSink::PacketSink(ns3::PacketSink const & arg0) [copy constructor]
       
    55     cls.add_constructor([param('ns3::PacketSink const &', 'arg0')])
    54     ## packet-sink.h: static ns3::TypeId ns3::PacketSink::GetTypeId() [member function]
    56     ## packet-sink.h: static ns3::TypeId ns3::PacketSink::GetTypeId() [member function]
    55     cls.add_method('GetTypeId', 
    57     cls.add_method('GetTypeId', 
    56                    'ns3::TypeId', 
    58                    'ns3::TypeId', 
    57                    [], 
    59                    [], 
    58                    is_static=True)
    60                    is_static=True)
    71     ## packet-sink.h: void ns3::PacketSink::StopApplication() [member function]
    73     ## packet-sink.h: void ns3::PacketSink::StopApplication() [member function]
    72     cls.add_method('StopApplication', 
    74     cls.add_method('StopApplication', 
    73                    'void', 
    75                    'void', 
    74                    [], 
    76                    [], 
    75                    visibility='private', is_virtual=True)
    77                    visibility='private', is_virtual=True)
    76     cls.add_copy_constructor()
       
    77     return
    78     return
    78 
    79 
    79 def register_functions(root_module):
    80 def register_functions(root_module):
    80     module = root_module
    81     module = root_module
    81     register_functions_ns3_Config(module.get_submodule('Config'), root_module)
    82     register_functions_ns3_Config(module.get_submodule('Config'), root_module)