theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - cs - py - rb - jv - cc
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 154 of file MkObjectC_inline_cc.hh.

154 {
155 MK_UNUSED auto obj = getOBJN();
156 MkRtSetup_O(obj);
157 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
158 enum MkErrorE errVal = MkDbgDumpTmpl(obj, message, callfunc);
159 MkErrorC_Check(obj, errVal);
160 }
#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
#define MkRtSetup_O(o)

◆ 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 172 of file MkObjectC_inline_cc.hh.

172 {
173 MK_UNUSED auto fmtobj = getOBJN__null_allow();
174 MkRtSetup_O(fmtobj);
175 const MK_STRN message_hdl = message.c_str();
176 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
177 if (debug > (MK_DBG)(MkRuntimeGetDebug())) {return;}
178 MkDbgL(fmtobj, message_hdl, debug, callfunc, lvl);
179 }
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 MkRuntimeGetDebug(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 163 of file MkObjectC_inline_cc.hh.

163 {
164 MK_UNUSED auto fmtobj = getOBJN__null_allow();
165 MkRtSetup_O(fmtobj);
166 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
167 if (debug > (MK_DBG)(MkRuntimeGetDebug())) {return;}
168 MkDbgL(fmtobj, message, debug, callfunc, lvl);
169 }

◆ 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 182 of file MkObjectC_inline_cc.hh.

182 {
183 MK_UNUSED auto obj = getOBJN();
184 MkRtSetup_O(obj);
185 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
186 MkDbgLogC(obj, callfunc);
187 }
#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 216 of file MkObjectC_inline_cc.hh.

216 {
218 const MK_STRN message_hdl = message.c_str();
219 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
220 if (debug > (MK_DBG)(MkRuntimeGetDebug())) {return;}
221 MkDbgM(message_hdl, debug, callfunc, lvl);
222 }
#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 208 of file MkObjectC_inline_cc.hh.

208 {
210 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
211 if (debug > (MK_DBG)(MkRuntimeGetDebug())) {return;}
212 MkDbgM(message, debug, callfunc, lvl);
213 }

◆ 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 190 of file MkObjectC_inline_cc.hh.

190 {
191 MK_UNUSED auto obj = getOBJN();
192 MkRtSetup_O(obj);
193 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
194 MkDbgO(obj, callfunc);
195 }
#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 198 of file MkObjectC_inline_cc.hh.

198 {
199 MK_UNUSED auto fmtobj = getOBJN__null_allow();
200 MkRtSetup_O(fmtobj);
201 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
202 MkDbgSTACK(fmtobj, skip, num, callfunc);
203 }
#define MkDbgSTACK(...)