MkBufferStreamC - define the class … More...
Collaboration diagram for MkBufferStreamC_Class_C_API:Topics | |
| MkBufferStreamC_Class_Define_C_API | |
| MkBufferStreamC - low level definition, access and cast … | |
Typedefs | |
| typedef struct MkBufferStreamS * | libmkkernel::MK_BUS |
class-shortcut for struct MkBufferStreamS *, all shortcut using the XX_YYY syntax (only for public API) … | |
| typedef const struct MkBufferStreamS * | libmkkernel::MK_BUSN |
class-shortcut for const struct MkBufferStreamS *, all const shortcut using the XX_YYYC syntax (only for public API) … | |
| typedef struct MkBufferStreamS | libmkkernel::MK_BUSR |
reference-shortcut for struct MkBufferStreamS, all shortcut using the XX_YYYR syntax (only for public API) … | |
MkBufferStreamC - Export - inline - interact with an external software | |
| static MK_HDL | libmkkernel::MkBufferStreamHandleGet_RT (MK_RT mkrt, MK_BUS const bus) |
| Handle-Get-Slot - returns a export-hdl to the MkBufferStreamC useable for external storage | |
| static MK_BUS | libmkkernel::MkBufferStreamHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl) |
Handle-Resolve-Slot - return a MkBufferStreamC from netHdl or MK_NULL if invalid… | |
| #define | MkBufferStreamHandleResolve_e(netHdl) |
| wrapper for MkBufferStreamHandleResolve with error-handline | |
MkBufferStreamC - Misc - function - unspecified functions to perform different tasks | |
| static MK_BUS | libmkkernel::MkBufferStreamGetNull (void) |
Null-Slot - return a MkBufferStreamC typed NULL instance … | |
MkBufferStreamC - Introspection - inline - access to all instances created by class starting with the last one | |
| static MK_BUS | libmkkernel::MkBufferStreamInstances_RT (MK_RT mkrt) |
| get head-instance from linked-list of MkBufferStreamS type … | |
| static MK_BUS | libmkkernel::MkBufferStreamNext (MK_BUS const bus) |
| get next instance from linked-list of MkBufferStreamS type | |
| static MK_BUS | libmkkernel::MkBufferStreamPrev (MK_BUS const bus) |
| get previous instance from linked-list of MkBufferStreamS type | |
MkBufferStreamC - Export - overload | |
| #define | MkBufferStreamHandleResolve_NULL(...) |
| #define | MkBufferStreamHandleResolve(...) |
| #define | MkBufferStreamHandleGet_NULL(...) |
| #define | MkBufferStreamHandleGet(...) |
MkBufferStreamC - Introspection - overload | |
| #define | MkBufferStreamInstances_NULL() |
| #define | MkBufferStreamInstances() |
MkBufferStreamC - define the class …
| #define MkBufferStreamHandleGet | ( | ... | ) |
Definition at line 664 of file kernel_overload_mk.h.
| #define MkBufferStreamHandleGet_NULL | ( | ... | ) |
Definition at line 663 of file kernel_overload_mk.h.
| #define MkBufferStreamHandleResolve | ( | ... | ) |
Definition at line 660 of file kernel_overload_mk.h.
| #define MkBufferStreamHandleResolve_e | ( | netHdl | ) |
wrapper for MkBufferStreamHandleResolve with error-handline
| [in] | netHdl | The handle previously returned by MkObjectHandleGet. |
MK_NULL with an error set.0 than MK_NULL is returned and the upper-code decide how to deal with it.MK_NULL if the netHdl is invalid or the underlying object has already been deleted.MK_NULL is returned than an error-message is created and a jump to the label error is done.Definition at line 7810 of file LibMkKernel_mk.h.
| #define MkBufferStreamHandleResolve_NULL | ( | ... | ) |
Definition at line 659 of file kernel_overload_mk.h.
| #define MkBufferStreamInstances | ( | ) |
Definition at line 675 of file kernel_overload_mk.h.
| #define MkBufferStreamInstances_NULL | ( | ) |
Definition at line 674 of file kernel_overload_mk.h.
| typedef struct MkBufferStreamS* libmkkernel::MK_BUS |
class-shortcut for struct MkBufferStreamS *, all shortcut using the XX_YYY syntax (only for public API) …
Definition at line 1534 of file LibMkKernel_mk.h.
| typedef const struct MkBufferStreamS* libmkkernel::MK_BUSN |
class-shortcut for const struct MkBufferStreamS *, all const shortcut using the XX_YYYC syntax (only for public API) …
Definition at line 1537 of file LibMkKernel_mk.h.
| typedef struct MkBufferStreamS libmkkernel::MK_BUSR |
reference-shortcut for struct MkBufferStreamS, all shortcut using the XX_YYYR syntax (only for public API) …
Definition at line 1540 of file LibMkKernel_mk.h.
|
inlinestatic |
Null-Slot - return a MkBufferStreamC typed NULL instance …
Definition at line 7835 of file LibMkKernel_mk.h.
Here is the caller graph for this function:Handle-Get-Slot - returns a export-hdl to the MkBufferStreamC useable for external storage
The export-hdl is a reference to an instance that can be stored in software and converted back into an instance using the MkBufferStreamHandleResolve.
By default, the export-hdl is initialized to "0", which is equivalent to does not exist. This function returns a non-zero and unique export-hdl that is recreated if necessary.
The export-hdl is only valid until the Programming-Language-Micro-Kernel (PLMK) ends.
example: The export-hdl is used in rpc to identify an object across the network.
| [in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
| [in] | bus | the MkBufferStreamS instance to work on |
Definition at line 7777 of file LibMkKernel_mk.h.
Here is the caller graph for this function:
|
inlinestatic |
Handle-Resolve-Slot - return a MkBufferStreamC from netHdl or MK_NULL if invalid…
The MkBufferStreamHandleResolve undo the MkBufferStreamHandleGet and is intended to export a unique identifer into external code not belonging to the Programming-Language-Micro-Kernel (PLMK).
| [in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
| [in] | netHdl | handle former exported with MkBufferStreamHandleGet |
MK_NULL if netHdl is invalid Definition at line 7794 of file LibMkKernel_mk.h.
get head-instance from linked-list of MkBufferStreamS type …
The head-instance is the last instance created.
Definition at line 13266 of file LibMkKernel_mk.h.
get next instance from linked-list of MkBufferStreamS type
Definition at line 13273 of file LibMkKernel_mk.h.
Here is the caller graph for this function:get previous instance from linked-list of MkBufferStreamS type
Definition at line 13280 of file LibMkKernel_mk.h.
Here is the caller graph for this function: