theLink 10.0
Loading...
Searching...
No Matches
LibMqMsgque_rb.c File Reference

tag: nhi1-release-250425 More...

#include "LibMqMsgque_private_rb.h"
#include "misc_check_rb.h"
#include <ruby/defines.h>
+ Include dependency graph for LibMqMsgque_rb.c:

Go to the source code of this file.

Macros

#define MqSetupTmpl()
 
#define MqCleanupTmpl()
 
#define IdentE_FromInt_doc   "MqIdentE MqMsgque.IdentE_FromInt(value:int32)"
 
#define SlaveE_FromInt_doc   "MqSlaveE MqMsgque.SlaveE_FromInt(value:int32)"
 
#define StartE_FromInt_doc   "MqStartE MqMsgque.StartE_FromInt(value:int32)"
 
#define StatusIsEF_FromInt_doc   "MqStatusIsEF MqMsgque.StatusIsEF_FromInt(value:int32)"
 
#define WaitOnEventE_FromInt_doc   "MqWaitOnEventE MqMsgque.WaitOnEventE_FromInt(value:int32)"
 
#define IdentE_ToInt_doc   "int32 MqMsgque.IdentE_ToInt(value:MqIdentE)"
 
#define IdentE_ToString_doc   "string MqMsgque.IdentE_ToString(value:MqIdentE)"
 
#define SlaveE_ToInt_doc   "int32 MqMsgque.SlaveE_ToInt(value:MqSlaveE)"
 
#define SlaveE_ToString_doc   "string MqMsgque.SlaveE_ToString(value:MqSlaveE)"
 
#define StartE_ToInt_doc   "int32 MqMsgque.StartE_ToInt(value:MqStartE)"
 
#define StartE_ToString_doc   "string MqMsgque.StartE_ToString(value:MqStartE)"
 
#define StatusIsEF_ToInt_doc   "int32 MqMsgque.StatusIsEF_ToInt(value:MqStatusIsEF)"
 
#define StatusIsEF_ToString_doc   "string MqMsgque.StatusIsEF_ToString(value:MqStatusIsEF)"
 
#define WaitOnEventE_ToInt_doc   "int32 MqMsgque.WaitOnEventE_ToInt(value:MqWaitOnEventE)"
 
#define WaitOnEventE_ToString_doc   "string MqMsgque.WaitOnEventE_ToString(value:MqWaitOnEventE)"
 
#define Help_doc   "string MqMsgque.Help(tool:string)"
 
#define HelpMsgque_doc   "string MqMsgque.HelpMsgque()"
 
#define InitGetArg0_doc   "MkBufferListC MqMsgque.InitGetArg0()"
 
#define InitResetArg0_doc   "MkBufferListC MqMsgque.InitResetArg0()"
 
#define InitSetArg0_doc   "MqMsgque.InitSetArg0(?bfl:MkBufferListC...=nil?)"
 
#define Cleanup_doc   "MqMsgque.Cleanup()"
 
#define Setup_doc   "MqMsgque.Setup()"
 
#define OT_SETUP_hdl_static
 

Functions

static OT_ProcRet rbmqmsgque_MqMsgque_IdentE_FromInt (OtClass_ARGS)
  Ruby: (static) MqIdentE MqMsgque.IdentE_FromInt(value:int32) C-API
return the MqIdentE from integer …
 
static OT_ProcRet rbmqmsgque_MqMsgque_SlaveE_FromInt (OtClass_ARGS)
  Ruby: (static) MqSlaveE MqMsgque.SlaveE_FromInt(value:int32) C-API
return the MqSlaveE from integer …
 
static OT_ProcRet rbmqmsgque_MqMsgque_StartE_FromInt (OtClass_ARGS)
  Ruby: (static) MqStartE MqMsgque.StartE_FromInt(value:int32) C-API
return the MqStartE from integer …
 
static OT_ProcRet rbmqmsgque_MqMsgque_StatusIsEF_FromInt (OtClass_ARGS)
  Ruby: (static) MqStatusIsEF MqMsgque.StatusIsEF_FromInt(value:int32) C-API
return the MqStatusIsEF from integer …
 
static OT_ProcRet rbmqmsgque_MqMsgque_WaitOnEventE_FromInt (OtClass_ARGS)
  Ruby: (static) MqWaitOnEventE MqMsgque.WaitOnEventE_FromInt(value:int32) C-API
