Impact Acquire SDK Java
TMemoryManagerMode Class Reference

Defines valid modes to operate the memory manager in. More...

Static Public Attributes

static final int mmmAuto = acquireJNI.mmmAuto_get()
 Automatic mode.
 
static final int mmmPool = acquireJNI.mmmPool_get()
 Pool Mode.
 

Detailed Description

Defines valid modes to operate the memory manager in.

Member Data Documentation

◆ mmmAuto

final int mmmAuto = acquireJNI.mmmAuto_get()
static

Automatic mode.

In this mode the DMA memory is only used as intermediate buffer. The user has no direct access to it instead he get always a copy of the image that resides on the heap. Internally the DMA memory is organized as ring buffer. It decouples the autonomous grabbing of the board from the application. The size of the memory should be big enough to hold as many images as requests are used in the application.

◆ mmmPool

final int mmmPool = acquireJNI.mmmPool_get()
static

Pool Mode.

This mode allows direct access to the DMA memory. So its not necessary for the driver to make copies of the images. This improves the performance of the system. But there is one disadvantage: The partitioning of the DMA memory is fixed and has to be done by the user. The block size must be set to the image size in bytes. Additional the block count must be set. Before these parameters can be changed it must be sure that all ImageBuffers are returned and the grabber is stopped.