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

Generic/unknown alarm item. More...

#include <alarms.h>

+ Collaboration diagram for profinet::AlarmItem:

Public Member Functions

std::string UsiName () const
 Human-readable name for this item's USI.
 

Public Attributes

Usi userStructureId = Usi::Unknown
 User Structure Identifier for this item.
 
Bytes rawData
 Raw, undecoded item payload.
 

Detailed Description

Generic/unknown alarm item.

Any USI not specifically handled below is returned as this, carrying the raw remaining bytes.

Definition at line 29 of file alarms.h.

Member Function Documentation

◆ UsiName()

std::string profinet::AlarmItem::UsiName ( ) const
inline

Human-readable name for this item's USI.

Returns
The USI name (see GetUsiName()).

Definition at line 39 of file alarms.h.

References profinet::GetUsiName(), and userStructureId.

+ Here is the call graph for this function:

Member Data Documentation

◆ rawData

Bytes profinet::AlarmItem::rawData

Raw, undecoded item payload.

Definition at line 35 of file alarms.h.

◆ userStructureId

Usi profinet::AlarmItem::userStructureId = Usi::Unknown

User Structure Identifier for this item.

Definition at line 32 of file alarms.h.

Referenced by profinet::ParseAlarmItem(), and UsiName().


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