PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
profinet::dcp::BlockQualifier Struct Reference

Block qualifier: whether a Set operation is temporary or permanent. More...

#include <dcp.h>

+ Collaboration diagram for profinet::dcp::BlockQualifier:

Static Public Member Functions

static std::string GetName (std::uint16_t qualifier)
 Get the human-readable name for a qualifier value.
 

Static Public Attributes

static constexpr std::uint16_t TEMPORARY = 0x0000
 Change applies until the next power cycle only.
 
static constexpr std::uint16_t PERMANENT = 0x0001
 Change is persisted permanently.
 

Detailed Description

Block qualifier: whether a Set operation is temporary or permanent.

Definition at line 274 of file dcp.h.

Member Function Documentation

◆ GetName()

std::string profinet::dcp::BlockQualifier::GetName ( std::uint16_t  qualifier)
static

Get the human-readable name for a qualifier value.

Parameters
qualifierRaw qualifier value.
Returns
"Temporary", "Permanent", or an "Unknown (0xXXXX)" fallback.

Definition at line 359 of file dcp.cpp.

References profinet::Hex4().

+ Here is the call graph for this function:

Member Data Documentation

◆ PERMANENT

constexpr std::uint16_t profinet::dcp::BlockQualifier::PERMANENT = 0x0001
staticconstexpr

Change is persisted permanently.

Definition at line 281 of file dcp.h.

◆ TEMPORARY

constexpr std::uint16_t profinet::dcp::BlockQualifier::TEMPORARY = 0x0000
staticconstexpr

Change applies until the next power cycle only.

Definition at line 278 of file dcp.h.


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