31 int poll (
int timeout);
37 int waitFrame (
int *end,
int timeout = 0);
50 uint64_t mImage_size_x;
51 uint64_t mImage_size_y;
52 uint64_t mNumber_of_images;
54 int poll (
int timeout);
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 stream2Api.h:13
int waitFrame(int *end, int timeout=0)
int getHeader(stream_header_t *header, int timeout=0)
Stream2API(const char *hostname)
int getFrame(NDArray **pArray, NDArrayPool *pNDArrayPool, int decompress)
Definition streamApi.h:24
~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:11
@ STREAM_SUCCESS
Definition streamApi.h:12
@ STREAM_ERROR
Definition streamApi.h:15
@ STREAM_TIMEOUT
Definition streamApi.h:13
@ STREAM_WRONG_HTYPE
Definition streamApi.h:14