PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
RpcTransportTests Class Reference
+ Inheritance diagram for RpcTransportTests:
+ Collaboration diagram for RpcTransportTests:

Protected Member Functions

void SetUp () override
 Create a fresh Asio execution context for the test.
 
void TearDown () override
 Destroy the Asio execution context after the test.
 

Protected Attributes

std::unique_ptr< asio::io_context > ioContext
 Asio execution context used by the transport under test.
 
std::unique_ptr< profinet::AsioIoContextRunner > runner
 

Detailed Description

Definition at line 196 of file test_rpcTransport.cpp.

Member Function Documentation

◆ SetUp()

void RpcTransportTests::SetUp ( )
inlineoverrideprotected

Create a fresh Asio execution context for the test.

Definition at line 200 of file test_rpcTransport.cpp.

References ioContext, and runner.

◆ TearDown()

void RpcTransportTests::TearDown ( )
inlineoverrideprotected

Destroy the Asio execution context after the test.

Definition at line 214 of file test_rpcTransport.cpp.

References ioContext, and runner.

Member Data Documentation

◆ ioContext

std::unique_ptr<asio::io_context> RpcTransportTests::ioContext
protected

Asio execution context used by the transport under test.

Definition at line 228 of file test_rpcTransport.cpp.

Referenced by SetUp(), and TearDown().

◆ runner

std::unique_ptr<profinet::AsioIoContextRunner> RpcTransportTests::runner
protected

Definition at line 233 of file test_rpcTransport.cpp.

Referenced by SetUp(), and TearDown().


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