theLink 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
MqFactoryC_Get_C_API

MqFactoryC - various functions to 'get' data out of a factoryMore...

+ Collaboration diagram for MqFactoryC_Get_C_API:

Functions

MK_PTR MqFactoryItemGetCreateData (MQ_FCTN const fct)
 helper function to return MqFactoryS::Create::data
 
MK_PTR MqFactoryItemGetDeleteData (MQ_FCTN const fct)
 helper function to return MqFactoryS::Delete::data
 
MK_STRN MqFactoryGetOriginalIdent (MQ_FCTN const fct)
 helper function to return MqFactoryS::originalIdent
 
MQ_FCT MqFactoryGet (MK_STRN const ident)
 return the MqFactoryC
 
MQ_FCT MqFactoryGetCalled (MK_STRN const ident)
 returns the MqFactoryC identified by ident
 
MQ_FCT MqFactoryGetCalledL_RT (MK_RT mkrt, MK_BFLN largs)
 returns the MqFactoryC identified as first argument in the largs MkBufferListC
 

MqFactoryC - MqFactoryC_Get_C_API - overload

#define MqFactoryGet_0()
 
#define MqFactoryGetCalled_0()
 
#define MqFactoryGetCalledL_NULL(...)
 
#define MqFactoryGetCalledL(...)
 

Detailed Description

MqFactoryC - various functions to 'get' data out of a factory

Macro Definition Documentation

◆ MqFactoryGet_0

#define MqFactoryGet_0 ( )
Value:
MQ_FCT MqFactoryGet(MK_STRN const ident)
return the MqFactoryC

Definition at line 996 of file msgque_overload_mq.h.

◆ MqFactoryGetCalled_0

#define MqFactoryGetCalled_0 ( )
Value:
MQ_FCT MqFactoryGetCalled(MK_STRN const ident)
returns the MqFactoryC identified by ident …

Definition at line 997 of file msgque_overload_mq.h.

◆ MqFactoryGetCalledL

#define MqFactoryGetCalledL ( ...)
Value:
#define MK_RT_CALL
MQ_FCT MqFactoryGetCalledL_RT(MK_RT mkrt, MK_BFLN largs)
returns the MqFactoryC identified as first argument in the largs MkBufferListC …

Definition at line 999 of file msgque_overload_mq.h.

◆ MqFactoryGetCalledL_NULL

#define MqFactoryGetCalledL_NULL ( ...)
Value:
#define MK_RT_CALL_NULL

Definition at line 998 of file msgque_overload_mq.h.

Function Documentation

◆ MqFactoryGet()

MQ_FCT MqFactoryGet ( MK_STRN const ident)

return the MqFactoryC

The ident is the factory-name used with MqFactoryAdd - usually the class-name.

The following ident are also supported:

"initial"belongs to the factory with MqFactoryInitial
"default" or ""belongs to the factory with MqFactoryDefault
Parameters
[in]identthe factory-identifier to search for
Returns
the MqFactoryC or None if ident was not found
+ Here is the caller graph for this function:

◆ MqFactoryGetCalled()

MQ_FCT MqFactoryGetCalled ( MK_STRN const ident)

returns the MqFactoryC identified by ident

If multiple factories (MqFactoryAdd) are available the startup code have to choose which factory to use.
The selection is done by the factory-identifer and is taken from the ident or from the first argument of the commandline-arguments-list.

Parameters
[in]identthe factory-identifier or "" for the default MqFactoryC
Returns
the MqFactoryC or None if nothing was found
See also
MqFactoryGetCalledL
+ Here is the caller graph for this function:

◆ MqFactoryGetCalledL_RT()

MQ_FCT MqFactoryGetCalledL_RT ( MK_RT mkrt,
MK_BFLN largs )

returns the MqFactoryC identified as first argument in the largs MkBufferListC

Like MqFactoryGetCalled but the ident is taken from the MkBufferListC object that was created from the commandline-arguments-list.

Command-Line-Arguments-List
The Commandline-Argumentis-List begins with the first argument after the executable and/or the script file.
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]largsthe command-line-args or "" for the default MqFactoryC
Returns
the MqFactoryC or None if nothing was found
See also
MqFactoryGetCalled

◆ MqFactoryGetOriginalIdent()

MK_STRN MqFactoryGetOriginalIdent ( MQ_FCTN const fct)

helper function to return MqFactoryS::originalIdent

Attention
The MK_STRN returned belongs to pymqmsgque… do not free the data.
+ Here is the caller graph for this function:

◆ MqFactoryItemGetCreateData()

MK_PTR MqFactoryItemGetCreateData ( MQ_FCTN const fct)

helper function to return MqFactoryS::Create::data

◆ MqFactoryItemGetDeleteData()

MK_PTR MqFactoryItemGetDeleteData ( MQ_FCTN const fct)

helper function to return MqFactoryS::Delete::data