HoverRace  2.0
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
HoverRace::Util::BitPack< BYTES > Struct Template Reference

#include <BitPacking.h>

Public Member Functions

void Clear ()
 
MR_Int32 Get (MR_UInt32 pOffset, MR_UInt32 pLen, MR_UInt32 pPrecision) const
 
MR_UInt32 Getu (MR_UInt32 pOffset, MR_UInt32 pLen, MR_UInt32 pPrecision) const
 
void InitFrom (const MR_UInt8 *data)
 
void Set (MR_UInt32 pOffset, MR_UInt32 pLen, MR_UInt32 pPrecision, MR_Int32 pValue)
 
void Set (MR_UInt32 pOffset, MR_UInt32 pLen, MR_UInt32 pPrecision, MR_UInt32 pValue)
 

Public Attributes

char bdata [REALSIZE]
 

Static Public Attributes

static const int REALSIZE = BYTES + 3
 
static const int SIZE = BYTES
 

Member Function Documentation

template<int BYTES>
void HoverRace::Util::BitPack< BYTES >::Clear ( )
template<int BYTES>
MR_Int32 HoverRace::Util::BitPack< BYTES >::Get ( MR_UInt32  pOffset,
MR_UInt32  pLen,
MR_UInt32  pPrecision 
) const
template<int BYTES>
MR_UInt32 HoverRace::Util::BitPack< BYTES >::Getu ( MR_UInt32  pOffset,
MR_UInt32  pLen,
MR_UInt32  pPrecision 
) const
template<int BYTES>
void HoverRace::Util::BitPack< BYTES >::InitFrom ( const MR_UInt8 data)
template<int BYTES>
void HoverRace::Util::BitPack< BYTES >::Set ( MR_UInt32  pOffset,
MR_UInt32  pLen,
MR_UInt32  pPrecision,
MR_Int32  pValue 
)
inline
template<int BYTES>
void HoverRace::Util::BitPack< BYTES >::Set ( MR_UInt32  pOffset,
MR_UInt32  pLen,
MR_UInt32  pPrecision,
MR_UInt32  pValue 
)
inline

Member Data Documentation

template<int BYTES>
char HoverRace::Util::BitPack< BYTES >::bdata[REALSIZE]
template<int BYTES>
const int HoverRace::Util::BitPack< BYTES >::REALSIZE = BYTES + 3
static
template<int BYTES>
const int HoverRace::Util::BitPack< BYTES >::SIZE = BYTES
static

The documentation for this struct was generated from the following file: