libmkkernel 9.0
Loading...
Searching...
No Matches
Modules | Data Structures | Typedefs
MkBufferStreamC_C_API

The MkBufferStreamC object known as bus or stream is a subclass of MkBufferC used for package-based-ioMore...

+ Collaboration diagram for MkBufferStreamC_C_API:

Modules

 MkBufferStreamC_TOR_C_API
 various functions to create and destroy a MkBufferStreamC
 
 MkBufferStreamC_Write_C_API
 various functions to write into a MkBufferStreamC
 
 MkBufferStreamC_Read_C_API
 various functions to 'read' data from a MkBufferStreamC
 
 MkBufferStreamC_Misc_C_API
 various functions to create and destroy a MkBufferStreamC
 
 MkBufferStreamC_Introspection_C_API
 Get information from the MkTypeS.
 
 MkBufferStreamC_Cast_C_API
 cast from defined and undefined instance to MkBufferStreamC
 

Data Structures

struct  MkBufferStreamS
 The ABSTRACT-CLASS MkBufferStreamS is used for package-based serialized IOMore...
 
struct  MkBufferStream16384S
 FINAL CLASS of MkBufferStreamS with focus on Package-IOMore...
 
struct  MkBufferStream256S
 FINAL CLASS of MkBufferStreamS with focus on Transaction-IOMore...
 
struct  MkBufferStream64S
 FINAL CLASS of MkBufferStreamS with focus on Small-Data-Io (internal usage) … More...
 
struct  MkBufferStream1024S
 FINAL CLASS of MkBufferStreamS with focus on Medium-Data-Io (default in META) … More...
 

Typedefs

typedef struct MkBufferStream16384S MkBufferStream16384R
 reference type of MkBufferStream16384S
 

MkBufferStreamC


typedef struct MkBufferStreamSMK_BUS
 class-shortcut for struct MkBufferStreamS *, all shortcut using the XX_YYY syntax (only for public API) …
 
typedef const struct MkBufferStreamSMK_BUSN
 class-shortcut for const struct MkBufferStreamS *, all const shortcut using the XX_YYYC syntax (only for public API) …
 
typedef struct MkBufferStreamS MK_BUSR
 reference-shortcut for struct MkBufferStreamS, all shortcut using the XX_YYYR syntax (only for public API) …
 

MkBufferStreamC type definition

typedef struct MkBufferStreamS MkBufferStreamCR
 instance-struct-reference same as struct MkBufferStreamS, useable in a class-macro as: class##R
 
typedef const struct MkBufferStreamS MkBufferStreamCNR
 const instance-struct-reference same as const struct MkBufferStreamS, useable in a class-macro as: class##R
 
#define MkBufferStreamC_T   (&MK_RT_REF._MkBufferStreamC_T)
 instance-type as specific-instance-type, useable in a class-macro as: class##_T
 
#define MkBufferStreamC_TT   (MkTYP(MkBufferStreamC_T))
 instance-type as common-instance-type, useable in a class-macro as: class##_TT
 
#define MkBufferStreamST   MkBufferStreamC_T
 instance-type as specific-instance-type
 
#define MkBufferStreamSTT   (MkTYP(MkBufferStreamST))
 instance-type as common-instance-type (cast from MkBufferStreamST into MkTypeS) …
 
#define MkBufferStreamC_type   MK_BUS
 same as MkBufferStreamS but useable in a class-macro as: class##_type
 
#define MkBufferStreamCT_X(instance)   ( (struct MkDefTypeS *) (MkOBJ_R(instance).type) )
 cast from an instance into the specific-instance-type
 
#define MkBufferStreamCTT_X(instance)   (MkOBJ_R(instance).type)
 cast from an instance into the common-instance-type
 
#define MkBufferStreamCT_TT(typ)   ( (struct MkDefTypeS *) (typ) )
 cast from an common-instance-type into an specific-instance-type
 
#define MkBufferStreamC_NS   MK
 map class to namespace …
 
#define MkBufferStreamCTT   MkBufferStreamCTT
 instance-type as common-instance-type for MkBufferStreamC in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)
 
#define MkBufferStreamCT   ( (struct MkDefTypeS *) MkBufferStreamCTT )
 instance-type as specific-instance-type for MkBufferStreamC in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)
 

MkBufferStream16384C type definition

typedef struct MkBufferStream16384S MkBufferStream16384CR
 instance-struct-reference same as struct MkBufferStream16384S, useable in a class-macro as: class##R
 
