theLink 10.0
Loading...
Searching...
No Matches
LibMqMsgque_inline_cc.hh
Go to the documentation of this file.
1
9/* LABEL-NO */
10
11// --------------------------------------------------------------------------------
12
14namespace ccmqmsgque {
15
16 // BEGIN-MqMsgque - created by 'cc_MqC.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
17
21
22 // doc-key: MqMsgque,MqMsgque-Enum,sco
23
27 enum MqIdentE value_out;
28 enum MkErrorE errVal = MqIdentE_FromInt(value, &value_out);
29 MkErrorC_Check(NULL, errVal);
30 return value_out;
31 }
32
36 enum MqSlaveE value_out;
37 enum MkErrorE errVal = MqSlaveE_FromInt(value, &value_out);
38 MkErrorC_Check(NULL, errVal);
39 return value_out;
40 }
41
45 enum MqStartE value_out;
46 enum MkErrorE errVal = MqStartE_FromInt(value, &value_out);
47 MkErrorC_Check(NULL, errVal);
48 return value_out;
49 }
50
54 enum MqStatusIsEF value_out;
55 enum MkErrorE errVal = MqStatusIsEF_FromInt(value, &value_out);
56 MkErrorC_Check(NULL, errVal);
57 return value_out;
58 }
59
63 enum MqWaitOnEventE value_out;
64 enum MkErrorE errVal = MqWaitOnEventE_FromInt(value, &value_out);
65 MkErrorC_Check(NULL, errVal);
66 return value_out;
67 }
68
69 // doc-key: MqMsgque,MqMsgque-Enum,sm_
70
74 MK_I32 __retVal__L = MqIdentE_ToInt(value);
75 return __retVal__L;
76 }
77
81 MK_STRN __retVal__L = MqIdentE_ToString(value);
82 return __retVal__L;
83 }
84
88 MK_I32 __retVal__L = MqSlaveE_ToInt(value);
89 return __retVal__L;
90 }
91
95 MK_STRN __retVal__L = MqSlaveE_ToString(value);
96 return __retVal__L;
97 }
98
102 MK_I32 __retVal__L = MqStartE_ToInt(value);
103 return __retVal__L;
104 }
105
109 MK_STRN __retVal__L = MqStartE_ToString(value);
110 return __retVal__L;
111 }
112
116 MK_I32 __retVal__L = MqStatusIsEF_ToInt(value);
117 return __retVal__L;
118 }
119
123 MK_STRN __retVal__L = MqStatusIsEF_ToString(value);
124 return __retVal__L;
125 }
126
130 MK_I32 __retVal__L = MqWaitOnEventE_ToInt(value);
131 return __retVal__L;
132 }
133
137 MK_STRN __retVal__L = MqWaitOnEventE_ToString(value);
138 return __retVal__L;
139 }
140
142 // MqMsgque_Enum_CC_API
143
147
148 // doc-key: MqMsgque,MqMsgque-Help,sm_
149
153 MK_STR __retVal__L = MqHelp(tool);
154 return __retVal__L;
155 }
156
158 inline MK_STR MqMsgque::Help (const std::string& tool) {
160 const MK_STRN tool_hdl = tool.c_str();
161 MK_STR __retVal__L = MqHelp(tool_hdl);
162 return __retVal__L;
163 }
164
168 MK_STR __retVal__L = MqHelpMsgque();
169 return __retVal__L;
170 }
171
173 // MqMsgque_Help_CC_API
174
178
179 // doc-key: MqMsgque,MqMsgque-Init,sm_
180
184 MK_BFL __retVal__L = MqInitGetArg0();
186 }
187
194
199 MqInitSetArg0(bfl_hdl);
200 }
201
203 inline void MqMsgque::InitSetArg0 (const MkBufferListC& bfl) {
205 const MK_BAC bfl_hdl = MkBufferListC::getBFL(bfl);
206 MqInitSetArg0(bfl_hdl);
207 }
208
210 inline void MqMsgque::InitSetArg0VA (MK_STRN arg0, ... ) {
212 va_list ap;
213 va_start (ap, arg0);
214 MqInitSetArg0VAL(arg0, ap);
215 va_end (ap);
216 }
217
219 inline void MqMsgque::InitSetArg0VA (const std::string& arg0, ... ) {
221 const MK_STRN arg0_hdl = arg0.c_str();
222 va_list ap;
223 va_start (ap, arg0);
224 MqInitSetArg0VAL(arg0_hdl, ap);
225 va_end (ap);
226 }
227
229 inline void MqMsgque::InitSetArg0VAL (MK_STRN arg0, va_list var_list) {
231 MqInitSetArg0VAL(arg0, var_list);
232 }
233
235 inline void MqMsgque::InitSetArg0VAL (const std::string& arg0, va_list var_list) {
237 const MK_STRN arg0_hdl = arg0.c_str();
238 MqInitSetArg0VAL(arg0_hdl, var_list);
239 }
240
242 // MqMsgque_Init_CC_API
243
244 // END-MqMsgque - created by 'cc_MqC.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
245
246}
static MkBufferListC * MkBufferListC_ObjNew(MK_RT_ARGS MK_BFL hdl)
MK_BFL getBFL__null_allow() const
signed int MK_I32
MK_STRB * MK_STR
const MK_STRB * MK_STRN
#define MK_RT_CALL
#define MkRtSetup_NULL
static MK_STRN SlaveE_ToString(MqSlaveE value)
C++: [static] MK_STRN MqMsgque::SlaveE_ToString(MqSlaveE value) → C-API return the MqSlaveE as s...
static MqIdentE IdentE_FromInt(MK_I32 value)
C++: [static] MqIdentE MqMsgque::IdentE_FromInt(MK_I32 value) → C-API return the MqIdentE from i...
static MqSlaveE SlaveE_FromInt(MK_I32 value)
C++: [static] MqSlaveE MqMsgque::SlaveE_FromInt(MK_I32 value) → C-API return the MqSlaveE from i...
static MqStatusIsEF StatusIsEF_FromInt(MK_I32 value)
C++: [static] MqStatusIsEF MqMsgque::StatusIsEF_FromInt(MK_I32 value) → C-API return the MqStatu...
static MK_I32 StatusIsEF_ToInt(MqStatusIsEF value)
C++: [static] MK_I32 MqMsgque::StatusIsEF_ToInt(MqStatusIsEF value) → C-API return the MqStatusI...
static MK_I32 WaitOnEventE_ToInt(MqWaitOnEventE value)
C++: [static] MK_I32 MqMsgque::WaitOnEventE_ToInt(MqWaitOnEventE value) → C-API return the MqWai...
static MqWaitOnEventE WaitOnEventE_FromInt(MK_I32 value)
C++: [static] MqWaitOnEventE MqMsgque::WaitOnEventE_FromInt(MK_I32 value) → C-API return the MqW...
static MK_STRN WaitOnEventE_ToString(MqWaitOnEventE value)
C++: [static] MK_STRN MqMsgque::WaitOnEventE_ToString(MqWaitOnEventE value) → C-API return the M...
static MK_STRN StartE_ToString(MqStartE value)
C++: [static] MK_STRN MqMsgque::StartE_ToString(MqStartE value) → C-API return the MqStartE as s...
static MK_STRN StatusIsEF_ToString(MqStatusIsEF value)
C++: [static] MK_STRN MqMsgque::StatusIsEF_ToString(MqStatusIsEF value) → C-API return the MqSta...
static MK_I32 StartE_ToInt(MqStartE value)
C++: [static] MK_I32 MqMsgque::StartE_ToInt(MqStartE value) → C-API return the MqStartE as integ...
static MK_STRN IdentE_ToString(MqIdentE value)
C++: [static] MK_STRN MqMsgque::IdentE_ToString(MqIdentE value) → C-API return the MqIdentE as s...
static MqStartE StartE_FromInt(MK_I32 value)
C++: [static] MqStartE MqMsgque::StartE_FromInt(MK_I32 value) → C-API return the MqStartE from i...
static MK_I32 IdentE_ToInt(MqIdentE value)
C++: [static] MK_I32 MqMsgque::IdentE_ToInt(MqIdentE value) → C-API return the MqIdentE as integ...
static MK_I32 SlaveE_ToInt(MqSlaveE value)
C++: [static] MK_I32 MqMsgque::SlaveE_ToInt(MqSlaveE value) → C-API return the MqSlaveE as integ...
static MK_I32 MqWaitOnEventE_ToInt(enum MqWaitOnEventE value)
return the MqWaitOnEventE as integer …
enum MkErrorE MqIdentE_FromInt(MK_I32 const value, enum MqIdentE *value_out)
return the MqIdentE from integer …
static MK_I32 MqIdentE_ToInt(enum MqIdentE value)
return the MqIdentE as integer …
enum MkErrorE MqSlaveE_FromInt(MK_I32 const value, enum MqSlaveE *value_out)
return the MqSlaveE from integer …
static MK_I32 MqStatusIsEF_ToInt(enum MqStatusIsEF value)
return the MqStatusIsEF as integer …
MqIdentE
identify the application using prefix (default) or factory …
static MK_I32 MqSlaveE_ToInt(enum MqSlaveE value)
return the MqSlaveE as integer …
MqWaitOnEventE
wait for an event? …
MqStatusIsEF
Information about how the context was created.
enum MkErrorE MqStartE_FromInt(MK_I32 const value, enum MqStartE *value_out)
return the MqStartE from integer …
enum MkErrorE MqStatusIsEF_FromInt(MK_I32 const value, enum MqStatusIsEF *value_out)
return the MqStatusIsEF from integer …
static MK_I32 MqStartE_ToInt(enum MqStartE value)
return the MqStartE as integer …
enum MkErrorE MqWaitOnEventE_FromInt(MK_I32 const value, enum MqWaitOnEventE *value_out)
return the MqWaitOnEventE from integer …
MK_STRN MqSlaveE_ToString(enum MqSlaveE value)
return the MqSlaveE as string …
MK_STRN MqStatusIsEF_ToString(enum MqStatusIsEF value)
return the MqStatusIsEF as string …
MqSlaveE
predefined slave-id for well known slaves …
MK_STRN MqStartE_ToString(enum MqStartE value)
return the MqStartE as string …
MK_STRN MqIdentE_ToString(enum MqIdentE value)
return the MqIdentE as string …
MK_STRN MqWaitOnEventE_ToString(enum MqWaitOnEventE value)
return the MqWaitOnEventE as string …
MqStartE
User preferences on HOWTO start a new entity.
static MK_STR Help(MK_STRN tool)
C++: [static] MK_STR MqMsgque::Help(MK_STRN tool) → C-API write ccmqmsgque specific user-help to...
static MK_STR HelpMsgque()
C++: [static] MK_STR MqMsgque::HelpMsgque() → C-API return a page with the usage of all ccmqmsgq...
MK_STR MqHelpMsgque(void)
return a page with the usage of all ccmqmsgque specific options
MK_STR MqHelp(MK_STRN tool)
write ccmqmsgque specific user-help to stderr
static MkBufferListC * InitResetArg0()
C++: [static] MkBufferListC* MqMsgque::InitResetArg0() → C-API Reset the process-startup-prefix ...
static void InitSetArg0(MkBufferListC *bfl=NULL)
C++: [static] MqMsgque::InitSetArg0(MkBufferListC* bfl = NULL) → C-API set the process startup-p...
static void InitSetArg0VA(MK_STRN arg0,...)
C++: [static] MqMsgque::InitSetArg0VA(MK_STRN arg0, ... ) → C-API set the process startup-prefix...
static void InitSetArg0VAL(MK_STRN arg0, va_list var_list)
C++: [static] MqMsgque::InitSetArg0VAL(MK_STRN arg0, va_list var_list) → C-API set the process s...
static MkBufferListC * InitGetArg0()
C++: [static] MkBufferListC* MqMsgque::InitGetArg0() → C-API get the process startup-prefix argu...
void MqInitSetArg0(MK_BAC bfl)
set the process startup-prefix argument to bfl
MK_BFL MqInitResetArg0(void)
Reset the process-startup-prefix argument to an empty list …
MK_BFL MqInitGetArg0(void)
get the process startup-prefix argument
void MqInitSetArg0VAL(MK_STRN arg0, va_list var_list)
set the process startup-prefix to var_list
namespace for the CcMqMsgque "C++"-API