theLink 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib
c - tcl - atl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
LibMqMsgque_inline_cc.hh
Go to the documentation of this file.
1
12/* LABEL-NO */
13
14// --------------------------------------------------------------------------------
15
17namespace ccmqmsgque {
18
19 // BEGIN-MqMsgque - created by 'cc_MqC.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
20
24
25 // doc-key: MqMsgque,MqMsgque-Enum,sco
26
30 enum MqIdentE value_out;
31 enum MkErrorE errVal = MqIdentE_FromInt(value, &value_out);
32 MkErrorC_Check(NULL, errVal);
33 return value_out;
34 }
35
39 enum MqSlaveE value_out;
40 enum MkErrorE errVal = MqSlaveE_FromInt(value, &value_out);
41 MkErrorC_Check(NULL, errVal);
42 return value_out;
43 }
44
48 enum MqStartE value_out;
49 enum MkErrorE errVal = MqStartE_FromInt(value, &value_out);
50 MkErrorC_Check(NULL, errVal);
51 return value_out;
52 }
53
57 enum MqStatusIsEF value_out;
58 enum MkErrorE errVal = MqStatusIsEF_FromInt(value, &value_out);
59 MkErrorC_Check(NULL, errVal);
60 return value_out;
61 }
62
66 enum MqWaitOnEventE value_out;
67 enum MkErrorE errVal = MqWaitOnEventE_FromInt(value, &value_out);
68 MkErrorC_Check(NULL, errVal);
69 return value_out;
70 }
71
72 // doc-key: MqMsgque,MqMsgque-Enum,sm_
73
77 MK_I32 __retVal__L = MqIdentE_ToInt(value);
78 return __retVal__L;
79 }
80
84 MK_STRN __retVal__L = MqIdentE_ToString(value);
85 return __retVal__L;
86 }
87
91 MK_I32 __retVal__L = MqSlaveE_ToInt(value);
92 return __retVal__L;
93 }
94
98 MK_STRN __retVal__L = MqSlaveE_ToString(value);
99 return __retVal__L;
100 }
101
105 MK_I32 __retVal__L = MqStartE_ToInt(value);
106 return __retVal__L;
107 }
108
112 MK_STRN __retVal__L = MqStartE_ToString(value);
113 return __retVal__L;
114 }
115
119 MK_I32 __retVal__L = MqStatusIsEF_ToInt(value);
120 return __retVal__L;
121 }
122
126 MK_STRN __retVal__L = MqStatusIsEF_ToString(value);
127 return __retVal__L;
128 }
129
133 MK_I32 __retVal__L = MqWaitOnEventE_ToInt(value);
134 return __retVal__L;
135 }
136
140 MK_STRN __retVal__L = MqWaitOnEventE_ToString(value);
141 return __retVal__L;
142 }
143
145 // MqMsgque_Enum_CC_API
146
150
151 // doc-key: MqMsgque,MqMsgque-Help,sm_
152
156 MK_STR __retVal__L = MqHelp(tool);
157 return __retVal__L;
158 }
159
161 inline MK_STR MqMsgque::Help (const std::string& tool) {
163 const MK_STRN tool_hdl = tool.c_str();
164 MK_STR __retVal__L = MqHelp(tool_hdl);
165 return __retVal__L;
166 }
167
171 MK_STR __retVal__L = MqHelpMsgque();
172 return __retVal__L;
173 }
174
176 // MqMsgque_Help_CC_API
177
181
182 // doc-key: MqMsgque,MqMsgque-Init,sm_
183
187 MK_BFL __retVal__L = MqInitGetArg0();
189 }
190
197
202 MqInitSetArg0(bfl_hdl);
203 }
204
206 inline void MqMsgque::InitSetArg0 (const MkBufferListC& bfl) {
208 const MK_BAC bfl_hdl = MkBufferListC::getBFL(bfl);
209 MqInitSetArg0(bfl_hdl);
210 }
211
213 inline void MqMsgque::InitSetArg0VA (MK_STRN arg0, ... ) {
215 va_list ap;
216 va_start (ap, arg0);
217 MqInitSetArg0VAL(arg0, ap);
218 va_end (ap);
219 }
220
222 inline void MqMsgque::InitSetArg0VA (const std::string& arg0, ... ) {
224 const MK_STRN arg0_hdl = arg0.c_str();
225 va_list ap;
226 va_start (ap, arg0);
227 MqInitSetArg0VAL(arg0_hdl, ap);
228 va_end (ap);
229 }
230
232 inline void MqMsgque::InitSetArg0VAL (MK_STRN arg0, va_list var_list) {
234 MqInitSetArg0VAL(arg0, var_list);
235 }
236
238 inline void MqMsgque::InitSetArg0VAL (const std::string& arg0, va_list var_list) {
240 const MK_STRN arg0_hdl = arg0.c_str();
241 MqInitSetArg0VAL(arg0_hdl, var_list);
242 }
243
245 // MqMsgque_Init_CC_API
246
247 // END-MqMsgque - created by 'cc_MqC.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
248
249}
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