OLD | NEW |
1 from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandler
s | 1 from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandler
s |
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 ## constant-velocity-helper.h: ns3::ConstantVelocityHelper [class] | 6 ## constant-velocity-helper.h: ns3::ConstantVelocityHelper [class] |
7 module.add_class('ConstantVelocityHelper', allow_subclassing=False) | 7 module.add_class('ConstantVelocityHelper') |
8 ## rectangle.h: ns3::Rectangle [class] | 8 ## rectangle.h: ns3::Rectangle [class] |
9 module.add_class('Rectangle') | 9 module.add_class('Rectangle') |
10 ## rectangle.h: ns3::Rectangle::Side [enumeration] | 10 ## rectangle.h: ns3::Rectangle::Side [enumeration] |
11 module.add_enum('Side', ['RIGHT', 'LEFT', 'TOP', 'BOTTOM'], outer_class=root
_module['ns3::Rectangle']) | 11 module.add_enum('Side', ['RIGHT', 'LEFT', 'TOP', 'BOTTOM'], outer_class=root
_module['ns3::Rectangle']) |
12 ## waypoint.h: ns3::Waypoint [class] | 12 ## waypoint.h: ns3::Waypoint [class] |
13 module.add_class('Waypoint') | 13 module.add_class('Waypoint') |
14 ## position-allocator.h: ns3::PositionAllocator [class] | 14 ## position-allocator.h: ns3::PositionAllocator [class] |
15 module.add_class('PositionAllocator', parent=root_module['ns3::Object']) | 15 module.add_class('PositionAllocator', parent=root_module['ns3::Object']) |
16 ## position-allocator.h: ns3::RandomDiscPositionAllocator [class] | 16 ## position-allocator.h: ns3::RandomDiscPositionAllocator [class] |
17 module.add_class('RandomDiscPositionAllocator', parent=root_module['ns3::Pos
itionAllocator']) | 17 module.add_class('RandomDiscPositionAllocator', parent=root_module['ns3::Pos
itionAllocator']) |
(...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
907 | 907 |
908 def register_functions_ns3_flame(module, root_module): | 908 def register_functions_ns3_flame(module, root_module): |
909 return | 909 return |
910 | 910 |
911 def register_functions_ns3_internal(module, root_module): | 911 def register_functions_ns3_internal(module, root_module): |
912 return | 912 return |
913 | 913 |
914 def register_functions_ns3_olsr(module, root_module): | 914 def register_functions_ns3_olsr(module, root_module): |
915 return | 915 return |
916 | 916 |
OLD | NEW |