theKernel 10.0
Loading...
Searching...
No Matches
MkObjectC_Dbg_CC_API

MkObjectC - log a debugging-message to the MkLogFileC (default: stderr) … More...

+ Collaboration diagram for MkObjectC_Dbg_CC_API:

Functions

void ccmkkernel::MkObjectC::DbgDump (MK_STRN message="var", MK_STRN callfunc=__builtin_FUNCTION()) const
  C++: obj.DbgDump(MK_STRN message = "var", MK_STRN callfunc = __builtin_FUNCTION()) C-API
debug: Dump a instance to stderr with LNG and MQ internal data…
 
void ccmkkernel::MkObjectC::DbgL (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
  C++: fmtobj.DbgL(MK_STRN message, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
void ccmkkernel::MkObjectC::DbgL (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
  C++: fmtobj.DbgL(MK_STRN message, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
void ccmkkernel::MkObjectC::DbgLogC (MK_STRN callfunc=__builtin_FUNCTION()) const
  C++: obj.DbgLogC(MK_STRN callfunc = __builtin_FUNCTION()) C-API
debug: write a short-obj-summary to MkLogFileC (default: stderr) …
 
void ccmkkernel::MkObjectC::DbgO (MK_STRN callfunc=__builtin_FUNCTION()) const
  C++: obj.DbgO(MK_STRN callfunc = __builtin_FUNCTION()) C-API
debug: write the object-details to MkLogFileC (default: stderr) …
 
void ccmkkernel::MkObjectC::DbgSTACK (MK_I32 skip=0, MK_I32 num=-1, MK_STRN callfunc=__builtin_FUNCTION()) const
  C++: fmtobj.DbgSTACK(MK_I32 skip = 0, MK_I32 num = -1, MK_STRN callfunc = __builtin_FUNCTION()) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
static void ccmkkernel::MkObjectC::DbgM (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0)
  C++: [static] MkObjectC::DbgM(MK_STRN message, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 
static void ccmkkernel::MkObjectC::DbgM (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0)
  C++: [static] MkObjectC::DbgM(MK_STRN message, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 

Detailed Description

MkObjectC - log a debugging-message to the MkLogFileC (default: stderr) …

This functions are "helpers" to support the programmer.

This functions are "helpers" to support the programmer.

Function Documentation

◆ DbgDump()

void ccmkkernel::MkObjectC::DbgDump ( MK_STRN message = "var",
MK_STRN callfunc = __builtin_FUNCTION() ) const
inline

C++: obj.DbgDump(MK_STRN message = "var", MK_STRN callfunc = __builtin_FUNCTION()) C-API
debug: Dump a instance to stderr with LNG and MQ internal data…

Definition at line 144 of file MkObjectC_inline_cc.hh.

144 {
145 MK_UNUSED auto obj = getOBJN();
146 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
147 enum MkErrorE errVal = MkDbgDumpTmpl(obj, message, callfunc);
148 MkErrorC_Check(obj, errVal);
149 }
#define MkErrorC_Check(errObj, errVal)
#define MkDbgDumpTmpl(...)
#define MK_UNUSED
mark unnused variables and functions
MkErrorE
collection for the different error-codes …
MK_OBJN getOBJN() const
(const) return the LibMsgqueObject from current MkObjectC instance

◆ DbgL() [1/2]

void ccmkkernel::MkObjectC::DbgL ( const std::string & message,
MK_DBG debug = 0,
MK_STRN callfunc = __builtin_FUNCTION(),
MK_I32 lvl = 0 ) const
inline

C++: fmtobj.DbgL(MK_STRN message, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …

Definition at line 160 of file MkObjectC_inline_cc.hh.

160 {
161 MK_UNUSED auto fmtobj = getOBJN__null_allow();
162 const MK_STRN message_hdl = message.c_str();
163 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
164 if (debug > (MK_DBG)(MkRuntimeDebugGet())) {return;}
165 MkDbgL(fmtobj, message_hdl, debug, callfunc, lvl);
166 }
int MK_DBG
debug-level data-type …
const MK_STRB * MK_STRN
constant string pointer data-type
MK_OBJN getOBJN__null_allow() const
(const) return the LibMsgqueObject from current MkObjectC instance
#define MkDbgL(...)
static MK_I32 MkRuntimeDebugGet(void)
get the MkRuntimeS::debug value …

◆ DbgL() [2/2]

void ccmkkernel::MkObjectC::DbgL ( MK_STRN message,
MK_DBG debug = 0,
MK_STRN callfunc = __builtin_FUNCTION(),
MK_I32 lvl = 0 ) const
inline

C++: fmtobj.DbgL(MK_STRN message, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …

Definition at line 152 of file MkObjectC_inline_cc.hh.

152 {
153 MK_UNUSED auto fmtobj = getOBJN__null_allow();
154 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
155 if (debug > (MK_DBG)(MkRuntimeDebugGet())) {return;}
156 MkDbgL(fmtobj, message, debug, callfunc, lvl);
157 }

◆ DbgLogC()

void ccmkkernel::MkObjectC::DbgLogC ( MK_STRN callfunc = __builtin_FUNCTION()) const
inline

C++: obj.DbgLogC(MK_STRN callfunc = __builtin_FUNCTION()) C-API
debug: write a short-obj-summary to MkLogFileC (default: stderr) …

Definition at line 169 of file MkObjectC_inline_cc.hh.

169 {
170 MK_UNUSED auto obj = getOBJN();
171 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
172 MkDbgLogC(obj, callfunc);
173 }
#define MkDbgLogC(...)

◆ DbgM() [1/2]

void ccmkkernel::MkObjectC::DbgM ( const std::string & message,
MK_DBG debug = 0,
MK_STRN callfunc = __builtin_FUNCTION(),
MK_I32 lvl = 0 )
inlinestatic

C++: [static] MkObjectC::DbgM(MK_STRN message, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …

Definition at line 200 of file MkObjectC_inline_cc.hh.

200 {
202 const MK_STRN message_hdl = message.c_str();
203 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
204 if (debug > (MK_DBG)(MkRuntimeDebugGet())) {return;}
205 MkDbgM(message_hdl, debug, callfunc, lvl);
206 }
#define MkDbgM(...)
#define MkRtSetup_NULL

◆ DbgM() [2/2]

void ccmkkernel::MkObjectC::DbgM ( MK_STRN message,
MK_DBG debug = 0,
MK_STRN callfunc = __builtin_FUNCTION(),
MK_I32 lvl = 0 )
inlinestatic

C++: [static] MkObjectC::DbgM(MK_STRN message, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …

Definition at line 192 of file MkObjectC_inline_cc.hh.

192 {
194 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
195 if (debug > (MK_DBG)(MkRuntimeDebugGet())) {return;}
196 MkDbgM(message, debug, callfunc, lvl);
197 }

◆ DbgO()

void ccmkkernel::MkObjectC::DbgO ( MK_STRN callfunc = __builtin_FUNCTION()) const
inline

C++: obj.DbgO(MK_STRN callfunc = __builtin_FUNCTION()) C-API
debug: write the object-details to MkLogFileC (default: stderr) …

Definition at line 176 of file MkObjectC_inline_cc.hh.

176 {
177 MK_UNUSED auto obj = getOBJN();
178 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
179 MkDbgO(obj, callfunc);
180 }
#define MkDbgO(...)

◆ DbgSTACK()

void ccmkkernel::MkObjectC::DbgSTACK ( MK_I32 skip = 0,
MK_I32 num = -1,
MK_STRN callfunc = __builtin_FUNCTION() ) const
inline

C++: fmtobj.DbgSTACK(MK_I32 skip = 0, MK_I32 num = -1, MK_STRN callfunc = __builtin_FUNCTION()) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …

Definition at line 183 of file MkObjectC_inline_cc.hh.

183 {
184 MK_UNUSED auto fmtobj = getOBJN__null_allow();
185 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
186 MkDbgSTACK(fmtobj, skip, num, callfunc);
187 }
#define MkDbgSTACK(...)