Public Member Functions | Protected Attributes | List of all members
rp::arch::net::DGramSocketImpl Class Reference
Inheritance diagram for rp::arch::net::DGramSocketImpl:
Inheritance graph
[legend]

Public Member Functions

virtual u_result bind (const SocketAddress &localaddr)
 
virtual u_result bind (const SocketAddress &localaddr)
 
virtual u_result bind (const SocketAddress &localaddr)
 
 DGramSocketImpl (int fd)
 
 DGramSocketImpl (int fd)
 
 DGramSocketImpl (SOCKET fd)
 
virtual void dispose ()
 
virtual void dispose ()
 
virtual void dispose ()
 
virtual u_result getLocalAddress (SocketAddress &localaddr)
 
virtual u_result getLocalAddress (SocketAddress &localaddr)
 
virtual u_result getLocalAddress (SocketAddress &localaddr)
 
virtual u_result recvFrom (void *buf, size_t len, size_t &recv_len, SocketAddress *sourceAddr)
 
virtual u_result recvFrom (void *buf, size_t len, size_t &recv_len, SocketAddress *sourceAddr)
 
virtual u_result recvFrom (void *buf, size_t len, size_t &recv_len, SocketAddress *sourceAddr)
 
virtual u_result sendTo (const SocketAddress &target, const void *buffer, size_t len)
 
virtual u_result sendTo (const SocketAddress &target, const void *buffer, size_t len)
 
virtual u_result sendTo (const SocketAddress &target, const void *buffer, size_t len)
 
virtual u_result setTimeout (_u32 timeout, socket_direction_mask msk)
 
virtual u_result setTimeout (_u32 timeout, socket_direction_mask msk)
 
virtual u_result setTimeout (_u32 timeout, socket_direction_mask msk)
 
virtual u_result waitforData (_u32 timeout)
 
virtual u_result waitforData (_u32 timeout)
 
virtual u_result waitforData (_u32 timeout)
 
virtual u_result waitforSent (_u32 timeout)
 
virtual u_result waitforSent (_u32 timeout)
 
virtual u_result waitforSent (_u32 timeout)
 
virtual ~DGramSocketImpl ()
 
virtual ~DGramSocketImpl ()
 
virtual ~DGramSocketImpl ()
 
- Public Member Functions inherited from rp::net::SocketBase
virtual ~SocketBase ()
 

Protected Attributes

int _socket_fd
 
SOCKET _socket_fd
 

Additional Inherited Members

- Public Types inherited from rp::net::SocketBase
enum  { DEFAULT_SOCKET_TIMEOUT = 10000 }
 
enum  socket_direction_mask { SOCKET_DIR_RD = 0x1, SOCKET_DIR_WR = 0x2, SOCKET_DIR_BOTH = (SOCKET_DIR_RD | SOCKET_DIR_WR) }
 
enum  socket_family_t { SOCKET_FAMILY_INET = 0, SOCKET_FAMILY_INET6 = 1, SOCKET_FAMILY_RAW = 2 }
 
- Static Public Member Functions inherited from rp::net::DGramSocket
static DGramSocketCreateSocket (socket_family_t family=SOCKET_FAMILY_INET)
 
- Protected Member Functions inherited from rp::net::DGramSocket
 DGramSocket ()
 
virtual ~DGramSocket ()
 
- Protected Member Functions inherited from rp::net::SocketBase
 SocketBase ()
 

Detailed Description

Definition at line 601 of file linux/net_socket.cpp.

Constructor & Destructor Documentation

rp::arch::net::DGramSocketImpl::DGramSocketImpl ( int  fd)
inline

Definition at line 605 of file linux/net_socket.cpp.

virtual rp::arch::net::DGramSocketImpl::~DGramSocketImpl ( )
inlinevirtual

Definition at line 614 of file linux/net_socket.cpp.

rp::arch::net::DGramSocketImpl::DGramSocketImpl ( int  fd)
inline

