GizmoUtils Class Reference

Helper functions for the Gizmos. More...

#include <GizmoUtils.hpp>

Inheritance diagram for GizmoUtils:

Inheritance graph
[legend]

List of all members.

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.


Detailed Description

Helper functions for the Gizmos.

Definition at line 48 of file GizmoUtils.hpp.


Constructor & Destructor Documentation

GizmoUtils::GizmoUtils (  ) 

Default Constructor.

GizmoUtils Default Constructor.

Definition at line 48 of file GizmoUtils.cpp.

GizmoUtils::~GizmoUtils (  )  [virtual]

Destructor.

GizmoUtils Destructor.

Definition at line 54 of file GizmoUtils.cpp.


Member Function Documentation

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.

Parameters:
ReferenceCode The reference code to test against
ActualCode The actual received code
Returns:
Number of differing bits

Definition at line 67 of file GizmoUtils.cpp.


The documentation for this class was generated from the following files:
Generated on Wed Nov 7 10:06:46 2007 for gizmod by  doxygen 1.5.3