32 int poll (
int timeout);
38 int waitFrame (
int *end,
int timeout = 0);
51 uint64_t mImage_size_x;
52 uint64_t mImage_size_y;
53 uint64_t mNumber_of_images;
55 std::vector<stream2_threshold_energy> mThresholdEnergy;
62 int poll (
int timeout);
68 int waitFrame (
int *end,
int *numThresholds,
int timeout = 0);
N-dimensional array class; each array has a set of dimensions, a data type, pointer to data,...
Definition NDArray.h:99
The NDArrayPool class manages a free list (pool) of NDArray objects.
Definition NDArray.h:168
Definition streamApi.h:43
std::string tsStr
Definition streamApi.h:57
~Stream2API(void)
Definition stream2Api.cpp:153
int getFrame(NDArray **pArray, NDArrayPool *pNDArrayPool, int thresh, int decompress, bool extractTimeStamp)
Definition stream2Api.cpp:223
epicsTimeStamp ts
Definition streamApi.h:58
int getHeader(stream_header_t *header, int timeout=0)
Definition stream2Api.cpp:160
int waitFrame(int *end, int *numThresholds, int timeout=0)
Definition stream2Api.cpp:195
Definition streamApi.h:25
~StreamAPI(void)
Definition streamApi.cpp:186
int getFrame(NDArray **pArray, NDArrayPool *pNDArrayPool, int decompress)
Definition streamApi.cpp:300
int getHeader(stream_header_t *header, int timeout=0)
Definition streamApi.cpp:193
int waitFrame(int *end, int timeout=0)
Definition streamApi.cpp:252
stream_err
Definition streamApi.h:12
@ STREAM_SUCCESS
Definition streamApi.h:13
@ STREAM_ERROR
Definition streamApi.h:16
@ STREAM_TIMEOUT
Definition streamApi.h:14
@ STREAM_WRONG_HTYPE
Definition streamApi.h:15