theLink 10.0
Loading...
Searching...
No Matches
MqFactoryC_TOR_TCL_API

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

+ Collaboration diagram for MqFactoryC_TOR_TCL_API:

Functions

static OT_ProcRet tclmqmsgque_MqFactoryC_Dup2 (MqFactoryC_ARGS)
  Tcl: (constructor) MqFactoryC [$fct Dup2 ident:string] C-API
create a duplicate of the singleton object MqFactoryC using a new factory-identifer
 
static OT_ProcRet tclmqmsgque_MqFactoryC_Add (OtClass_ARGS)
  Tcl: (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 tclmqmsgque_MqFactoryC_CTOR (CONSTR_ARGS)
  Tcl: (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

◆ tclmqmsgque_MqFactoryC_Add()

static OT_ProcRet tclmqmsgque_MqFactoryC_Add ( OtClass_ARGS )
static

Tcl: (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 727 of file MqFactoryC_tcl.c.

727 {
730 MK_CCP constructor = 0;
732 MK_STRN ident = NULL;
735 if (MkSysStringIsNULL(ident)) {ident = OT_GET_CONSTR_NAME(constructor);}
736 MQ_FCT retVal = MqFactoryAdd (NULL, NS(sFactoryCTor), constructor, NS(sFactoryDataFree), NS(sFactoryDataCopy), NULL, NULL, NULL, NULL, ident);
737 if (retVal == NULL) {
738 OT_ERROR_CONSTRUCTOR(MqFactoryC);
739 goto error;
740 }
741 OT_CONSTRUCTOR_POST(retVal)
742 OT_retObj_SET_FCT(retVal);
743 goto end;
744 error:
746 end:
748}
#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

◆ tclmqmsgque_MqFactoryC_CTOR()

static OT_ProcRet tclmqmsgque_MqFactoryC_CTOR ( CONSTR_ARGS )
static

Tcl: (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 751 of file MqFactoryC_tcl.c.

751 {
754 MK_CCP constructor = 0;
756 MK_STRN ident = NULL;
758 if (MkSysStringIsNULL(ident)) {ident = OT_GET_CONSTR_NAME(constructor);}
759 MQ_FCT retVal = MqFactoryAdd (NULL, NS(sFactoryCTor), constructor, NS(sFactoryDataFree), NS(sFactoryDataCopy), NULL, NULL, NULL, NULL, ident);
760 if (retVal == NULL) {
761 OT_ERROR_CONSTRUCTOR(MqFactoryC);
762 goto error;
763 }
764 OT_CONSTRUCTOR_POST(retVal)
765 OT_retObj_CONSTR(retVal);
766 goto end;
767 error:
769 end:
771}
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_retObj_CONSTR(x)
#define OT_SETUP_hdl_constr
#define CTOR_doc

◆ tclmqmsgque_MqFactoryC_Dup2()

static OT_ProcRet tclmqmsgque_MqFactoryC_Dup2 ( MqFactoryC_ARGS )
static

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

Definition at line 705 of file MqFactoryC_tcl.c.

705 {
708 MK_STRN ident = 0;
711 MQ_FCT retVal = MqFactoryDup2 (hdl, ident);
712 if (retVal == NULL) {
713 OT_ERROR_CONSTRUCTOR(MqFactoryC);
714 goto error;
715 }
716 OT_retObj_SET_FCT(retVal);
717 goto end;
718 error:
720 end:
722}
#define OT_SETUP_ONEARG(d)
#define OT_SETUP_hdl
#define Dup2_doc
#define MqFactoryDup2(...)