return the MqWaitOnEventE from integer …
 
static OT_ProcRet rbmqmsgque_MqMsgque_IdentE_ToInt (OtClass_ARGS)
  Ruby: (static) int32 MqMsgque.IdentE_ToInt(value:MqIdentE) C-API
return the MqIdentE as integer …
 
static OT_ProcRet rbmqmsgque_MqMsgque_IdentE_ToString (OtClass_ARGS)
  Ruby: (static) string MqMsgque.IdentE_ToString(value:MqIdentE) C-API
return the MqIdentE as string …
 
static OT_ProcRet rbmqmsgque_MqMsgque_SlaveE_ToInt (OtClass_ARGS)
  Ruby: (static) int32 MqMsgque.SlaveE_ToInt(value:MqSlaveE) C-API
return the MqSlaveE as integer …
 
static OT_ProcRet rbmqmsgque_MqMsgque_SlaveE_ToString (OtClass_ARGS)
  Ruby: (static) string MqMsgque.SlaveE_ToString(value:MqSlaveE) C-API
return the MqSlaveE as string …
 
static OT_ProcRet rbmqmsgque_MqMsgque_StartE_ToInt (OtClass_ARGS)
  Ruby: (static) int32 MqMsgque.StartE_ToInt(value:MqStartE) C-API
return the MqStartE as integer …
 
static OT_ProcRet rbmqmsgque_MqMsgque_StartE_ToString (OtClass_ARGS)
  Ruby: (static) string MqMsgque.StartE_ToString(value:MqStartE) C-API
return the MqStartE as string …
 
static OT_ProcRet rbmqmsgque_MqMsgque_StatusIsEF_ToInt (OtClass_ARGS)
  Ruby: (static) int32 MqMsgque.StatusIsEF_ToInt(value:MqStatusIsEF) C-API
return the MqStatusIsEF as integer …
 
static OT_ProcRet rbmqmsgque_MqMsgque_StatusIsEF_ToString (OtClass_ARGS)
  Ruby: (static) string MqMsgque.StatusIsEF_ToString(value:MqStatusIsEF) C-API
return the MqStatusIsEF as string …
 
static OT_ProcRet rbmqmsgque_MqMsgque_WaitOnEventE_ToInt (OtClass_ARGS)
  Ruby: (static) int32 MqMsgque.WaitOnEventE_ToInt(value:MqWaitOnEventE) C-API
return the MqWaitOnEventE as integer …
 
static OT_ProcRet rbmqmsgque_MqMsgque_WaitOnEventE_ToString (OtClass_ARGS)
  Ruby: (static) string MqMsgque.WaitOnEventE_ToString(value:MqWaitOnEventE) C-API
return the MqWaitOnEventE as string …
 
static OT_ProcRet rbmqmsgque_MqMsgque_Help (OtClass_ARGS)
  Ruby: (static) string MqMsgque.Help(tool:string) C-API
write rbmqmsgque specific user-help to stderr
 
static OT_ProcRet rbmqmsgque_MqMsgque_HelpMsgque (OtClass_ARGS)
  Ruby: (static) string MqMsgque.HelpMsgque() C-API
return a page with the usage of all rbmqmsgque specific options
 
static OT_ProcRet rbmqmsgque_MqMsgque_InitGetArg0 (OtClass_ARGS)
  Ruby: (static) MkBufferListC MqMsgque.InitGetArg0() C-API
get the process startup-prefix argument
 
static OT_ProcRet rbmqmsgque_MqMsgque_InitResetArg0 (OtClass_ARGS)
  Ruby: (static) MkBufferListC MqMsgque.InitResetArg0() C-API
Reset the process-startup-prefix argument to an empty list …
 
static OT_ProcRet rbmqmsgque_MqMsgque_InitSetArg0 (OtClass_ARGS)
  Ruby: (static) MqMsgque.InitSetArg0(?bfl:MkBufferListC...=nil?) C-API
set the process startup-prefix argument to bfl
 
static OT_ProcRet rbmqmsgque_MqMsgque_Cleanup (OtClass_ARGS)
  Ruby: (static) MqMsgque.Cleanup() C-API
cleanup rbmqmsgque internal memory …
 
static OT_ProcRet rbmqmsgque_MqMsgque_Setup (OtClass_ARGS)
  Ruby: (static) MqMsgque.Setup() C-API
setup rbmqmsgque internal memory …
 
