43 #ifdef MqFactoryC_selfCreate_overload
67#ifndef META_IS_MkObjectC
73#ifndef META_IS_MkObjectC
85 if (
unlikely(ret == NULL)) InstHdlIsNullError();
97 if (
unlikely(ret == NULL)) InstHdlIsNullError();
115 return clsHdl ?
reinterpret_cast<MQ_FCT>(clsHdl->
hdl) : NULL;
127 return clsHdl ?
reinterpret_cast<MQ_FCTN>(clsHdl->
hdl) : NULL;
279 static void LogAll (
MK_STRN callfunc = __builtin_FUNCTION());
331 self =
new T(type,
static_cast<MqContextC*
>(tmpl));
332 if (self) self->Init();
333 }
catch (
const std::exception& ex) {
338 return self?self->hdl:NULL;
342 T* self =
static_cast<T*
>(selfP);
371 if (MkErrorCheckE_NULL()) {
PUBLIC data structure for the ccmqmsgque-specific-data → C-API: libmqmsgque::MqContextS
template wrapper for libmqmsgque::MqFactoryS
T * New()
C++: MqContextC* fct.New() → C-API create a new MqContextC from a MqFactoryC …
static MK_OBJ ObjectSelfCreate(MK_RT_ARGS MK_TYP const type, MK_PTR const tmpl, MK_PTR const lnk)
self-constructer : called if a new instance is required …
static MqFactoryCT< T > * Add(MK_STRN ident)
Add a new MqFactoryC identified by factory-identifier and defined by factory-constructor … → C-API...
static MqFactoryCT< T > * MqFactoryCT_ObjNew(MK_RT_ARGS MQ_FCT fct)
static void FactorySelfDelete(MK_RT_ARGS MK_PTR selfptr, MK_PTR env)
static MqFactoryCT< T > * Get(MK_STRN ident="")
static void ObjectSelfDelete(MK_RT_ARGS MK_PTR selfP, MK_PTR env)
static MK_PTR FactorySelfCreate(MK_RT_ARGS MK_OBJ obj, MK_PTR dmy)
data used to define a factory → C-API: libmqmsgque::MqFactoryS
MqMsgque PACKAGE - the package is the toplevel structure of the ccmqmsgque …
static constructor for ccmqmsgque …
MkErrorC * Catch(std::exception *exception=NULL, MK_STRN callfunc=__builtin_FUNCTION())
MkErrorE Stack(MK_STRN callfunc=__builtin_FUNCTION(), MK_STRN callfile=__builtin_FILE(), MK_I32 callline=__builtin_LINE())
static MkErrorC * DEFAULT()
static MK_PTR atomObjCreate(MK_RT_ARGS MK_OBJ obj)
void atomInit(MK_OBJ obj)
static MK_PTR atomObjNew(MK_RT_ARGS MK_OBJ obj)
static MQ_FCTN getFCTN(const MqFactoryC *clsHdl)
(const) return LibMsgqueObject from current MqFactoryC pointer
static MQ_FCT getFCT(MqFactoryC *clsHdl)
return LibMsgqueObject from current MqFactoryC pointer
static MQ_FCTN getFCTN__null_allow(const MqFactoryC *clsHdl)
(const) return LibMsgqueObject from current MqFactoryC pointer
bool Check() const
check if pointer is still valid
static void MqFactoryC_selfUnlink(MK_RT_ARGS MK_PTR self, MK_PTR env)
static MK_PTR MqFactoryC_selfCreate(MK_RT_ARGS MK_OBJ obj, MK_PTR const env)
MQ_FCTN getFCTN() const
(const) return the LibMsgqueObject from current MqFactoryC instance
void MqFactoryC_Init(MQ_FCT hdl)
static void MqFactoryC_selfDelete(MK_RT_ARGS MK_PTR self, MK_PTR env)
static MQ_FCTN getFCTN(const MqFactoryC &clsHdl)
(const) return LibMsgqueObject from current MqFactoryC reference
static MqFactoryC * MqFactoryC_GetSelf(MQ_FCT hdl)
MQ_FCT getFCT() const
return the LibMsgqueObject from current MqFactoryC instance
static MqFactoryC * MqFactoryC_ObjNew(MK_RT_ARGS MQ_FCT hdl)
return MqFactoryC from LibMsgqueObject
static MQ_FCTN getFCTN__null_allow(const MqFactoryC &clsHdl)
(const) return LibMsgqueObject from current MqFactoryC reference
static MQ_FCT getFCT(const MqFactoryC &clsHdl)
return LibMsgqueObject from current MqFactoryC reference
static thread_local MqFactoryC MK_NULL_REF
static MqFactoryC * MqFactoryC_ObjCreate(MK_RT_ARGS MQ_FCT hdl)
static MQ_FCT getFCT__null_allow(const MqFactoryC &clsHdl)
return LibMsgqueObject from current MqFactoryC reference
MQ_FCTN getFCTN__null_allow() const
(const) return the LibMsgqueObject from current MqFactoryC instance
MQ_FCT getFCT__null_allow() const
return the LibMsgqueObject from current MqFactoryC instance
static MQ_FCT getFCT__null_allow(MqFactoryC *clsHdl)
return LibMsgqueObject from current MqFactoryC pointer
MqFactoryC * Next()
C++: MqFactoryC* fct.Next() → C-API get next instance from linked-list of MqFactoryS type
static MqFactoryC * Instances()
C++: [static] MqFactoryC* MqFactoryC::Instances() → C-API get head-instance from linked-list of ...
static MqFactoryC * HandleResolve(MK_HDL netHdl)
C++: [static] MqFactoryC* MqFactoryC::HandleResolve(MK_HDL netHdl) → C-API Handle-Resolve-Slot -...
static MqFactoryC * GetNull()
C++: [static] MqFactoryC* MqFactoryC::GetNull() → C-API Null-Slot - return a MqFactoryC typed NU...
MqFactoryC * Prev()
C++: MqFactoryC* fct.Prev() → C-API get previous instance from linked-list of MqFactoryS type
#define MqFactoryC_X2obj(x)
static bool MqFctCheck(MK_MNGN mng)
check MqFactoryS -> libmkkernel::MkObjectS::signature …
MK_STRN GetOriginalIdent() const
C++: MK_STRN fct.GetOriginalIdent() → C-API helper function to return MqFactoryS::originalIdent
static MqFactoryC * Get(MK_STRN ident="")
C++: [static] MqFactoryC* MqFactoryC::Get(MK_STRN ident = "") → C-API return the MqFactoryC
static MqFactoryC * GetCalled(MK_STRN ident="")
C++: [static] MqFactoryC* MqFactoryC::GetCalled(MK_STRN ident = "") → C-API returns the MqFactor...
#define MqFactoryGet(...)
static void LogAll(MK_STRN callfunc=__builtin_FUNCTION())
C++: [static] MqFactoryC::LogAll(MK_STRN callfunc = __builtin_FUNCTION()) → C-API log all "facto...
virtual MqContextC * New()
C++: MqContextC* fct.New() → C-API create a new MqContextC from a MqFactoryC …
static MK_STRN DefaultIdent()
C++: [static] MK_STRN MqFactoryC::DefaultIdent() → C-API return the factory-identifier of the de...
MqFactoryC * Default()
C++: MqFactoryC* fct.Default() → C-API set the default-attribute to the factory …
static MK_STRN InitialIdent()
C++: [static] MK_STRN MqFactoryC::InitialIdent() → C-API return the factory-identifier of the in...
MqFactoryC * Initial()
C++: MqFactoryC* fct.Initial() → C-API set the initial-attribut to fct …
MqFactoryC * Dup2(MK_STRN ident) const
C++: [constructor] MqFactoryC* fct.Dup2(MK_STRN ident) → C-API create a duplicate of the singlet...
#define MqFactoryTypeAdd(...)
namespace for the CcMqMsgque "C++"-API
data used to define a factory → C-API: libmqmsgque::MqFactoryS
MK_PTR data
additional data pointer for the fCall
data used to define a factory
struct MqFactoryCTorS fct_ctor
instance constructor interface
MqTypeCtxS - the instance-base for the MqContextC …