|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Fixture for TX behavior and generated frame validation. More...
Inheritance diagram for profinet::cyclic::CyclicTxTests:
Collaboration diagram for profinet::cyclic::CyclicTxTests:Protected Member Functions | |
| void | SetUp () override |
| Construct the controller and retain its TX socket stub. | |
Protected Attributes | |
| std::unique_ptr< CyclicController > | controller |
| Controller under test. | |
| std::unique_ptr< test::CyclicRawEthernetSocketStub > | txSocket |
| std::unique_ptr< test::CyclicRawEthernetSocketStub > | rxSocket = std::make_unique<test::CyclicRawEthernetSocketStub>() |
| test::CyclicRawEthernetSocketStub * | tx {nullptr} |
| Injected TX socket stub. | |
| std::unique_ptr< asio::io_context > | ioContext |
| Shared ASIO context. | |
Fixture for TX behavior and generated frame validation.
Definition at line 1391 of file test_cyclicMore.cpp.
|
inlineoverrideprotected |
Construct the controller and retain its TX socket stub.
Definition at line 1395 of file test_cyclicMore.cpp.
References controller, profinet::cyclic::DEFAULT_MAX_CONSECUTIVE_TIMEOUTS, ioContext, profinet::kInputFrameId, profinet::kOutputFrameId, profinet::cyclic::CyclicControllerTestAccess::SetTxSock(), tx, and txSocket.
Here is the call graph for this function:
|
protected |
|
protected |
|
protected |
Definition at line 1410 of file test_cyclicMore.cpp.
|
protected |
Injected TX socket stub.
Definition at line 1413 of file test_cyclicMore.cpp.
Referenced by SetUp().
|
protected |
Definition at line 1409 of file test_cyclicMore.cpp.
Referenced by SetUp().