|
Handler of image buffer for ImageProcessors. More...
#include <VisionX/core/ImageBuffer.h>
Public Member Functions | |
void | allocate (const visionx::ImageProviderInfo &providerInfo) |
void | update (std::function< void(CByteImage **)> setImagesFn) |
~ImageBuffer () | |
Public Attributes | |
CByteImage ** | images = nullptr |
long | imagesSeq = 0 |
Update this each time you update images. More... | |
std::mutex | mutex |
Handler of image buffer for ImageProcessors.
How to call allocate (in onConnectImageProcessor()
):
How to call update (in process()
):
Definition at line 39 of file ImageBuffer.h.
~ImageBuffer | ( | ) |
Definition at line 12 of file ImageBuffer.cpp.
void allocate | ( | const visionx::ImageProviderInfo & | providerInfo | ) |
void update | ( | std::function< void(CByteImage **)> | setImagesFn | ) |
Definition at line 37 of file ImageBuffer.cpp.
CByteImage** images = nullptr |
Definition at line 52 of file ImageBuffer.h.
long imagesSeq = 0 |
Update this each time you update images.
Definition at line 54 of file ImageBuffer.h.
|
mutable |
Definition at line 50 of file ImageBuffer.h.