bindings/python/ns3_module_node.py
changeset 3480 a920df6b9f02
parent 3474 dac9146297c8
child 3516 dacc57c5d31f
equal deleted inserted replaced
3479:d89e9db667f0 3480:a920df6b9f02
  1536                    is_pure_virtual=True, is_virtual=True)
  1536                    is_pure_virtual=True, is_virtual=True)
  1537     ## net-device.h: bool ns3::NetDevice::SendFrom(ns3::Ptr<ns3::Packet> packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
  1537     ## net-device.h: bool ns3::NetDevice::SendFrom(ns3::Ptr<ns3::Packet> packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
  1538     cls.add_method('SendFrom', 
  1538     cls.add_method('SendFrom', 
  1539                    'bool', 
  1539                    'bool', 
  1540                    [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address&', 'source', is_const=True), param('ns3::Address&', 'dest', is_const=True), param('uint16_t', 'protocolNumber')], 
  1540                    [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address&', 'source', is_const=True), param('ns3::Address&', 'dest', is_const=True), param('uint16_t', 'protocolNumber')], 
  1541                    is_virtual=True)
  1541                    is_pure_virtual=True, is_virtual=True)
  1542     ## net-device.h: ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
  1542     ## net-device.h: ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
  1543     cls.add_method('GetNode', 
  1543     cls.add_method('GetNode', 
  1544                    'ns3::Ptr< ns3::Node >', 
  1544                    'ns3::Ptr< ns3::Node >', 
  1545                    [], 
  1545                    [], 
  1546                    is_pure_virtual=True, is_const=True, is_virtual=True)
  1546                    is_pure_virtual=True, is_const=True, is_virtual=True)
  1561                    is_pure_virtual=True, is_virtual=True)
  1561                    is_pure_virtual=True, is_virtual=True)
  1562     ## net-device.h: void ns3::NetDevice::SetPromiscReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType> cb) [member function]
  1562     ## net-device.h: void ns3::NetDevice::SetPromiscReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType> cb) [member function]
  1563     cls.add_method('SetPromiscReceiveCallback', 
  1563     cls.add_method('SetPromiscReceiveCallback', 
  1564                    'void', 
  1564                    'void', 
  1565                    [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType >', 'cb')], 
  1565                    [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType >', 'cb')], 
  1566                    is_virtual=True)
  1566                    is_pure_virtual=True, is_virtual=True)
  1567     ## net-device.h: bool ns3::NetDevice::SupportsPromiscuous() const [member function]
  1567     ## net-device.h: bool ns3::NetDevice::SupportsPromiscuous() const [member function]
  1568     cls.add_method('SupportsPromiscuous', 
  1568     cls.add_method('SupportsPromiscuous', 
  1569                    'bool', 
  1569                    'bool', 
  1570                    [], 
  1570                    [], 
  1571                    is_const=True, is_virtual=True)
  1571                    is_pure_virtual=True, is_const=True, is_virtual=True)
  1572     cls.add_constructor([])
  1572     cls.add_constructor([])
  1573     return
  1573     return
  1574 
  1574 
  1575 def register_Ns3DropTailQueue_methods(root_module, cls):
  1575 def register_Ns3DropTailQueue_methods(root_module, cls):
  1576     ## drop-tail-queue.h: static ns3::TypeId ns3::DropTailQueue::GetTypeId() [member function]
  1576     ## drop-tail-queue.h: static ns3::TypeId ns3::DropTailQueue::GetTypeId() [member function]
  2442     ## simple-net-device.h: void ns3::SimpleNetDevice::SetReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet>, unsigned short, ns3::Address const&, ns3::empty, ns3::empty> cb) [member function]
  2442     ## simple-net-device.h: void ns3::SimpleNetDevice::SetReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet>, unsigned short, ns3::Address const&, ns3::empty, ns3::empty> cb) [member function]
  2443     cls.add_method('SetReceiveCallback', 
  2443     cls.add_method('SetReceiveCallback', 
  2444                    'void', 
  2444                    'void', 
  2445                    [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, unsigned short, ns3::Address const&, ns3::empty, ns3::empty >', 'cb')], 
  2445                    [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, unsigned short, ns3::Address const&, ns3::empty, ns3::empty >', 'cb')], 
  2446                    is_virtual=True)
  2446                    is_virtual=True)
       
  2447     ## simple-net-device.h: void ns3::SimpleNetDevice::SetPromiscReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType> cb) [member function]
       
  2448     cls.add_method('SetPromiscReceiveCallback', 
       
  2449                    'void', 
       
  2450                    [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType >', 'cb')], 
       
  2451                    is_virtual=True)
       
  2452     ## simple-net-device.h: bool ns3::SimpleNetDevice::SupportsPromiscuous() const [member function]
       
  2453     cls.add_method('SupportsPromiscuous', 
       
  2454                    'bool', 
       
  2455                    [], 
       
  2456                    is_const=True, is_virtual=True)
  2447     ## simple-net-device.h: void ns3::SimpleNetDevice::DoDispose() [member function]
  2457     ## simple-net-device.h: void ns3::SimpleNetDevice::DoDispose() [member function]
  2448     cls.add_method('DoDispose', 
  2458     cls.add_method('DoDispose', 
  2449                    'void', 
  2459                    'void', 
  2450                    [], 
  2460                    [], 
  2451                    visibility='protected', is_virtual=True)
  2461                    visibility='protected', is_virtual=True)