areaDetector  3-14
EPICS areaDetector framework
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

◆ ALIGNMENT_BOUNDARY

#define ALIGNMENT_BOUNDARY   1048576

◆ DIMNAMESIZE

#define DIMNAMESIZE   40

◆ DIMSREPORTSIZE

#define DIMSREPORTSIZE   512

◆ epicsAssertAuthor

#define epicsAssertAuthor   "the EPICS areaDetector collaboration (https://github.com/areaDetector/ADCore/issues)"

◆ FILTER_BLOSC

#define FILTER_BLOSC   32001

◆ FILTER_BSHUF

#define FILTER_BSHUF   32008

◆ FILTER_JPEG

#define FILTER_JPEG   32019

◆ FILTER_LZ4

#define FILTER_LZ4   32004

◆ H5Dopen_vers

#define H5Dopen_vers   2

◆ H5Gcreate_vers

#define H5Gcreate_vers   2

◆ INFINITE_FRAMES_CAPTURE

#define INFINITE_FRAMES_CAPTURE   10000 /* Used to calculate istorek (the size of the chunk index binar search tree) when capturing infinite number of frames */

◆ MAX_ISTOREK

#define MAX_ISTOREK   32767 /* HDF5 Binary Search tree max. */

◆ MAX_LAYOUT_LEN

#define MAX_LAYOUT_LEN   1048576

◆ METADATA_NDIMS

#define METADATA_NDIMS   1

Enumeration Type Documentation

◆ HDF5Compression_t

Enumerator
HDF5CompressNone 
HDF5CompressNumBits 
HDF5CompressSZip 
HDF5CompressZlib 
HDF5CompressBlosc 
HDF5CompressBshuf 
HDF5CompressLZ4 
HDF5CompressJPEG 

Function Documentation

◆ comma_separated_list()

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

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

◆ epicsExportRegistrar()

epicsExportRegistrar ( NDFileHDF5Register  )

◆ NDFileHDF5Configure()

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

◆ NDFileHDF5Register()

void NDFileHDF5Register ( void  )