|
theKernel 10.0
|
MkTypeS - class known as typ or type is used as class-base for a Managed-Object-Technology (MOT) type … More...
#include <LibMkKernel_mk.h>
Collaboration diagram for MkTypeS:Data Fields | ||
| 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 3945 of file LibMkKernel_mk.h.
| MkConstructorF MkTypeS::constructor |
create an object
Definition at line 3970 of file LibMkKernel_mk.h.
| MkCopyF MkTypeS::copy |
"copy"
Definition at line 3975 of file LibMkKernel_mk.h.
| MK_I32 MkTypeS::delCbCnt |
number of callback registered for this type
Definition at line 3982 of file LibMkKernel_mk.h.
| MkDestructorF MkTypeS::destructor |
delete an object
Definition at line 3971 of file LibMkKernel_mk.h.
| MkDupF MkTypeS::dup |
"dup" constructor
Definition at line 3972 of file LibMkKernel_mk.h.
| MkDup2F MkTypeS::dup2 |
"dup" constructor with "ident" initialisation
Definition at line 3973 of file LibMkKernel_mk.h.
| MkLogFormatF MkTypeS::fLogFormat |
format the log message of an object, used in "sLogVL_O"
Definition at line 3980 of file LibMkKernel_mk.h.
| MK_OBJ MkTypeS::instancesR |
linked list of instances belong to type (only used for class-type)
Definition at line 3985 of file LibMkKernel_mk.h.
| MkLogF MkTypeS::log |
"log" object data to MkLogFileC (default: stderr)
Definition at line 3969 of file LibMkKernel_mk.h.
| MkMergeF MkTypeS::merge |
"merge" constructor
Definition at line 3974 of file LibMkKernel_mk.h.
| bool MkTypeS::noSelf |
do NOT use the self feature -> used by MqFactoryS
Definition at line 3959 of file LibMkKernel_mk.h.
| struct MkObjectS MkTypeS::obj |
Definition at line 3949 of file LibMkKernel_mk.h.
| struct MkAllocDefS 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 3984 of file LibMkKernel_mk.h.
| MK_SIG MkTypeS::objmask |
type-instance: mask to filter out the valid part of the signatur
Definition at line 3958 of file LibMkKernel_mk.h.
| MK_SIG MkTypeS::objsig |
type-instance: signature as unsinged integer (32bit)
Definition at line 3957 of file LibMkKernel_mk.h.
| size_t MkTypeS::objsize |
the size of the new object created with this type, used in malloc
Definition at line 3961 of file LibMkKernel_mk.h.
| MkResetF MkTypeS::reset |
"reset" the object to the "initial" state
Definition at line 3976 of file LibMkKernel_mk.h.
| MkSelfCreateF MkTypeS::selfCreate |
"create" the "self" pointer
Definition at line 3977 of file LibMkKernel_mk.h.
| MkSelfDeleteF MkTypeS::selfDelete |
"delete" the "self" pointer
Definition at line 3978 of file LibMkKernel_mk.h.
| MkSelfUnlinkF MkTypeS::selfUnlink |
"unlink" the "self" pointer from META-Kernel
Definition at line 3979 of file LibMkKernel_mk.h.
| union { ... } MkTypeS::super |
| MkToStringF MkTypeS::toString |
get the string representation
Definition at line 3968 of file LibMkKernel_mk.h.
| MK_TYP MkTypeS::type_base |
base type
Definition at line 3960 of file LibMkKernel_mk.h.
| MK_TYP 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 3992 of file LibMkKernel_mk.h.
| MK_I32 MkTypeS::type_id |
default "0" but "MkFactoryTypeAdd" need more
Definition at line 3964 of file LibMkKernel_mk.h.
| MkTypeInitF MkTypeS::type_init |
initializer for new type
Definition at line 3965 of file LibMkKernel_mk.h.
| MK_STRB MkTypeS::type_name[MkTypeS_name_size] |
public name of the type like TclMqContextC
Definition at line 3956 of file LibMkKernel_mk.h.
| size_t MkTypeS::typsize |
the size of the this type self, used in MkTypeDup2
Definition at line 3962 of file LibMkKernel_mk.h.