theKernel 10.0
|
define a MkLogFileC object … → C-API: libmkkernel::MkLogFileS More...
#include <MkLogFileC_cc.hh>
Public Member Functions | |
MkLogFileC (MK_LFL hdl) | |
MK_LFL | getLFL () const |
return the LibMsgqueObject from current MkLogFileC instance | |
MK_LFL | getLFL__null_allow () const |
return the LibMsgqueObject from current MkLogFileC instance | |
MK_LFLN | getLFLN () const |
(const) return the LibMsgqueObject from current MkLogFileC instance | |
MK_LFLN | getLFLN__null_allow () const |
(const) return the LibMsgqueObject from current MkLogFileC instance | |
bool | Check () const |
check if pointer is still valid | |
MkLogFileC * | Next () |
C++: → C-API get next instance from linked-list of MkLogFileS type | |
MkLogFileC * | Prev () |
C++: → C-API get previous instance from linked-list of MkLogFileS type | |
MkLogFileC (const MkObjectC *fmtobj, MK_STRN file) | |
C++: → C-API open the log-file in append mode … | |
MkLogFileC (const MkObjectC *fmtobj, const std::string &file) | |
C++: → C-API open the log-file in append mode … | |
void | WriteC (MK_STRN text) const |
C++: → C-API write to log-file … | |
void | WriteC (const std::string &text) const |
C++: → C-API write to log-file … | |
void | WriteV (MK_FST printfmt,...) const |
C++: → C-API write to log-file … | |
void | WriteVL (MK_FST printfmt, va_list var_list) const |
C++: → C-API write to log-file … | |
MK_STRN | GetFile () const |
C++: → C-API get the log-file … | |
![]() | |
MK_OBJ | getOBJ () const |
return the LibMsgqueObject from current MkObjectC instance | |
MK_OBJ | getOBJ__null_allow () const |
return the LibMsgqueObject from current MkObjectC instance | |
MK_OBJN | getOBJN () const |
(const) return the LibMsgqueObject from current MkObjectC instance | |
MK_OBJN | getOBJN__null_allow () const |
(const) return the LibMsgqueObject from current MkObjectC instance | |
bool | Check () const |
check if pointer is still valid | |
virtual | ~MkObjectC () |
MK_MNG | getMNG () const |
MK_STRN | ToNativeNameOfClass () const |
MK_STR | SysStrDup (MK_STRN str) |
strdup syscall with ccmkkernel error plugin → C-API: libmkkernel::MkSysStrDup | |
void | SysFree (MK_PTR tgt) |
implements the ccmkkernel API object: MkSysFree | |
void | Sleep (unsigned int const sec) |
sleep syscall with ccmkkernel error plugin → C-API: libmkkernel::MkSysSleep | |
void | USleep (unsigned int const usec) |
usleep syscall with ccmkkernel error plugin → C-API: libmkkernel::MkSysUSleep | |
void | HandleDelete () |
C++: → C-API Handle-Delete-Slot - delete a netObj from handle-storage … | |
MK_BOOL | HandleExists () |
C++: → C-API check if obj has already a handle defined… | |
MK_HDL | HandleGet () |
C++: → C-API Handle-Get-Slot - returns a export-hdl to the MkObjectC useable for external storage | |
MK_HDL | HandleGetOfType () |
C++: → C-API Export-Slot - returns typeHdl of the obj . | |
MK_HDL | HandleGetOr0 () |
C++: → C-API return export-hdl or 0 in not created… | |
MkObjectC * | Next () |
C++: → C-API get next instance from linked-list of MkObjectS type | |
MkObjectC * | Prev () |
C++: → C-API get previous instance from linked-list of MkObjectS type | |
void | DbgDump (MK_STRN message="var", MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API debug: Dump a instance to stderr with LNG and MQ internal data… | |
void | DbgL (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix … | |
void | DbgL (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix … | |
void | DbgLogC (MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API debug: write a short-obj-summary to MkLogFileC (default: stderr) … | |
void | DbgO (MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API debug: write the object-details to MkLogFileC (default: stderr) … | |
void | DbgSTACK (MK_I32 skip=0, MK_I32 num=-1, MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API debug: write the stack-trace to MkLogFileC (default: stderr) … | |
void | LogC (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API write a logging-message to MkLogFileC (default: stderr) using the internal format … | |
void | LogC (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API write a logging-message to MkLogFileC (default: stderr) using the internal format … | |
void | LogHEX (MK_STRN callfunc, MK_BNP data) const |
C++: → C-API log binaray data as HEX into the MkLogFileC (default: stderr) … | |
void | LogHEX (const std::string &callfunc, MK_BNP data) const |
C++: → C-API log binaray data as HEX into the MkLogFileC (default: stderr) … | |
void | LogV (MK_STRN callfunc, MK_DBG debug, MK_FST printfmt,...) const |
C++: → C-API write a printf style logging-message to MkLogFileC (default: stderr) using the internal format … | |
void | LogV (const std::string &callfunc, MK_DBG debug, MK_FST printfmt,...) const |
C++: → C-API write a printf style logging-message to MkLogFileC (default: stderr) using the internal format … | |
void | LogVL (MK_STRN callfunc, MK_DBG debug, MK_FST printfmt, va_list var_list) const |
C++: → C-API write a vprintf style logging-message to MkLogFileC using the internal format … | |
void | LogVL (const std::string &callfunc, MK_DBG debug, MK_FST printfmt, va_list var_list) const |
C++: → C-API write a vprintf style logging-message to MkLogFileC using the internal format … | |
void | Log (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target … | |
void | Log (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target … | |
void | LogLong (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the MkObjectS verbose into the MkLogFileC (default: stderr) … | |
void | LogLong (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the MkObjectS verbose into the MkLogFileC (default: stderr) … | |
void | LogShort (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogShort (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogType (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogType (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) … | |
MkErrorC * | ErrorCatch (std::exception *exception=NULL, MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API convert a programming-language-error into an ccmkkernel error … | |
MkErrorC * | ErrorCatch (const std::exception &exception, MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API convert a programming-language-error into an ccmkkernel error … | |
MkErrorC * | ToError () |
C++: → C-API Error-Slot - return an error-object pre initialized with obj data. | |
MK_BOOL | IsNull () |
C++: → C-API ckeck if the object is MK_NULL | |
MK_STRN | ToName () const |
C++: → C-API Info-Slot - returns brief information about the obj as a string | |
MK_STRN | ToNameOfClass () |
C++: → C-API Class-Slot - returns the C++-Class-Name of the obj as string | |
MK_STRN | ToNameOfType () const |
C++: → C-API Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string | |
MK_STRN | ToString () const |
C++: → C-API String-Slot - returns the string representation of the inst … | |
MK_I32 | RefGet () |
libmkkernel::MkRefGet | |
void | SysKill (MK_I32 pid, MK_I32 signal) const |
libmkkernel::MkSysKill | |
MK_I32 | SysGetPid () const |
libmkkernel::MkSysGetPid | |
void | Delete () |
C++: → C-API Delete-Slot - delete an instance. | |
void | Dispose () |
C++: → C-API Dispose-Slot - untie the connection between the Native-C++-Instance and the ccmkkernel-Instance. | |
void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteCCB callback=NULL, MK_STRN filter=NULL) |
C++: → C-API Create/Delete the instance-delete-callback … | |
void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteCCB callback=NULL, MK_STRN filter=NULL) |
C++: → C-API Create/Delete the instance-delete-callback … | |
void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteICB callback=NULL, MK_STRN filter=NULL) |
C++: → C-API Create/Delete the instance-delete-callback … | |
void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteICB callback=NULL, MK_STRN filter=NULL) |
C++: → C-API Create/Delete the instance-delete-callback … | |
Static Public Member Functions | |
static MkLogFileC * | MkLogFileC_ObjNew (MK_RT_ARGS MK_LFL hdl) |
return MkLogFileC from LibMsgqueObject | |
static MK_LFL | getLFL (MkLogFileC *clsHdl) |
return LibMsgqueObject from current MkLogFileC pointer | |
static MK_LFL | getLFL__null_allow (MkLogFileC *clsHdl) |
return LibMsgqueObject from current MkLogFileC pointer | |
static MK_LFLN | getLFLN (const MkLogFileC *clsHdl) |
(const) return LibMsgqueObject from current MkLogFileC pointer | |
static MK_LFLN | getLFLN__null_allow (const MkLogFileC *clsHdl) |
(const) return LibMsgqueObject from current MkLogFileC pointer | |
static MK_LFL | getLFL (const MkLogFileC &clsHdl) |
return LibMsgqueObject from current MkLogFileC reference | |
static MK_LFL | getLFL__null_allow (const MkLogFileC &clsHdl) |
return LibMsgqueObject from current MkLogFileC reference | |
static MK_LFLN | getLFLN (const MkLogFileC &clsHdl) |
(const) return LibMsgqueObject from current MkLogFileC reference | |
static MK_LFLN | getLFLN__null_allow (const MkLogFileC &clsHdl) |
(const) return LibMsgqueObject from current MkLogFileC reference | |
static MkLogFileC * | HandleResolve (MK_HDL netHdl) |
C++: → C-API Handle-Resolve-Slot - return a MkLogFileC from netHdl or MK_NULL if invalid… | |
static MkLogFileC * | Instances () |
C++: → C-API get head-instance from linked-list of MkLogFileS type … | |
static MkLogFileC * | GetNull () |
C++: → C-API Null-Slot - return a MkLogFileC typed NULL instance … | |
static MkLogFileC * | Open (const MkObjectC *fmtobj, MK_STRN file) |
C++: → C-API open the log-file in append mode … | |
static MkLogFileC * | Open (const MkObjectC *fmtobj, const std::string &file) |
C++: → C-API open the log-file in append mode … | |
![]() | |
static MkObjectC * | MkObjectC_ObjNew (MK_RT_ARGS MK_OBJ hdl) |
return MkObjectC from LibMsgqueObject | |
static MK_OBJ | getOBJ (MkObjectC *clsHdl) |
return LibMsgqueObject from current MkObjectC pointer | |
static MK_OBJ | getOBJ__null_allow (MkObjectC *clsHdl) |
return LibMsgqueObject from current MkObjectC pointer | |
static MK_OBJN | getOBJN (const MkObjectC *clsHdl) |
(const) return LibMsgqueObject from current MkObjectC pointer | |
static MK_OBJN | getOBJN__null_allow (const MkObjectC *clsHdl) |
(const) return LibMsgqueObject from current MkObjectC pointer | |
static MK_OBJ | getOBJ (const MkObjectC &clsHdl) |
return LibMsgqueObject from current MkObjectC reference | |
static MK_OBJ | getOBJ__null_allow (const MkObjectC &clsHdl) |
return LibMsgqueObject from current MkObjectC reference | |
static MK_OBJN | getOBJN (const MkObjectC &clsHdl) |
(const) return LibMsgqueObject from current MkObjectC reference | |
static MK_OBJN | getOBJN__null_allow (const MkObjectC &clsHdl) |
(const) return LibMsgqueObject from current MkObjectC reference | |
static MkObjectC * | HandleResolve (MK_HDL netHdl) |
C++: → C-API Handle-Resolve-Slot - return a MkObjectC from netHdl or MK_NULL if invalid… | |
static void | HandleDeleteByNetHdl (MK_HDL netHdl) |
C++: → C-API Handle-Delete-Slot - delete a netHdl from handle-storage … | |
static MkObjectC * | Instances () |
C++: → C-API get head-instance from linked-list of MkObjectS type … | |
static MkObjectC * | GetNull () |
C++: → C-API Null-Slot - return a MkObjectC typed NULL instance … | |
static void | DbgM (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) |
C++: → C-API debug: write a static-marker to the MkLogFileC (default: stderr) … | |
static void | DbgM (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) |
C++: → C-API debug: write a static-marker to the MkLogFileC (default: stderr) … | |
static MK_I32 | SysHashI32 (MK_STRN key, MK_NUM length=-1) |
libmkkernel::MkSysHashI32 | |
static MK_I32 | SysHashI32 (const std::string &key, MK_NUM length=-1) |
libmkkernel::MkSysHashI32 | |
static MK_STRN | SysHashSTR (MK_STRN key, MK_NUM length=-1) |
libmkkernel::MkSysHashSTR | |
static MK_STRN | SysHashSTR (const std::string &key, MK_NUM length=-1) |
libmkkernel::MkSysHashSTR | |
static void | DeleteCallbackCleanup (MK_STRN ident) |
C++: → C-API cleanup the DeleteCallback installed with MkObjectDeleteCallbackSetup … | |
static void | DeleteCallbackCleanup (const std::string &ident) |
C++: → C-API cleanup the DeleteCallback installed with MkObjectDeleteCallbackSetup … | |
static void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteSCB callback=NULL, MK_STRN filter=NULL) |
C++: → C-API Create/Delete the instance-delete-callback … | |
static void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteSCB callback=NULL, MK_STRN filter=NULL) |
C++: → C-API Create/Delete the instance-delete-callback … | |
Static Public Attributes | |
static thread_local MkLogFileC | MK_NULL_REF = {(MK_OBJ)0} |
![]() | |
static thread_local MkObjectC | MK_NULL_REF = {(MK_OBJ)0} |
Friends | |
class | MkKernel |
Additional Inherited Members | |
![]() | |
typedef void(MkObjectC::*) | MkObjectDeleteICB(MK_STRN const, MK_HDL const, MK_HDL const) |
instance-callback | |
typedef void(*) | MkObjectDeleteCCB(MkObjectC *, MK_STRN const, MK_HDL const, MK_HDL const) |
class-callback | |
![]() | |
void | atomInit (MK_OBJ obj) |
void | atomUnlink () |
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 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_ARGS MK_OBJ obj) |
static MK_PTR | atomObjCreate (MK_RT_ARGS MK_OBJ obj) |
![]() | |
MK_OBJ | hdl = NULL |
MK_RT | mkrt = NULL |
define a MkLogFileC object … → C-API: libmkkernel::MkLogFileS
Definition at line 26 of file MkLogFileC_cc.hh.
|
friend |
Definition at line 28 of file MkLogFileC_cc.hh.