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

One I/O data item within a submodule's cyclic data (GSDML DataItem element). More...

#include <gsdml.h>

+ Collaboration diagram for profinet::gsdml::GSDMLDataItem:

Public Attributes

std::string dataType
 GSDML DataType attribute, e.g. "Unsigned8", "Integer16", "OctetString".
 
int length = 0
 Length in bytes of this item.
 
std::string textId
 Human-readable text ID/name for this item, if the GSDML supplied one.
 

Detailed Description

One I/O data item within a submodule's cyclic data (GSDML DataItem element).

Definition at line 27 of file gsdml.h.

Member Data Documentation

◆ dataType

std::string profinet::gsdml::GSDMLDataItem::dataType

GSDML DataType attribute, e.g. "Unsigned8", "Integer16", "OctetString".

Definition at line 30 of file gsdml.h.

◆ length

int profinet::gsdml::GSDMLDataItem::length = 0

Length in bytes of this item.

For OctetString/VisibleString types this comes from the GSDML Length attribute; for fixed-width types it's looked up from the DataType name (see gsdml.cpp's type-size table).

Definition at line 35 of file gsdml.h.

◆ textId

std::string profinet::gsdml::GSDMLDataItem::textId

Human-readable text ID/name for this item, if the GSDML supplied one.

Definition at line 37 of file gsdml.h.


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