rodbus (C++ API) 1.3.1
Loading...
Searching...
No Matches
rodbus::DecodeLevel Struct Reference

Controls the decoding of transmitted and received data at the application, frame, and physical layer. More...

#include <rodbus.hpp>

Public Member Functions

 DecodeLevel (AppDecodeLevel app, FrameDecodeLevel frame, PhysDecodeLevel physical)
 Fully construct DecodeLevel specifying the value of each field. More...
 

Static Public Member Functions

static DecodeLevel nothing ()
 Initialize log levels to defaults which is to decode nothing. More...
 

Public Attributes

AppDecodeLevel app
 Controls decoding of the application layer (PDU) More...
 
FrameDecodeLevel frame
 Controls decoding of frames (MBAP / Serial PDU) More...
 
PhysDecodeLevel physical
 Controls the logging of physical layer read/write. More...
 

Friends

class CppDecodeLevelFriend
 

Detailed Description

Controls the decoding of transmitted and received data at the application, frame, and physical layer.

Constructor & Destructor Documentation

◆ DecodeLevel()

rodbus::DecodeLevel::DecodeLevel ( AppDecodeLevel  app,
FrameDecodeLevel  frame,
PhysDecodeLevel  physical 
)

Fully construct DecodeLevel specifying the value of each field.

Parameters
appControls decoding of the application layer (PDU)
frameControls decoding of frames (MBAP / Serial PDU)
physicalControls the logging of physical layer read/write
Returns
New instance of DecodeLevel

Member Function Documentation

◆ nothing()

static DecodeLevel rodbus::DecodeLevel::nothing ( )
static

Initialize log levels to defaults which is to decode nothing.

Note
Values are initialized to:
Returns
New instance of DecodeLevel

Member Data Documentation

◆ app

AppDecodeLevel rodbus::DecodeLevel::app

Controls decoding of the application layer (PDU)

◆ frame

FrameDecodeLevel rodbus::DecodeLevel::frame

Controls decoding of frames (MBAP / Serial PDU)

◆ physical

PhysDecodeLevel rodbus::DecodeLevel::physical

Controls the logging of physical layer read/write.


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