theKernel 10.0
Loading...
Searching...
No Matches
MkRuntimeC_Config_CS_API

MkRuntimeC - various functions to configure the MkRuntimeRLS (only C) … More...

+ Collaboration diagram for MkRuntimeC_Config_CS_API:

Functions

static int csmkkernel.MkRuntimeC.DebugGet ()
  C#: [static] int MkRuntimeC.DebugGet() C-API
get the MkRuntimeS::debug value …
 
static void csmkkernel.MkRuntimeC.DebugSet (int dbg)
  C#: [static] MkRuntimeC.DebugSet(int dbg) C-API
set the MkRuntimeS::debug value …
 
static MkErrorE csmkkernel.MkRuntimeC.ErrorGetCode ()
  C#: [static] MkErrorE MkRuntimeC.ErrorGetCode() C-API
return MkErrorS.code from a given MkRuntimeC
 
static bool csmkkernel.MkRuntimeC.IsSilentGet ()
  C#: [static] bool MkRuntimeC.IsSilentGet() C-API
get the MkRuntimeS::isSilent value …
 
static void csmkkernel.MkRuntimeC.IsSilentSet (bool silent)
  C#: [static] MkRuntimeC.IsSilentSet(bool silent) C-API
set the MkRuntimeS::isSilent value …
 
static string csmkkernel.MkRuntimeC.LogTargetGet ()
  C#: [static] string MkRuntimeC.LogTargetGet() C-API
get the MkLogDataS::logNAME value …
 
static void csmkkernel.MkRuntimeC.LogTargetReset ()
  C#: [static] MkRuntimeC.LogTargetReset() C-API
set the MkRuntimeS::log value to the DEFAULT value …
 
static void csmkkernel.MkRuntimeC.LogTargetSet (string logTgt)
  C#: [static] MkRuntimeC.LogTargetSet(string logTgt) C-API
set the MkRuntimeS::log value and cleanup old value …
 
static void csmkkernel.MkRuntimeC.NoDecoSet (bool noDeco)
  C#: [static] MkRuntimeC.NoDecoSet(bool noDeco) C-API
set the MkRuntimeS::noDeco value …
 

Detailed Description

MkRuntimeC - various functions to configure the MkRuntimeRLS (only C) …

reset the runtime

The MkRuntimeRLS-configuration belongs to a single MkRuntimeRLS. In a threadable application, each thread has its own MkRuntimeRLS and therefore its own configuration.

A function ending in 'I' is the inline variant of the function without the 'I' and is preferred in C.

special: C# does NOT call the destructor of a "broken" instance, this create a "left-over" MqRuntimeS::cid (not bad but different from other languages) set at: MqContextInit->MQ_RT_REF.cid = context

The MkRuntimeRLS-configuration belongs to a single MkRuntimeRLS. In a threadable application, each thread has its own MkRuntimeRLS and therefore its own configuration.

A function ending in 'I' is the inline variant of the function without the 'I' and is preferred in C.

Function Documentation

◆ DebugGet()

static int csmkkernel.MkRuntimeC.DebugGet ( )
inlinestatic

C#: [static] int MkRuntimeC.DebugGet() C-API
get the MkRuntimeS::debug value …

Definition at line 48 of file MkRuntimeC.cs.

48 {
49 Int32 __retVal__L = Mk.MkRuntimeDebugGet();
50 return __retVal__L;
51 }
csmkkernel.MkKernel Mk
+ Here is the caller graph for this function:

◆ DebugSet()

static void csmkkernel.MkRuntimeC.DebugSet ( int dbg)
inlinestatic

C#: [static] MkRuntimeC.DebugSet(int dbg) C-API
set the MkRuntimeS::debug value …

Definition at line 54 of file MkRuntimeC.cs.

54 {
55 Mk.MkRuntimeDebugSet(dbg);
56 }

◆ ErrorGetCode()

static MkErrorE csmkkernel.MkRuntimeC.ErrorGetCode ( )
inlinestatic

C#: [static] MkErrorE MkRuntimeC.ErrorGetCode() C-API
return MkErrorS.code from a given MkRuntimeC

Definition at line 59 of file MkRuntimeC.cs.

59 {
60 MkErrorE errVal = Mk.MkRuntimeErrorGetCode(IntPtr.Zero);
61 return errVal;
62 }
MkErrorE
collection for the different error-codes …

◆ IsSilentGet()

static bool csmkkernel.MkRuntimeC.IsSilentGet ( )
inlinestatic

C#: [static] bool MkRuntimeC.IsSilentGet() C-API
get the MkRuntimeS::isSilent value …

Definition at line 65 of file MkRuntimeC.cs.

65 {
66 bool __retVal__L = Mk.MkRuntimeIsSilentGet();
67 return __retVal__L;
68 }

◆ IsSilentSet()

static void csmkkernel.MkRuntimeC.IsSilentSet ( bool silent)
inlinestatic

C#: [static] MkRuntimeC.IsSilentSet(bool silent) C-API
set the MkRuntimeS::isSilent value …

Definition at line 71 of file MkRuntimeC.cs.

71 {
72 Mk.MkRuntimeIsSilentSet(IntPtr.Zero, silent);
73 }

◆ LogTargetGet()

static string csmkkernel.MkRuntimeC.LogTargetGet ( )
inlinestatic

C#: [static] string MkRuntimeC.LogTargetGet() C-API
get the MkLogDataS::logNAME value …

Definition at line 76 of file MkRuntimeC.cs.

76 {
77 IntPtr __retVal__L = Mk.MkRuntimeLogTargetGet();
78 return Marshal.PtrToStringAnsi(__retVal__L);
79 }

◆ LogTargetReset()

static void csmkkernel.MkRuntimeC.LogTargetReset ( )
inlinestatic

C#: [static] MkRuntimeC.LogTargetReset() C-API
set the MkRuntimeS::log value to the DEFAULT value …

Definition at line 82 of file MkRuntimeC.cs.

82 {
83 MkErrorE errVal = Mk.MkRuntimeLogTargetReset(IntPtr.Zero);
84 if (errVal > MkErrorE.CONTINUE) MkErrorC.Check(errVal);
85 }

◆ LogTargetSet()

static void csmkkernel.MkRuntimeC.LogTargetSet ( string logTgt)
inlinestatic

C#: [static] MkRuntimeC.LogTargetSet(string logTgt) C-API
set the MkRuntimeS::log value and cleanup old value …

Definition at line 88 of file MkRuntimeC.cs.

88 {
89 IntPtr logTgt_cstr = Marshal.StringToHGlobalAnsi(logTgt);
90 MkErrorE errVal = Mk.MkRuntimeLogTargetSet(IntPtr.Zero, logTgt_cstr);
91 Marshal.FreeHGlobal(logTgt_cstr);
92 if (errVal > MkErrorE.CONTINUE) MkErrorC.Check(errVal);
93 }

◆ NoDecoSet()

static void csmkkernel.MkRuntimeC.NoDecoSet ( bool noDeco)
inlinestatic

C#: [static] MkRuntimeC.NoDecoSet(bool noDeco) C-API
set the MkRuntimeS::noDeco value …

Definition at line 96 of file MkRuntimeC.cs.

96 {
97 Mk.MkRuntimeNoDecoSet(IntPtr.Zero, noDeco);
98 }