CommunicationHandler Class Reference

List of all members.

Public Member Functions

void close ()
 CommunicationHandler (boost::asio::io_service &io_service, tcp::resolver::iterator endpoint_iterator)
void getcrcpos (Position &pos)
void runtpp (char *tppname)
void write (char *msg, int length)

Private Member Functions

void do_close ()
void do_write (char *msg, int length)
void handle_connect (const boost::system::error_code &error, tcp::resolver::iterator endpoint_iterator)

Private Attributes

char data_ [1000]
boost::asio::io_service & io_service_
tcp::socket socket_

Detailed Description

Definition at line 62 of file rs232_tcp.cpp.


Constructor & Destructor Documentation

CommunicationHandler::CommunicationHandler ( boost::asio::io_service &  io_service,
tcp::resolver::iterator  endpoint_iterator 
) [inline]

Definition at line 65 of file rs232_tcp.cpp.


Member Function Documentation

void CommunicationHandler::close (  )  [inline]

Definition at line 148 of file rs232_tcp.cpp.

void CommunicationHandler::do_close (  )  [inline, private]

Definition at line 175 of file rs232_tcp.cpp.

void CommunicationHandler::do_write ( char *  msg,
int  length 
) [inline, private]

Definition at line 170 of file rs232_tcp.cpp.

void CommunicationHandler::getcrcpos ( Position pos  )  [inline]

Definition at line 73 of file rs232_tcp.cpp.

void CommunicationHandler::handle_connect ( const boost::system::error_code &  error,
tcp::resolver::iterator  endpoint_iterator 
) [inline, private]

Definition at line 157 of file rs232_tcp.cpp.

void CommunicationHandler::runtpp ( char *  tppname  )  [inline]

Definition at line 122 of file rs232_tcp.cpp.

void CommunicationHandler::write ( char *  msg,
int  length 
) [inline]

Definition at line 143 of file rs232_tcp.cpp.


Member Data Documentation

char CommunicationHandler::data_[1000] [private]

Definition at line 155 of file rs232_tcp.cpp.

boost::asio::io_service& CommunicationHandler::io_service_ [private]

Definition at line 182 of file rs232_tcp.cpp.

tcp::socket CommunicationHandler::socket_ [private]

Definition at line 183 of file rs232_tcp.cpp.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Defines


imu_network
Author(s): Telmo Rafeiro
autogenerated on Wed Jul 23 04:34:06 2014