Static Public Member Functions
labust::tools::BitPacker Struct Reference

#include <BitPacker.hpp>

List of all members.

Static Public Member Functions

template<class BitMapType , class DataType >
static uint64_t pack (const std::vector< BitMapType > &bitmap, const std::vector< DataType > &data)
template<class BitMapType , class DataType >
static uint64_t pack_flipped (const std::vector< BitMapType > &bitmap, const std::vector< DataType > &data)
template<class BitMapType , class DataType >
static void unpack (uint64_t msg, const std::vector< BitMapType > &bitmap, std::vector< DataType > &data)
template<class BitMapType , class DataType >
static void unpack_flipped (uint64_t msg, const std::vector< BitMapType > &bitmap, std::vector< DataType > &data)

Detailed Description

Bitpacker for diver messages.

Todo:
Generalize this bit packer with boost::serialization concepts, similar to the XML approach.

Definition at line 56 of file BitPacker.hpp.


Member Function Documentation

template<class BitMapType , class DataType >
static uint64_t labust::tools::BitPacker::pack ( const std::vector< BitMapType > &  bitmap,
const std::vector< DataType > &  data 
) [inline, static]

Definition at line 59 of file BitPacker.hpp.

template<class BitMapType , class DataType >
static uint64_t labust::tools::BitPacker::pack_flipped ( const std::vector< BitMapType > &  bitmap,
const std::vector< DataType > &  data 
) [inline, static]

Definition at line 92 of file BitPacker.hpp.

template<class BitMapType , class DataType >
static void labust::tools::BitPacker::unpack ( uint64_t  msg,
const std::vector< BitMapType > &  bitmap,
std::vector< DataType > &  data 
) [inline, static]

Definition at line 77 of file BitPacker.hpp.

template<class BitMapType , class DataType >
static void labust::tools::BitPacker::unpack_flipped ( uint64_t  msg,
const std::vector< BitMapType > &  bitmap,
std::vector< DataType > &  data 
) [inline, static]

Definition at line 110 of file BitPacker.hpp.


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


usbl_comms
Author(s): Gyula Nagy
autogenerated on Fri Feb 7 2014 11:36:13