theLink 10.0
Loading...
Searching...
No Matches
MqCall_cc.hh
Go to the documentation of this file.
1
9/* LABEL-NO */
10
11#pragma once
12
13#include "LibMqMsgque_cc.hh"
14
15namespace ccmqmsgque {
16
28
48
50
51 private:
54
55 public:
56
58 return new MqServiceCallbackC(PC_MqTokenICB,callback, self);
59 }
61 return new MqServiceCallbackC(PC_MqTokenCCB,callback, self);
62 }
63 static MK_CBP Create(MK_RT_ARGS MqServiceIF * const service, MqContextC *self = NULL) {
64 return new MqServiceCallbackC(PC_MqServiceIF,service, self);
65 }
66 static MK_CBP Create(MK_RT_ARGS MqEventIF * const event, MqContextC *self = NULL) {
67 return new MqServiceCallbackC(PC_MqEventIF,event, self);
68 }
69 static MK_CBP Create(MK_RT_ARGS MqServerSetupIF * const serverSetup, MqContextC *self = NULL) {
70 return new MqServiceCallbackC(PC_MqServerSetupIF,serverSetup, self);
71 }
72 static MK_CBP Create(MK_RT_ARGS MqServerCleanupIF * const serverCleanup, MqContextC *self = NULL) {
73 return new MqServiceCallbackC(PC_MqServerCleanupIF,serverCleanup, self);
74 }
75 static MK_CBP Create(MK_RT_ARGS MqBgErrorIF * const bgError, MqContextC *self = NULL) {
76 return new MqServiceCallbackC(PC_MqBgErrorIF,bgError, self);
77 }
78 static MK_CBP Create(MK_RT_ARGS MQ_CTX const context, MqServiceCallbackC* const copy, MqContextC *self = NULL);
79
80 static enum MkErrorE Call ( MQ_SERVICE_CALL_ARGS );
81 static void Free ( MQ_SERVICE_FREE_ARGS );
82 static void Copy ( MQ_SERVICE_COPY_ARGS );
83 };
84
89};
90
tag: nhi1-release-250425
implements the ccmqmsgque API object: ConfigSetBgError
PUBLIC data structure for the ccmqmsgque-specific-data → C-API: libmqmsgque::MqContextS
implements the ccmqmsgque API object: ConfigSetEvent
implements the ccmqmsgque API object: ConfigSetServerCleanup
implements the ccmqmsgque API object: ConfigSetServerSetup
Callback for a Service.
MK_PTRB * MK_CBP
#define MK_RT_ARGS
void(MqContextC::*) MqTokenICB()
instance-callback
void(*) MqTokenCCB(MqContextC *)
class-callback
#define MQ_SERVICE_FREE_ARGS
the libmqmsgque::MqDataFreeF arguments with default names
#define MQ_SERVICE_CALL_ARGS
the libmqmsgque::MqTokenF arguments with default names
#define MQ_SERVICE_COPY_ARGS
the libmqmsgque::MqDataFreeF arguments with default names
namespace for the CcMqMsgque "C++"-API
infrastructur to use the ccmqmsgque specific callback …
Definition MqCall_cc.hh:18
MqServiceCallbackC(enum MqServiceCallbackE type, union MqServiceCallbackU call, MqContextC *self)
Definition MqCall_cc.hh:52
static MK_CBP Create(MK_RT mkrt, MqContextC::MqTokenICB const callback, MqContextC *self=NULL)
Definition MqCall_cc.hh:57
static MK_CBP Create(MK_RT mkrt, MqServiceIF *const service, MqContextC *self=NULL)
Definition MqCall_cc.hh:63
static enum MkErrorE Call(MQ_SERVICE_CALL_ARGS)
Definition MqCall_cc.cc:78
static MK_CBP Create(MK_RT mkrt, MqServerSetupIF *const serverSetup, MqContextC *self=NULL)
Definition MqCall_cc.hh:69
static MK_CBP Create(MK_RT mkrt, MqServerCleanupIF *const serverCleanup, MqContextC *self=NULL)
Definition MqCall_cc.hh:72
static MK_CBP Create(MK_RT mkrt, MqContextC::MqTokenCCB const callback, MqContextC *self=NULL)
Definition MqCall_cc.hh:60
enum ccmqmsgque::MqServiceCallbackC::MqServiceCallbackE type
static void Copy(MQ_SERVICE_COPY_ARGS)
Definition MqCall_cc.cc:73
static MK_CBP Create(MK_RT mkrt, MqEventIF *const event, MqContextC *self=NULL)
Definition MqCall_cc.hh:66
static void Free(MQ_SERVICE_FREE_ARGS)
Definition MqCall_cc.cc:67
static MK_CBP Create(MK_RT mkrt, MqBgErrorIF *const bgError, MqContextC *self=NULL)
Definition MqCall_cc.hh:75
union ccmqmsgque::MqServiceCallbackC::MqServiceCallbackU call
PUBLIC data structure for the ccmqmsgque-specific-data