areaDetector
3-5-0
EPICS areaDetector framework
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <list>
#include <cmath>
#include <iostream>
#include <sstream>
#include <hdf5.h>
#include <sys/stat.h>
#include <epicsTypes.h>
#include <epicsMessageQueue.h>
#include <epicsThread.h>
#include <epicsEvent.h>
#include <epicsTime.h>
#include <epicsString.h>
#include <iocsh.h>
#include <epicsAssert.h>
#include <osiSock.h>
#include <asynDriver.h>
#include <epicsExport.h>
#include "NDFileHDF5.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 | 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 } |
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) | |
#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_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 |
enum HDF5Compression_t |
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 | ) |