theLink 10.0
Loading...
Searching...
No Matches
MqFactoryC_TOR_PY_API

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

+ Collaboration diagram for MqFactoryC_TOR_PY_API:

Functions

static OT_ProcRet pymqmsgque_MqFactoryC_Dup2 (MqFactoryC_ARGS)
  Python: [constructor] MqFactoryC fct.Dup2(ident:string) C-API
create a duplicate of the singleton object MqFactoryC using a new factory-identifer
 
static OT_ProcRet pymqmsgque_MqFactoryC_Add (OtClass_ARGS)
  Python: [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 pymqmsgque_MqFactoryC_new (CONSTR_ARGS)
  Python: [constructor,static] MqFactoryC MqFactoryC.new(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

◆ pymqmsgque_MqFactoryC_Add()

static OT_ProcRet pymqmsgque_MqFactoryC_Add ( OtClass_ARGS )
static

Python: [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 683 of file MqFactoryC_py.c.

683 {
686 MK_CCP constructor = 0;
688 MK_STRN ident = NULL;
691 if (MkSysStringIsNULL(ident)) {ident = OT_GET_CONSTR_NAME(constructor);}
692 MQ_FCT retVal = MqFactoryAdd (NULL, NS(sFactoryCTor), constructor, NS(sFactoryDataFree), NS(sFactoryDataCopy), NS(sFactoryDTor), NULL, NULL, NULL, ident);
693 if (retVal == NULL) {
694 OT_ERROR_CONSTRUCTOR(MqFactoryC);
695 goto error;
696 }
697 OT_CONSTRUCTOR_POST(retVal)
698 OT_retObj_SET_FCT(retVal);
699 goto end;
700 error:
702 end:
704}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_Error
#define OT_CONSTRUCTOR_POST(x)
#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_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

◆ pymqmsgque_MqFactoryC_Dup2()

static OT_ProcRet pymqmsgque_MqFactoryC_Dup2 ( MqFactoryC_ARGS )
static

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

Definition at line 661 of file MqFactoryC_py.c.

661 {
664 MK_STRN ident = 0;
667 MQ_FCT retVal = MqFactoryDup2 (hdl, ident);
668 if (retVal == NULL) {
669 OT_ERROR_CONSTRUCTOR(MqFactoryC);
670 goto error;
671 }
672 OT_retObj_SET_FCT(retVal);
673 goto end;
674 error:
676 end:
678}
#define OT_SETUP_ONEARG(d)
#define OT_SETUP_hdl
#define Dup2_doc
#define MqFactoryDup2(...)

◆ pymqmsgque_MqFactoryC_new()

static OT_ProcRet pymqmsgque_MqFactoryC_new ( CONSTR_ARGS )
static

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

Definition at line 707 of file MqFactoryC_py.c.

707 {
710 MK_CCP constructor = 0;
712 MK_STRN ident = NULL;
714 if (MkSysStringIsNULL(ident)) {ident = OT_GET_CONSTR_NAME(constructor);}
715 MQ_FCT retVal = MqFactoryAdd (NULL, NS(sFactoryCTor), constructor, NS(sFactoryDataFree), NS(sFactoryDataCopy), NS(sFactoryDTor), NULL, NULL, NULL, ident);
716 if (retVal == NULL) {
717 OT_ERROR_CONSTRUCTOR(MqFactoryC);
718 goto error;
719 }
720 OT_CONSTRUCTOR_POST(retVal)
721 OT_retObj_CONSTR(retVal);
722 goto end;
723 error:
725 end:
727}
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_retObj_CONSTR(mng)
#define OT_SETUP_hdl_constr
#define new_doc