Robotics Library  0.6.2
Public Member Functions | List of all members
rl::hal::TcpSocket Class Reference

#include <TcpSocket.h>

Inheritance diagram for rl::hal::TcpSocket:
Inheritance graph
[legend]

Public Member Functions

 TcpSocket (const ::std::string &host, const unsigned short int &port)
 
virtual ~TcpSocket ()
 
virtual void open ()
 
- Public Member Functions inherited from rl::hal::Socket
 Socket (const ::std::string &host, const unsigned short int &port)
 
virtual ~Socket ()
 
void close ()
 
::std::string getHost () const
 
unsigned short int getPort () const
 
::std::size_t read (void *buf, const ::std::size_t &count)
 
::std::size_t select (const bool &read, const bool &write, const ::rl::math::Real &timeout)
 
::std::size_t write (const void *buf, const ::std::size_t &count)
 
- Public Member Functions inherited from rl::hal::Com
 Com ()
 
virtual ~Com ()
 
bool isConnected () const
 

Additional Inherited Members

- Protected Member Functions inherited from rl::hal::Socket
void connect (const int &domain, const int &type, const int &protocol)
 
- Protected Member Functions inherited from rl::hal::Com
void setConnected (const bool &connected)
 

Constructor & Destructor Documentation

◆ TcpSocket()

rl::hal::TcpSocket::TcpSocket ( const ::std::string &  host,
const unsigned short int &  port 
)

◆ ~TcpSocket()

rl::hal::TcpSocket::~TcpSocket ( )
virtual

Member Function Documentation

◆ open()

void rl::hal::TcpSocket::open ( )
virtual

Implements rl::hal::Socket.


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