theConfig 10.0
Loading...
Searching...
No Matches
LibLcConfig_cc.cc
Go to the documentation of this file.
1
9/* LABEL-NO */
10
11#define META_FILE_NAME "LibLcConfig_cc.cc"
12
13#include <typeinfo>
14#include <stdexcept>
15
16#include "private_cc.hh"
17#define META_CONTEXT_S hdl
18
19namespace cclcconfig {
20
21 void MK_DECL LcConfig::lc_static_init_callback ( MK_RT_ARGS_ONLY ) {
22
23 // update the basic-types
24 // BEGIN-LcConfig-self - created by 'cc_MqC.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
25
26 LcConfigC_TT->selfCreate = LcConfigC::LcConfigC_selfCreate ;
27 LcConfigC_TT->selfDelete = LcConfigC::LcConfigC_selfDelete ;
28 LcConfigC_TT->selfUnlink = LcConfigC::LcConfigC_selfUnlink ;
29 LcSettingC_TT->selfCreate = LcSettingC::LcSettingC_selfCreate ;
30 LcSettingC_TT->selfDelete = LcSettingC::LcSettingC_selfDelete ;
31 LcSettingC_TT->selfUnlink = LcSettingC::LcSettingC_selfUnlink ;
32
33 // END-LcConfig-self - created by 'cc_MqC.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
34 }
35
37
41
42 // doc-key: LcConfig,LcConfig-Setup,sm_
43
50 #define LcCleanupTmpl() CcLcCleanup()
51
54 LcSetup();
56
57 MkRuntimeCallbackAdd( MK_RT_CALL &sLcRuntimeCallback, lc_static_init_callback, "CcLcConfig" );
58 }
59 #define LcSetupTmpl() CcLcSetup()
60
62 // LcConfig_Setup_CC_API
63
64 // BEGIN-LcConfig - created by 'cc_MqC.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
65
69
70 // doc-key: LcConfig,LcConfig-Setup,sm_
71
77
82 }
83
85 // LcConfig_Setup_CC_API
86
87 // END-LcConfig - created by 'cc_MqC.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
88
89 // BEGIN-LcConfig-null - created by 'cc_MqC.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
90
91 thread_local LcConfigC LcConfigC::MK_NULL_REF = {(MK_OBJ)0};
92 thread_local LcSettingC LcSettingC::MK_NULL_REF = {(MK_OBJ)0};
93
94 // END-LcConfig-null - created by 'cc_MqC.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
95
96} // END - namespace "cclcconfig"
97
98#if defined(_MSC_VER)
99
100BOOL WINAPI DllMain(
101 HINSTANCE hModule,
102 DWORD ul_reason_for_call,
103 LPVOID lpReserved
104)
105{
106 switch (ul_reason_for_call)
107 {
108 case DLL_THREAD_ATTACH:
109 case DLL_THREAD_DETACH:
110 return FALSE;
111 case DLL_PROCESS_ATTACH:
113 break;
114 case DLL_PROCESS_DETACH:
116 break;
117 }
118 return TRUE;
119}
120#endif
Struct to represent the data from the LcConfigC … → C-API: liblcconfig::LcConfigS
static thread_local LcConfigC MK_NULL_REF
__thread MK_TYP LcConfigC_TT
class as MkTypeDefS-class-type …
static void CcLcSetup()
C++: [static] LcConfig::Setup() → C-API setup cclcconfig internal memory …
static void CcLcCleanup()
C++: [static] LcConfig::Cleanup() → C-API cleanup cclcconfig internal memory …
static void Cleanup()
C++: [static] LcConfig::Cleanup() → C-API cleanup cclcconfig internal memory …
#define LcSetupTmpl()
#define LcCleanupTmpl()
static void Setup()
C++: [static] LcConfig::Setup() → C-API setup cclcconfig internal memory …
void LcCleanup(void)
cleanup cclcconfig internal memory …
void LcSetup(void)
setup cclcconfig internal memory …
static thread_local LcSettingC MK_NULL_REF
__thread MK_TYP LcSettingC_TT
class as MkTypeDefS-class-type …
#define MK_DECL
struct MkObjectS * MK_OBJ
size_t MkRuntimeCallbackAdd(MK_RT mkrt, MkRuntimeCallbackS *cbdata, MkRuntimeInitF rt_callback, MK_STRN ident)
#define MK_RT_CALL
#define AllRtSetup_NULL
void MkRuntimeCallbackDel(MK_RT mkrt, MkRuntimeCallbackS *cbdata)
#define MkRtSetup_NULL
#define MK_RT_ARGS_ONLY
namespace for the CcLcConfig "C++"-API
Definition LcCall_cc.cc:21
static MkRuntimeCallbackS sLcRuntimeCallback
MkSelfCreateF selfCreate
MkSelfUnlinkF selfUnlink
MkSelfDeleteF selfDelete