Loading...
Searching...
No Matches
LibMqMsgque_cc.hh
Go to the documentation of this file.
1
12/* LABEL-NO */
13
14#pragma once
15
16#ifndef META_COMPILE_AS_CC
17 #define META_COMPILE_AS_CC
18#endif
19#include "msgque_mq.h"
20#include "debug_mq.h"
21
22// name collision between MqFactoryCT<> template and MqFactoryCT class macro
23#undef MqFactoryCT
24
25// required for "ccmkkernel"
26#include "LibMkKernel_cc.hh"
27
28// MARK_D ################################################################
29// -----------------------------------------------------------------------
30// documentation order
31
40
52
76
85
94
102
111
119
120
121// --------------------------------------------------------------------------------
122
123namespace ccmqmsgque {
124
125 using namespace libmkkernel;
126 using namespace libmqmsgque;
127 using namespace ccmkkernel;
128
129 // BEGIN-MqMsgque-class-decl - created by 'cc_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
130
131 class MqDumpC;
132 class MqContextC;
133 class MqFactoryC;
134
135 // END-MqMsgque-class-decl - created by 'cc_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
136 template<class T> class MqFactoryCT;
137
139 class IService {
140 public:
141 virtual void Service (MqContextC * const ctx) = 0;
142 };
144
147 public:
148 virtual void ServerSetup () = 0;
149 };
151
154 public:
155 virtual void ServerCleanup () = 0;
156 };
158
160 class IBgError {
161 public:
162 virtual void BgError () = 0;
163 };
165
167 class IEvent {
168 public:
169 virtual void Event () = 0;
170 };
172
173}; // END - namespace "ccmqmsgque"
174
175// require "using namespace ..."
176// BEGIN-MqMsgque-include - created by 'cc_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
177
178#include "MqDumpC_cc.hh"
179#include "MqContextC_cc.hh"
180#include "MqFactoryC_cc.hh"
181
182#include "MqDumpC_inline_cc.hh"
185
186// END-MqMsgque-include - created by 'cc_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
187
189namespace ccmqmsgque {
190
193 class MqStaticC {
194 public:
195 MqStaticC();
196 ~MqStaticC();
197 };
198
201 class MqMsgque {
202
205
206 private:
207 MqMsgque () {};
208
209 // this "simulate" a static constructor…
211
212 static void mq_static_init_callback ( MK_RT mkrt );
213
214 // BEGIN-MqMsgque - created by 'cc_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
215
219
220 public:
221
222 // doc-key: MqMsgque,MqMsgque-Enum,sco,public
223
225 static MqIdentE IdentE_FromInt (MK_I32 value);
226
228 static MqSlaveE SlaveE_FromInt (MK_I32 value);
229
231 static MqStartE StartE_FromInt (MK_I32 value);
232
235
238
239 // doc-key: MqMsgque,MqMsgque-Enum,sm_,public
240
242 static MK_I32 IdentE_ToInt (MqIdentE value);
243
245 static MK_STRN IdentE_ToString (MqIdentE value);
246
248 static MK_I32 SlaveE_ToInt (MqSlaveE value);
249
251 static MK_STRN SlaveE_ToString (MqSlaveE value);
252
254 static MK_I32 StartE_ToInt (MqStartE value);
255
257 static MK_STRN StartE_ToString (MqStartE value);
258
260 static MK_I32 StatusIsEF_ToInt (MqStatusIsEF value);
261
264
267
270
272 // MqMsgque_Enum_CC_API
273
277
278 public:
279
280 // doc-key: MqMsgque,MqMsgque-Help,sm_,public
281
283 static MK_STR Help (MK_STRN tool);
284
286 static MK_STR Help (const std::string& tool);
287
289 static MK_STR HelpMsgque ();
290
292 // MqMsgque_Help_CC_API
293
297
298 public:
299
300 // doc-key: MqMsgque,MqMsgque-Init,sm_,public
301
303 static MkBufferListC* InitGetArg0 ();
304
306 static MkBufferListC* InitResetArg0 ();
307
309 static void InitSetArg0 (MkBufferListC* bfl = NULL);
310
312 static void InitSetArg0 (const MkBufferListC& bfl);
313
315 static void InitSetArg0VA (MK_STRN arg0, ... );
316
318 static void InitSetArg0VA (const std::string& arg0, ... );
319
321 static void InitSetArg0VAL (MK_STRN arg0, va_list var_list);
322
324 static void InitSetArg0VAL (const std::string& arg0, va_list var_list);
325
327 // MqMsgque_Init_CC_API
328
332
333 public:
334
335 // doc-key: MqMsgque,MqMsgque-Setup,sm_,public
336
338 static void Cleanup ();
339
341 static void Setup ();
342
344 // MqMsgque_Setup_CC_API
345
346 // END-MqMsgque - created by 'cc_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
347
349 };
350}
351
LibMqMsgque_inline_cc.hh - 10 Sep 2024 - aotto1968.
MqContextC_cc.hh - 10 Sep 2024 - aotto1968.
MqContextC_inline_cc.hh - 10 Sep 2024 - aotto1968.
MqDumpC_cc.hh - 10 Sep 2024 - aotto1968.
MqDumpC_inline_cc.hh - 10 Sep 2024 - aotto1968.
MqFactoryC_cc.hh - 10 Sep 2024 - aotto1968.
MqFactoryC_inline_cc.hh - 10 Sep 2024 - aotto1968.
implements the ccmqmsgque API object: ConfigSetBgError
virtual void BgError()=0
implements the ccmqmsgque API object: ConfigSetEvent
virtual void Event()=0
implements the ccmqmsgque API object: ConfigSetServerCleanup
virtual void ServerCleanup()=0
implements the ccmqmsgque API object: ConfigSetServerSetup
virtual void ServerSetup()=0
Callback for a Service.
virtual void Service(MqContextC *const ctx)=0
PUBLIC data structure for the ccmqmsgque-specific-data → C-API: libmqmsgque::MqContextS
MqMsgque PACKAGE - the package is the toplevel structure of the ccmqmsgque …
static void mq_static_init_callback(MK_RT mkrt)
static MqStaticC mq_sta
static constructor for CcMqMsgque …
signed int MK_I32
MK_STRB * MK_STR
const MK_STRB * MK_STRN
#define MqFactoryCT
class as MkSuperTypeS-class-type for MqFactoryC in the Target-Programming-Language (TPL) …
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...
MqIdentE
identify the application using prefix (default) or factory …
MqWaitOnEventE
wait for an event? …
MqStatusIsEF
Information about how the context was created.
MqSlaveE
predefined slave-id for well known slaves …
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...
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...
static void Cleanup()
C++: [static] MqMsgque::Cleanup() → C-API cleanup ccmqmsgque internal memory …
static void Setup()
C++: [static] MqMsgque::Setup() → C-API setup ccmqmsgque internal memory …
namespace for the CcMqMsgque "C++"-API
IBgError MqBgErrorIF
IService MqServiceIF
IServerCleanup MqServerCleanupIF
IServerSetup MqServerSetupIF