static OT_ProcRet rbmqmsgque_MqMsgque_M (OtClass_ARGS)
 
static OT_ProcRet rbmqmsgque_MqMsgque_printObj (OtClass_ARGS)
 
void rbmqmsgque_MqMsgque_Init (MK_RT mkrt, MQ_RT mqrt)
 
MK_RB_EXTERN void LibMqMsgque ()
 

Variables

VALUE rbmqmsgque_MqMsgque
 
VALUE rbmqmsgque_MqIdentE
 
VALUE rbmqmsgque_MqSlaveE
 
VALUE rbmqmsgque_MqStartE
 
VALUE rbmqmsgque_MqStatusIsEF
 
VALUE rbmqmsgque_MqWaitOnEventE
 

Detailed Description

tag: nhi1-release-250425

Definition in file LibMqMsgque_rb.c.

Macro Definition Documentation

◆ Cleanup_doc

#define Cleanup_doc   "MqMsgque.Cleanup()"

Definition at line 162 of file LibMqMsgque_rb.c.

◆ Help_doc

#define Help_doc   "string MqMsgque.Help(tool:string)"

Definition at line 153 of file LibMqMsgque_rb.c.

◆ HelpMsgque_doc

#define HelpMsgque_doc   "string MqMsgque.HelpMsgque()"

Definition at line 154 of file LibMqMsgque_rb.c.

◆ IdentE_FromInt_doc

#define IdentE_FromInt_doc   "MqIdentE MqMsgque.IdentE_FromInt(value:int32)"

Definition at line 134 of file LibMqMsgque_rb.c.

◆ IdentE_ToInt_doc

#define IdentE_ToInt_doc   "int32 MqMsgque.IdentE_ToInt(value:MqIdentE)"

Definition at line 141 of file LibMqMsgque_rb.c.

◆ IdentE_ToString_doc

#define IdentE_ToString_doc   "string MqMsgque.IdentE_ToString(value:MqIdentE)"

Definition at line 142 of file LibMqMsgque_rb.c.

◆ InitGetArg0_doc

#define InitGetArg0_doc   "MkBufferListC MqMsgque.InitGetArg0()"

Definition at line 157 of file LibMqMsgque_rb.c.

◆ InitResetArg0_doc

#define InitResetArg0_doc   "MkBufferListC MqMsgque.InitResetArg0()"

Definition at line 158 of file LibMqMsgque_rb.c.

◆ InitSetArg0_doc

#define InitSetArg0_doc   "MqMsgque.InitSetArg0(?bfl:MkBufferListC...=nil?)"

Definition at line 159 of file LibMqMsgque_rb.c.

◆ MqCleanupTmpl

#define MqCleanupTmpl ( )

Definition at line 19 of file LibMqMsgque_rb.c.

◆ MqSetupTmpl

#define MqSetupTmpl ( )

Definition at line 18 of file LibMqMsgque_rb.c.

◆ OT_SETUP_hdl_static

#define OT_SETUP_hdl_static
Value:
__attribute__((unused)) MK_ERR hdl = &MkERROR;
#define MkERROR
#define MkRtSetup_NULL
#define MK_RT_UNUSED

Definition at line 167 of file LibMqMsgque_rb.c.

167#define OT_SETUP_hdl_static MK_RT_UNUSED MkRtSetup_NULL; \
168 __attribute__((unused)) MK_ERR hdl = &MkERROR;

◆ Setup_doc

#define Setup_doc   "MqMsgque.Setup()"

Definition at line 163 of file LibMqMsgque_rb.c.

◆ SlaveE_FromInt_doc

#define SlaveE_FromInt_doc   "MqSlaveE MqMsgque.SlaveE_FromInt(value:int32)"

Definition at line 135 of file LibMqMsgque_rb.c.

◆ SlaveE_ToInt_doc

#define SlaveE_ToInt_doc   "int32 MqMsgque.SlaveE_ToInt(value:MqSlaveE)"

Definition at line 143 of file LibMqMsgque_rb.c.

◆ SlaveE_ToString_doc

#define SlaveE_ToString_doc   "string MqMsgque.SlaveE_ToString(value:MqSlaveE)"

Definition at line 144 of file LibMqMsgque_rb.c.

◆ StartE_FromInt_doc

#define StartE_FromInt_doc   "MqStartE MqMsgque.StartE_FromInt(value:int32)"

