|
Codemesh Runtime v3 C++ API Reference
3.9.205
|
A utility class that tracks remote object references with a reference count. More...
#include <xmog_remote_ref_map.h>

Public Types | |
| typedef jobject | Key |
| typedef xmog_remote_ref * | Value |
| typedef ACE_Map_Manager< Key, Value, ACE_Null_Mutex > | ObjectFrame |
Public Member Functions | |
| xmog_remote_ref_map (xmog_remote_ref_map *parentFrame) | |
| Constructs a reference map. | |
| int | get_data (jobject _ref, void **pData, size_t *pLength) |
| Returns the cached data associated with a reference. | |
| int | delete_global (jobject _ref) |
| Deletes a global reference from the map. More... | |
| jobject | new_global (jobject _ref, void *data=NULL, size_t size=0) |
| Adds a global reference to the map. | |
| int | delete_local (jobject _ref) |
| Deletes a local reference from the map. More... | |
| jobject | new_local (jobject _ref, void *data=NULL, size_t size=0) |
| Adds a local reference to the map. | |
| int | delete_weakglobal (jobject _ref) |
| Deletes a weak global reference from the map. More... | |
| jobject | new_weakglobal (jobject _ref, void *data=NULL, size_t size=0) |
| Adds a weak global reference to the map. | |
| xmog_remote_ref_map * | push_frame () |
| Pushes a new frame on the stack and returns the new frame. | |
| xmog_remote_ref_map * | pop_frame () |
| Pops a frame from the stack and returns the parent frame. | |
A utility class that tracks remote object references with a reference count.
| int xmog_remote_ref_map::delete_global | ( | jobject | _ref | ) |
Deletes a global reference from the map.
| int xmog_remote_ref_map::delete_local | ( | jobject | _ref | ) |
Deletes a local reference from the map.
| int xmog_remote_ref_map::delete_weakglobal | ( | jobject | _ref | ) |
Deletes a weak global reference from the map.