MkTypeS - class known as typ or type is used as class-base for a Managed-Object-Technology (MOT) type … More...
#include <LibMkKernel_mk.h>
Public Attributes | ||
union { | ||
struct MkObjectS obj | ||
} | super | |
MK_STRB | type_name [MkTypeS_name_size] | |
public name of the type like TclMqContextC | ||
MK_SIG | objsig | |
type-instance: signature as unsinged integer (32bit) | ||
MK_SIG | objmask | |
type-instance: mask to filter out the valid part of the signatur | ||
bool | noSelf | |
do NOT use the self feature -> used by MqFactoryS | ||
MK_TYP | type_base | |
base type | ||
size_t | objsize | |
the size of the new object created with this type, used in malloc | ||
size_t | typsize | |
the size of the this type self, used in MkTypeDup2 | ||
MK_I32 | type_id | |
default "0" but "MkFactoryTypeAdd" need more | ||
MkTypeInitF | type_init | |
initializer for new type | ||
MkToStringF | toString | |
get the string representation | ||
MkLogF | log | |
"log" object data to MkLogFileC (default: stderr) | ||
MkConstructorF | constructor | |
create an object | ||
MkDestructorF | destructor | |
delete an object | ||
MkDupF | dup | |
"dup" constructor | ||
MkDup2F | dup2 | |
"dup" constructor with "ident" initialisation | ||
MkMergeF | merge | |
"merge" constructor | ||
MkCopyF | copy | |
"copy" | ||
MkResetF | reset | |
"reset" the object to the "initial" state | ||
MkSelfCreateF | selfCreate | |
"create" the "self" pointer | ||
MkSelfDeleteF | selfDelete | |
"delete" the "self" pointer | ||
MkSelfUnlinkF | selfUnlink | |
"unlink" the "self" pointer from META-Kernel | ||
MkLogFormatF | fLogFormat | |
format the log message of an object, used in "sLogVL_O" | ||
MK_I32 | delCbCnt | |
number of callback registered for this type | ||
struct MkAllocDefS | objalloc | |
define the storage-allocator function | ||
MK_OBJ | instancesR | |
MK_TYP | type_class | |
point to the instancesR linked list of the class-type | ||
MkTypeS - class known as typ or type is used as class-base for a Managed-Object-Technology (MOT) type …
Definition at line 3947 of file LibMkKernel_mk.h.
MkConstructorF libmkkernel::MkTypeS::constructor |
create an object
Definition at line 3972 of file LibMkKernel_mk.h.
MkCopyF libmkkernel::MkTypeS::copy |
"copy"
Definition at line 3977 of file LibMkKernel_mk.h.
MK_I32 libmkkernel::MkTypeS::delCbCnt |
number
of callback registered for this type
Definition at line 3984 of file LibMkKernel_mk.h.
MkDestructorF libmkkernel::MkTypeS::destructor |
delete an object
Definition at line 3973 of file LibMkKernel_mk.h.
MkDupF libmkkernel::MkTypeS::dup |
"dup" constructor
Definition at line 3974 of file LibMkKernel_mk.h.
MkDup2F libmkkernel::MkTypeS::dup2 |
"dup" constructor with "ident" initialisation
Definition at line 3975 of file LibMkKernel_mk.h.
MkLogFormatF libmkkernel::MkTypeS::fLogFormat |
format the log message of an object, used in "sLogVL_O"
Definition at line 3982 of file LibMkKernel_mk.h.
MK_OBJ libmkkernel::MkTypeS::instancesR |
linked list of instances belong to type (only used for class-type)
Definition at line 3987 of file LibMkKernel_mk.h.
MkLogF libmkkernel::MkTypeS::log |
"log" object data to MkLogFileC (default: stderr)
Definition at line 3971 of file LibMkKernel_mk.h.
MkMergeF libmkkernel::MkTypeS::merge |
"merge" constructor
Definition at line 3976 of file LibMkKernel_mk.h.
bool libmkkernel::MkTypeS::noSelf |
do NOT use the self feature -> used by MqFactoryS
Definition at line 3961 of file LibMkKernel_mk.h.
struct MkObjectS libmkkernel::MkTypeS::obj |
Definition at line 3951 of file LibMkKernel_mk.h.
struct MkAllocDefS libmkkernel::MkTypeS::objalloc |
define the storage-allocator function
The alloc_data is used as storage for the allocator-data and is set at definition. The alloc_createF and alloc_deleteF function is a pointer
, MK_NULL
or 0x1
true
(default: false) if the memory is static and must not be freed. Definition at line 3986 of file LibMkKernel_mk.h.
MK_SIG libmkkernel::MkTypeS::objmask |
type-instance: mask to filter out the valid part of the signatur
Definition at line 3960 of file LibMkKernel_mk.h.
MK_SIG libmkkernel::MkTypeS::objsig |
type-instance: signature as unsinged integer (32bit)
Definition at line 3959 of file LibMkKernel_mk.h.
size_t libmkkernel::MkTypeS::objsize |
the size of the new object created with this type, used in malloc
Definition at line 3963 of file LibMkKernel_mk.h.
MkResetF libmkkernel::MkTypeS::reset |
"reset" the object to the "initial" state
Definition at line 3978 of file LibMkKernel_mk.h.
MkSelfCreateF libmkkernel::MkTypeS::selfCreate |
"create" the "self" pointer
Definition at line 3979 of file LibMkKernel_mk.h.
MkSelfDeleteF libmkkernel::MkTypeS::selfDelete |
"delete" the "self" pointer
Definition at line 3980 of file LibMkKernel_mk.h.
MkSelfUnlinkF libmkkernel::MkTypeS::selfUnlink |
"unlink" the "self" pointer from META-Kernel
Definition at line 3981 of file LibMkKernel_mk.h.
union { ... } libmkkernel::MkTypeS::super |
MkToStringF libmkkernel::MkTypeS::toString |
get the string representation
Definition at line 3970 of file LibMkKernel_mk.h.
MK_TYP libmkkernel::MkTypeS::type_base |
base type
Definition at line 3962 of file LibMkKernel_mk.h.
MK_TYP libmkkernel::MkTypeS::type_class |
point to the instancesR linked list of the class-type
The type_class and the type_base serve the same purpose; they both point to the parent-type. The difference is that the type_base points to the direct-parent, while the type_class points to the class-parent. An class is a construct that manages type instances and is thus superior in functionality to the simple type.
Definition at line 3994 of file LibMkKernel_mk.h.
MK_I32 libmkkernel::MkTypeS::type_id |
default "0" but "MkFactoryTypeAdd" need more
Definition at line 3966 of file LibMkKernel_mk.h.
MkTypeInitF libmkkernel::MkTypeS::type_init |
initializer for new type
Definition at line 3967 of file LibMkKernel_mk.h.
MK_STRB libmkkernel::MkTypeS::type_name[MkTypeS_name_size] |
public name of the type like TclMqContextC
Definition at line 3958 of file LibMkKernel_mk.h.
size_t libmkkernel::MkTypeS::typsize |
the size of the this type self, used in MkTypeDup2
Definition at line 3964 of file LibMkKernel_mk.h.