Definition at line 136 of file LibMqMsgque_rb.c.

◆ StartE_ToInt_doc

#define StartE_ToInt_doc   "int32 MqMsgque.StartE_ToInt(value:MqStartE)"

Definition at line 145 of file LibMqMsgque_rb.c.

◆ StartE_ToString_doc

#define StartE_ToString_doc   "string MqMsgque.StartE_ToString(value:MqStartE)"

Definition at line 146 of file LibMqMsgque_rb.c.

◆ StatusIsEF_FromInt_doc

#define StatusIsEF_FromInt_doc   "MqStatusIsEF MqMsgque.StatusIsEF_FromInt(value:int32)"

Definition at line 137 of file LibMqMsgque_rb.c.

◆ StatusIsEF_ToInt_doc

#define StatusIsEF_ToInt_doc   "int32 MqMsgque.StatusIsEF_ToInt(value:MqStatusIsEF)"

Definition at line 147 of file LibMqMsgque_rb.c.

◆ StatusIsEF_ToString_doc

#define StatusIsEF_ToString_doc   "string MqMsgque.StatusIsEF_ToString(value:MqStatusIsEF)"

Definition at line 148 of file LibMqMsgque_rb.c.

◆ WaitOnEventE_FromInt_doc

#define WaitOnEventE_FromInt_doc   "MqWaitOnEventE MqMsgque.WaitOnEventE_FromInt(value:int32)"

Definition at line 138 of file LibMqMsgque_rb.c.

◆ WaitOnEventE_ToInt_doc

#define WaitOnEventE_ToInt_doc   "int32 MqMsgque.WaitOnEventE_ToInt(value:MqWaitOnEventE)"

Definition at line 149 of file LibMqMsgque_rb.c.

◆ WaitOnEventE_ToString_doc

#define WaitOnEventE_ToString_doc   "string MqMsgque.WaitOnEventE_ToString(value:MqWaitOnEventE)"

Definition at line 150 of file LibMqMsgque_rb.c.

Function Documentation

◆ LibMqMsgque()

MK_RB_EXTERN void LibMqMsgque ( )

Definition at line 610 of file LibMqMsgque_rb.c.