typedef const struct MkBufferStream16384S MkBufferStream16384CNR
 const instance-struct-reference same as const struct MkBufferStream16384S, useable in a class-macro as: class##R
 
#define MkBufferStream16384C_T   (&MK_RT_REF._MkBufferStream16384C_T)
 instance-type as specific-instance-type, useable in a class-macro as: class##_T
 
#define MkBufferStream16384C_TT   (MkTYP(MkBufferStream16384C_T))
 instance-type as common-instance-type, useable in a class-macro as: class##_TT
 
#define MkBufferStream16384ST   MkBufferStream16384C_T
 instance-type as specific-instance-type
 
#define MkBufferStream16384STT   (MkTYP(MkBufferStream16384ST))
 instance-type as common-instance-type (cast from MkBufferStream16384ST into MkTypeS) …
 
#define MkBufferStream16384CT_X(instance)   ( (struct MkDefTypeS *) (MkOBJ_R(instance).type) )
 cast from an instance into the specific-instance-type
 
#define MkBufferStream16384CTT_X(instance)   (MkOBJ_R(instance).type)
 cast from an instance into the common-instance-type
 
#define MkBufferStream16384CT_TT(typ)   ( (struct MkDefTypeS *) (typ) )
 cast from an common-instance-type into an specific-instance-type
 
#define MkBufferStream16384C_NS   MK
 map class to namespace …
 
#define MkBufferStream16384CTT   MkBufferStream16384CTT
 instance-type as common-instance-type for MkBufferStream16384C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)
 
#define MkBufferStream16384CT   ( (struct MkDefTypeS *) MkBufferStream16384CTT )
 instance-type as specific-instance-type for MkBufferStream16384C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)
 

MkBufferStream256C type definition

typedef struct MkBufferStream256S MkBufferStream256CR
 instance-struct-reference same as struct MkBufferStream256S, useable in a class-macro as: class##R
 
typedef const struct MkBufferStream256S MkBufferStream256CNR
 const instance-struct-reference same as const struct MkBufferStream256S, useable in a class-macro as: class##R
 
#define MkBufferStream256C_T   (&MK_RT_REF._MkBufferStream256C_T)
 instance-type as specific-instance-type, useable in a class-macro as: class##_T
 
#define MkBufferStream256C_TT   (MkTYP(MkBufferStream256C_T))
 instance-type as common-instance-type, useable in a class-macro as: class##_TT
 
#define MkBufferStream256ST   MkBufferStream256C_T
 instance-type as specific-instance-type
 
#define MkBufferStream256STT   (MkTYP(MkBufferStream256ST))
 instance-type as common-instance-type (cast from MkBufferStream256ST into MkTypeS) …
 
#define MkBufferStream256CT_X(instance)   ( (struct MkDefTypeS *) (MkOBJ_R(instance).type) )
 cast from an instance into the specific-instance-type
 
#define MkBufferStream256CTT_X(instance)   (MkOBJ_R(instance).type)
 cast from an instance into the common-instance-type
 
#define MkBufferStream256CT_TT(typ)   ( (struct MkDefTypeS *) (typ) )
 cast from an common-instance-type into an specific-instance-type
 
#define MkBufferStream256C_NS   MK
 map class to namespace …
 
#define MkBufferStream256CTT   MkBufferStream256CTT
 instance-type as common-instance-type for MkBufferStream256C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)
 
#define MkBufferStream256CT   ( (struct MkDefTypeS *) MkBufferStream256CTT )
 instance-type as specific-instance-type for MkBufferStream256C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)
 

MkBufferStream64C type definition

typedef struct MkBufferStream64S MkBufferStream64CR
 instance-struct-reference same as struct MkBufferStream64S, useable in a class-macro as: class##R
 
typedef const struct MkBufferStream64S MkBufferStream64CNR
 const instance-struct-reference same as const struct MkBufferStream64S, useable in a class-macro as: class##R
 
#define MkBufferStream64C_T   (&MK_RT_REF._MkBufferStream64C_T)
 instance-type as specific-instance-type, useable in a class-macro as: class##_T
 
#define MkBufferStream64C_TT   (MkTYP(MkBufferStream64C_T))
 instance-type as common-instance-type, useable in a class-macro as: class##_TT
 
#define MkBufferStream64ST   MkBufferStream64C_T
 instance-type as specific-instance-type
 
#define MkBufferStream64STT   (MkTYP(MkBufferStream64ST))
 instance-type as common-instance-type (cast from MkBufferStream64ST into MkTypeS) …
 
