template wrapper for libmqmsgque::MqFactoryS More...
#include <MqFactoryC_cc.hh>
Public Member Functions | |
T * | New () |
C++: → C-API create a new MqContextC from a MqFactoryC … | |
MQ_CTXT | Type () |
Public Member Functions inherited from ccmqmsgque::MqFactoryC | |
MqFactoryC (MQ_FCT hdl) | |
MQ_FCT | getFCT (bool nullB=MK_NULL_NO) const |
return the LibMsgqueObject from current MqFactoryC instance | |
MQ_FCTN | getFCTN (bool nullB=MK_NULL_NO) const |
(const) return the LibMsgqueObject from current MqFactoryC instance | |
bool | Check () const |
check if pointer is still valid | |
MqFactoryC * | Next () |
C++: → C-API get next instance from linked-list of MqFactoryS type | |
MqFactoryC * | Prev () |
C++: → C-API get previous instance from linked-list of MqFactoryS type | |
MK_STRN | GetOriginalIdent () const |
C++: → C-API helper function to return MqFactoryS::originalIdent | |
MqFactoryC * | Default () |
C++: → C-API set the default-attribute to the factory … | |
MqFactoryC * | Initial () |
C++: → C-API set the initial-attribut to fct … | |
void | Log (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the MqFactoryC … | |
void | Log (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the MqFactoryC … | |
MqFactoryC * | Dup2 (MK_STRN ident) const |
C++: → C-API create a duplicate of the singleton object MqFactoryC using a new factory-identifer | |
MqFactoryC * | Dup2 (const std::string &ident) const |
C++: → C-API create a duplicate of the singleton object MqFactoryC using a new factory-identifer | |
Public Member Functions inherited from ccmkkernel::MkObjectC | |
MK_OBJ | getOBJ (bool nullB=MK_NULL_NO) const |
MK_OBJN | getOBJN (bool nullB=MK_NULL_NO) const |
bool | Check () const |
virtual | ~MkObjectC () |
MK_MNG | getMNG () const |
MK_STRN | ToNativeNameOfClass () const |
MK_STR | SysStrDup (MK_STRN str) |
void | SysFree (MK_PTR tgt) |
void | Sleep (unsigned int const sec) |
void | USleep (unsigned int const usec) |
void | HandleDelete () |
MK_HDL | HandleGet () |
MkObjectC * | Next () |
MkObjectC * | Prev () |
void | DbgDump (MK_STRN message="var", MK_STRN callfunc=__builtin_FUNCTION()) const |
void | DbgL (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | DbgL (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | DbgLogC (MK_STRN callfunc=__builtin_FUNCTION()) const |
void | DbgO (MK_STRN callfunc=__builtin_FUNCTION()) const |
void | DbgSTACK (MK_I32 skip=0, MK_I32 num=-1, MK_STRN callfunc=__builtin_FUNCTION()) const |
void | LogC (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION()) const |
void | LogC (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION()) const |
void | LogHEX (MK_STRN callfunc, MK_BNP data) const |
void | LogHEX (const std::string &callfunc, MK_BNP data) const |
void | LogV (MK_STRN callfunc, MK_DBG debug, MK_FST printfmt,...) const |
void | LogV (const std::string &callfunc, MK_DBG debug, MK_FST printfmt,...) const |
void | LogVL (MK_STRN callfunc, MK_DBG debug, MK_FST printfmt, va_list var_list) const |
void | LogVL (const std::string &callfunc, MK_DBG debug, MK_FST printfmt, va_list var_list) const |
void | Log (MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | Log (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogDetail (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogDetail (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogSimple (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogSimple (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
MkErrorC * | ErrorCatch (std::exception *exception=NULL, MK_STRN callfunc=__builtin_FUNCTION()) const |
MkErrorC * | ErrorCatch (const std::exception &exception, MK_STRN callfunc=__builtin_FUNCTION()) const |
MkErrorC * | ToError () |
MK_I32 | HandleGetOfType () |
MK_BOOL | IsNull () |
MK_STRN | ToName () const |
MK_STRN | ToNameOfClass () |
MK_STRN | ToNameOfType () const |
MK_STRN | ToString () const |
MK_I32 | RefGet () |
void | SysKill (MK_I32 pid, MK_I32 signal) |
MK_I32 | SysGetPid () |
void | Delete () |
void | Dispose () |
void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteICB callback=NULL, MK_STRN filter=NULL) |
void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteICB callback=NULL, MK_STRN filter=NULL) |
void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteCCB callback=NULL, MK_STRN filter=NULL) |
void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteCCB callback=NULL, MK_STRN filter=NULL) |
Static Public Member Functions | |
static MqFactoryCT< T > * | Add (MK_STRN ident) |
add a new MqFactoryC identified by factory-identifier and defined by factory-constructor … → C-API: FactoryAdd | |
static MqFactoryCT< T > * | Get (MK_STRN ident="") |
Static Public Member Functions inherited from ccmqmsgque::MqFactoryC | |
static MqFactoryC * | MqFactoryC_ObjNew (MK_RT const mkrt, MQ_FCT hdl) |
return MqFactoryC from LibMsgqueObject | |
static MQ_FCT | getFCT (MqFactoryC *clsHdl, bool nullB=MK_NULL_NO) |
return LibMsgqueObject from current MqFactoryC pointer | |
static MQ_FCTN | getFCTN (const MqFactoryC *clsHdl, bool nullB=MK_NULL_NO) |
(const) return LibMsgqueObject from current MqFactoryC pointer | |
static MQ_FCT | getFCT (const MqFactoryC &clsHdl, bool nullB=MK_NULL_NO) |
return LibMsgqueObject from current MqFactoryC reference | |
static MQ_FCTN | getFCTN (const MqFactoryC &clsHdl, bool nullB=MK_NULL_NO) |
(const) return LibMsgqueObject from current MqFactoryC reference | |
static MqFactoryC * | HandleResolve (MK_HDL netHdl) |
C++: → C-API Handle-Resolve-Slot - return a MqFactoryC from netHdl or MK_NULL if invalid… | |
static MqFactoryC * | Instances () |
C++: → C-API get head-instance from linked-list of MqFactoryS type … | |
static MqFactoryC * | GetNull () |
C++: → C-API Null-Slot - return a MqFactoryC typed NULL instance … | |
static MqFactoryC * | Get (MK_STRN ident="") |
C++: → C-API return the MqFactoryC | |
static MqFactoryC * | GetCalled (MK_STRN ident="") |
C++: → C-API returns the MqFactoryC identified by ident … | |
static MqFactoryC * | GetCalled (const MkBufferListC *largs) |
C++: → C-API returns the MqFactoryC identified as first argument in the largs MkBufferListC … | |
static MqFactoryC * | GetCalled (const MkBufferListC &largs) |
C++: → C-API returns the MqFactoryC identified as first argument in the largs MkBufferListC … | |
static MK_STRN | DefaultIdent () |
C++: → C-API return the factory-identifier of the default MqFactoryC | |
static MK_STRN | InitialIdent () |
C++: → C-API return the factory-identifier of the initial MqFactoryC | |
static void | LogAll (MK_STRN callfunc=__builtin_FUNCTION()) |
C++: → C-API log all "factories" to stderr | |
Static Public Member Functions inherited from ccmkkernel::MkObjectC | |
static MkObjectC * | MkObjectC_ObjNew (MK_RT const mkrt, MK_OBJ hdl) |
static MK_OBJ | getOBJ (MkObjectC *clsHdl, bool nullB=MK_NULL_NO) |
static MK_OBJN | getOBJN (const MkObjectC *clsHdl, bool nullB=MK_NULL_NO) |
static MK_OBJ | getOBJ (const MkObjectC &clsHdl, bool nullB=MK_NULL_NO) |
static MK_OBJN | getOBJN (const MkObjectC &clsHdl, bool nullB=MK_NULL_NO) |
static MkObjectC * | HandleResolve (MK_HDL netHdl) |
static void | HandleDeleteByNetHdl (MK_HDL netHdl) |
static MkObjectC * | Instances () |
static MkObjectC * | GetNull () |
static void | DbgM (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) |
static void | DbgM (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) |
static MK_I32 | SysHashI32 (MK_STRN key, MK_NUM length=-1) |
static MK_I32 | SysHashI32 (const std::string &key, MK_NUM length=-1) |
static MK_STRN | SysHashSTR (MK_STRN key, MK_NUM length=-1) |
static MK_STRN | SysHashSTR (const std::string &key, MK_NUM length=-1) |
static void | DeleteCallbackCleanup (MK_STRN ident) |
static void | DeleteCallbackCleanup (const std::string &ident) |
static void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteSCB callback=NULL, MK_STRN filter=NULL) |
static void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteSCB callback=NULL, MK_STRN filter=NULL) |
Private Member Functions | |
MqFactoryCT () | |
MqFactoryCT (MK_OBJ obj) | |
Static Private Member Functions | |
static MK_OBJ | ObjectSelfCreate (MK_RT const mkrt, MK_TYP const type, MK_PTR const tmpl, MK_PTR const lnk) |
self-constructer : called if a new instance is required … | |
static void | ObjectSelfDelete (MK_RT const mkrt, MK_PTR selfP, MK_PTR env) |
static MK_PTR | FactorySelfCreate (MK_RT const mkrt, MK_OBJ obj, MK_PTR dmy) |
static void | FactorySelfDelete (MK_RT const mkrt, MK_PTR selfptr, MK_PTR env) |
static MqFactoryCT< T > * | MqFactoryCT_ObjNew (MK_RT const mkrt, MQ_FCT fct) |
Friends | |
class | MqStaticC |
Additional Inherited Members | |
Public Types inherited from ccmkkernel::MkObjectC | |
typedef void(MkObjectC::*) | MkObjectDeleteICB(MkObjectC *) |
typedef void(*) | MkObjectDeleteCCB(MkObjectC *, MkObjectC *) |
typedef void(MkObjectC::* | MkObjectDeleteICB) (MkObjectC *) |
typedef void(* | MkObjectDeleteCCB) (MkObjectC *, MkObjectC *) |
Static Public Attributes inherited from ccmqmsgque::MqFactoryC | |
static thread_local MqFactoryC | MK_NULL_REF = {(MK_OBJ)0} |
Static Public Attributes inherited from ccmkkernel::MkObjectC | |
static thread_local MkObjectC | MK_NULL_REF |
Protected Member Functions inherited from ccmkkernel::MkObjectC | |
void | atomInit (MK_OBJ obj) |
MkObjectC () | |
MkObjectC (MK_OBJ obj) | |
void | ErrorCheck (enum MkErrorE err, MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) const |
void | ErrorCheck (MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) const |
Static Protected Member Functions inherited from ccmkkernel::MkObjectC | |
static void | ErrorCheck (MK_MNGN mng, enum MkErrorE err, MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) |
static MK_PTR | atomObjNew (MK_RT const mkrt, MK_OBJ obj) |
static MK_PTR | atomObjCreate (MK_RT const mkrt, MK_OBJ obj) |
Protected Attributes inherited from ccmkkernel::MkObjectC | |
MK_OBJ | hdl |
template wrapper for libmqmsgque::MqFactoryS
Definition at line 277 of file MqFactoryC_cc.hh.
|
inlineprivate |
|
inlineprivate |
Definition at line 322 of file MqFactoryC_cc.hh.
|
inlinestatic |
add a new MqFactoryC identified by factory-identifier and defined by factory-constructor … → C-API: FactoryAdd
Definition at line 331 of file MqFactoryC_cc.hh.
|
inlinestaticprivate |
Definition at line 313 of file MqFactoryC_cc.hh.
|
inlinestaticprivate |
|
inlinestatic |
Definition at line 346 of file MqFactoryC_cc.hh.
|
inlinestaticprivate |
Definition at line 324 of file MqFactoryC_cc.hh.
|
inlinevirtual |
C++:
→ C-API MqContextC* fct.New()
create a new MqContextC from a MqFactoryC …
Reimplemented from ccmqmsgque::MqFactoryC.
Definition at line 351 of file MqFactoryC_cc.hh.
|
inlinestaticprivate |
self-constructer : called if a new instance is required …
Definition at line 289 of file MqFactoryC_cc.hh.
|
inlinestaticprivate |
Definition at line 307 of file MqFactoryC_cc.hh.
|
inline |
Definition at line 355 of file MqFactoryC_cc.hh.
|
friend |
Definition at line 279 of file MqFactoryC_cc.hh.