areaDetector 1-8
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <cmath>
#include <hdf5.h>
#include <epicsStdio.h>
#include <epicsString.h>
#include <epicsTime.h>
#include <iocsh.h>
#include <epicsExport.h>
#include "NDPluginFile.h"
#include "osiSock.h"
Classes | |
struct | HDFAttributeNode |
class | NDFileHDF5 |
Defines | |
#define | H5Gcreate_vers 2 |
#define | H5Dopen_vers 2 |
#define | FIRST_NDFILE_HDF5_PARAM NDFileHDF5_nRowChunks |
#define | LAST_NDFILE_HDF5_PARAM NDFileHDF5_zCompressLevel |
#define | NUM_NDFILE_HDF5_PARAMS (&LAST_NDFILE_HDF5_PARAM - &FIRST_NDFILE_HDF5_PARAM + 1) |
#define | DIMSREPORTSIZE 512 |
#define | DIMNAMESIZE 40 |
#define | MAXEXTRADIMS 3 |
#define | ALIGNMENT_BOUNDARY 1048576 |
#define | str_NDFileHDF5_nRowChunks "HDF5_nRowChunks" |
#define | str_NDFileHDF5_nColChunks "HDF5_nColChunks" |
#define | str_NDFileHDF5_extraDimSizeN "HDF5_extraDimSizeN" |
#define | str_NDFileHDF5_nFramesChunks "HDF5_nFramesChunks" |
#define | str_NDFileHDF5_chunkBoundaryAlign "HDF5_chunkBoundaryAlign" |
#define | str_NDFileHDF5_chunkBoundaryThreshold "HDF5_chunkBoundaryThreshold" |
#define | str_NDFileHDF5_extraDimNameN "HDF5_extraDimNameN" |
#define | str_NDFileHDF5_nExtraDims "HDF5_nExtraDims" |
#define | str_NDFileHDF5_extraDimSizeX "HDF5_extraDimSizeX" |
#define | str_NDFileHDF5_extraDimNameX "HDF5_extraDimNameX" |
#define | str_NDFileHDF5_extraDimOffsetX "HDF5_extraDimOffsetX" |
#define | str_NDFileHDF5_extraDimSizeY "HDF5_extraDimSizeY" |
#define | str_NDFileHDF5_extraDimNameY "HDF5_extraDimNameY" |
#define | str_NDFileHDF5_extraDimOffsetY "HDF5_extraDimOffsetY" |
#define | str_NDFileHDF5_storeAttributes "HDF5_storeAttributes" |
#define | str_NDFileHDF5_storePerformance "HDF5_storePerformance" |
#define | str_NDFileHDF5_totalRuntime "HDF5_totalRuntime" |
#define | str_NDFileHDF5_totalIoSpeed "HDF5_totalIoSpeed" |
#define | str_NDFileHDF5_flushNthFrame "HDF5_flushNthFrame" |
#define | str_NDFileHDF5_compressionType "HDF5_compressionType" |
#define | str_NDFileHDF5_nbitsPrecision "HDF5_nbitsPrecision" |
#define | str_NDFileHDF5_nbitsOffset "HDF5_nbitsOffset" |
#define | str_NDFileHDF5_szipNumPixels "HDF5_szipNumPixels" |
#define | str_NDFileHDF5_zCompressLevel "HDF5_zCompressLevel" |
Typedefs | |
typedef struct HDFAttributeNode | HDFAttributeNode |
Enumerations | |
enum | HDF5Compression_t { HDF5CompressNone = 0, HDF5CompressNumBits, HDF5CompressSZip, HDF5CompressZlib } |
Functions | |
bool | is_prime (unsigned int long number) |
find out whether or not the input is a prime number. | |
int | NDFileHDF5Configure (const char *portName, int queueSize, int blockingCallbacks, const char *NDArrayPort, int NDArrayAddr, int priority, int stackSize) |
Configuration routine. | |
void | NDFileHDF5Register (void) |
epicsExportRegistrar (NDFileHDF5Register) |
#define ALIGNMENT_BOUNDARY 1048576 |
#define DIMNAMESIZE 40 |
#define DIMSREPORTSIZE 512 |
#define FIRST_NDFILE_HDF5_PARAM NDFileHDF5_nRowChunks |
#define H5Dopen_vers 2 |
#define H5Gcreate_vers 2 |
#define LAST_NDFILE_HDF5_PARAM NDFileHDF5_zCompressLevel |
#define MAXEXTRADIMS 3 |
#define NUM_NDFILE_HDF5_PARAMS (&LAST_NDFILE_HDF5_PARAM - &FIRST_NDFILE_HDF5_PARAM + 1) |
#define str_NDFileHDF5_chunkBoundaryAlign "HDF5_chunkBoundaryAlign" |
#define str_NDFileHDF5_chunkBoundaryThreshold "HDF5_chunkBoundaryThreshold" |
#define str_NDFileHDF5_compressionType "HDF5_compressionType" |
#define str_NDFileHDF5_extraDimNameN "HDF5_extraDimNameN" |
#define str_NDFileHDF5_extraDimNameX "HDF5_extraDimNameX" |
#define str_NDFileHDF5_extraDimNameY "HDF5_extraDimNameY" |
#define str_NDFileHDF5_extraDimOffsetX "HDF5_extraDimOffsetX" |
#define str_NDFileHDF5_extraDimOffsetY "HDF5_extraDimOffsetY" |
#define str_NDFileHDF5_extraDimSizeN "HDF5_extraDimSizeN" |
#define str_NDFileHDF5_extraDimSizeX "HDF5_extraDimSizeX" |
#define str_NDFileHDF5_extraDimSizeY "HDF5_extraDimSizeY" |
#define str_NDFileHDF5_flushNthFrame "HDF5_flushNthFrame" |
#define str_NDFileHDF5_nbitsOffset "HDF5_nbitsOffset" |
#define str_NDFileHDF5_nbitsPrecision "HDF5_nbitsPrecision" |
#define str_NDFileHDF5_nColChunks "HDF5_nColChunks" |
#define str_NDFileHDF5_nExtraDims "HDF5_nExtraDims" |
#define str_NDFileHDF5_nFramesChunks "HDF5_nFramesChunks" |
#define str_NDFileHDF5_nRowChunks "HDF5_nRowChunks" |
#define str_NDFileHDF5_storeAttributes "HDF5_storeAttributes" |
#define str_NDFileHDF5_storePerformance "HDF5_storePerformance" |
#define str_NDFileHDF5_szipNumPixels "HDF5_szipNumPixels" |
#define str_NDFileHDF5_totalIoSpeed "HDF5_totalIoSpeed" |
#define str_NDFileHDF5_totalRuntime "HDF5_totalRuntime" |
#define str_NDFileHDF5_zCompressLevel "HDF5_zCompressLevel" |
typedef struct HDFAttributeNode HDFAttributeNode |
enum HDF5Compression_t |
epicsExportRegistrar | ( | NDFileHDF5Register | ) |
bool is_prime | ( | unsigned int long | number | ) |
find out whether or not the input is a prime number.
Returns true if number is a prime. False if not.
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 | ) |