#include <GizmoUtils.hpp>
Public Member Functions | |
GizmoUtils () | |
Default Constructor. | |
virtual | ~GizmoUtils () |
Destructor. | |
Static Public Member Functions | |
static int | bitDifference (unsigned char ReferenceCode, unsigned char ActualCode) |
Return how many bits difference in two bitstrings. |
Definition at line 48 of file GizmoUtils.hpp.
GizmoUtils::GizmoUtils | ( | ) |
GizmoUtils::~GizmoUtils | ( | ) | [virtual] |
int GizmoUtils::bitDifference | ( | unsigned char | ReferenceCode, | |
unsigned char | ActualCode | |||
) | [static] |
Return how many bits difference in two bitstrings.
Calculate how many bits differ in two bitstrings.
ReferenceCode | The reference code to test against | |
ActualCode | The actual received code |
Definition at line 67 of file GizmoUtils.cpp.