theLink 10.0
Loading...
Searching...
No Matches
MqFactoryC_Misc_RB_API

MqFactoryC - various functions to work on a factoryMore...

+ Collaboration diagram for MqFactoryC_Misc_RB_API:

Functions

static OT_ProcRet rbmqmsgque_MqFactoryC_Default (MqFactoryC_ARGS)
  Ruby: MqFactoryC fct.Default() C-API
set the default-attribute to the factory
 
static OT_ProcRet rbmqmsgque_MqFactoryC_Initial (MqFactoryC_ARGS)
  Ruby: MqFactoryC fct.Initial() C-API
set the initial-attribut to fct
 
static OT_ProcRet rbmqmsgque_MqFactoryC_New (MqFactoryC_ARGS)
  Ruby: MqContextC fct.New() C-API
create a new MqContextC from a MqFactoryC
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet rbmqmsgque_MqFactoryC_Log (MqFactoryC_ARGS)
 
static OT_ProcRet rbmqmsgque_MqFactoryC_DefaultIdent (OtClass_ARGS)
  Ruby: (static) string MqFactoryC.DefaultIdent() C-API
return the factory-identifier of the default MqFactoryC
 
static OT_ProcRet rbmqmsgque_MqFactoryC_InitialIdent (OtClass_ARGS)
  Ruby: (static) string MqFactoryC.InitialIdent() C-API
return the factory-identifier of the initial MqFactoryC
 
static OT_ProcRet rbmqmsgque_MqFactoryC_LogAll (OtClass_ARGS)
  Ruby: (static) MqFactoryC.LogAll(?callfunc:string="MK_NULL"?) C-API
log all "factories" to stderr
 

Detailed Description

MqFactoryC - various functions to work on a factory

Function Documentation

◆ rbmqmsgque_MqFactoryC_Default()

static OT_ProcRet rbmqmsgque_MqFactoryC_Default ( MqFactoryC_ARGS )
static

Ruby: MqFactoryC fct.Default() C-API
set the default-attribute to the factory

Definition at line 429 of file MqFactoryC_rb.c.

429 {
433 MQ_FCT retVal = MqFactoryDefault (hdl);
434 OT_retObj_SET_FCT(retVal);
435 end: MK_UNUSED /* LONG JUMP on error */
437}
#define OT_SETUP_NOARG(d)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define OT_retObj_SET_FCT(nat)
#define OT_SETUP_hdl
#define Default_doc
#define MK_UNUSED
#define MqFactoryDefault(...)
data used to define a factory

◆ rbmqmsgque_MqFactoryC_DefaultIdent()

static OT_ProcRet rbmqmsgque_MqFactoryC_DefaultIdent ( OtClass_ARGS )
static

Ruby: (static) string MqFactoryC.DefaultIdent() C-API
return the factory-identifier of the default MqFactoryC

Definition at line 473 of file MqFactoryC_rb.c.

473 {
478 end: MK_UNUSED /* LONG JUMP on error */
480}
#define OT_retObj_SET_STR(nat)
#define DefaultIdent_doc
#define OT_SETUP_hdl_static
#define MqFactoryDefaultIdent()

◆ rbmqmsgque_MqFactoryC_Initial()

static OT_ProcRet rbmqmsgque_MqFactoryC_Initial ( MqFactoryC_ARGS )
static

Ruby: MqFactoryC fct.Initial() C-API
set the initial-attribut to fct

Definition at line 440 of file MqFactoryC_rb.c.

440 {
444 MQ_FCT retVal = MqFactoryInitial (hdl);
445 OT_retObj_SET_FCT(retVal);
446 end: MK_UNUSED /* LONG JUMP on error */
448}
#define Initial_doc
#define MqFactoryInitial(...)

◆ rbmqmsgque_MqFactoryC_InitialIdent()

static OT_ProcRet rbmqmsgque_MqFactoryC_InitialIdent ( OtClass_ARGS )
static

Ruby: (static) string MqFactoryC.InitialIdent() C-API
return the factory-identifier of the initial MqFactoryC

Definition at line 483 of file MqFactoryC_rb.c.

483 {
488 end: MK_UNUSED /* LONG JUMP on error */
490}
#define InitialIdent_doc
#define MqFactoryInitialIdent()

◆ rbmqmsgque_MqFactoryC_Log()

MK_DEPRECATED static MK_UNUSED OT_ProcRet rbmqmsgque_MqFactoryC_Log ( MqFactoryC_ARGS )
static

Definition at line 468 of file MqFactoryC_rb.c.

#define OT_ERROR_LNG_RETURN

◆ rbmqmsgque_MqFactoryC_LogAll()

static OT_ProcRet rbmqmsgque_MqFactoryC_LogAll ( OtClass_ARGS )
static

Ruby: (static) MqFactoryC.LogAll(?callfunc:string="MK_NULL"?) C-API
log all "factories" to stderr

Definition at line 493 of file MqFactoryC_rb.c.

493 {
496 MK_STRN callfunc = NULL;
499 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
500 MqFactoryLogAll (callfunc);
502 end: MK_UNUSED /* LONG JUMP on error */
505}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_FRAME_CLEANUP
#define OT_retObj_SET_None
#define OT_GET_CALL_PROC
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_STRN(val)
#define LogAll_doc
const MK_STRB * MK_STRN
static bool MkSysStringIsNULL(MK_STRN str)
#define MqFactoryLogAll(...)

◆ rbmqmsgque_MqFactoryC_New()

static OT_ProcRet rbmqmsgque_MqFactoryC_New ( MqFactoryC_ARGS )
static

Ruby: MqContextC fct.New() C-API
create a new MqContextC from a MqFactoryC

Definition at line 453 of file MqFactoryC_rb.c.

453 {
457 MQ_CTX val_out;
458 MkErrorC_Check(hdl,MqFactoryNew (hdl, NULL, &val_out));
459 OT_retObj_SET_CTX(val_out);
460 end: MK_UNUSED /* LONG JUMP on error */
462}
#define MkErrorC_Check(mng, PROC)
#define OT_retObj_SET_CTX(nat)
#define New_doc
#define MqFactoryNew(...)
PUBLIC data structure for the rbmqmsgque-specific-data