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

Public Member Functions

virtual StreamSocketaccept (SocketAddress *pairAddress)
 
virtual StreamSocketaccept (SocketAddress *pairAddress)
 
virtual StreamSocketaccept (SocketAddress *pairAddress)
 
virtual u_result bind (const SocketAddress &localaddr)
 
virtual u_result bind (const SocketAddress &localaddr)
 
virtual u_result bind (const SocketAddress &localaddr)
 
virtual u_result connect (const SocketAddress &pairAddress)
 
virtual u_result connect (const SocketAddress &pairAddress)
 
virtual u_result connect (const SocketAddress &pairAddress)
 
virtual void dispose ()
 
virtual void dispose ()
 
virtual void dispose ()
 
virtual u_result enableKeepAlive (bool enable)
 
virtual u_result enableKeepAlive (bool enable)
 
virtual u_result enableKeepAlive (bool enable)
 
virtual u_result enableNoDelay (bool enable)
 
virtual u_result enableNoDelay (bool enable)
 
virtual u_result enableNoDelay (bool enable)
 
virtual u_result getLocalAddress (SocketAddress &localaddr)
 
virtual u_result getLocalAddress (SocketAddress &localaddr)
 
virtual u_result getLocalAddress (SocketAddress &localaddr)
 
virtual u_result getPeerAddress (SocketAddress &peerAddr)
 
virtual u_result getPeerAddress (SocketAddress &peerAddr)
 
virtual u_result getPeerAddress (SocketAddress &peerAddr)
 
virtual u_result listen (int backlog)
 
virtual u_result listen (int backlog)
 
virtual u_result listen (int backlog)
 
virtual u_result recv (void *buf, size_t len, size_t &recv_len)
 
virtual u_result recv (void *buf, size_t len, size_t &recv_len)
 
virtual u_result recv (void *buf, size_t len, size_t &recv_len)
 
virtual u_result send (const void *buffer, size_t len)
 
virtual u_result send (const void *buffer, size_t len)
 
virtual u_result send (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 shutdown (socket_direction_mask mask)
 
virtual u_result shutdown (socket_direction_mask mask)
 
virtual u_result shutdown (socket_direction_mask mask)
 
 StreamSocketImpl (int fd)
 
 StreamSocketImpl (int fd)
 
 StreamSocketImpl (SOCKET fd)
 
virtual u_result waitforData (_u32 timeout)
 
virtual u_result waitforData (_u32 timeout)
 
virtual u_result waitforData (_u32 timeout)
 
virtual u_result waitforIncomingConnection (_u32 timeout)
 
virtual u_result waitforIncomingConnection (_u32 timeout)
 
virtual u_result waitforIncomingConnection (_u32 timeout)
 
virtual u_result waitforSent (_u32 timeout)
 
virtual u_result waitforSent (_u32 timeout)
 
virtual u_result waitforSent (_u32 timeout)
 
virtual ~StreamSocketImpl ()
 
virtual ~StreamSocketImpl ()
 
virtual ~StreamSocketImpl ()
 
- 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::StreamSocket
enum  { MAX_BACKLOG = 128 }
 
- 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::StreamSocket
static StreamSocketCreateSocket (socket_family_t family=SOCKET_FAMILY_INET)
 
- Protected Member Functions inherited from rp::net::StreamSocket
 StreamSocket ()
 
virtual ~StreamSocket ()
 
- Protected Member Functions inherited from rp::net::SocketBase
 SocketBase ()
 

Detailed Description

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

Constructor & Destructor Documentation

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

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

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

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

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

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

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

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

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

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

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

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

Member Function Documentation

virtual StreamSocket* rp::arch::net::StreamSocketImpl::accept ( SocketAddress pairAddress)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual StreamSocket* rp::arch::net::StreamSocketImpl::accept ( SocketAddress pairAddress)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual StreamSocket* rp::arch::net::StreamSocketImpl::accept ( SocketAddress pairAddress)
inlinevirtual

Implements rp::net::StreamSocket.

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

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

Implements rp::net::SocketBase.

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

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

Implements rp::net::SocketBase.

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

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

Implements rp::net::SocketBase.

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

virtual u_result rp::arch::net::StreamSocketImpl::connect ( const SocketAddress pairAddress)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::connect ( const SocketAddress pairAddress)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::connect ( const SocketAddress pairAddress)
inlinevirtual

Implements rp::net::StreamSocket.

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

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

Implements rp::net::SocketBase.

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

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

Implements rp::net::SocketBase.

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

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

Implements rp::net::SocketBase.

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

virtual u_result rp::arch::net::StreamSocketImpl::enableKeepAlive ( bool  enable)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::enableKeepAlive ( bool  enable)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::enableKeepAlive ( bool  enable)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::enableNoDelay ( bool  enable)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::enableNoDelay ( bool  enable)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::enableNoDelay ( bool  enable)
inlinevirtual

Implements rp::net::StreamSocket.

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

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

Implements rp::net::SocketBase.

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

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

Implements rp::net::SocketBase.

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

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

Implements rp::net::SocketBase.

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

virtual u_result rp::arch::net::StreamSocketImpl::getPeerAddress ( SocketAddress peerAddr)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::getPeerAddress ( SocketAddress peerAddr)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::getPeerAddress ( SocketAddress peerAddr)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::listen ( int  backlog)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::listen ( int  backlog)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::listen ( int  backlog)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::recv ( void *  buf,
size_t  len,
size_t &  recv_len 
)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::recv ( void *  buf,
size_t  len,
size_t &  recv_len 
)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::recv ( void *  buf,
size_t  len,
size_t &  recv_len 
)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::send ( const void *  buffer,
size_t  len 
)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::send ( const void *  buffer,
size_t  len 
)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::send ( const void *  buffer,
size_t  len 
)
inlinevirtual

Implements rp::net::StreamSocket.

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

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

Implements rp::net::SocketBase.

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

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

Implements rp::net::SocketBase.

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

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

Implements rp::net::SocketBase.

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

virtual u_result rp::arch::net::StreamSocketImpl::shutdown ( socket_direction_mask  mask)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::shutdown ( socket_direction_mask  mask)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::shutdown ( socket_direction_mask  mask)
inlinevirtual

Implements rp::net::StreamSocket.

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

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

Implements rp::net::SocketBase.

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

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

Implements rp::net::SocketBase.

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

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

Implements rp::net::SocketBase.

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

virtual u_result rp::arch::net::StreamSocketImpl::waitforIncomingConnection ( _u32  timeout)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::waitforIncomingConnection ( _u32  timeout)
inlinevirtual

Implements rp::net::StreamSocket.

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

virtual u_result rp::arch::net::StreamSocketImpl::waitforIncomingConnection ( _u32  timeout)
inlinevirtual

Implements rp::net::StreamSocket.

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

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

Implements rp::net::SocketBase.

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

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

Implements rp::net::SocketBase.

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

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

Implements rp::net::SocketBase.

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

Member Data Documentation

int rp::arch::net::StreamSocketImpl::_socket_fd
protected

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

SOCKET rp::arch::net::StreamSocketImpl::_socket_fd
protected

Definition at line 646 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