bindings/python/ns3_module_global_routing.py
changeset 3457 2ff6f05b9467
parent 3408 2cc40b3e4fa5
child 3468 0bb5275704fc
equal deleted inserted replaced
3456:7f2d5300ad02 3457:2ff6f05b9467
    14     ## global-router-interface.h: ns3::GlobalRoutingLinkRecord [class]
    14     ## global-router-interface.h: ns3::GlobalRoutingLinkRecord [class]
    15     module.add_class('GlobalRoutingLinkRecord')
    15     module.add_class('GlobalRoutingLinkRecord')
    16     ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::LinkType [enumeration]
    16     ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::LinkType [enumeration]
    17     module.add_enum('LinkType', ['Unknown', 'PointToPoint', 'TransitNetwork', 'StubNetwork', 'VirtualLink'], outer_class=root_module['ns3::GlobalRoutingLinkRecord'])
    17     module.add_enum('LinkType', ['Unknown', 'PointToPoint', 'TransitNetwork', 'StubNetwork', 'VirtualLink'], outer_class=root_module['ns3::GlobalRoutingLinkRecord'])
    18     ## global-router-interface.h: ns3::GlobalRouter [class]
    18     ## global-router-interface.h: ns3::GlobalRouter [class]
    19     module.add_class('GlobalRouter', allow_subclassing=True, is_singleton=True, parent=root_module['ns3::Object'])
    19     module.add_class('GlobalRouter', is_singleton=True, parent=root_module['ns3::Object'])
    20     
    20     
    21     ## Register a nested module for the namespace internal
    21     ## Register a nested module for the namespace internal
    22     
    22     
    23     nested_module = module.add_cpp_namespace('internal')
    23     nested_module = module.add_cpp_namespace('internal')
    24     register_types_ns3_internal(nested_module)
    24     register_types_ns3_internal(nested_module)