610 {
611
612 // Register system
613#ifdef HAVE_FORK
614// MkInitSysAPI(MK(fork),NULL);
615#endif
616
617 // Initialize libmqmsgque
618 MqSetup();
620
621 // load "rbmkkernel" shared library
622 rb_require("rbmkkernel");
623
624 // Initialize components
625 MQ(MqMsgque_Init) (MQ_RT_CALL_ONLY) ;
626 MQ(MqContextC_Init) (MQ_RT_CALL_ONLY) ;
627 MQ(MqDumpC_Init) (MQ_RT_CALL_ONLY) ;
628 MQ(MqFactoryC_Init) (MQ_RT_CALL_ONLY) ;
629
630 // get the script name
631 VALUE a0 = rb_gv_get("$0");
632
633 // init libmqmsgque global data
634 if (MqInitGetArg0() == NULL && !NIL_P(a0)) {
635 MqInitSetArg0VA(VAL2STRN(rb_argv0), VAL2STRN(a0), NULL);
636 }
637
638 // update LAL
639 // ...
640
641 /*****************************************************************************/
642 /* */
643 /* enums */
644 /* */
645 /*****************************************************************************/
646
647 // BEGIN-enumF - created by 'rb_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
648
649 MQ(MqIdentE) = rb_define_class_under(MQ(MqMsgque), "MqIdentE", MK(cEnum));
650 rb_funcall(MQ(MqIdentE), MK(id_enum_attr), 2, STRN2VAL("PREFIX"), INT2NUM(0));
651 rb_funcall(MQ(MqIdentE), MK(id_enum_attr), 2, STRN2VAL("FACTORY"), INT2NUM(1));
652
653 MQ(MqSlaveE) = rb_define_class_under(MQ(MqMsgque), "MqSlaveE", MK(cEnum));
654 rb_funcall(MQ(MqSlaveE), MK(id_enum_attr), 2, STRN2VAL("LOOPBACK"), INT2NUM(0));
655 rb_funcall(MQ(MqSlaveE), MK(id_enum_attr), 2, STRN2VAL("FILTER"), INT2NUM(1));
656 rb_funcall(MQ(MqSlaveE), MK(id_enum_attr), 2, STRN2VAL("MASTER"), INT2NUM(1));
657 rb_funcall(MQ(MqSlaveE), MK(id_enum_attr), 2, STRN2VAL("OTHER"), INT2NUM(1));
658 rb_funcall(MQ(MqSlaveE), MK(id_enum_attr), 2, STRN2VAL("USER"), INT2NUM(10));
659 rb_funcall(MQ(MqSlaveE), MK(id_enum_attr), 2, STRN2VAL("MAX"), INT2NUM(1024));
660
661 MQ(MqStartE) = rb_define_class_under(MQ(MqMsgque), "MqStartE", MK(cEnum));
662 rb_funcall(MQ(MqStartE), MK(id_enum_attr), 2, STRN2VAL("DEFAULT"), INT2NUM(0));
663 rb_funcall(MQ(MqStartE), MK(id_enum_attr), 2, STRN2VAL("FORK"), INT2NUM(1));
664 rb_funcall(MQ(MqStartE), MK(id_enum_attr), 2, STRN2VAL("THREAD"), INT2NUM(2));
665 rb_funcall(MQ(MqStartE), MK(id_enum_attr), 2, STRN2VAL("SPAWN"), INT2NUM(3));
666
667 MQ(MqStatusIsEF) = rb_define_class_under(MQ(MqMsgque), "MqStatusIsEF", MK(cEnum));
668 rb_funcall(MQ(MqStatusIsEF), MK(id_enum_attr), 2, STRN2VAL("INITIAL"), INT2NUM(0));
669 rb_funcall(MQ(MqStatusIsEF), MK(id_enum_attr), 2, STRN2VAL("DUP"), INT2NUM(1<<0));
670 rb_funcall(MQ(MqStatusIsEF), MK(id_enum_attr), 2, STRN2VAL("THREAD"), INT2NUM(1<<1));
671 rb_funcall(MQ(MqStatusIsEF), MK(id_enum_attr), 2, STRN2VAL("FORK"), INT2NUM(1<<2));
672 rb_funcall(MQ(MqStatusIsEF), MK(id_enum_attr), 2, STRN2VAL("SPAWN"), INT2NUM(1<<3));
673
674 MQ(MqWaitOnEventE) = rb_define_class_under(MQ(MqMsgque), "MqWaitOnEventE", MK(cEnum));
675 rb_funcall(MQ(MqWaitOnEventE), MK(id_enum_attr), 2, STRN2VAL("NO"), INT2NUM(0));
676 rb_funcall(MQ(MqWaitOnEventE), MK(id_enum_attr), 2, STRN2VAL("ONCE"), INT2NUM(1));
677 rb_funcall(MQ(MqWaitOnEventE), MK(id_enum_attr), 2, STRN2VAL("OWN"), INT2NUM(2));
678 rb_funcall(MQ(MqWaitOnEventE), MK(id_enum_attr), 2, STRN2VAL("FOREVER"), INT2NUM(3));
679
680 // END-enumF - created by 'rb_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
681}
#define MK(n)
#define VAL2STRN(val)
#define STRN2VAL(nat)
#define AllRtSetup_NULL
#define MQ(n)
MqWaitOnEventE
wait for an event? …
MqSlaveE
predefined slave-id for well known slaves …
MqIdentE
identify the application using prefix (default) or factory …
MqStartE
User preferences on HOWTO start a new entity.
MqStatusIsEF
Information about how the context was created.
MK_BFL MqInitGetArg0(void)
get the process startup-prefix argument
void MqInitSetArg0VA(MK_STRN arg0,...)
set the process startup-prefix to a args
void MqSetup(void)
setup rbmqmsgque internal memory …
#define MQ_RT_CALL_ONLY

◆ rbmqmsgque_MqMsgque_Init()

void rbmqmsgque_MqMsgque_Init ( MK_RT mkrt,
MQ_RT mqrt )

Definition at line 520 of file LibMqMsgque_rb.c.

