PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
profinet::rt::RtFrameTest Class Reference

Test fixture for RT Ethernet frame serialization. More...

+ Inheritance diagram for profinet::rt::RtFrameTest:
+ Collaboration diagram for profinet::rt::RtFrameTest:

Static Protected Member Functions

static RTFrame MakeFrame ()
 Build the canonical RT frame used by the tests.
 

Detailed Description

Test fixture for RT Ethernet frame serialization.

Provides a deterministic RT frame used by the serialization and parsing regression tests.

Definition at line 26 of file test_rtFrame.cpp.

Member Function Documentation

◆ MakeFrame()

static RTFrame profinet::rt::RtFrameTest::MakeFrame ( )
inlinestaticprotected

Build the canonical RT frame used by the tests.

Returns
Configured RT frame.

Definition at line 32 of file test_rtFrame.cpp.

References profinet::rt::RTFrame::DATA_RUN, profinet::rt::RTFrame::DATA_VALID, frame, and profinet::rt::RTFrame::frameId.


The documentation for this class was generated from the following file: