|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Fixture for state-transition and lifecycle behavior. More...
Inheritance diagram for profinet::cyclic::CyclicStateTests:
Collaboration diagram for profinet::cyclic::CyclicStateTests:Protected Member Functions | |
| std::unique_ptr< CyclicController > | MakeController () |
| Create a controller with deterministic socket injection. | |
Protected Attributes | |
| std::unique_ptr< CyclicController > | controller = MakeController() |
| Controller under test. | |
| std::unique_ptr< MockRawEthernetSocket > | txSock = std::make_unique<MockRawEthernetSocket>() |
| Mocked Tx Socket. | |
| std::unique_ptr< MockRawEthernetSocket > | rxSock = std::make_unique<MockRawEthernetSocket>() |
| Mocked Rx Socket. | |
| int | callbackCount {0} |
| Number of state callback invocations. | |
Fixture for state-transition and lifecycle behavior.
Definition at line 321 of file test_cyclicMore.cpp.
|
inlineprotected |
Create a controller with deterministic socket injection.
Definition at line 326 of file test_cyclicMore.cpp.
References profinet::cyclic::DEFAULT_MAX_CONSECUTIVE_TIMEOUTS, ioContext, profinet::kInputFrameId, and profinet::kOutputFrameId.
|
protected |
Number of state callback invocations.
Definition at line 346 of file test_cyclicMore.cpp.
|
protected |
Controller under test.
Definition at line 337 of file test_cyclicMore.cpp.
|
protected |
Mocked Rx Socket.
Definition at line 343 of file test_cyclicMore.cpp.
|
protected |
Mocked Tx Socket.
Definition at line 340 of file test_cyclicMore.cpp.