bindings/python/ns3_module_packet_sink.py
changeset 3457 2ff6f05b9467
parent 3408 2cc40b3e4fa5
child 3468 0bb5275704fc
equal deleted inserted replaced
3456:7f2d5300ad02 3457:2ff6f05b9467
     2 
     2 
     3 def register_types(module):
     3 def register_types(module):
     4     root_module = module.get_root()
     4     root_module = module.get_root()
     5     
     5     
     6     ## packet-sink.h: ns3::PacketSink [class]
     6     ## packet-sink.h: ns3::PacketSink [class]
     7     module.add_class('PacketSink', allow_subclassing=True, parent=root_module['ns3::Application'])
     7     module.add_class('PacketSink', parent=root_module['ns3::Application'])
     8     
     8     
     9     ## Register a nested module for the namespace internal
     9     ## Register a nested module for the namespace internal
    10     
    10     
    11     nested_module = module.add_cpp_namespace('internal')
    11     nested_module = module.add_cpp_namespace('internal')
    12     register_types_ns3_internal(nested_module)
    12     register_types_ns3_internal(nested_module)