520 {
521 MQ(MqMsgque) = rb_define_module("MqMsgque");
522
523 OT_METH_S ( MqMsgque, M, MqMsgque_M )
524 OT_METH_O ( MqMsgque, M, MqMsgque_M )
525
526 OT_METH_S ( MqMsgque, printObj, MqMsgque_printObj )
527 OT_METH_O ( MqMsgque, printObj, MqMsgque_printObj )
528
529// BEGIN-CLASS - created by 'rb_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
530
531// doc-key: MqMsgque,EnumFunc,sco
532OT_METH_O ( MqMsgque, IdentE_FromInt, MqMsgque_IdentE_FromInt )
533OT_METH_S ( MqMsgque, IdentE_FromInt, MqMsgque_IdentE_FromInt )
534OT_METH_O ( MqMsgque, SlaveE_FromInt, MqMsgque_SlaveE_FromInt )
535OT_METH_S ( MqMsgque, SlaveE_FromInt, MqMsgque_SlaveE_FromInt )
536OT_METH_O ( MqMsgque, StartE_FromInt, MqMsgque_StartE_FromInt )
537OT_METH_S ( MqMsgque, StartE_FromInt, MqMsgque_StartE_FromInt )
538OT_METH_O ( MqMsgque, StatusIsEF_FromInt, MqMsgque_StatusIsEF_FromInt )
539OT_METH_S ( MqMsgque, StatusIsEF_FromInt, MqMsgque_StatusIsEF_FromInt )
540OT_METH_O ( MqMsgque, WaitOnEventE_FromInt, MqMsgque_WaitOnEventE_FromInt )
541OT_METH_S ( MqMsgque, WaitOnEventE_FromInt, MqMsgque_WaitOnEventE_FromInt )
542
543// doc-key: MqMsgque,EnumFunc,sm_
544OT_METH_O ( MqMsgque, IdentE_ToInt, MqMsgque_IdentE_ToInt )
545OT_METH_S ( MqMsgque, IdentE_ToInt, MqMsgque_IdentE_ToInt )
546OT_METH_O ( MqMsgque, IdentE_ToString, MqMsgque_IdentE_ToString )
547OT_METH_S ( MqMsgque, IdentE_ToString, MqMsgque_IdentE_ToString )
548OT_METH_O ( MqMsgque, SlaveE_ToInt, MqMsgque_SlaveE_ToInt )
549OT_METH_S ( MqMsgque, SlaveE_ToInt, MqMsgque_SlaveE_ToInt )
550OT_METH_O ( MqMsgque, SlaveE_ToString, MqMsgque_SlaveE_ToString )
551OT_METH_S ( MqMsgque, SlaveE_ToString, MqMsgque_SlaveE_ToString )
552OT_METH_O ( MqMsgque, StartE_ToInt, MqMsgque_StartE_ToInt )
553OT_METH_S ( MqMsgque, StartE_ToInt, MqMsgque_StartE_ToInt )
554OT_METH_O ( MqMsgque, StartE_ToString, MqMsgque_StartE_ToString )
555OT_METH_S ( MqMsgque, StartE_ToString, MqMsgque_StartE_ToString )
556OT_METH_O ( MqMsgque, StatusIsEF_ToInt, MqMsgque_StatusIsEF_ToInt )
557OT_METH_S ( MqMsgque, StatusIsEF_ToInt, MqMsgque_StatusIsEF_ToInt )
558OT_METH_O ( MqMsgque, StatusIsEF_ToString, MqMsgque_StatusIsEF_ToString )
559OT_METH_S ( MqMsgque, StatusIsEF_ToString, MqMsgque_StatusIsEF_ToString )
560OT_METH_O ( MqMsgque, WaitOnEventE_ToInt, MqMsgque_WaitOnEventE_ToInt )
561OT_METH_S ( MqMsgque, WaitOnEventE_ToInt, MqMsgque_WaitOnEventE_ToInt )
562OT_METH_O ( MqMsgque, WaitOnEventE_ToString, MqMsgque_WaitOnEventE_ToString )
563OT_METH_S ( MqMsgque, WaitOnEventE_ToString, MqMsgque_WaitOnEventE_ToString )
564
565// doc-key: MqMsgque,MqHelp,sm_
566OT_METH_O ( MqMsgque, Help, MqMsgque_Help )
567OT_METH_S ( MqMsgque, Help, MqMsgque_Help )
568OT_METH_O ( MqMsgque, HelpMsgque, MqMsgque_HelpMsgque )
569OT_METH_S ( MqMsgque, HelpMsgque, MqMsgque_HelpMsgque )
570
571// doc-key: MqMsgque,MqInit,sm_
572OT_METH_O ( MqMsgque, InitGetArg0, MqMsgque_InitGetArg0 )
573OT_METH_S ( MqMsgque, InitGetArg0, MqMsgque_InitGetArg0 )
574OT_METH_O ( MqMsgque, InitResetArg0, MqMsgque_InitResetArg0 )
575OT_METH_S ( MqMsgque, InitResetArg0, MqMsgque_InitResetArg0 )
576OT_METH_O ( MqMsgque, InitSetArg0, MqMsgque_InitSetArg0 )
577OT_METH_S ( MqMsgque, InitSetArg0, MqMsgque_InitSetArg0 )
578
579// doc-key: MqMsgque,Setup,sm_
580OT_METH_O ( MqMsgque, Cleanup, MqMsgque_Cleanup )
581OT_METH_S ( MqMsgque, Cleanup, MqMsgque_Cleanup )
582OT_METH_O ( MqMsgque, Setup, MqMsgque_Setup )
583OT_METH_S ( MqMsgque, Setup, MqMsgque_Setup )
584
585// END-CLASS - created by 'rb_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
586
587// BEGIN-OBJ - created by 'rb_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
588
589// → no data
590
591// END-OBJ - created by 'rb_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
592
593/*
594 rb_define_const(MQ(MqMsgque), "WAIT_FOREVER", INT2VAL(2));
595
596 // Start
597 rb_define_const(MQ(MqMsgque), "START_DEFAULT", INT2VAL(0));
598 rb_define_const(MQ(MqMsgque), "START_FORK", INT2VAL(1));
599 rb_define_const(MQ(MqMsgque), "START_THREAD", INT2VAL(2));
600 rb_define_const(MQ(MqMsgque), "START_SPAWN", INT2VAL(3));
601*/
602}
#define OT_METH_S(c, s, f)
#define OT_METH_O(c, s, f)

