theLink
10.0
NHI1
-
theKernel
-
theLink
-
theConfig
-
theSq3Lite
-
theCompiler
-
theBrain
-
theGuard
-
theLib
-
theATL
c
-
tcl
-
atl
-
cs
-
py
-
rb
-
jv
-
cc
Loading...
Searching...
No Matches
LibMqMsgque_rb.h
Go to the documentation of this file.
1
9
#pragma once
10
11
#include "
LibMkKernel_rb.h
"
12
#include "
LibMqMsgque_mq.h
"
13
14
/*****************************************************************************/
15
/* */
16
/* Macro_API */
17
/* */
18
/*****************************************************************************/
19
20
// BEGIN-HEADER - created by 'rb_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
21
22
#undef HEADER
23
#define HEADER
24
25
// If the source of libmqmsgque is direct used in an external library
26
// (without dynamic linking) and this library should *not* export
27
// the symbol's of libmqmsgque then the flag META_IGNORE_EXTERN have
28
// to be set
29
#undef MQ_RB_EXTERN
30
#if defined(META_IGNORE_EXTERN)
31
# define MQ_RB_EXTERN
32
#elif defined(PIC)
33
// does we build a DLL ?
34
# if defined(DLL_EXPORT)
35
// does we build the libmqmsgque library ?
36
# if defined(MQ_RB_BUILD_DLL)
37
# define MQ_RB_EXTERN __declspec(dllexport)
38
# else
39
# define MQ_RB_EXTERN __declspec(dllimport)
40
# endif
41
# else
42
// no DLL - architecture specific extern specifier
43
# define MQ_RB_EXTERN __attribute__ ((visibility("default")))
44
# endif
45
#else
47
# define MQ_RB_EXTERN
48
#endif
49
50
// external data lookup
51
#undef MQ_RB_EXTERN_DATA
52
#if defined(META_PRIVATE)
53
# define MQ_RB_EXTERN_DATA extern
54
#elif defined(META_IGNORE_EXTERN)
55
# define MQ_RB_EXTERN_DATA extern
56
#elif defined(PIC)
57
// does we build a DLL ?
58
# if defined(DLL_EXPORT)
59
// does we build the libmqmsgque library ?
60
# if defined(MQ_RB_BUILD_DLL)
61
# define MQ_RB_EXTERN_DATA __declspec(dllexport)
62
# else
63
# define MQ_RB_EXTERN_DATA __declspec(dllimport)
64
# endif
65
# else
66
// no DLL - architecture specific extern specifier
67
# define MQ_RB_EXTERN_DATA __attribute__ ((visibility("default"))) extern
68
# endif
69
#else
70
# define MQ_RB_EXTERN_DATA extern
71
#endif
72
73
#undef MQ
74
#define MQ(n) rbmqmsgque_ ## n
75
#undef NS
76
#define NS(n) rbmqmsgque_ ## n
77
78
// END-HEADER - created by 'rb_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
79
80
#undef OT_PKG
81
#define OT_PKG MQ(MqMsgque)
82
83
#include "
tmpl/mq_type_S_lng.h
"
84
#include "
tmpl/mq_misc_check_lng.h
"
85
86
/*****************************************************************************/
87
/* */
88
/* Class_API */
89
/* */
90
/*****************************************************************************/
91
92
MQ_RB_EXTERN_DATA
OT_CLS_T
MQ
(MqMsgque);
93
94
// BEGIN-CLASS - created by 'rb_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
95
96
// ----------------------------------------------------------------------
97
// class: MqContextC
98
99
MQ_RB_EXTERN_DATA
OT_CLS_T
MQ
(MqContextC);
100
#define MqContextC_lngO MQ(MqContextC)
101
#define MqContextC_base MK(MkObjectC)
102
103
// MK_NULL singelton
104
MQ_RB_EXTERN_DATA
OT_OBJ_T
MQ
(
MqContextC_MK_NULL
);
105
#define MqContextC_MK_NULL MQ(MqContextC_MK_NULL)
106
107
// arguments
108
#define MqContextC_ARGS LNG_ARGS
109
#define MqContextC_ARGS_CALL LNG_ARGS_CALL
110
111
// return object
112
#define OT_retObj_SET_CTX(nat) retObj = MQ(MqContextC_ObjNew) (MK_RT_CALL nat)
113
114
// new object
115
#define OT_TMP_CTX_OBJ(val) MQ(MqContextC_ObjNew)(MK_RT_CALL val)
116
MK_ARTIFICIAL
117
mk_inline
OT_OBJ_T
MQ
(MqContextC_ObjNew) (
MK_RT_ARGS
MqContextC_type
hdl) {
118
return
hdl ?
MK
(AtomObjNew) (
MK_RT_CALL
MqContextC_X2obj
(hdl)) :
MqContextC_MK_NULL
;
119
}
120
121
// cast from LNG to MQ
122
#define VAL2CTX(val) ((MQ_CTX)DATA_PTR(val))
123
124
// ----------------------------------------------------------------------
125
// class: MqDumpC
126
127
MQ_RB_EXTERN_DATA
OT_CLS_T
MQ
(MqDumpC);
128
#define MqDumpC_lngO MQ(MqDumpC)
129
#define MqDumpC_base MK(MkObjectC)
130
131
// MK_NULL singelton
132
MQ_RB_EXTERN_DATA
OT_OBJ_T
MQ
(
MqDumpC_MK_NULL
);
133
#define MqDumpC_MK_NULL MQ(MqDumpC_MK_NULL)
134
135
// arguments
136
#define MqDumpC_ARGS LNG_ARGS
137
#define MqDumpC_ARGS_CALL LNG_ARGS_CALL
138
139
// return object
140
#define OT_retObj_SET_DMP(nat) retObj = MQ(MqDumpC_ObjNew) (MK_RT_CALL nat)
141
142
// new object
143
#define OT_TMP_DMP_OBJ(val) MQ(MqDumpC_ObjNew)(MK_RT_CALL val)
144
MK_ARTIFICIAL
145
mk_inline
OT_OBJ_T
MQ
(MqDumpC_ObjNew) (
MK_RT_ARGS
MqDumpC_type
hdl) {
146
return
hdl ?
MK
(AtomObjNew) (
MK_RT_CALL
MqDumpC_X2obj
(hdl)) :
MqDumpC_MK_NULL
;
147
}
148
149
// cast from LNG to MQ
150
#define VAL2DMP(val) ((MQ_DMP)DATA_PTR(val))
151
152
// ----------------------------------------------------------------------
153
// class: MqFactoryC
154
155
MQ_RB_EXTERN_DATA
OT_CLS_T
MQ
(MqFactoryC);
156
#define MqFactoryC_lngO MQ(MqFactoryC)
157
#define MqFactoryC_base MK(MkObjectC)
158
159
// MK_NULL singelton
160
MQ_RB_EXTERN_DATA
OT_OBJ_T
MQ
(
MqFactoryC_MK_NULL
);
161
#define MqFactoryC_MK_NULL MQ(MqFactoryC_MK_NULL)
162
163
// arguments
164
#define MqFactoryC_ARGS LNG_ARGS
165
#define MqFactoryC_ARGS_CALL LNG_ARGS_CALL
166
167
// return object
168
#define OT_retObj_SET_FCT(nat) retObj = MQ(MqFactoryC_ObjNew) (MK_RT_CALL nat)
169
170
// new object
171
#define OT_TMP_FCT_OBJ(val) MQ(MqFactoryC_ObjNew)(MK_RT_CALL val)
172
MK_ARTIFICIAL
173
mk_inline
OT_OBJ_T
MQ
(MqFactoryC_ObjNew) (
MK_RT_ARGS
MqFactoryC_type
hdl) {
174
return
hdl ?
MK
(AtomObjNew) (
MK_RT_CALL
MqFactoryC_X2obj
(hdl)) :
MqFactoryC_MK_NULL
;
175
}
176
177
// cast from LNG to MQ
178
#define VAL2FCT(val) ((MQ_FCT)DATA_PTR(val))
179
180
// END-CLASS - created by 'rb_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
181
182
/*****************************************************************************/
183
/* */
184
/* lng_basic */
185
/* */
186
/*****************************************************************************/
187
188
#define OT_GET_CTX(hdl) MkObjGetContext(hdl)
189
190
// enums ******************************************************************************
191
192
#define OT_NEW_Mq_enum_OBJ(typ,i) MK(OtNewInstanceWithOneArg)(MQ(Mq##typ),INT2VAL(i))
193
194
// BEGIN-enum - created by 'rb_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
195
196
MQ_RB_EXTERN_DATA
VALUE
MQ
(
MqIdentE
);
197
MQ_RB_EXTERN_DATA
VALUE
MQ
(
MqSlaveE
);
198
MQ_RB_EXTERN_DATA
VALUE
MQ
(
MqStartE
);
199
MQ_RB_EXTERN_DATA
VALUE
MQ
(
MqStatusIsEF
);
200
MQ_RB_EXTERN_DATA
VALUE
MQ
(
MqWaitOnEventE
);
201
202
// END-enum - created by 'rb_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
203
204
/*****************************************************************************/
205
/* */
206
/* Misc's */
207
/* */
208
/*****************************************************************************/
209
210
#undef HEADER
LibMkKernel_rb.h
tag: nhi1-release-250425
MK
#define MK(n)
Definition
LibMkKernel_rb.h:80
OT_CLS_T
#define OT_CLS_T
Definition
LibMkKernel_rb.h:93
OT_OBJ_T
#define OT_OBJ_T
Definition
LibMkKernel_rb.h:91
LibMqMsgque_mq.h
MqContextC_MK_NULL
#define MqContextC_MK_NULL
Definition
LibMqMsgque_rb.h:105
MQ_RB_EXTERN_DATA
#define MQ_RB_EXTERN_DATA
Definition
LibMqMsgque_rb.h:70
MQ
#define MQ(n)
Definition
LibMqMsgque_rb.h:74
MqDumpC_MK_NULL
#define MqDumpC_MK_NULL
Definition
LibMqMsgque_rb.h:133
MqFactoryC_MK_NULL
#define MqFactoryC_MK_NULL
Definition
LibMqMsgque_rb.h:161
mk_inline
#define mk_inline
MK_ARTIFICIAL
#define MK_ARTIFICIAL
MK_RT_CALL
#define MK_RT_CALL
MK_RT_ARGS
#define MK_RT_ARGS
MqContextC_type
#define MqContextC_type
same as MqContextS but useable in a class-macro as: class##_type …
Definition
LibMqMsgque_mq.h:4175
MqContextC_X2obj
#define MqContextC_X2obj(x)
Definition
LibMqMsgque_mq.h:4154
MqDumpC_X2obj
#define MqDumpC_X2obj(x)
Definition
LibMqMsgque_mq.h:8697
MqDumpC_type
#define MqDumpC_type
same as MqDumpS but useable in a class-macro as: class##_type …
Definition
LibMqMsgque_mq.h:8718
MqFactoryC_X2obj
#define MqFactoryC_X2obj(x)
Definition
LibMqMsgque_mq.h:3208
MqFactoryC_type
#define MqFactoryC_type
same as MqFactoryS but useable in a class-macro as: class##_type …
Definition
LibMqMsgque_mq.h:3229
MqWaitOnEventE
MqWaitOnEventE
wait for an event? …
Definition
LibMqMsgque_mq.h:1586
MqSlaveE
MqSlaveE
predefined slave-id for well known slaves …
Definition
LibMqMsgque_mq.h:1656
MqIdentE
MqIdentE
identify the application using prefix (default) or factory …
Definition
LibMqMsgque_mq.h:705
MqStartE
MqStartE
User preferences on HOWTO start a new entity.
Definition
LibMqMsgque_mq.h:1424
MqStatusIsEF
MqStatusIsEF
Information about how the context was created.
Definition
LibMqMsgque_mq.h:1466
mq_misc_check_lng.h
tag: nhi1-release-250425
mq_type_S_lng.h
tag: nhi1-release-250425
Generated on Thu May 29 2025 13:13:59 for theLink by
1.12.0