Definition at line 606 of file macOS/net_socket.cpp.

virtual rp::arch::net::DGramSocketImpl::~DGramSocketImpl ( )
inlinevirtual

Definition at line 615 of file macOS/net_socket.cpp.

rp::arch::net::DGramSocketImpl::DGramSocketImpl ( SOCKET  fd)
inline

Definition at line 656 of file win32/net_socket.cpp.

virtual rp::arch::net::DGramSocketImpl::~DGramSocketImpl ( )
inlinevirtual

Definition at line 665 of file win32/net_socket.cpp.

Member Function Documentation

virtual u_result rp::arch::net::DGramSocketImpl::bind ( const SocketAddress localaddr)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 625 of file linux/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::bind ( const SocketAddress localaddr)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 626 of file macOS/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::bind ( const SocketAddress localaddr)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 676 of file win32/net_socket.cpp.

virtual void rp::arch::net::DGramSocketImpl::dispose ( )
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 619 of file linux/net_socket.cpp.

virtual void rp::arch::net::DGramSocketImpl::dispose ( )
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 620 of file macOS/net_socket.cpp.

virtual void rp::arch::net::DGramSocketImpl::dispose ( )
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 670 of file win32/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::getLocalAddress ( SocketAddress localaddr)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 637 of file linux/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::getLocalAddress ( SocketAddress localaddr)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 638 of file macOS/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::getLocalAddress ( SocketAddress localaddr)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 688 of file win32/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::recvFrom ( void *  buf,
size_t  len,
size_t &  recv_len,
SocketAddress sourceAddr 
)
inlinevirtual

Implements rp::net::DGramSocket.

Definition at line 747 of file linux/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::recvFrom ( void *  buf,
size_t  len,
size_t &  recv_len,
SocketAddress sourceAddr 
)
inlinevirtual

Implements rp::net::DGramSocket.

Definition at line 748 of file macOS/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::recvFrom ( void *  buf,
size_t  len,
size_t &  recv_len,
SocketAddress sourceAddr 
)
inlinevirtual

Implements rp::net::DGramSocket.

Definition at line 793 of file win32/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::sendTo ( const SocketAddress target,
const void *  buffer,
size_t  len 
)
inlinevirtual

Implements rp::net::DGramSocket.

Definition at line 720 of file linux/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::sendTo ( const SocketAddress target,
const void *  buffer,
size_t  len 
)
inlinevirtual

Implements rp::net::DGramSocket.

Definition at line 721 of file macOS/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::sendTo ( const SocketAddress target,
const void *  buffer,
size_t  len 
)
inlinevirtual

Implements rp::net::DGramSocket.

Definition at line 771 of file win32/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::setTimeout ( _u32  timeout,
socket_direction_mask  msk 
)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 651 of file linux/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::setTimeout ( _u32  timeout,
socket_direction_mask  msk 
)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 652 of file macOS/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::setTimeout ( _u32  timeout,
socket_direction_mask  msk 
)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 702 of file win32/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::waitforData ( _u32  timeout)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 696 of file linux/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::waitforData ( _u32  timeout)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 697 of file macOS/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::waitforData ( _u32  timeout)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 747 of file win32/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::waitforSent ( _u32  timeout)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 672 of file linux/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::waitforSent ( _u32  timeout)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 673 of file macOS/net_socket.cpp.

virtual u_result rp::arch::net::DGramSocketImpl::waitforSent ( _u32  timeout)
inlinevirtual

Implements rp::net::SocketBase.

Definition at line 723 of file win32/net_socket.cpp.

Member Data Documentation

int rp::arch::net::DGramSocketImpl::_socket_fd
protected

Definition at line 799 of file linux/net_socket.cpp.

SOCKET rp::arch::net::DGramSocketImpl::_socket_fd
protected

Definition at line 818 of file win32/net_socket.cpp.


The documentation for this class was generated from the following file:


rplidar_ros
Author(s):
autogenerated on Wed Jan 1 2020 04:01:40