#define MkBufferStream64CT_X(instance)   ( (struct MkDefTypeS *) (MkOBJ_R(instance).type) )
 cast from an instance into the specific-instance-type
 
#define MkBufferStream64CTT_X(instance)   (MkOBJ_R(instance).type)
 cast from an instance into the common-instance-type
 
#define MkBufferStream64CT_TT(typ)   ( (struct MkDefTypeS *) (typ) )
 cast from an common-instance-type into an specific-instance-type
 
#define MkBufferStream64C_NS   MK
 map class to namespace …
 
#define MkBufferStream64CTT   MkBufferStream64CTT
 instance-type as common-instance-type for MkBufferStream64C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)
 
#define MkBufferStream64CT   ( (struct MkDefTypeS *) MkBufferStream64CTT )
 instance-type as specific-instance-type for MkBufferStream64C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)
 

MkBufferStream1024C type definition

typedef struct MkBufferStream1024S MkBufferStream1024CR
 instance-struct-reference same as struct MkBufferStream1024S, useable in a class-macro as: class##R
 
typedef const struct MkBufferStream1024S MkBufferStream1024CNR
 const instance-struct-reference same as const struct MkBufferStream1024S, useable in a class-macro as: class##R
 
#define MkBufferStream1024C_T   (&MK_RT_REF._MkBufferStream1024C_T)
 instance-type as specific-instance-type, useable in a class-macro as: class##_T
 
#define MkBufferStream1024C_TT   (MkTYP(MkBufferStream1024C_T))
 instance-type as common-instance-type, useable in a class-macro as: class##_TT
 
#define MkBufferStream1024ST   MkBufferStream1024C_T
 instance-type as specific-instance-type
 
#define MkBufferStream1024STT   (MkTYP(MkBufferStream1024ST))
 instance-type as common-instance-type (cast from MkBufferStream1024ST into MkTypeS) …
 
#define MkBufferStream1024CT_X(instance)   ( (struct MkDefTypeS *) (MkOBJ_R(instance).type) )
 cast from an instance into the specific-instance-type
 
#define MkBufferStream1024CTT_X(instance)   (MkOBJ_R(instance).type)
 cast from an instance into the common-instance-type
 
#define MkBufferStream1024CT_TT(typ)   ( (struct MkDefTypeS *) (typ) )
 cast from an common-instance-type into an specific-instance-type
 
#define MkBufferStream1024C_NS   MK
 map class to namespace …
 
#define MkBufferStream1024CTT   MkBufferStream1024CTT
 instance-type as common-instance-type for MkBufferStream1024C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)
 
#define MkBufferStream1024CT   ( (struct MkDefTypeS *) MkBufferStream1024CTT )
 instance-type as specific-instance-type for MkBufferStream1024C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)
 

MkBufferStreamC signature check

bool MkBusCheck (MK_MNGN mng)
 check MkBufferStreamS%->Mk{ObjectS::signature} …
 
#define MkBufferStreamC_Check(mng)   MkBusCheck(mng)
 

MkBufferStreamC signature define

#define MkBufferStreamC_SIGNATURE   (MkBufferC_SIGNATURE ^ (4u<<6))
 
#define MkBufferStreamC_MASK   (((1u<<26)-1)<<6)
 

MkBufferStreamC cast to superclass

#define MkBufferStreamC_X2bus(x)   (x)
 
#define MkBufferStreamC_X2buf(x)   MkBUF(x)
 
#define MkBufferStreamC_X2obj(x)   MkOBJ(x)
 

MkBufferStream16384C signature define

#define MkBufferStream16384C_SIGNATURE   (MkBufferStreamC_SIGNATURE ^ (1u<<3))
 
#define MkBufferStream16384C_MASK   (((1u<<29)-1)<<3)
 

MkBufferStream16384C cast to superclass

#define MkBufferStream16384C_X2bus(x)   MkBUS(x)
 
#define MkBufferStream16384C_X2buf(x)   MkBUF(x)
 
#define MkBufferStream16384C_X2obj(x)   MkOBJ(x)
 

MkBufferStream256C signature define

#define MkBufferStream256C_SIGNATURE   (MkBufferStreamC_SIGNATURE ^ (2u<<3))
 
#define MkBufferStream256C_MASK   (((1u<<29)-1)<<3)
 

MkBufferStream256C cast to superclass

#define MkBufferStream256C_X2bus(x)   MkBUS(x)
 
#define MkBufferStream256C_X2buf(x)   MkBUF(x)
 
#define MkBufferStream256C_X2obj(x)   MkOBJ(x)
 

