|
AVPKit
|
Internal Only. More...
#include <RefCountedTester.h>


Static Public Member Functions | |
| static RefCountedTester * | make (RefCountedTester *objToAcquire) |
| Acquires a reference to a passed in object, and returns the new object. More... | |
Additional Inherited Members | |
Public Member Functions inherited from com::avpkit::ferry::RefCounted | |
| virtual int32_t | acquire () |
| Internal Only. More... | |
| virtual int32_t | release () |
| Internal Only. More... | |
| virtual RefCounted * | copyReference () |
| Create a new Java object that refers to the same native object. More... | |
| virtual int32_t | getCurrentRefCount () |
| Return the current reference count on this object. More... | |
| void | setJavaAllocator (void *allocator) |
| This method is public but not part of the standard API. More... | |
| void * | getJavaAllocator () |
| This method is public but not part of the standard API. More... | |
Protected Member Functions inherited from com::avpkit::ferry::RefCounted | |
| virtual void | destroy () |
| This method is called by RefCounted objects when their Ref Count reaches zero and they are about to be destroyed. | |
Protected Attributes inherited from com::avpkit::ferry::RefCounted | |
| AtomicInteger * | mRefCount |
| This is the internal reference count, represented as an AtomicInteger to make sure it is thread safe. | |
| void * | mAllocator |
| Not part of public API. | |
Internal Only.
This object exists in order for the ferry test libraries to test the memory management functionality of the RefCounted class from Java.
It is NOT part of the public API.
Definition at line 39 of file RefCountedTester.h.
|
static |
Acquires a reference to a passed in object, and returns the new object.
This, when wrapped by Swig, will be wrapped in a new Java object.
Definition at line 37 of file RefCountedTester.cpp.
References com::avpkit::ferry::RefCounted::acquire().