object header … More...
#include <LibMkKernel_mk.h>
Data Fields | |
MK_SIG | signature |
should be the SIGNATURE | |
MK_HDL | netHdl |
if not-null the object was exported with MkObjectHandleGet | |
MK_I32 | refCount |
is THIS object in use? | |
MK_PTR | self |
link between the managed object and the object in the target-programming-language | |
MK_TYP | type |
link to the object type | |
MK_PTR | env |
link to the object "runtime", set by selfCreate … | |
bool | deleteCallbackCalled |
Activate if object is on delete. | |
bool | selfCreated |
if the self was created by selfCreate than it is an INTERNAL object … | |
MK_I32 | selfRefCount |
Delete the MkObjectS::self at the same MkObjectS::refCount as was created … | |
MK_RT | objRt |
link to the kernel-runtime the instance was created in … | |
MK_RTEXT | objRtExt |
link to the kernel-runtime-extension the instance was created in … | |
struct MkObjectProtectS | obj_protect |
the protect is used to "protect" data set by pAllocCreate if the new object is later initialized with a type specific object-initialization … | |
object header …
Definition at line 3221 of file LibMkKernel_mk.h.
bool MkObjectS::deleteCallbackCalled |
Activate if object is on delete.
true if the MkObjectDeleteCallbackSetup was already called for this object
The call is located in MkSelfDelete and MkSelfDeleteForce and one call should be done
Definition at line 3243 of file LibMkKernel_mk.h.
MK_PTR MkObjectS::env |
link to the object "runtime", set by selfCreate …
The runtime is the "Tcl_Interp" in tcl or the "JNIEnv" in java...
Definition at line 3235 of file LibMkKernel_mk.h.
MK_HDL MkObjectS::netHdl |
if not-null the object was exported with MkObjectHandleGet
Definition at line 3225 of file LibMkKernel_mk.h.
struct MkObjectProtectS MkObjectS::obj_protect |
the protect is used to "protect" data set by pAllocCreate if the new object is later initialized with a type specific object-initialization …
Definition at line 3270 of file LibMkKernel_mk.h.
MK_RT MkObjectS::objRt |
link to the kernel-runtime the instance was created in …
Definition at line 3263 of file LibMkKernel_mk.h.
MK_RTEXT MkObjectS::objRtExt |
link to the kernel-runtime-extension the instance was created in …
Definition at line 3266 of file LibMkKernel_mk.h.
MK_I32 MkObjectS::refCount |
is THIS object in use?
Definition at line 3227 of file LibMkKernel_mk.h.
MK_PTR MkObjectS::self |
link between the managed object and the object in the target-programming-language
Definition at line 3229 of file LibMkKernel_mk.h.
bool MkObjectS::selfCreated |
if the self was created by selfCreate than it is an INTERNAL object …
Definition at line 3248 of file LibMkKernel_mk.h.
MK_I32 MkObjectS::selfRefCount |
Delete the MkObjectS::self at the same MkObjectS::refCount as was created …
example: MqReadBUF return an internal MkBufferC with refCount=1
This feature is used to call the MkSelfDelete from MkRefDecr even if MkObjectS::refCount > 0 and the MkTypeS::destructor is NOT called. Usually the MkSelfDelete is called ONLY at the MkTypeS::destructor.
Definition at line 3259 of file LibMkKernel_mk.h.
MK_SIG MkObjectS::signature |
should be the SIGNATURE
Definition at line 3223 of file LibMkKernel_mk.h.
MK_TYP MkObjectS::type |
link to the object type
Definition at line 3231 of file LibMkKernel_mk.h.