bindings/python/ns3_module_node.py
changeset 3416 926ccb845111
parent 3414 48d69d8eac38
child 3457 2ff6f05b9467
equal deleted inserted replaced
3415:5dd595cb7eba 3416:926ccb845111
    94     ## ethernet-trailer.h: ns3::EthernetTrailer [class]
    94     ## ethernet-trailer.h: ns3::EthernetTrailer [class]
    95     module.add_class('EthernetTrailer', allow_subclassing=True, parent=root_module['ns3::Trailer'])
    95     module.add_class('EthernetTrailer', allow_subclassing=True, parent=root_module['ns3::Trailer'])
    96     ## llc-snap-header.h: ns3::LlcSnapHeader [class]
    96     ## llc-snap-header.h: ns3::LlcSnapHeader [class]
    97     module.add_class('LlcSnapHeader', allow_subclassing=True, parent=root_module['ns3::Header'])
    97     module.add_class('LlcSnapHeader', allow_subclassing=True, parent=root_module['ns3::Header'])
    98     ## udp-socket-factory.h: ns3::UdpSocketFactory [class]
    98     ## udp-socket-factory.h: ns3::UdpSocketFactory [class]
    99     module.add_class('UdpSocketFactory', allow_subclassing=True, parent=root_module['ns3::SocketFactory'])
    99     module.add_class('UdpSocketFactory', parent=root_module['ns3::SocketFactory'])
   100     ## simple-net-device.h: ns3::SimpleNetDevice [class]
   100     ## simple-net-device.h: ns3::SimpleNetDevice [class]
   101     module.add_class('SimpleNetDevice', allow_subclassing=True, parent=root_module['ns3::NetDevice'])
   101     module.add_class('SimpleNetDevice', allow_subclassing=True, parent=root_module['ns3::NetDevice'])
   102     ## tcp-socket-factory.h: ns3::TcpSocketFactory [class]
   102     ## tcp-socket-factory.h: ns3::TcpSocketFactory [class]
   103     module.add_class('TcpSocketFactory', allow_subclassing=True, parent=root_module['ns3::SocketFactory'])
   103     module.add_class('TcpSocketFactory', parent=root_module['ns3::SocketFactory'])
   104     ## packet-socket-factory.h: ns3::PacketSocketFactory [class]
   104     ## packet-socket-factory.h: ns3::PacketSocketFactory [class]
   105     module.add_class('PacketSocketFactory', allow_subclassing=True, parent=root_module['ns3::SocketFactory'])
   105     module.add_class('PacketSocketFactory', allow_subclassing=True, parent=root_module['ns3::SocketFactory'])
   106     
   106     
   107     ## Register a nested module for the namespace internal
   107     ## Register a nested module for the namespace internal
   108     
   108     
  1205     return
  1205     return
  1206 
  1206 
  1207 def register_Ns3UdpSocketFactory_methods(root_module, cls):
  1207 def register_Ns3UdpSocketFactory_methods(root_module, cls):
  1208     ## udp-socket-factory.h: static ns3::TypeId ns3::UdpSocketFactory::GetTypeId() [member function]
  1208     ## udp-socket-factory.h: static ns3::TypeId ns3::UdpSocketFactory::GetTypeId() [member function]
  1209     cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
  1209     cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
  1210     ## udp-socket-factory.h: ns3::Ptr<ns3::Socket> ns3::UdpSocketFactory::CreateSocket() [member function]
       
  1211     cls.add_method('CreateSocket', 'ns3::Ptr< ns3::Socket >', [], is_pure_virtual=True, is_virtual=True)
       
  1212     cls.add_constructor([])
  1210     cls.add_constructor([])
  1213     return
  1211     return
  1214 
  1212 
  1215 def register_Ns3SimpleNetDevice_methods(root_module, cls):
  1213 def register_Ns3SimpleNetDevice_methods(root_module, cls):
  1216     ## simple-net-device.h: static ns3::TypeId ns3::SimpleNetDevice::GetTypeId() [member function]
  1214     ## simple-net-device.h: static ns3::TypeId ns3::SimpleNetDevice::GetTypeId() [member function]
  1270     return
  1268     return
  1271 
  1269 
  1272 def register_Ns3TcpSocketFactory_methods(root_module, cls):
  1270 def register_Ns3TcpSocketFactory_methods(root_module, cls):
  1273     ## tcp-socket-factory.h: static ns3::TypeId ns3::TcpSocketFactory::GetTypeId() [member function]
  1271     ## tcp-socket-factory.h: static ns3::TypeId ns3::TcpSocketFactory::GetTypeId() [member function]
  1274     cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
  1272     cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
  1275     ## tcp-socket-factory.h: ns3::Ptr<ns3::Socket> ns3::TcpSocketFactory::CreateSocket() [member function]
       
  1276     cls.add_method('CreateSocket', 'ns3::Ptr< ns3::Socket >', [], is_pure_virtual=True, is_virtual=True)
       
  1277     cls.add_constructor([])
  1273     cls.add_constructor([])
  1278     return
  1274     return
  1279 
  1275 
  1280 def register_Ns3PacketSocketFactory_methods(root_module, cls):
  1276 def register_Ns3PacketSocketFactory_methods(root_module, cls):
  1281     ## packet-socket-factory.h: static ns3::TypeId ns3::PacketSocketFactory::GetTypeId() [member function]
  1277     ## packet-socket-factory.h: static ns3::TypeId ns3::PacketSocketFactory::GetTypeId() [member function]