Go to the documentation of this file.
65 namespace EtherCATDataType
86 using BIT1 = std::bitset<1>;
87 using BIT2 = std::bitset<2>;
88 using BIT3 = std::bitset<3>;
89 using BIT4 = std::bitset<4>;
90 using BIT5 = std::bitset<5>;
91 using BIT6 = std::bitset<6>;
92 using BIT7 = std::bitset<7>;
93 using BIT8 = std::bitset<8>;
103 template <
typename T>
158 template <EtherCATDataTypeEnum E>
constexpr int bitLength< UNSIGNED8 >
constexpr int bitLength< BOOLEAN >
constexpr int bitLength< BIT5 >
EtherCATDataType::BOOLEAN type
constexpr int bitLength< INTEGER64 >
EtherCATDataType::BIT2 type
EtherCATDataType::INTEGER16 type
EtherCATDataType::UNSIGNED16 type
EtherCATDataTypeEnum
Holds all the types we support via EtherCAT in a type-agnostic enum.
constexpr int bitLength< UNSIGNED64 >
EtherCATDataType::REAL64 type
Maps from EtherCATDataTypeEnum to EtherCATDataType.
constexpr int bitLength< VISIBLE_STRING >
constexpr int bitLength< REAL64 >
EtherCATDataType::UNSIGNED32 type
std::bitset< 24 > UNSIGNED24
EtherCATDataType::BIT8 type
EtherCATDataType::TIME_DIFFERENCE type
std::bitset< 48 > TIME_OF_DAY
constexpr int bitLength< UNSIGNED16 >
std::string VISIBLE_STRING
EtherCATDataType::OCTET_STRING type
constexpr int bitLength< BIT2 >
std::vector< uint8_t > OCTET_STRING
EtherCATDataType::BIT6 type
EtherCATDataType::INTEGER8 type
EtherCATDataType::BIT7 type
EtherCATDataType::UNSIGNED64 type
constexpr int bitLength< BIT6 >
EtherCATDataType::UNSIGNED24 type
EtherCATDataType::INTEGER32 type
constexpr int bitLength< REAL32 >
std::string UNICODE_STRING
constexpr int bitLength< OCTET_STRING >
constexpr int bitLength< INTEGER32 >
EtherCATDataType::BYTE type
constexpr int bitLength< BIT1 >
EtherCATDataType::UNICODE_STRING type
EtherCATDataType::BIT5 type
EtherCATDataType::UNSIGNED8 type
EtherCATDataType::BIT4 type
constexpr int bitLength< UNSIGNED32 >
EtherCATDataType::REAL32 type
EtherCATDataType::INTEGER64 type
constexpr int bitLength< INTEGER24 >
EtherCATDataType::TIME_OF_DAY type
constexpr int bitLength
Defines the length of the various EtherCATDataTypes in bits.
EtherCATDataType::INTEGER24 type
std::bitset< 24 > INTEGER24
EtherCATDataType::BIT3 type
EtherCATDataType::VISIBLE_STRING type
constexpr int bitLength< INTEGER16 >
constexpr int bitLength< BIT7 >
constexpr int bitLength< BIT3 >
constexpr int bitLength< TIME_OF_DAY >
constexpr int bitLength< BIT4 >
constexpr int bitLength< BIT8 >
constexpr int bitLength< INTEGER8 >
EtherCATDataType::BIT1 type