MkBufferStream64C signature define

#define MkBufferStream64C_SIGNATURE   (MkBufferStreamC_SIGNATURE ^ (3u<<3))
 
#define MkBufferStream64C_MASK   (((1u<<29)-1)<<3)
 

MkBufferStream64C cast to superclass

#define MkBufferStream64C_X2bus(x)   MkBUS(x)
 
#define MkBufferStream64C_X2buf(x)   MkBUF(x)
 
#define MkBufferStream64C_X2obj(x)   MkOBJ(x)
 

MkBufferStream1024C signature define

#define MkBufferStream1024C_SIGNATURE   (MkBufferStreamC_SIGNATURE ^ (4u<<3))
 
#define MkBufferStream1024C_MASK   (((1u<<29)-1)<<3)
 

MkBufferStream1024C cast to superclass

#define MkBufferStream1024C_X2bus(x)   MkBUS(x)
 
#define MkBufferStream1024C_X2buf(x)   MkBUF(x)
 
#define MkBufferStream1024C_X2obj(x)   MkOBJ(x)
 

Detailed Description

The MkBufferStreamC object known as bus or stream is a subclass of MkBufferC used for package-based-io

The MkBufferStreamC is required to send data via a socket (pipe,tcp,uds,...). The data is organized as a continuous binary-array. Each item is preceded by type and, if applicable, size information.

‍See also: MkBufferC, MkBufferListC

C-Kernel-Details

The ABSTRACT-CLASS MkBufferStreamS has the private-parent-class MkBufferS and is used to store typed-data in a continuous binary-array at MkBufferS::storage.

private-parent-class mean:
MkBufferStreamS use the features of MkBufferS but does not expose the API

In addition to the binary-array the MkBufferStreamS also include features like:

  1. the encoding: MkBufferStreamS::endian_is_wrong
  2. the total number of items: MkBufferStreamS::numItems
  3. current position pointer: MkBufferStreamS::cur
  4. support for recursion: embedding a MkBufferStreamS into a MkBufferStreamS

The MkBufferStreamS inherits the following features from MkBufferS:

  1. the storage: MkBufferS::storage
  2. the type: MkBufferS::type
  3. the ILS: MkBufferS::ils

The ABSTRACT-CLASS MkBufferStreamS is missing the ILS-storage, the FINAL-CLASSES are:

MkBufferStream16384S, MkBufferStream256S, MkBufferStream64S and MkBufferStream1024S

See also
MkBufferC, MkBufferListC

Macro Definition Documentation

◆ MkBufferStream1024C_MASK

#define MkBufferStream1024C_MASK   (((1u<<29)-1)<<3)

Definition at line 8176 of file kernel_mk.h.

◆ MkBufferStream1024C_NS

#define MkBufferStream1024C_NS   MK

map class to namespace …

Definition at line 8214 of file kernel_mk.h.

◆ MkBufferStream1024C_SIGNATURE

#define MkBufferStream1024C_SIGNATURE   (MkBufferStreamC_SIGNATURE ^ (4u<<3))

Definition at line 8175 of file kernel_mk.h.

◆ MkBufferStream1024C_T

#define MkBufferStream1024C_T   (&MK_RT_REF._MkBufferStream1024C_T)

instance-type as specific-instance-type, useable in a class-macro as: class##_T

Definition at line 8200 of file kernel_mk.h.

◆ MkBufferStream1024C_TT

#define MkBufferStream1024C_TT   (MkTYP(MkBufferStream1024C_T))

instance-type as common-instance-type, useable in a class-macro as: class##_TT

Definition at line 8202 of file kernel_mk.h.

◆ MkBufferStream1024C_X2buf

#define MkBufferStream1024C_X2buf (   x)    MkBUF(x)

Definition at line 8185 of file kernel_mk.h.

◆ MkBufferStream1024C_X2bus

#define MkBufferStream1024C_X2bus (   x)    MkBUS(x)

Definition at line 8184 of file kernel_mk.h.

◆ MkBufferStream1024C_X2obj

#define MkBufferStream1024C_X2obj (   x)    MkOBJ(x)

Definition at line 8186 of file kernel_mk.h.

◆ MkBufferStream1024CT

#define MkBufferStream1024CT   ( (struct MkDefTypeS *) MkBufferStream1024CTT )

instance-type as specific-instance-type for MkBufferStream1024C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)

Definition at line 8218 of file kernel_mk.h.

◆ MkBufferStream1024CT_TT

