1 #ifndef _VN_UTILITIES_H_
4 #define _VN_UTILITIES_H_
16 #define VNAPI_REVISION 126
57 uint8_t toUint8FromHexStr(
const char* str);
63 uint16_t stoh(uint16_t sensorOrdered);
69 uint32_t stoh(uint32_t sensorOrdered);
75 uint64_t stoh(uint64_t sensorOrdered);
81 uint8_t countSetBits(uint8_t d);
91 uint8_t to_uint8_from_hexchar(
char c);
97 uint8_t to_uint8_from_hexstr(
const char* str);
103 uint16_t to_uint16_from_hexstr(
const char* str);
120 vn_proglib_DLLEXPORT
bool checkDllValidity(
const std::string& dllName,
121 const std::string& workingDirectory,
122 std::vector<std::string>& missingDlls);
static int revision()
Returns the revision version of the VectorNav library.
static int patch()
Returns the patch version of the VectorNav library.
Class for version information about the VectorNav library.
Definition: utilities.h:21
static std::string getVersion()
Returns the full version of the VectorNav library.
static int major()
Returns the major version of the VectorNav library.
static int minor()
Returns the minor version of the VectorNav library.