|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Fixture for input callbacks. More...
Inheritance diagram for profinet::cyclic::CyclicCallbackTests:
Collaboration diagram for profinet::cyclic::CyclicCallbackTests:Protected Member Functions | |
| void | SetUp () override |
| Construct the controller used by callback tests. | |
| void | DeliverInput (std::uint8_t iops) |
| Deliver an input frame and allow the configured callbacks to run. | |
Protected Attributes | |
| std::unique_ptr< CyclicController > | controller |
| Controller under test. | |
| std::unique_ptr< asio::io_context > | ioContext |
| Shared ASIO context. | |
Fixture for input callbacks.
Definition at line 813 of file test_cyclicMore.cpp.
|
inlineprotected |
Deliver an input frame and allow the configured callbacks to run.
| iops | IOPS byte to deliver. |
Definition at line 827 of file test_cyclicMore.cpp.
References controller, profinet::rt::RTFrame::DATA_RUN, profinet::rt::RTFrame::DATA_VALID, profinet::kInputFrameId, payload, and profinet::cyclic::CyclicControllerTestAccess::ProcessInputFrame().
Here is the call graph for this function:
|
inlineoverrideprotected |
Construct the controller used by callback tests.
Definition at line 817 of file test_cyclicMore.cpp.
References controller, ioContext, profinet::kInputFrameId, and profinet::kOutputFrameId.
|
protected |
Controller under test.
Definition at line 839 of file test_cyclicMore.cpp.
Referenced by DeliverInput(), and SetUp().
|
protected |