◆ rbmqmsgque_MqMsgque_M()

static OT_ProcRet rbmqmsgque_MqMsgque_M ( OtClass_ARGS )
static

Definition at line 487 of file LibMqMsgque_rb.c.

487 {
489 OT_SETUP_VARARGS(1,1,"M(repeat*10)")
490 VALUE strO = 0;
495 strO = rb_funcall(rb_obj_as_string(strO), rb_intern("*"), 1, INT2VAL(17));
496 MkLogV_4M(MK_ERROR_PRINT,proc,0, "%s [%s:%d]\n", VAL2STRN(strO), file, line);
498}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define INT2VAL(nat)
#define OT_retObj_RETURN
#define OT_GET_CALL_ALL
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl_static
#define MK_ERROR_PRINT
#define MkLogV_4M(x, callfunc, debug, printfmt,...)
#define OT_CHECK_LNG_T(val)

◆ rbmqmsgque_MqMsgque_printObj()

static OT_ProcRet rbmqmsgque_MqMsgque_printObj ( OtClass_ARGS )
static

Definition at line 500 of file LibMqMsgque_rb.c.

500 {
502 OT_SETUP_VARARGS(1,2,"printObj object ?caller?")
503 VALUE obj = 0;
505 MK_STRN caller = NULL;
509 if (caller == NULL) caller = OT_GET_CALL_PROC;
510 MK(_printObj)(MK_RT_CALL obj,caller);
512}
#define OT_GET_CALL_PROC
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_STRN(val)
const MK_STRB * MK_STRN
#define MK_RT_CALL
MK_OBJ const obj
Definition high_lng.h:136
if(call==MQ_RET &&highSKIP==highSIZE) goto call
Definition high_lng.h:230

Variable Documentation

◆ rbmqmsgque_MqIdentE

VALUE rbmqmsgque_MqIdentE

Definition at line 122 of file LibMqMsgque_rb.c.

◆ rbmqmsgque_MqMsgque

VALUE rbmqmsgque_MqMsgque

Definition at line 118 of file LibMqMsgque_rb.c.

◆ rbmqmsgque_MqSlaveE

VALUE rbmqmsgque_MqSlaveE

Definition at line 123 of file LibMqMsgque_rb.c.

◆ rbmqmsgque_MqStartE

VALUE rbmqmsgque_MqStartE

Definition at line 124 of file LibMqMsgque_rb.c.

◆ rbmqmsgque_MqStatusIsEF

VALUE rbmqmsgque_MqStatusIsEF

Definition at line 125 of file LibMqMsgque_rb.c.

◆ rbmqmsgque_MqWaitOnEventE

VALUE rbmqmsgque_MqWaitOnEventE

Definition at line 126 of file LibMqMsgque_rb.c.