|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Fixture for watchdog and RX-loop behavior. More...
Inheritance diagram for profinet::cyclic::CyclicWatchdogTests:
Collaboration diagram for profinet::cyclic::CyclicWatchdogTests:Protected Member Functions | |
| void | SetUp () override |
| Construct a controller with a very short input watchdog. | |
Protected Attributes | |
| std::unique_ptr< CyclicController > | controller |
| Controller under test. | |
| std::unique_ptr< test::CyclicRawEthernetSocketStub > | tx = std::make_unique<test::CyclicRawEthernetSocketStub>() |
| std::unique_ptr< test::CyclicRawEthernetSocketStub > | rxSocket = std::make_unique<test::CyclicRawEthernetSocketStub>() |
| test::CyclicRawEthernetSocketStub * | rx {nullptr} |
| Injected receive socket. | |
| std::unique_ptr< asio::io_context > | ioContext |
| Shared ASIO context. | |
Fixture for watchdog and RX-loop behavior.
Definition at line 1206 of file test_cyclicMore.cpp.
|
inlineoverrideprotected |
Construct a controller with a very short input watchdog.
Definition at line 1210 of file test_cyclicMore.cpp.
References controller, profinet::cyclic::DEFAULT_MAX_CONSECUTIVE_TIMEOUTS, ioContext, profinet::kInputFrameId, profinet::kOutputFrameId, profinet::cyclic::Running, rx, rxSocket, profinet::cyclic::CyclicControllerTestAccess::SetRxSock(), profinet::cyclic::CyclicControllerTestAccess::SetState(), and tx.
Here is the call graph for this function:
|
protected |
|
protected |
|
protected |
Injected receive socket.
Definition at line 1231 of file test_cyclicMore.cpp.
Referenced by SetUp().
|
protected |
Definition at line 1228 of file test_cyclicMore.cpp.
Referenced by SetUp().
|
protected |
Definition at line 1227 of file test_cyclicMore.cpp.
Referenced by SetUp().