#include <io_scanner.h>
Public Member Functions | |
| void | handleListIdentityResponse (const boost::system::error_code &ec, std::size_t num_bytes) |
| IOScanner (boost::asio::io_service &io_service, string hostname) | |
| void | run () |
| void | sendListIdentityRequest () |
| virtual | ~IOScanner () |
Private Attributes | |
| udp::endpoint | device_endpoint_ |
| string | hostname_ |
| boost::array< EIP_BYTE, 4 *1024 > | recv_buf_ |
| udp::socket | socket_ |
Class to scan a network for Ethernet/IP devices
Definition at line 43 of file io_scanner.h.
| eip::IOScanner::IOScanner | ( | boost::asio::io_service & | io_service, |
| string | hostname | ||
| ) |
Definition at line 49 of file io_scanner.cpp.
|
inlinevirtual |
Definition at line 48 of file io_scanner.h.
| void eip::IOScanner::handleListIdentityResponse | ( | const boost::system::error_code & | ec, |
| std::size_t | num_bytes | ||
| ) |
Handle list identity responses
Definition at line 76 of file io_scanner.cpp.
| void eip::IOScanner::run | ( | ) |
Run the scanner indefinitely
Definition at line 162 of file io_scanner.cpp.
| void eip::IOScanner::sendListIdentityRequest | ( | ) |
Send the list identity request message
Definition at line 61 of file io_scanner.cpp.
|
private |
Definition at line 72 of file io_scanner.h.
|
private |
Definition at line 70 of file io_scanner.h.
|
private |
Definition at line 73 of file io_scanner.h.
|
private |
Definition at line 71 of file io_scanner.h.