BdsApi  2.0.11
Classes | Namespaces | Macros | Functions | Variables
BdsDataFileCd.cpp File Reference
#include <BdsDataFileCd.h>
#include <arpa/inet.h>
#include <errno.h>
#include <canada_compress.h>
#include <BEndian.h>
#include <BDebug.h>

Classes

struct  Bds::DataFrameHead_1v0
 
struct  Bds::DataSubFrameHead_1v0
 
struct  Bds::Header_1v0
 
struct  Bds::Header_1v1
 
struct  Bds::Trailer
 

Namespaces

 Bds
 

Macros

#define LDEBUG   0
 
#define dprintf(fmt, a...)
 
#define INCLUDE_CHANNEL_AUTH   1
 
#define ALLOW_TIMESTAMP_JITTER   1
 
#define TIMESTAMP_JITTER   100
 
#define MULTIPLE_SEGMENT   0
 
#define SEGMENT_GAP   3600000
 
#define ntohll(x)   __bswap_64(x)
 
#define htonll(x)   ntohll(x)
 

Functions

static void Bds::crcInit ()
 
static uint64_t Bds::crc64 (const void *buffer, const uint32_t len)
 
BString Bds::getHexString (char *data, int len)
 
int Bds::duplicateDump (DataBlock &data1, DataBlock &data2, int channel)
 

Variables

const int ErrorFormatNoDataFormat = 100
 
static uint64_t Bds::crcVec [256]
 
static int Bds::crcInitDone
 

Macro Definition Documentation

§ ALLOW_TIMESTAMP_JITTER

#define ALLOW_TIMESTAMP_JITTER   1

§ dprintf

#define dprintf (   fmt,
  a... 
)

§ htonll

#define htonll (   x)    ntohll(x)

§ INCLUDE_CHANNEL_AUTH

#define INCLUDE_CHANNEL_AUTH   1

§ LDEBUG

#define LDEBUG   0

§ MULTIPLE_SEGMENT

#define MULTIPLE_SEGMENT   0

§ ntohll

#define ntohll (   x)    __bswap_64(x)

§ SEGMENT_GAP

#define SEGMENT_GAP   3600000

§ TIMESTAMP_JITTER

#define TIMESTAMP_JITTER   100

Variable Documentation

§ ErrorFormatNoDataFormat

const int ErrorFormatNoDataFormat = 100