theLink 10.0
Loading...
Searching...
No Matches
MqFactoryC_TOR_CC_API

MqFactoryC - various functions to create, initialize and destroy a factoryMore...

+ Collaboration diagram for MqFactoryC_TOR_CC_API:

Functions

MqFactoryCccmqmsgque::MqFactoryC::Dup2 (MK_STRN ident) const
  C++: [constructor] MqFactoryC* fct.Dup2(MK_STRN ident) C-API
create a duplicate of the singleton object MqFactoryC using a new factory-identifer
 
MqFactoryCccmqmsgque::MqFactoryC::Dup2 (const std::string &ident) const
  C++: [constructor] MqFactoryC* fct.Dup2(MK_STRN ident) C-API
create a duplicate of the singleton object MqFactoryC using a new factory-identifer
 

Detailed Description

MqFactoryC - various functions to create, initialize and destroy a factory

Function Documentation

◆ Dup2() [1/2]

MqFactoryC * ccmqmsgque::MqFactoryC::Dup2 ( const std::string & ident) const
inline

C++: [constructor] MqFactoryC* fct.Dup2(MK_STRN ident) C-API
create a duplicate of the singleton object MqFactoryC using a new factory-identifer

Definition at line 217 of file MqFactoryC_inline_cc.hh.

217 {
218 MK_UNUSED auto fct = getFCTN();
219 const MK_STRN ident_hdl = ident.c_str();
220 MQ_FCT __retVal__L = MqFactoryDup2(fct, ident_hdl);
221 if (__retVal__L == NULL) {
222 throw MkInitError("MqFactoryC::Dup2");
223 }
225 }
#define MK_UNUSED
const MK_STRB * MK_STRN
#define MK_RT_CALL
MQ_FCTN getFCTN() const
(const) return the LibMsgqueObject from current MqFactoryC instance
static MqFactoryC * MqFactoryC_ObjCreate(MK_RT_ARGS MQ_FCT hdl)
struct MqFactoryS * MQ_FCT
class-shortcut for struct MqFactoryS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MqFactoryDup2(...)

◆ Dup2() [2/2]

MqFactoryC * ccmqmsgque::MqFactoryC::Dup2 ( MK_STRN ident) const
inline

C++: [constructor] MqFactoryC* fct.Dup2(MK_STRN ident) C-API
create a duplicate of the singleton object MqFactoryC using a new factory-identifer

Definition at line 207 of file MqFactoryC_inline_cc.hh.

207 {
208 MK_UNUSED auto fct = getFCTN();
209 MQ_FCT __retVal__L = MqFactoryDup2(fct, ident);
210 if (__retVal__L == NULL) {
211 throw MkInitError("MqFactoryC::Dup2");
212 }
214 }