|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Mock implementation of IDcpScanner used to test ProfinetScanner without performing real DCP network discovery. More...
Inheritance diagram for profinet::device::MockDcpScanner:
Collaboration diagram for profinet::device::MockDcpScanner:Public Member Functions | |
| MOCK_METHOD (dcp::ResponseMap, Scan,(const std::string &interface, double timeoutSec),(override)) | |
| Discover PROFINET devices using the configured mock response. | |
Public Member Functions inherited from profinet::device::IDcpScanner | |
| virtual | ~IDcpScanner ()=default |
| virtual dcp::ResponseMap | Scan (const std::string &interface, double timeoutSec)=0 |
| Discover PROFINET devices using DCP. | |
Mock implementation of IDcpScanner used to test ProfinetScanner without performing real DCP network discovery.
Definition at line 235 of file test_device.cpp.
| profinet::device::MockDcpScanner::MOCK_METHOD | ( | dcp::ResponseMap | , |
| Scan | , | ||
| (const std::string &interface, double timeoutSec) | , | ||
| (override) | |||
| ) |
Discover PROFINET devices using the configured mock response.
| interface | Network interface name. |
| timeoutSec | Discovery timeout in seconds. |