bindings/python/ns3_module_point_to_point.py
changeset 3544 3685ab98e4b2
parent 3480 a920df6b9f02
child 3552 b822851cb95d
equal deleted inserted replaced
3543:04315a10b9c1 3544:3685ab98e4b2
    82     ## point-to-point-channel.h: ns3::Ptr<ns3::NetDevice> ns3::PointToPointChannel::GetDevice(uint32_t i) const [member function]
    82     ## point-to-point-channel.h: ns3::Ptr<ns3::NetDevice> ns3::PointToPointChannel::GetDevice(uint32_t i) const [member function]
    83     cls.add_method('GetDevice', 
    83     cls.add_method('GetDevice', 
    84                    'ns3::Ptr< ns3::NetDevice >', 
    84                    'ns3::Ptr< ns3::NetDevice >', 
    85                    [param('uint32_t', 'i')], 
    85                    [param('uint32_t', 'i')], 
    86                    is_const=True, is_virtual=True)
    86                    is_const=True, is_virtual=True)
       
    87     cls.add_copy_constructor()
    87     return
    88     return
    88 
    89 
    89 def register_Ns3PointToPointNetDevice_methods(root_module, cls):
    90 def register_Ns3PointToPointNetDevice_methods(root_module, cls):
    90     ## point-to-point-net-device.h: static ns3::TypeId ns3::PointToPointNetDevice::GetTypeId() [member function]
    91     ## point-to-point-net-device.h: static ns3::TypeId ns3::PointToPointNetDevice::GetTypeId() [member function]
    91     cls.add_method('GetTypeId', 
    92     cls.add_method('GetTypeId', 
   245     ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::DoDispose() [member function]
   246     ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::DoDispose() [member function]
   246     cls.add_method('DoDispose', 
   247     cls.add_method('DoDispose', 
   247                    'void', 
   248                    'void', 
   248                    [], 
   249                    [], 
   249                    visibility='private', is_virtual=True)
   250                    visibility='private', is_virtual=True)
       
   251     cls.add_copy_constructor()
   250     return
   252     return
   251 
   253 
   252 def register_functions(root_module):
   254 def register_functions(root_module):
   253     module = root_module
   255     module = root_module
   254     register_functions_ns3_internal(module.get_submodule('internal'), root_module)
   256     register_functions_ns3_internal(module.get_submodule('internal'), root_module)