MqFactoryC - define the class … More...
Topics | |
MqFactoryC_Class_Define_C_API | |
MqFactoryC - low level definition, access and cast … | |
Typedefs | |
typedef struct MqFactoryS * | MQ_FCT |
class-shortcut for struct MqFactoryS * , all shortcut using the XX_YYY syntax (only for public API) … | |
typedef const struct MqFactoryS * | MQ_FCTN |
class-shortcut for const struct MqFactoryS * , all const shortcut using the XX_YYYC syntax (only for public API) … | |
typedef struct MqFactoryS | MQ_FCTR |
reference-shortcut for struct MqFactoryS , all shortcut using the XX_YYYR syntax (only for public API) … | |
MqFactoryC - Export - inline - interact with an external software | |
MK_HDL | MqFactoryHandleGet_RT (MK_RT const mkrt, MQ_FCT const fct) |
Handle-Get-Slot - returns a export-hdl to the MqFactoryC useable for external storage | |
MQ_FCT | MqFactoryHandleResolve_RT (MK_RT const mkrt, MK_HDL const netHdl) |
Handle-Resolve-Slot - return a MqFactoryC from netHdl or None if invalid… | |
#define | MqFactoryHandleResolve_e(netHdl) |
wrapper for MqFactoryHandleResolve with error-handline | |
MqFactoryC - Misc - function - unspecified functions to perform different tasks | |
MQ_FCT | MqFactoryGetNull (void) |
Null-Slot - return a MqFactoryC typed NULL instance … | |
MqFactoryC - Introspection - inline - access to all instances created by class starting with the last one | |
MQ_FCT | MqFactoryInstances_RT (MK_RT_PARSER_ONLY) |
get head-instance from linked-list of MqFactoryS type … | |
MK_ATTR_HDL MQ_FCT | MqFactoryNext (MQ_FCT const fct) |
get next instance from linked-list of MqFactoryS type | |
MK_ATTR_HDL MQ_FCT | MqFactoryPrev (MQ_FCT const fct) |
get previous instance from linked-list of MqFactoryS type | |
MqFactoryC - Export - function | |
MQ_FCT | MqFactoryHandleResolveP (MK_RT const mkrt, MK_HDL const netHdl) |
Non-inline replacement for MqFactoryHandleResolve … | |
MK_HDL | MqFactoryHandleGetP (MK_RT const mkrt, MQ_FCT const fct) |
Non-inline replacement for MqFactoryHandleGet … | |
MqFactoryC - Introspection - function | |
MQ_FCT | MqFactoryNextP (MQ_FCT const fct) |
Non-inline replacement for MqFactoryNext … | |
MQ_FCT | MqFactoryPrevP (MQ_FCT const fct) |
Non-inline replacement for MqFactoryPrev … | |
MQ_FCT | MqFactoryInstancesP (MK_RT_PARSER_ONLY) |
Non-inline replacement for MqFactoryInstances … | |
MqFactoryC - Misc - function | |
MQ_FCT | MqFactoryGetNullP (void) |
Non-inline replacement for MqFactoryGetNull … | |
MqFactoryC - Export - overload | |
#define | MqFactoryHandleResolve_NULL(...) |
#define | MqFactoryHandleResolve(...) |
#define | MqFactoryHandleGet_NULL(...) |
#define | MqFactoryHandleGet(...) |
MqFactoryC - Introspection - overload | |
#define | MqFactoryInstances_NULL() |
#define | MqFactoryInstances() |
MqFactoryC - define the class …
#define MqFactoryHandleGet | ( | ... | ) |
Definition at line 975 of file msgque_overload_mq.h.
#define MqFactoryHandleGet_NULL | ( | ... | ) |
Definition at line 974 of file msgque_overload_mq.h.
#define MqFactoryHandleResolve | ( | ... | ) |
Definition at line 971 of file msgque_overload_mq.h.
#define MqFactoryHandleResolve_e | ( | netHdl | ) |
wrapper for MqFactoryHandleResolve 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 3275 of file LibMqMsgque_mq.h.
#define MqFactoryHandleResolve_NULL | ( | ... | ) |
Definition at line 970 of file msgque_overload_mq.h.
#define MqFactoryInstances | ( | ) |
Definition at line 986 of file msgque_overload_mq.h.
#define MqFactoryInstances_NULL | ( | ) |
Definition at line 985 of file msgque_overload_mq.h.
typedef struct MqFactoryS* MQ_FCT |
class-shortcut for struct MqFactoryS *
, all shortcut using the XX_YYY
syntax (only for public API) …
Definition at line 549 of file LibMqMsgque_mq.h.
typedef const struct MqFactoryS* MQ_FCTN |
class-shortcut for const struct MqFactoryS *
, all const shortcut using the XX_YYYC
syntax (only for public API) …
Definition at line 552 of file LibMqMsgque_mq.h.
typedef struct MqFactoryS MQ_FCTR |
reference-shortcut for struct MqFactoryS
, all shortcut using the XX_YYYR
syntax (only for public API) …
Definition at line 555 of file LibMqMsgque_mq.h.
|
inline |
Null-Slot - return a MqFactoryC typed NULL
instance …
Definition at line 3299 of file LibMqMsgque_mq.h.
|
extern |
Non-inline replacement for MqFactoryGetNull …
Handle-Get-Slot - returns a export-hdl to the MqFactoryC 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 MqFactoryHandleResolve.
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] | fct | the MqFactoryS instance to work on |
Definition at line 3242 of file LibMqMsgque_mq.h.
Non-inline replacement for MqFactoryHandleGet …
Handle-Resolve-Slot - return a MqFactoryC from netHdl or None
if invalid…
The MqFactoryHandleResolve undo the MqFactoryHandleGet 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 MqFactoryHandleGet |
None
if netHdl is invalid Definition at line 3259 of file LibMqMsgque_mq.h.
Non-inline replacement for MqFactoryHandleResolve …
|
inline |
get head-instance from linked-list of MqFactoryS type …
The head-instance is the last instance created.
Definition at line 9633 of file LibMqMsgque_mq.h.
|
extern |
Non-inline replacement for MqFactoryInstances …
|
inline |
get next instance from linked-list of MqFactoryS type
Definition at line 9640 of file LibMqMsgque_mq.h.
Non-inline replacement for MqFactoryNext …
|
inline |
get previous instance from linked-list of MqFactoryS type
Definition at line 9647 of file LibMqMsgque_mq.h.
Non-inline replacement for MqFactoryPrev …