#define MkBufferStream1024CT_TT (   typ)    ( (struct MkDefTypeS *) (typ) )

cast from an common-instance-type into an specific-instance-type

Definition at line 8212 of file kernel_mk.h.

◆ MkBufferStream1024CT_X

#define MkBufferStream1024CT_X (   instance)    ( (struct MkDefTypeS *) (MkOBJ_R(instance).type) )

cast from an instance into the specific-instance-type

Definition at line 8208 of file kernel_mk.h.

◆ MkBufferStream1024CTT

#define MkBufferStream1024CTT   MkBufferStream1024CTT

instance-type as common-instance-type for MkBufferStream1024C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)

Definition at line 8216 of file kernel_mk.h.

◆ MkBufferStream1024CTT_X

#define MkBufferStream1024CTT_X (   instance)    (MkOBJ_R(instance).type)

cast from an instance into the common-instance-type

Definition at line 8210 of file kernel_mk.h.

◆ MkBufferStream1024ST

#define MkBufferStream1024ST   MkBufferStream1024C_T

instance-type as specific-instance-type

Definition at line 8204 of file kernel_mk.h.

◆ MkBufferStream1024STT

#define MkBufferStream1024STT   (MkTYP(MkBufferStream1024ST))

instance-type as common-instance-type (cast from MkBufferStream1024ST into MkTypeS) …

Definition at line 8206 of file kernel_mk.h.

◆ MkBufferStream16384C_MASK

#define MkBufferStream16384C_MASK   (((1u<<29)-1)<<3)

Definition at line 7959 of file kernel_mk.h.

◆ MkBufferStream16384C_NS

#define MkBufferStream16384C_NS   MK

map class to namespace …

Definition at line 7997 of file kernel_mk.h.

◆ MkBufferStream16384C_SIGNATURE

#define MkBufferStream16384C_SIGNATURE   (MkBufferStreamC_SIGNATURE ^ (1u<<3))

Definition at line 7958 of file kernel_mk.h.

◆ MkBufferStream16384C_T

#define MkBufferStream16384C_T   (&MK_RT_REF._MkBufferStream16384C_T)

instance-type as specific-instance-type, useable in a class-macro as: class##_T

Definition at line 7983 of file kernel_mk.h.

◆ MkBufferStream16384C_TT

#define MkBufferStream16384C_TT   (MkTYP(MkBufferStream16384C_T))

instance-type as common-instance-type, useable in a class-macro as: class##_TT

Definition at line 7985 of file kernel_mk.h.

◆ MkBufferStream16384C_X2buf

#define MkBufferStream16384C_X2buf (   x)    MkBUF(x)

Definition at line 7968 of file kernel_mk.h.

◆ MkBufferStream16384C_X2bus

#define MkBufferStream16384C_X2bus (   x)    MkBUS(x)

Definition at line 7967 of file kernel_mk.h.

◆ MkBufferStream16384C_X2obj

#define MkBufferStream16384C_X2obj (   x)    MkOBJ(x)

Definition at line 7969 of file kernel_mk.h.

◆ MkBufferStream16384CT

#define MkBufferStream16384CT   ( (struct MkDefTypeS *) MkBufferStream16384CTT )

instance-type as specific-instance-type for MkBufferStream16384C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)

Definition at line 8001 of file kernel_mk.h.

◆ MkBufferStream16384CT_TT

#define MkBufferStream16384CT_TT (   typ)    ( (struct MkDefTypeS *) (typ) )

cast from an common-instance-type into an specific-instance-type

Definition at line 7995 of file kernel_mk.h.

◆ MkBufferStream16384CT_X

#define MkBufferStream16384CT_X (   instance)    ( (struct MkDefTypeS *) (MkOBJ_R(instance).type) )

cast from an instance into the specific-instance-type

Definition at line 7991 of file kernel_mk.h.

◆ MkBufferStream16384CTT

#define MkBufferStream16384CTT   MkBufferStream16384CTT

instance-type as common-instance-type for MkBufferStream16384C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)

Definition at line 7999 of file kernel_mk.h.

◆ MkBufferStream16384CTT_X

#define MkBufferStream16384CTT_X (   instance)    (MkOBJ_R(instance).type)

cast from an instance into the common-instance-type

Definition at line 7993 of file kernel_mk.h.

◆ MkBufferStream16384ST

#define MkBufferStream16384ST   MkBufferStream16384C_T

instance-type as specific-instance-type

Definition at line 7987 of file kernel_mk.h.

◆ MkBufferStream16384STT

#define MkBufferStream16384STT   (MkTYP(MkBufferStream16384ST))

instance-type as common-instance-type (cast from MkBufferStream16384ST into MkTypeS) …

Definition at line 7989 of file kernel_mk.h.

◆ MkBufferStream256C_MASK

#define MkBufferStream256C_MASK   (((1u<<29)-1)<<3)

Definition at line 8034 of file kernel_mk.h.

◆ MkBufferStream256C_NS

#define MkBufferStream256C_NS   MK

map class to namespace …

Definition at line 8072 of file kernel_mk.h.

◆ MkBufferStream256C_SIGNATURE

#define MkBufferStream256C_SIGNATURE   (MkBufferStreamC_SIGNATURE ^ (2u<<3))

Definition at line 8033 of file kernel_mk.h.

◆ MkBufferStream256C_T

#define MkBufferStream256C_T   (&MK_RT_REF._MkBufferStream256C_T)

instance-type as specific-instance-type, useable in a class-macro as: class##_T

Definition at line 8058 of file kernel_mk.h.

◆ MkBufferStream256C_TT

#define MkBufferStream256C_TT   (MkTYP(MkBufferStream256C_T))

instance-type as common-instance-type, useable in a class-macro as: class##_TT

Definition at line 8060 of file kernel_mk.h.

◆ MkBufferStream256C_X2buf

#define MkBufferStream256C_X2buf (   x)    MkBUF(x)

Definition at line 8043 of file kernel_mk.h.

◆ MkBufferStream256C_X2bus

#define MkBufferStream256C_X2bus (   x)    MkBUS(x)

Definition at line 8042 of file kernel_mk.h.

◆ MkBufferStream256C_X2obj

#define MkBufferStream256C_X2obj (   x)    MkOBJ(x)

Definition at line 8044 of file kernel_mk.h.

◆ MkBufferStream256CT

#define MkBufferStream256CT   ( (struct MkDefTypeS *) MkBufferStream256CTT )

instance-type as specific-instance-type for MkBufferStream256C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)

Definition at line 8076 of file kernel_mk.h.

◆ MkBufferStream256CT_TT

#define MkBufferStream256CT_TT (   typ)    ( (struct MkDefTypeS *) (typ) )

cast from an common-instance-type into an specific-instance-type

Definition at line 8070 of file kernel_mk.h.

◆ MkBufferStream256CT_X

#define MkBufferStream256CT_X (   instance)    ( (struct MkDefTypeS *) (MkOBJ_R(instance).type) )

cast from an instance into the specific-instance-type

Definition at line 8066 of file kernel_mk.h.

◆ MkBufferStream256CTT

#define MkBufferStream256CTT   MkBufferStream256CTT

instance-type as common-instance-type for MkBufferStream256C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)

Definition at line 8074 of file kernel_mk.h.

◆ MkBufferStream256CTT_X

#define MkBufferStream256CTT_X (   instance)    (MkOBJ_R(instance).type)

cast from an instance into the common-instance-type

Definition at line 8068 of file kernel_mk.h.

◆ MkBufferStream256ST

#define MkBufferStream256ST   MkBufferStream256C_T

instance-type as specific-instance-type

Definition at line 8062 of file kernel_mk.h.

◆ MkBufferStream256STT

#define MkBufferStream256STT   (MkTYP(MkBufferStream256ST))

instance-type as common-instance-type (cast from MkBufferStream256ST into MkTypeS) …

Definition at line 8064 of file kernel_mk.h.

◆ MkBufferStream64C_MASK

#define MkBufferStream64C_MASK   (((1u<<29)-1)<<3)

Definition at line 8105 of file kernel_mk.h.

◆ MkBufferStream64C_NS

#define MkBufferStream64C_NS   MK

map class to namespace …

Definition at line 8143 of file kernel_mk.h.

◆ MkBufferStream64C_SIGNATURE

#define MkBufferStream64C_SIGNATURE   (MkBufferStreamC_SIGNATURE ^ (3u<<3))

Definition at line 8104 of file kernel_mk.h.

◆ MkBufferStream64C_T

#define MkBufferStream64C_T   (&MK_RT_REF._MkBufferStream64C_T)

instance-type as specific-instance-type, useable in a class-macro as: class##_T

Definition at line 8129 of file kernel_mk.h.

◆ MkBufferStream64C_TT

#define MkBufferStream64C_TT   (MkTYP(MkBufferStream64C_T))

instance-type as common-instance-type, useable in a class-macro as: class##_TT

Definition at line 8131 of file kernel_mk.h.

◆ MkBufferStream64C_X2buf

#define MkBufferStream64C_X2buf (   x)    MkBUF(x)

Definition at line 8114 of file kernel_mk.h.

◆ MkBufferStream64C_X2bus

#define MkBufferStream64C_X2bus (   x)    MkBUS(x)

Definition at line 8113 of file kernel_mk.h.

◆ MkBufferStream64C_X2obj

#define MkBufferStream64C_X2obj (   x)    MkOBJ(x)

Definition at line 8115 of file kernel_mk.h.

◆ MkBufferStream64CT

#define MkBufferStream64CT   ( (struct MkDefTypeS *) MkBufferStream64CTT )

instance-type as specific-instance-type for MkBufferStream64C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)

Definition at line 8147 of file kernel_mk.h.

◆ MkBufferStream64CT_TT

#define MkBufferStream64CT_TT (   typ)    ( (struct MkDefTypeS *) (typ) )

cast from an common-instance-type into an specific-instance-type

Definition at line 8141 of file kernel_mk.h.

◆ MkBufferStream64CT_X

#define MkBufferStream64CT_X (   instance)    ( (struct MkDefTypeS *) (MkOBJ_R(instance).type) )

cast from an instance into the specific-instance-type

Definition at line 8137 of file kernel_mk.h.

◆ MkBufferStream64CTT

#define MkBufferStream64CTT   MkBufferStream64CTT

instance-type as common-instance-type for MkBufferStream64C in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)

Definition at line 8145 of file kernel_mk.h.

◆ MkBufferStream64CTT_X

#define MkBufferStream64CTT_X (   instance)    (MkOBJ_R(instance).type)

cast from an instance into the common-instance-type

Definition at line 8139 of file kernel_mk.h.

◆ MkBufferStream64ST

#define MkBufferStream64ST   MkBufferStream64C_T

instance-type as specific-instance-type

Definition at line 8133 of file kernel_mk.h.

◆ MkBufferStream64STT

#define MkBufferStream64STT   (MkTYP(MkBufferStream64ST))

instance-type as common-instance-type (cast from MkBufferStream64ST into MkTypeS) …

Definition at line 8135 of file kernel_mk.h.

◆ MkBufferStreamC_Check

#define MkBufferStreamC_Check (   mng)    MkBusCheck(mng)

Definition at line 7895 of file kernel_mk.h.

◆ MkBufferStreamC_MASK

#define MkBufferStreamC_MASK   (((1u<<26)-1)<<6)

Definition at line 7831 of file kernel_mk.h.

◆ MkBufferStreamC_NS

#define MkBufferStreamC_NS   MK

map class to namespace …

Definition at line 7871 of file kernel_mk.h.

◆ MkBufferStreamC_SIGNATURE

#define MkBufferStreamC_SIGNATURE   (MkBufferC_SIGNATURE ^ (4u<<6))

Definition at line 7830 of file kernel_mk.h.

◆ MkBufferStreamC_T

#define MkBufferStreamC_T   (&MK_RT_REF._MkBufferStreamC_T)

instance-type as specific-instance-type, useable in a class-macro as: class##_T

Definition at line 7855 of file kernel_mk.h.

◆ MkBufferStreamC_TT

#define MkBufferStreamC_TT   (MkTYP(MkBufferStreamC_T))

instance-type as common-instance-type, useable in a class-macro as: class##_TT

Definition at line 7857 of file kernel_mk.h.

◆ MkBufferStreamC_type

#define MkBufferStreamC_type   MK_BUS

same as MkBufferStreamS but useable in a class-macro as: class##_type

Definition at line 7863 of file kernel_mk.h.

◆ MkBufferStreamC_X2buf

#define MkBufferStreamC_X2buf (   x)    MkBUF(x)

Definition at line 7840 of file kernel_mk.h.

◆ MkBufferStreamC_X2bus

#define MkBufferStreamC_X2bus (   x)    (x)

Definition at line 7839 of file kernel_mk.h.

◆ MkBufferStreamC_X2obj

#define MkBufferStreamC_X2obj (   x)    MkOBJ(x)

Definition at line 7841 of file kernel_mk.h.

◆ MkBufferStreamCT

#define MkBufferStreamCT   ( (struct MkDefTypeS *) MkBufferStreamCTT )

instance-type as specific-instance-type for MkBufferStreamC in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)

Definition at line 7875 of file kernel_mk.h.

◆ MkBufferStreamCT_TT

#define MkBufferStreamCT_TT (   typ)    ( (struct MkDefTypeS *) (typ) )

cast from an common-instance-type into an specific-instance-type

Definition at line 7869 of file kernel_mk.h.

◆ MkBufferStreamCT_X

#define MkBufferStreamCT_X (   instance)    ( (struct MkDefTypeS *) (MkOBJ_R(instance).type) )

cast from an instance into the specific-instance-type

Definition at line 7865 of file kernel_mk.h.

◆ MkBufferStreamCTT

#define MkBufferStreamCTT   MkBufferStreamCTT

instance-type as common-instance-type for MkBufferStreamC in the target-programming-language (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO)

Definition at line 7873 of file kernel_mk.h.

◆ MkBufferStreamCTT_X

#define MkBufferStreamCTT_X (   instance)    (MkOBJ_R(instance).type)

cast from an instance into the common-instance-type

Definition at line 7867 of file kernel_mk.h.

◆ MkBufferStreamST

#define MkBufferStreamST   MkBufferStreamC_T

instance-type as specific-instance-type

Definition at line 7859 of file kernel_mk.h.

◆ MkBufferStreamSTT

#define MkBufferStreamSTT   (MkTYP(MkBufferStreamST))

instance-type as common-instance-type (cast from MkBufferStreamST into MkTypeS) …

Definition at line 7861 of file kernel_mk.h.

Typedef Documentation

◆ MK_BUS

typedef struct MkBufferStreamS* MK_BUS

class-shortcut for struct MkBufferStreamS *, all shortcut using the XX_YYY syntax (only for public API) …

Definition at line 2941 of file kernel_mk.h.

◆ MK_BUSN

typedef const struct MkBufferStreamS* MK_BUSN

class-shortcut for const struct MkBufferStreamS *, all const shortcut using the XX_YYYC syntax (only for public API) …

Definition at line 2944 of file kernel_mk.h.

◆ MK_BUSR

typedef struct MkBufferStreamS MK_BUSR

reference-shortcut for struct MkBufferStreamS, all shortcut using the XX_YYYR syntax (only for public API) …

Definition at line 2947 of file kernel_mk.h.

◆ MkBufferStream1024CNR

const instance-struct-reference same as const struct MkBufferStream1024S, useable in a class-macro as: class##R

Definition at line 8198 of file kernel_mk.h.

◆ MkBufferStream1024CR

instance-struct-reference same as struct MkBufferStream1024S, useable in a class-macro as: class##R

Definition at line 8196 of file kernel_mk.h.

◆ MkBufferStream16384CNR

const instance-struct-reference same as const struct MkBufferStream16384S, useable in a class-macro as: class##R

Definition at line 7981 of file kernel_mk.h.

◆ MkBufferStream16384CR

instance-struct-reference same as struct MkBufferStream16384S, useable in a class-macro as: class##R

Definition at line 7979 of file kernel_mk.h.

◆ MkBufferStream16384R

reference type of MkBufferStream16384S

Definition at line 8009 of file kernel_mk.h.

◆ MkBufferStream256CNR

const instance-struct-reference same as const struct MkBufferStream256S, useable in a class-macro as: class##R

Definition at line 8056 of file kernel_mk.h.

◆ MkBufferStream256CR

instance-struct-reference same as struct MkBufferStream256S, useable in a class-macro as: class##R

Definition at line 8054 of file kernel_mk.h.

◆ MkBufferStream64CNR

typedef const struct MkBufferStream64S MkBufferStream64CNR

const instance-struct-reference same as const struct MkBufferStream64S, useable in a class-macro as: class##R

Definition at line 8127 of file kernel_mk.h.

◆ MkBufferStream64CR

instance-struct-reference same as struct MkBufferStream64S, useable in a class-macro as: class##R

Definition at line 8125 of file kernel_mk.h.

◆ MkBufferStreamCNR

typedef const struct MkBufferStreamS MkBufferStreamCNR

const instance-struct-reference same as const struct MkBufferStreamS, useable in a class-macro as: class##R

Definition at line 7853 of file kernel_mk.h.

◆ MkBufferStreamCR

instance-struct-reference same as struct MkBufferStreamS, useable in a class-macro as: class##R

Definition at line 7851 of file kernel_mk.h.

Function Documentation

◆ MkBusCheck()

bool MkBusCheck ( MK_MNGN  mng)
inline

check MkBufferStreamS%->Mk{ObjectS::signature} …

Returns
TRUE on valid bus and FALSE an invalid bus

Definition at line 7890 of file kernel_mk.h.

+ Here is the caller graph for this function: