theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - jv - cc
Loading...
Searching...
No Matches
MkTypeS Struct Reference

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 type name like MkBufferC
 
MK_SIG objsig
 public st signatur of the type-instance
 
MK_SIG objmask
 public object signatur-mask of the type-instance
 
bool noSelf
 do NOT use the self feature -> used by MqFactoryS
 
MK_TYP 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 MQ, example RUBY
 
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 instances
 linked list of instances belong to type
 

Detailed Description

MkTypeS - class known as typ or type is used as class-base for a Managed-Object-Technology (MOT) type …

See also
MkTypeC_C_API

Definition at line 3580 of file LibMkKernel_mk.h.

Field Documentation

◆ base

MK_TYP MkTypeS::base

base type

Definition at line 3595 of file LibMkKernel_mk.h.

◆ constructor

MkConstructorF MkTypeS::constructor

create an object

Definition at line 3605 of file LibMkKernel_mk.h.

◆ copy

MkCopyF MkTypeS::copy

"copy"

Definition at line 3610 of file LibMkKernel_mk.h.

◆ delCbCnt

MK_I32 MkTypeS::delCbCnt

number of callback registered for this type

Definition at line 3617 of file LibMkKernel_mk.h.

◆ destructor

MkDestructorF MkTypeS::destructor

delete an object

Definition at line 3606 of file LibMkKernel_mk.h.

◆ dup

MkDupF MkTypeS::dup

"dup" constructor

Definition at line 3607 of file LibMkKernel_mk.h.

◆ dup2

MkDup2F MkTypeS::dup2

"dup" constructor with "ident" initialisation

Definition at line 3608 of file LibMkKernel_mk.h.

◆ fLogFormat

MkLogFormatF MkTypeS::fLogFormat

format the log message of an object, used in "sLogVL_O"

Definition at line 3615 of file LibMkKernel_mk.h.

◆ instances

MK_OBJ MkTypeS::instances

linked list of instances belong to type

Definition at line 3620 of file LibMkKernel_mk.h.

◆ log

MkLogF MkTypeS::log

"log" object data to MkLogFileC (default: stderr)

Definition at line 3604 of file LibMkKernel_mk.h.

◆ merge

MkMergeF MkTypeS::merge

"merge" constructor

Definition at line 3609 of file LibMkKernel_mk.h.

◆ noSelf

bool MkTypeS::noSelf

do NOT use the self feature -> used by MqFactoryS

Definition at line 3594 of file LibMkKernel_mk.h.

◆ obj

struct MkObjectS MkTypeS::obj

Definition at line 3584 of file LibMkKernel_mk.h.

◆ objalloc

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

  • pointer -> use this pointer as external memory allocator
  • NULL -> use default MkSysCalloc MkSysFree
  • 0x1 -> use the MkTypeAllocpAllocCreatepAllocMemGet to use predefined storage with input from alloc_data attribute
Attention
, The alloc_createF HAVE TO set the MkObjectS::obj_protectisLocal to the value true (default: false) if the memory is static and must not be freed.

Definition at line 3619 of file LibMkKernel_mk.h.

◆ objmask

MK_SIG MkTypeS::objmask

public object signatur-mask of the type-instance

Definition at line 3593 of file LibMkKernel_mk.h.

◆ objsig

MK_SIG MkTypeS::objsig

public st signatur of the type-instance

Definition at line 3592 of file LibMkKernel_mk.h.

◆ objsize

size_t MkTypeS::objsize

the size of the new object created with this type, used in malloc

Definition at line 3596 of file LibMkKernel_mk.h.

◆ reset

MkResetF MkTypeS::reset

"reset" the object to the "initial" state

Definition at line 3611 of file LibMkKernel_mk.h.

◆ selfCreate

MkSelfCreateF MkTypeS::selfCreate

"create" the "self" pointer

Definition at line 3612 of file LibMkKernel_mk.h.

◆ selfDelete

MkSelfDeleteF MkTypeS::selfDelete

"delete" the "self" pointer

Definition at line 3613 of file LibMkKernel_mk.h.

◆ selfUnlink

MkSelfUnlinkF MkTypeS::selfUnlink

"unlink" the "self" pointer from MQ, example RUBY

Definition at line 3614 of file LibMkKernel_mk.h.

◆ [union]

union { ... } MkTypeS::super

◆ toString

MkToStringF MkTypeS::toString

get the string representation

Definition at line 3603 of file LibMkKernel_mk.h.

◆ type_id

MK_I32 MkTypeS::type_id

default "0" but "MkFactoryTypeAdd" need more

Definition at line 3599 of file LibMkKernel_mk.h.

◆ type_init

MkTypeInitF MkTypeS::type_init

initializer for new type

Definition at line 3600 of file LibMkKernel_mk.h.

◆ type_name

MK_STRB MkTypeS::type_name[MkTypeS_name_size]

public type name like MkBufferC

Definition at line 3591 of file LibMkKernel_mk.h.

◆ typsize

size_t MkTypeS::typsize

the size of the this type self, used in MkTypeDup2

Definition at line 3597 of file LibMkKernel_mk.h.


The documentation for this struct was generated from the following file: