Namespaces | Functions
LabJackTypeConverters.h File Reference
#include <array>
#include "SurgSim/Devices/LabJack/linux/LabJackConstants.h"

Go to the source code of this file.

Namespaces

 SurgSim
 
 SurgSim::Devices
 
 SurgSim::Devices::LabJack
 A collection of checksum functions specifically tailored for the labjackusb driver.
 

Functions

double SurgSim::Devices::LabJack::doubleFromChars (const std::array< unsigned char, MAXIMUM_BUFFER > &bytes, int startIndex)
 Converts an eight byte array to a floating point double value. More...
 
uint32_t SurgSim::Devices::LabJack::uint32FromChars (const std::array< unsigned char, LabJack::MAXIMUM_BUFFER > &bytes, int startIndex, int count)
 Converts an array of bytes to a uint32_t, with the least significant byte at startIndex, and the most significant byte at startIndex + byteCount - 1. More...
 
uint16_t SurgSim::Devices::LabJack::uint16FromChars (const std::array< unsigned char, LabJack::MAXIMUM_BUFFER > &bytes, int startIndex, int count)
 Converts an array of bytes to a uint16_t, with the least significant byte at startIndex. More...