8 #include "Arp/Plc/Commons/DataTypeEnum.hpp"
9 #include "Arp/Plc/Commons/Meta/TypeSystem/DataInfoDeduction.hxx"
10 #include "Arp/Plc/Commons/Meta/TypeSystem/TypeDefinition.hpp"
13 namespace Arp {
namespace Plc {
namespace Commons {
namespace Meta
22 template<
typename TProgram,
size_t MaxNumPorts>
24 std::array<byte*, MaxNumPorts>& ports,
size_t portsOffset);
28 const String& programInstanceName,
size_t programSize,
size_t programAlign,
size_t portsOffset,
29 size_t maximumNumberOfPorts,
byte** ports);
51 void CheckNumberOfPorts()
const;
52 void CheckName(
const String& name)
const;
59 String programInstanceName;
61 size_t maximumNumberOfPorts;
65 template<
typename TProgram,
size_t MaxNumPorts>
67 std::array<byte*, MaxNumPorts>& ports,
size_t portsOffset)
70 alignof(TProgram), portsOffset, MaxNumPorts, ports.data());
79 DataInfo dataInfo = deduction(portName, value);
This (meta programming) class provides the typename according the CLS (common language specification)...
Definition: CommonTypeName.hxx:30
Definition: DataTypeEnum.hpp:16
Root namespace for the PLCnext API