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_ |
Definition at line 62 of file rs232_tcp.cpp.
CommunicationHandler::CommunicationHandler | ( | boost::asio::io_service & | io_service, | |
tcp::resolver::iterator | endpoint_iterator | |||
) | [inline] |
Definition at line 65 of file rs232_tcp.cpp.
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.
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.