Banuba SDK
|
Only android interface. More...
#include <image_releaser.hpp>
Public Member Functions | |
virtual void | add_ref ()=0 |
Increments the reference count by 1 for an interface pointer to a object. | |
virtual void | add_ref_count (int32_t number)=0 |
Increments the reference count by number for an interface pointer to a object. | |
virtual void | release ()=0 |
Decrements the reference count for an interface on a COM object. | |
Only android interface.
The interface required for the correct closing of java image, after pointers of the image planes have been freed on the cpp side.
Definition at line 20 of file image_releaser.hpp.
|
inlinevirtual |
Definition at line 22 of file image_releaser.hpp.
|
pure virtual |
Increments the reference count by 1 for an interface pointer to a object.
MUST be called before release().
|
pure virtual |
Increments the reference count by number for an interface pointer to a object.
number | number of add ref. MUST be called before release(). |
|
pure virtual |
Decrements the reference count for an interface on a COM object.
After the last ref is deleted, the java image will be closed(released). MUST be called from the deleters of bnb::color_plane.