Class for the UDP communication with the scanner.
More...
#include <mock_udp_server.h>
|
void | handleReceive (const boost::system::error_code &error, std::size_t) |
|
void | handleSend (const boost::system::error_code &, std::size_t) |
|
Class for the UDP communication with the scanner.
Definition at line 37 of file mock_udp_server.h.
◆ ~MockUDPServer()
psen_scan_test::MockUDPServer::~MockUDPServer |
( |
| ) |
|
|
inline |
◆ MockUDPServer()
◆ asyncReceive()
void psen_scan_test::MockUDPServer::asyncReceive |
( |
| ) |
|
|
inline |
◆ asyncSend()
template<unsigned int N>
void psen_scan_test::MockUDPServer::asyncSend |
( |
const udp::endpoint & |
send_endpoint, |
|
|
const boost::array< char, N > & |
send_buffer |
|
) |
| |
|
inline |
◆ handleReceive()
void psen_scan_test::MockUDPServer::handleReceive |
( |
const boost::system::error_code & |
error, |
|
|
std::size_t |
|
|
) |
| |
|
inlineprivate |
◆ handleSend()
void psen_scan_test::MockUDPServer::handleSend |
( |
const boost::system::error_code & |
, |
|
|
std::size_t |
|
|
) |
| |
|
inlineprivate |
◆ MOCK_CONST_METHOD0()
psen_scan_test::MockUDPServer::MOCK_CONST_METHOD0 |
( |
receivedUdpMsg |
, |
|
|
void() |
|
|
) |
| |
◆ startIOService()
void psen_scan_test::MockUDPServer::startIOService |
( |
| ) |
|
|
inline |
◆ io_service_
boost::asio::io_service psen_scan_test::MockUDPServer::io_service_ |
|
private |
◆ recv_buffer_
boost::array<char, 100> psen_scan_test::MockUDPServer::recv_buffer_ |
|
private |
◆ remote_endpoint_
udp::endpoint psen_scan_test::MockUDPServer::remote_endpoint_ |
|
private |
◆ service_thread_
boost::thread psen_scan_test::MockUDPServer::service_thread_ |
|
private |
◆ socket_receive_
udp::socket psen_scan_test::MockUDPServer::socket_receive_ |
|
private |
◆ socket_send_
udp::socket psen_scan_test::MockUDPServer::socket_send_ |
|
private |
The documentation for this class was generated from the following file: