MqContextC - define the class … More...
Topics | |
MqContextC_Class_Define_C_API | |
MqContextC - low level definition, access and cast … | |
Typedefs | |
typedef struct MqContextS * | MQ_CTX |
class-shortcut for struct MqContextS * , all shortcut using the XX_YYY syntax (only for public API) … | |
typedef const struct MqContextS * | MQ_CTXN |
class-shortcut for const struct MqContextS * , all const shortcut using the XX_YYYC syntax (only for public API) … | |
typedef struct MqContextS | MQ_CTXR |
reference-shortcut for struct MqContextS , all shortcut using the XX_YYYR syntax (only for public API) … | |
MqContextC - Export - inline - interact with an external software | |
MK_HDL | MqContextHandleGet_RT (MK_RT const mkrt, MQ_CTX const ctx) |
Handle-Get-Slot - returns a export-hdl to the MqContextC useable for external storage | |
MQ_CTX | MqContextHandleResolve_RT (MK_RT const mkrt, MK_HDL const netHdl) |
Handle-Resolve-Slot - return a MqContextC from netHdl or None if invalid… | |
#define | MqContextHandleResolve_e(netHdl) |
wrapper for MqContextHandleResolve with error-handline | |
MqContextC - Misc - function - unspecified functions to perform different tasks | |
MQ_CTX | MqContextGetNull (void) |
Null-Slot - return a MqContextC typed NULL instance … | |
MqContextC - Introspection - inline - access to all instances created by class starting with the last one | |
MQ_CTX | MqContextInstances_RT (MK_RT_PARSER_ONLY) |
get head-instance from linked-list of MqContextS type … | |
MK_ATTR_HDL MQ_CTX | MqContextNext (MQ_CTX const ctx) |
get next instance from linked-list of MqContextS type | |
MK_ATTR_HDL MQ_CTX | MqContextPrev (MQ_CTX const ctx) |
get previous instance from linked-list of MqContextS type | |
MqContextC - Export - function | |
MQ_CTX | MqContextHandleResolveP (MK_RT const mkrt, MK_HDL const netHdl) |
Non-inline replacement for MqContextHandleResolve … | |
MK_HDL | MqContextHandleGetP (MK_RT const mkrt, MQ_CTX const ctx) |
Non-inline replacement for MqContextHandleGet … | |
MqContextC - Introspection - function | |
MQ_CTX | MqContextNextP (MQ_CTX const ctx) |
Non-inline replacement for MqContextNext … | |
MQ_CTX | MqContextPrevP (MQ_CTX const ctx) |
Non-inline replacement for MqContextPrev … | |
MQ_CTX | MqContextInstancesP (MK_RT_PARSER_ONLY) |
Non-inline replacement for MqContextInstances … | |
MqContextC - Misc - function | |
MQ_CTX | MqContextGetNullP (void) |
Non-inline replacement for MqContextGetNull … | |
MqContextC - Export - overload | |
#define | MqContextHandleResolve_NULL(...) |
#define | MqContextHandleResolve(...) |
#define | MqContextHandleGet_NULL(...) |
#define | MqContextHandleGet(...) |
MqContextC - Introspection - overload | |
#define | MqContextInstances_NULL() |
#define | MqContextInstances() |
MqContextC - define the class …
#define MqContextHandleGet | ( | ... | ) |
Definition at line 27 of file msgque_overload_mq.h.
#define MqContextHandleGet_NULL | ( | ... | ) |
Definition at line 26 of file msgque_overload_mq.h.
#define MqContextHandleResolve | ( | ... | ) |
Definition at line 23 of file msgque_overload_mq.h.
#define MqContextHandleResolve_e | ( | netHdl | ) |
wrapper for MqContextHandleResolve with error-handline
[in] | netHdl | The handle previously returned by MkObjectHandleGet. |
None
with an error set.None
than None
is returned and the upper-code decide how to deal with it.None
if the netHdl is invalid or the underlying object has already been deleted.None
is returned than an error-message is created and a jump to the label error is done.Definition at line 4202 of file LibMqMsgque_mq.h.
#define MqContextHandleResolve_NULL | ( | ... | ) |
Definition at line 22 of file msgque_overload_mq.h.
#define MqContextInstances | ( | ) |
Definition at line 38 of file msgque_overload_mq.h.
#define MqContextInstances_NULL | ( | ) |
Definition at line 37 of file msgque_overload_mq.h.
typedef struct MqContextS* MQ_CTX |
class-shortcut for struct MqContextS *
, all shortcut using the XX_YYY
syntax (only for public API) …
Definition at line 521 of file LibMqMsgque_mq.h.
typedef const struct MqContextS* MQ_CTXN |
class-shortcut for const struct MqContextS *
, all const shortcut using the XX_YYYC
syntax (only for public API) …
Definition at line 524 of file LibMqMsgque_mq.h.
typedef struct MqContextS MQ_CTXR |
reference-shortcut for struct MqContextS
, all shortcut using the XX_YYYR
syntax (only for public API) …
Definition at line 527 of file LibMqMsgque_mq.h.
|
inline |
Null-Slot - return a MqContextC typed NULL
instance …
Definition at line 4226 of file LibMqMsgque_mq.h.
|
extern |
Non-inline replacement for MqContextGetNull …
Handle-Get-Slot - returns a export-hdl to the MqContextC 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 MqContextHandleResolve.
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] | ctx | the MqContextS instance to work on |
Definition at line 4169 of file LibMqMsgque_mq.h.
Non-inline replacement for MqContextHandleGet …
Handle-Resolve-Slot - return a MqContextC from netHdl or None
if invalid…
The MqContextHandleResolve undo the MqContextHandleGet 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 MqContextHandleGet |
None
if netHdl is invalid Definition at line 4186 of file LibMqMsgque_mq.h.
Non-inline replacement for MqContextHandleResolve …
|
inline |
get head-instance from linked-list of MqContextS type …
The head-instance is the last instance created.
Definition at line 9563 of file LibMqMsgque_mq.h.
|
extern |
Non-inline replacement for MqContextInstances …
|
inline |
get next instance from linked-list of MqContextS type
Definition at line 9570 of file LibMqMsgque_mq.h.
Non-inline replacement for MqContextNext …
|
inline |
get previous instance from linked-list of MqContextS type
Definition at line 9577 of file LibMqMsgque_mq.h.
Non-inline replacement for MqContextPrev …