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

One slot/subslot's expected module configuration and IO data sizes. More...

#include <rpcTypes.h>

+ Collaboration diagram for profinet::rpc::IOSlot:

Public Member Functions

bool operator== (const IOSlot &) const =default
 Compares two IO slot configurations for equality.
 

Public Attributes

std::uint16_t slot = 0
 Slot number.
 
std::uint16_t subslot = 0
 Subslot number.
 
std::uint16_t inputLength = 0
 Expected input data length in bytes (0 if no input data).
 
std::uint16_t outputLength = 0
 Expected output data length in bytes (0 if no output data).
 
std::uint32_t moduleIdent = 0
 Expected module ident number.
 
std::uint32_t submoduleIdent = 0
 Expected submodule ident number.
 
bool includeInInputIocr = false
 
bool includeInOutputIocr = false
 
bool inputIoData = false
 IODataObject for Input CR.
 
bool outputIoData = false
 IODataObject for Output CR.
 
bool inputIocs = false
 
bool outputIocs = false
 

Detailed Description

One slot/subslot's expected module configuration and IO data sizes.

Definition at line 90 of file rpcTypes.h.

Member Function Documentation

◆ operator==()

bool profinet::rpc::IOSlot::operator== ( const IOSlot ) const
default

Compares two IO slot configurations for equality.

Two IO slot configurations are equal when all configuration fields have identical values.

Member Data Documentation

◆ includeInInputIocr

bool profinet::rpc::IOSlot::includeInInputIocr = false

Definition at line 110 of file rpcTypes.h.

◆ includeInOutputIocr

bool profinet::rpc::IOSlot::includeInOutputIocr = false

Definition at line 111 of file rpcTypes.h.

◆ inputIocs

bool profinet::rpc::IOSlot::inputIocs = false

Definition at line 117 of file rpcTypes.h.

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

◆ inputIoData

bool profinet::rpc::IOSlot::inputIoData = false

IODataObject for Input CR.

Definition at line 114 of file rpcTypes.h.

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

◆ inputLength

std::uint16_t profinet::rpc::IOSlot::inputLength = 0

Expected input data length in bytes (0 if no input data).

Definition at line 99 of file rpcTypes.h.

Referenced by profinet::rpc::RPCCon::BuildIocrBlock(), and profinet::gsdml::GSDMLDevice::BuildIoSlots().

◆ moduleIdent

std::uint32_t profinet::rpc::IOSlot::moduleIdent = 0

Expected module ident number.

Definition at line 105 of file rpcTypes.h.

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

◆ outputIocs

bool profinet::rpc::IOSlot::outputIocs = false

Definition at line 118 of file rpcTypes.h.

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

◆ outputIoData

bool profinet::rpc::IOSlot::outputIoData = false

IODataObject for Output CR.

Definition at line 116 of file rpcTypes.h.

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

◆ outputLength

std::uint16_t profinet::rpc::IOSlot::outputLength = 0

Expected output data length in bytes (0 if no output data).

Definition at line 102 of file rpcTypes.h.

Referenced by profinet::rpc::RPCCon::BuildIocrBlock(), and profinet::gsdml::GSDMLDevice::BuildIoSlots().

◆ slot

std::uint16_t profinet::rpc::IOSlot::slot = 0

Slot number.

Definition at line 93 of file rpcTypes.h.

Referenced by profinet::rpc::RPCCon::BuildIocrBlock(), and profinet::gsdml::GSDMLDevice::BuildIoSlots().

◆ submoduleIdent

std::uint32_t profinet::rpc::IOSlot::submoduleIdent = 0

Expected submodule ident number.

Definition at line 108 of file rpcTypes.h.

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

◆ subslot

std::uint16_t profinet::rpc::IOSlot::subslot = 0

Subslot number.

Definition at line 96 of file rpcTypes.h.

Referenced by profinet::rpc::RPCCon::BuildIocrBlock(), and profinet::gsdml::GSDMLDevice::BuildIoSlots().


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