|
|
Handler of image buffer for ImageProcessors. More...
#include <VisionX/core/ImageBuffer.h>
Public Member Functions | |
| void | allocate (const visionx::ImageProviderInfo &providerInfo) |
| void | deallocate () |
| 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 40 of file ImageBuffer.h.
| ~ImageBuffer | ( | ) |
| void allocate | ( | const visionx::ImageProviderInfo & | providerInfo | ) |
| void deallocate | ( | ) |
| void update | ( | std::function< void(CByteImage **)> | setImagesFn | ) |
Definition at line 52 of file ImageBuffer.cpp.
| CByteImage** images = nullptr |
Definition at line 54 of file ImageBuffer.h.
| long imagesSeq = 0 |
Update this each time you update images.
Definition at line 56 of file ImageBuffer.h.
|
mutable |
Definition at line 52 of file ImageBuffer.h.