quadEM  7-0
Macros | Enumerations | Functions
NDFileHDF5.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <cmath>
#include <iostream>
#include <sstream>
#include <hdf5.h>
#include <sys/stat.h>
#include <iocsh.h>
#include <epicsAssert.h>
#include <osiSock.h>
#include "NDFileHDF5.h"
#include <epicsExport.h>

Macros

#define H5Gcreate_vers   2
 
#define H5Dopen_vers   2
 
#define epicsAssertAuthor   "the EPICS areaDetector collaboration (https://github.com/areaDetector/ADCore/issues)"
 
#define METADATA_NDIMS   1
 
#define MAX_LAYOUT_LEN   1048576
 
#define FILTER_BLOSC   32001
 
#define FILTER_BSHUF   32008
 
#define FILTER_LZ4   32004
 
#define FILTER_JPEG   32019
 
#define DIMSREPORTSIZE   512
 
#define DIMNAMESIZE   40
 
#define ALIGNMENT_BOUNDARY   1048576
 
#define INFINITE_FRAMES_CAPTURE   10000 /* Used to calculate istorek (the size of the chunk index binar search tree) when capturing infinite number of frames */
 
#define MAX_ISTOREK   32767 /* HDF5 Binary Search tree max. */
 

Enumerations

enum  HDF5Compression_t {
  HDF5CompressNone =0, HDF5CompressNumBits, HDF5CompressSZip, HDF5CompressZlib,
  HDF5CompressBlosc, HDF5CompressBshuf, HDF5CompressLZ4, HDF5CompressJPEG
}
 

Functions

int NDFileHDF5Configure (const char *portName, int queueSize, int blockingCallbacks, const char *NDArrayPort, int NDArrayAddr, int priority, int stackSize)
 Configuration routine. More...
 
std::string comma_separated_list (int nelements, size_t *data)
 Helper function to create a comma separated list of integers in a string. More...
 
void NDFileHDF5Register (void)
 
 epicsExportRegistrar (NDFileHDF5Register)
 

Macro Definition Documentation

#define ALIGNMENT_BOUNDARY   1048576
#define DIMNAMESIZE   40
#define DIMSREPORTSIZE   512
#define epicsAssertAuthor   "the EPICS areaDetector collaboration (https://github.com/areaDetector/ADCore/issues)"
#define FILTER_BLOSC   32001
#define FILTER_BSHUF   32008
#define FILTER_JPEG   32019
#define FILTER_LZ4   32004
#define H5Dopen_vers   2
#define H5Gcreate_vers   2
#define INFINITE_FRAMES_CAPTURE   10000 /* Used to calculate istorek (the size of the chunk index binar search tree) when capturing infinite number of frames */
#define MAX_ISTOREK   32767 /* HDF5 Binary Search tree max. */
#define MAX_LAYOUT_LEN   1048576
#define METADATA_NDIMS   1

Enumeration Type Documentation

Enumerator
HDF5CompressNone 
HDF5CompressNumBits 
HDF5CompressSZip 
HDF5CompressZlib 
HDF5CompressBlosc 
HDF5CompressBshuf 
HDF5CompressLZ4 
HDF5CompressJPEG 

Function Documentation

std::string comma_separated_list ( int  nelements,
size_t *  data 
)

Helper function to create a comma separated list of integers in a string.

epicsExportRegistrar ( NDFileHDF5Register  )
int NDFileHDF5Configure ( const char *  portName,
int  queueSize,
int  blockingCallbacks,
const char *  NDArrayPort,
int  NDArrayAddr,
int  priority,
int  stackSize 
)

Configuration routine.

Called directly, or from the iocsh function in NDFileEpics

void NDFileHDF5Register ( void  )