bindings/python/ns3_module_node.py
changeset 3414 48d69d8eac38
parent 3408 2cc40b3e4fa5
child 3416 926ccb845111
equal deleted inserted replaced
3413:1d46345ab5d7 3414:48d69d8eac38
   798 def register_Ns3UdpSocket_methods(root_module, cls):
   798 def register_Ns3UdpSocket_methods(root_module, cls):
   799     ## udp-socket.h: static ns3::TypeId ns3::UdpSocket::GetTypeId() [member function]
   799     ## udp-socket.h: static ns3::TypeId ns3::UdpSocket::GetTypeId() [member function]
   800     cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
   800     cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
   801     ## udp-socket.h: ns3::UdpSocket::UdpSocket() [constructor]
   801     ## udp-socket.h: ns3::UdpSocket::UdpSocket() [constructor]
   802     cls.add_constructor([], visibility='public')
   802     cls.add_constructor([], visibility='public')
   803     ## udp-socket.h: ns3::Socket::SocketErrno ns3::UdpSocket::GetErrno() const [member function]
       
   804     cls.add_method('GetErrno', 'ns3::Socket::SocketErrno', [], is_pure_virtual=True, is_const=True, is_virtual=True)
       
   805     ## udp-socket.h: ns3::Ptr<ns3::Node> ns3::UdpSocket::GetNode() const [member function]
       
   806     cls.add_method('GetNode', 'ns3::Ptr< ns3::Node >', [], is_pure_virtual=True, is_const=True, is_virtual=True)
       
   807     ## udp-socket.h: int ns3::UdpSocket::Bind() [member function]
       
   808     cls.add_method('Bind', 'int', [], is_pure_virtual=True, is_virtual=True)
       
   809     ## udp-socket.h: int ns3::UdpSocket::Close() [member function]
       
   810     cls.add_method('Close', 'int', [], is_pure_virtual=True, is_virtual=True)
       
   811     ## udp-socket.h: int ns3::UdpSocket::ShutdownSend() [member function]
       
   812     cls.add_method('ShutdownSend', 'int', [], is_pure_virtual=True, is_virtual=True)
       
   813     ## udp-socket.h: int ns3::UdpSocket::ShutdownRecv() [member function]
       
   814     cls.add_method('ShutdownRecv', 'int', [], is_pure_virtual=True, is_virtual=True)
       
   815     ## udp-socket.h: int ns3::UdpSocket::Connect(ns3::Address const & address) [member function]
       
   816     cls.add_method('Connect', 'int', [param('ns3::Address&', 'address', is_const=True)], is_pure_virtual=True, is_virtual=True)
       
   817     ## udp-socket.h: uint32_t ns3::UdpSocket::GetTxAvailable() const [member function]
       
   818     cls.add_method('GetTxAvailable', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True)
       
   819     ## udp-socket.h: int ns3::UdpSocket::Send(ns3::Ptr<ns3::Packet> p, uint32_t flags) [member function]
       
   820     cls.add_method('Send', 'int', [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], is_pure_virtual=True, is_virtual=True)
       
   821     ## udp-socket.h: int ns3::UdpSocket::SendTo(ns3::Ptr<ns3::Packet> p, uint32_t flags, ns3::Address const & toAddress) [member function]
       
   822     cls.add_method('SendTo', 'int', [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address&', 'toAddress', is_const=True)], is_pure_virtual=True, is_virtual=True)
       
   823     ## udp-socket.h: uint32_t ns3::UdpSocket::GetRxAvailable() const [member function]
       
   824     cls.add_method('GetRxAvailable', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True)
       
   825     ## udp-socket.h: ns3::Ptr<ns3::Packet> ns3::UdpSocket::Recv(uint32_t maxSize, uint32_t flags) [member function]
       
   826     cls.add_method('Recv', 'ns3::Ptr< ns3::Packet >', [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], is_pure_virtual=True, is_virtual=True)
       
   827     ## udp-socket.h: ns3::Ptr<ns3::Packet> ns3::UdpSocket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function]
       
   828     cls.add_method('RecvFrom', 'ns3::Ptr< ns3::Packet >', [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address&', 'fromAddress')], is_pure_virtual=True, is_virtual=True)
       
   829     ## udp-socket.h: void ns3::UdpSocket::SetRcvBufSize(uint32_t size) [member function]
   803     ## udp-socket.h: void ns3::UdpSocket::SetRcvBufSize(uint32_t size) [member function]
   830     cls.add_method('SetRcvBufSize', 'void', [param('uint32_t', 'size')], is_pure_virtual=True, visibility='private', is_virtual=True)
   804     cls.add_method('SetRcvBufSize', 'void', [param('uint32_t', 'size')], is_pure_virtual=True, visibility='private', is_virtual=True)
   831     ## udp-socket.h: uint32_t ns3::UdpSocket::GetRcvBufSize() const [member function]
   805     ## udp-socket.h: uint32_t ns3::UdpSocket::GetRcvBufSize() const [member function]
   832     cls.add_method('GetRcvBufSize', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
   806     cls.add_method('GetRcvBufSize', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
   833     ## udp-socket.h: void ns3::UdpSocket::SetIpTtl(uint32_t ipTtl) [member function]
   807     ## udp-socket.h: void ns3::UdpSocket::SetIpTtl(uint32_t ipTtl) [member function]
   975 def register_Ns3TcpSocket_methods(root_module, cls):
   949 def register_Ns3TcpSocket_methods(root_module, cls):
   976     ## tcp-socket.h: static ns3::TypeId ns3::TcpSocket::GetTypeId() [member function]
   950     ## tcp-socket.h: static ns3::TypeId ns3::TcpSocket::GetTypeId() [member function]
   977     cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
   951     cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
   978     ## tcp-socket.h: ns3::TcpSocket::TcpSocket() [constructor]
   952     ## tcp-socket.h: ns3::TcpSocket::TcpSocket() [constructor]
   979     cls.add_constructor([], visibility='public')
   953     cls.add_constructor([], visibility='public')
   980     ## tcp-socket.h: ns3::Socket::SocketErrno ns3::TcpSocket::GetErrno() const [member function]
       
   981     cls.add_method('GetErrno', 'ns3::Socket::SocketErrno', [], is_pure_virtual=True, is_const=True, is_virtual=True)
       
   982     ## tcp-socket.h: ns3::Ptr<ns3::Node> ns3::TcpSocket::GetNode() const [member function]
       
   983     cls.add_method('GetNode', 'ns3::Ptr< ns3::Node >', [], is_pure_virtual=True, is_const=True, is_virtual=True)
       
   984     ## tcp-socket.h: int ns3::TcpSocket::Bind() [member function]
       
   985     cls.add_method('Bind', 'int', [], is_pure_virtual=True, is_virtual=True)
       
   986     ## tcp-socket.h: int ns3::TcpSocket::Close() [member function]
       
   987     cls.add_method('Close', 'int', [], is_pure_virtual=True, is_virtual=True)
       
   988     ## tcp-socket.h: int ns3::TcpSocket::ShutdownSend() [member function]
       
   989     cls.add_method('ShutdownSend', 'int', [], is_pure_virtual=True, is_virtual=True)
       
   990     ## tcp-socket.h: int ns3::TcpSocket::ShutdownRecv() [member function]
       
   991     cls.add_method('ShutdownRecv', 'int', [], is_pure_virtual=True, is_virtual=True)
       
   992     ## tcp-socket.h: int ns3::TcpSocket::Connect(ns3::Address const & address) [member function]
       
   993     cls.add_method('Connect', 'int', [param('ns3::Address&', 'address', is_const=True)], is_pure_virtual=True, is_virtual=True)
       
   994     ## tcp-socket.h: uint32_t ns3::TcpSocket::GetTxAvailable() const [member function]
       
   995     cls.add_method('GetTxAvailable', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True)
       
   996     ## tcp-socket.h: int ns3::TcpSocket::Send(ns3::Ptr<ns3::Packet> p, uint32_t flags) [member function]
       
   997     cls.add_method('Send', 'int', [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], is_pure_virtual=True, is_virtual=True)
       
   998     ## tcp-socket.h: int ns3::TcpSocket::SendTo(ns3::Ptr<ns3::Packet> p, uint32_t flags, ns3::Address const & toAddress) [member function]
       
   999     cls.add_method('SendTo', 'int', [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address&', 'toAddress', is_const=True)], is_pure_virtual=True, is_virtual=True)
       
  1000     ## tcp-socket.h: uint32_t ns3::TcpSocket::GetRxAvailable() const [member function]
       
  1001     cls.add_method('GetRxAvailable', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True)
       
  1002     ## tcp-socket.h: ns3::Ptr<ns3::Packet> ns3::TcpSocket::Recv(uint32_t maxSize, uint32_t flags) [member function]
       
  1003     cls.add_method('Recv', 'ns3::Ptr< ns3::Packet >', [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], is_pure_virtual=True, is_virtual=True)
       
  1004     ## tcp-socket.h: ns3::Ptr<ns3::Packet> ns3::TcpSocket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function]
       
  1005     cls.add_method('RecvFrom', 'ns3::Ptr< ns3::Packet >', [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address&', 'fromAddress')], is_pure_virtual=True, is_virtual=True)
       
  1006     ## tcp-socket.h: void ns3::TcpSocket::SetSndBufSize(uint32_t size) [member function]
   954     ## tcp-socket.h: void ns3::TcpSocket::SetSndBufSize(uint32_t size) [member function]
  1007     cls.add_method('SetSndBufSize', 'void', [param('uint32_t', 'size')], is_pure_virtual=True, visibility='private', is_virtual=True)
   955     cls.add_method('SetSndBufSize', 'void', [param('uint32_t', 'size')], is_pure_virtual=True, visibility='private', is_virtual=True)
  1008     ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSndBufSize() const [member function]
   956     ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSndBufSize() const [member function]
  1009     cls.add_method('GetSndBufSize', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
   957     cls.add_method('GetSndBufSize', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
  1010     ## tcp-socket.h: void ns3::TcpSocket::SetRcvBufSize(uint32_t size) [member function]
   958     ## tcp-socket.h: void ns3::TcpSocket::SetRcvBufSize(uint32_t size) [member function]