zbsdtHelper.h File Reference

#include <zbsHash.h>
#include <bitshuffle/bitshuffle.h>

Go to the source code of this file.

Classes

class  CAFE_BSHELPER::DataBitset< CTYPE >
 DataBitset Template
CTYPE is the integer type the data type is to be rendered to the client
method unfold() will receive data and then convert to CTYPE. More...
class  CAFE_BSHELPER::IntegerBitsetV< CTYPE >
 IntegerBitset Template
CTYPE is the integer type the data type is to be rendered to the client
method unfold() will receive data and then convert to vector<CTYPE>. More...
class  CAFE_BSHELPER::IntegerBitset< CTYPE >
 IntegerBitset Template
CTYPE is the integer type the data type is to be rendered to the client
method unfold() will receive data and then convert to CTYPE *. More...
class  CAFE_BSHELPER::FloatBitset< CTYPE >
 FloatBitset Template
CTYPE is the float type of the data type to be rendered to the client
method unfold() will receive data and then convert to CTYPE. More...
union  CAFE_BSHELPER::FloatBitset< CTYPE >::dUnion
class  CAFE_BSHELPER::FloatBitsetV< CTYPE >
 FloatBitsetV Template
CTYPE is the float type of the data type to be rendered to the client
method unfold() will receive data and then convert to vector<CTYPE>. More...
union  CAFE_BSHELPER::FloatBitsetV< CTYPE >::dUnion

Namespaces

namespace  CAFE_BSHELPER

Defines

#define __METHOD__   "getByteSize (unsigned int)"
#define __METHOD__   "getByteSize (string)"
#define __METHOD__   "bitshuffleDecompress"

Enumerations

enum  CAFE_BSHELPER::bsdtIndex {
  CAFE_BSHELPER::BS_INT8 = 0, CAFE_BSHELPER::BS_UINT8, CAFE_BSHELPER::BS_INT16, CAFE_BSHELPER::BS_UINT16,
  CAFE_BSHELPER::BS_INT32, CAFE_BSHELPER::BS_UINT32, CAFE_BSHELPER::BS_INT64, CAFE_BSHELPER::BS_UINT64,
  CAFE_BSHELPER::BS_FLOAT32, CAFE_BSHELPER::BS_FLOAT64, CAFE_BSHELPER::BS_BOOL, CAFE_BSHELPER::BS_STRING,
  CAFE_BSHELPER::BS_CHAR = BS_STRING
}

Functions

void CAFE_BSHELPER::bsdtInsert ()
int CAFE_BSHELPER::getByteSize (unsigned int dt)
int CAFE_BSHELPER::getByteSize (std::string dt)
void CAFE_BSHELPER::printBits (int const size, void const *const ptr)
 Generic function to display bits of a number used for testing in zmq stream.
int CAFE_BSHELPER::unfoldPreBlob (const char *data, long &uncompressedSize, int &blockSize)
 Unfolds the two bytes that precede the blob See: https://git.psi.ch/sf_daq/ch.psi.daq.dispatcherrest and: https://git.psi.ch/sf_daq/bsread_specification.
int CAFE_BSHELPER::bitshuffleDecompress (const char *data, char *&regen_buffer, int sizeData, int dtByteSize)
 Routine that decompresses the compressed WFs and other data.

Variables

bsreadContainer_set CAFE_BSHELPER::bsdt
std::vector< BSChannel > CAFE_BSHELPER::bsrdV

Detailed Description

Author:
Jan Chrin, PSI
Date:
Release: January 2018
Version:
CAFE 1.6

Define Documentation

#define __METHOD__   "bitshuffleDecompress"
#define __METHOD__   "getByteSize (string)"
#define __METHOD__   "getByteSize (unsigned int)"

Generated on 28 May 2018 for CAFE by  doxygen 1.6.1