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

A GSDML virtual submodule definition (VirtualSubmoduleItem). More...

#include <gsdml.h>

+ Collaboration diagram for profinet::gsdml::GSDMLSubmodule:

Public Attributes

std::string id
 GSDML ID attribute (used to resolve VirtualSubmoduleItemTarget references).
 
std::uint32_t submoduleIdentNumber = 0
 Submodule ident number (hex value from the GSDML, parsed to an integer).
 
std::string name
 Human-readable submodule name (from the GSDML's Name/TextId, resolved via ExternalTextList).
 
int inputLength = 0
 Total input data length in bytes (sum of Input DataItems).
 
int outputLength = 0
 Total output data length in bytes (sum of Output DataItems).
 
std::vector< GSDMLDataIteminputItems
 Individual input data items, in wire order.
 
std::vector< GSDMLDataItemoutputItems
 Individual output data items, in wire order.
 
std::vector< int > allowedSubslots
 Subslots where this inline virtual submodule is allowed.
 
std::vector< int > fixedSubslots
 Subslots where this inline virtual submodule is fixed.
 
std::vector< int > usedSubslots
 Subslots where this inline virtual submodule is selected/used.
 

Detailed Description

A GSDML virtual submodule definition (VirtualSubmoduleItem).

Definition at line 57 of file gsdml.h.

Member Data Documentation

◆ allowedSubslots

std::vector<int> profinet::gsdml::GSDMLSubmodule::allowedSubslots

Subslots where this inline virtual submodule is allowed.

Definition at line 75 of file gsdml.h.

◆ fixedSubslots

std::vector<int> profinet::gsdml::GSDMLSubmodule::fixedSubslots

Subslots where this inline virtual submodule is fixed.

Definition at line 77 of file gsdml.h.

◆ id

std::string profinet::gsdml::GSDMLSubmodule::id

GSDML ID attribute (used to resolve VirtualSubmoduleItemTarget references).

Definition at line 60 of file gsdml.h.

Referenced by profinet::gsdml::ParseGsdmlString().

◆ inputItems

std::vector<GSDMLDataItem> profinet::gsdml::GSDMLSubmodule::inputItems

Individual input data items, in wire order.

Definition at line 70 of file gsdml.h.

◆ inputLength

int profinet::gsdml::GSDMLSubmodule::inputLength = 0

Total input data length in bytes (sum of Input DataItems).

Definition at line 66 of file gsdml.h.

Referenced by profinet::gsdml::GSDMLDevice::BuildIoSlots().

◆ name

std::string profinet::gsdml::GSDMLSubmodule::name

Human-readable submodule name (from the GSDML's Name/TextId, resolved via ExternalTextList).

Definition at line 64 of file gsdml.h.

◆ outputItems

std::vector<GSDMLDataItem> profinet::gsdml::GSDMLSubmodule::outputItems

Individual output data items, in wire order.

Definition at line 72 of file gsdml.h.

◆ outputLength

int profinet::gsdml::GSDMLSubmodule::outputLength = 0

Total output data length in bytes (sum of Output DataItems).

Definition at line 68 of file gsdml.h.

Referenced by profinet::gsdml::GSDMLDevice::BuildIoSlots().

◆ submoduleIdentNumber

std::uint32_t profinet::gsdml::GSDMLSubmodule::submoduleIdentNumber = 0

Submodule ident number (hex value from the GSDML, parsed to an integer).

Definition at line 62 of file gsdml.h.

Referenced by profinet::gsdml::GSDMLDevice::BuildIoSlots(), and profinet::gsdml::ParseGsdmlString().

◆ usedSubslots

std::vector<int> profinet::gsdml::GSDMLSubmodule::usedSubslots

Subslots where this inline virtual submodule is selected/used.

Definition at line 79 of file gsdml.h.


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