theLink 10.0
Loading...
Searching...
No Matches
MqFactoryC_TOR_ATL_API

MqFactoryC - various functions to create, initialize and destroy a factoryMore...

+ Collaboration diagram for MqFactoryC_TOR_ATL_API:

Functions

static OT_ProcRet atlmqmsgque_MqFactoryC_Dup2 (MqFactoryC_ARGS)
  Atl: (constructor) MqFactoryC [MqFactoryC::Dup2 $fct ident:string] C-API
create a duplicate of the singleton object MqFactoryC using a new factory-identifer
 
static OT_ProcRet atlmqmsgque_MqFactoryC_Add (OtClass_ARGS)
  Atl: (constructor,static) MqFactoryC [MqFactoryC::Add constructor:class ?ident:string="MK_NULL"?] C-API
Add a new MqFactoryC identified by factory-identifier and defined by factory-constructor
 
static OT_ProcRet atlmqmsgque_MqFactoryC_CTOR (CONSTR_ARGS)
  Atl: (constructor,static) MqFactoryC [MqFactoryC::CTOR constructor:class ?ident:string="MK_NULL"?] C-API
Add a new MqFactoryC identified by factory-identifier and defined by factory-constructor
 

Detailed Description

MqFactoryC - various functions to create, initialize and destroy a factory

Function Documentation

◆ atlmqmsgque_MqFactoryC_Add()

static OT_ProcRet atlmqmsgque_MqFactoryC_Add ( OtClass_ARGS )
static

Atl: (constructor,static) MqFactoryC [MqFactoryC::Add constructor:class ?ident:string="MK_NULL"?] C-API
Add a new MqFactoryC identified by factory-identifier and defined by factory-constructor

Definition at line 691 of file MqFactoryC_atl.c.

691 {
694 MK_CCP constructor = 0;
696 MK_STRN ident = NULL;
699 if (MkSysStringIsNULL(ident)) {ident = OT_GET_CONSTR_NAME(constructor);}
700 MQ_FCT retVal = MqFactoryAdd (NULL, NS(sFactoryCTor), constructor, NS(sFactoryDataFree), NS(sFactoryDataCopy), NULL, NULL, NULL, NULL, ident);
701 if (retVal == NULL) {
702 OT_ERROR_CONSTRUCTOR(MqFactoryC);
703 goto error;
704 }
705 OT_CONSTRUCTOR_POST(retVal)
706 OT_retObj_SET_FCT(retVal);
707 goto end;
708 error:
710 end:
712}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_Error
#define OT_ERROR_CONSTRUCTOR(class)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_RETURN
#define OT_CHECK_OPTIONAL(val)
#define OT_GET_CONSTR_NAME(ctor)
#define OT_CHECK_NOARGS
#define OT_CHECK_STRN(val)
#define NS(n)
#define OT_retObj_SET_FCT(nat)
#define OT_CONSTRUCTOR_POST(x)
#define OT_SETUP_hdl_static_constr
#define Add_doc
#define error
Definition high_lng.h:339
const MK_STRB * MK_STRN
MK_PTRB * MK_CCP
static bool MkSysStringIsNULL(MK_STRN str)
#define MqFactoryAdd(...)
#define OT_CHECK_CONSTRUCTOR(val)
data used to define a factory

◆ atlmqmsgque_MqFactoryC_CTOR()

static OT_ProcRet atlmqmsgque_MqFactoryC_CTOR ( CONSTR_ARGS )
static

Atl: (constructor,static) MqFactoryC [MqFactoryC::CTOR constructor:class ?ident:string="MK_NULL"?] C-API
Add a new MqFactoryC identified by factory-identifier and defined by factory-constructor

Definition at line 715 of file MqFactoryC_atl.c.

715 {
718 MK_CCP constructor = 0;
720 MK_STRN ident = NULL;
722 if (MkSysStringIsNULL(ident)) {ident = OT_GET_CONSTR_NAME(constructor);}
723 MQ_FCT retVal = MqFactoryAdd (NULL, NS(sFactoryCTor), constructor, NS(sFactoryDataFree), NS(sFactoryDataCopy), NULL, NULL, NULL, NULL, ident);
724 if (retVal == NULL) {
725 OT_ERROR_CONSTRUCTOR(MqFactoryC);
726 goto error;
727 }
728 OT_CONSTRUCTOR_POST(retVal)
729 OT_retObj_CONSTR(retVal);
730 goto end;
731 error:
733 end:
735}
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_SETUP_hdl_constr
#define OT_retObj_CONSTR(x)
#define CTOR_doc

◆ atlmqmsgque_MqFactoryC_Dup2()

static OT_ProcRet atlmqmsgque_MqFactoryC_Dup2 ( MqFactoryC_ARGS )
static

Atl: (constructor) MqFactoryC [MqFactoryC::Dup2 $fct ident:string] C-API
create a duplicate of the singleton object MqFactoryC using a new factory-identifer

Definition at line 669 of file MqFactoryC_atl.c.

669 {
672 MK_STRN ident = 0;
675 MQ_FCT retVal = MqFactoryDup2 (hdl, ident);
676 if (retVal == NULL) {
677 OT_ERROR_CONSTRUCTOR(MqFactoryC);
678 goto error;
679 }
680 OT_retObj_SET_FCT(retVal);
681 goto end;
682 error:
684 end:
686}
#define OT_SETUP_ONEARG(d)
#define OT_SETUP_hdl
#define Dup2_doc
#define MqFactoryDup2(...)