Namespaces | |
CoLaCommandType | |
CoLaError | |
Typedefs | |
typedef std::array< std::uint8_t, 32 > | ChallengeResponse |
typedef std::array< std::uint8_t, 32 > | PasswordHash |
Functions | |
template<typename T > | |
T | bigEndianToNative (T x) |
char | byteswap (char val) |
double | byteswap (double val) |
float | byteswap (float val) |
int16_t | byteswap (int16_t val) |
int32_t | byteswap (int32_t val) |
int64_t | byteswap (int64_t val) |
int8_t | byteswap (int8_t val) |
uint16_t | byteswap (uint16_t val) |
uint32_t | byteswap (uint32_t val) |
uint64_t | byteswap (uint64_t val) |
uint8_t | byteswap (uint8_t val) |
wchar_t | byteswap (wchar_t val) |
template<typename TAlias , typename T > | |
T | byteswapAlias (T val) |
uint32_t | CRC_calcCrc32Block (const void *const pvData, uint32_t u32Length, uint32_t u32InitVal) |
Compute the CRC-32 value of a data block based on a start value. More... | |
uint32_t | CRC_calcCrc32CBlock (const void *const pvData, uint32_t u32Length, uint32_t u32InitVal) |
Compute the CRC-32C value of a data block based on a start value. More... | |
template<typename T > | |
T | littleEndianToNative (T x) |
template<typename T > | |
T | nativeToBigEndian (T x) |
template<typename T > | |
T | nativeToColaByteOrder (T x) |
template<typename T > | |
T | nativeToLittleEndian (T x) |
template<typename T > | |
T | readUnalignBigEndian (const void *ptr) |
template<typename T > | |
T | readUnalignColaByteOrder (const void *ptr) |
template<class T > | |
T | readUnaligned (const void *ptr) |
template<typename T > | |
T | readUnalignLittleEndian (const void *ptr) |
Variables | |
const float | bad_point = std::numeric_limits<float>::quiet_NaN() |
static const uint32_t | CRC_au32CRC32CTable [256] |
static const uint32_t | CRC_au32CRCTable [256] |
static const std::string | DEFAULT_BROADCAST_ADDR = "255.255.255.255" |
static const uint16_t | DEFAULT_PORT = 30718 |
constexpr std::uint32_t | MAX_FIELDINFORMATION_VALUES = 16u |
constexpr std::uint32_t | MAX_LOGICSIGNALS_VALUES = 20u |
constexpr std::uint32_t | MAX_ROI_VALUES = 5u |
Copyright (C) 2023, SICK AG, Waldkirch, Germany Copyright (C) 2023, FZI Forschungszentrum Informatik, Karlsruhe, Germany
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
typedef std::array<std::uint8_t, 32> visionary::ChallengeResponse |
Definition at line 35 of file AuthenticationSecure.h.
typedef std::array<std::uint8_t, 32> visionary::PasswordHash |
Definition at line 34 of file AuthenticationSecure.h.
|
strong |
Definition at line 171 of file SafeVisionaryData.h.
|
strong |
Definition at line 40 of file SafeVisionaryDataStream.h.
|
strong |
Enumeration which describes the various states of the device
Definition at line 39 of file SafeVisionaryData.h.
Quality classes for measurement accuracy (JAMA 3DTOF-BU_22_SYS-1316)
Enumerator | |
---|---|
ROI_QUALITY_CLASS_INVALID | |
ROI_QUALITY_CLASS_HIGH | |
ROI_QUALITY_CLASS_MODERATE | |
ROI_QUALITY_CLASS_LOW |
Definition at line 130 of file SafeVisionaryData.h.
|
inline |
Definition at line 170 of file VisionaryEndian.h.
|
inline |
Definition at line 71 of file VisionaryEndian.h.
|
inline |
Definition at line 127 of file VisionaryEndian.h.
|
inline |
Definition at line 102 of file VisionaryEndian.h.
|
inline |
Definition at line 82 of file VisionaryEndian.h.
|
inline |
Definition at line 98 of file VisionaryEndian.h.
|
inline |
Definition at line 123 of file VisionaryEndian.h.
|
inline |
Definition at line 67 of file VisionaryEndian.h.
|
inline |
Definition at line 78 of file VisionaryEndian.h.
|
inline |
Definition at line 93 of file VisionaryEndian.h.
|
inline |
Definition at line 117 of file VisionaryEndian.h.
|
inline |
Definition at line 63 of file VisionaryEndian.h.
|
inline |
Definition at line 86 of file VisionaryEndian.h.
|
inline |
Definition at line 143 of file VisionaryEndian.h.
uint32_t visionary::CRC_calcCrc32Block | ( | const void *const | pvData, |
uint32_t | u32Length, | ||
uint32_t | u32InitVal | ||
) |
Compute the CRC-32 value of a data block based on a start value.
Compute the CRC-32 value of a data block based on a start value.
The computation uses the bit reversed CCITT-CRC32 polynomial, see CRC_au32CRCTable.
LSBit first (i.e. bit reversed) algorithm, if valid CRC is at the end of data stream and included in the calculation, the function will return 0 if CRC32 is stored with low byte first (not byte swapped on little endian machines).
pvData | Pointer to start of data bytes for which CRC is computed (must not be NULL) |
u32Length | Length (in bytes) of the data |
u32InitVal | Initial CRC value (either start value or CRC value of previous block in case of incremental CRC calculation) |
uint32_t visionary::CRC_calcCrc32CBlock | ( | const void *const | pvData, |
uint32_t | u32Length, | ||
uint32_t | u32InitVal | ||
) |
Compute the CRC-32C value of a data block based on a start value.
Compute the CRC-32 value of a data block based on a start value.
The computation uses the bit reversed CCITT-CRC32C polynomial, see CRC_au32CRC32CTable.
LSBit first (i.e. bit reversed) algorithm, if valid CRC is at the end of data stream and included in the calculation, the function will return 0 if CRC32 is stored with low byte first (not byte swapped on little endian machines).
pvData | Pointer to start of data bytes for which CRC is computed (must not be NULL) |
u32Length | Length (in bytes) of the data |
u32InitVal | Initial CRC value (either start value or CRC value of previous block in case of incremental CRC calculation) |
|
inline |
Definition at line 158 of file VisionaryEndian.h.
|
inline |
Definition at line 164 of file VisionaryEndian.h.
|
inline |
Definition at line 218 of file VisionaryEndian.h.
|
inline |
Definition at line 152 of file VisionaryEndian.h.
|
inline |
Definition at line 205 of file VisionaryEndian.h.
|
inline |
Definition at line 223 of file VisionaryEndian.h.
T visionary::readUnaligned | ( | const void * | ptr | ) |
Definition at line 48 of file VisionaryEndian.h.
|
inline |
Definition at line 211 of file VisionaryEndian.h.
const float visionary::bad_point = std::numeric_limits<float>::quiet_NaN() |
Definition at line 34 of file VisionaryData.cpp.
|
static |
|
static |
|
static |
Definition at line 30 of file VisionaryAutoIPScan.h.
|
static |
Definition at line 29 of file VisionaryAutoIPScan.h.
|
constexpr |
Definition at line 286 of file SafeVisionaryData.h.
|
constexpr |
Definition at line 316 of file SafeVisionaryData.h.
|
constexpr |
Definition at line 198 of file SafeVisionaryData.h.