MeVisLab Toolbox Reference
mlInitSystemML.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2007, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef ML_INIT_SYSTEM_ML_H
14 #define ML_INIT_SYSTEM_ML_H
15 
20 
21 #include "mlTypeDefs.h"
22 
23 //------------------------------------------------------------------------------------
26 //------------------------------------------------------------------------------------
33 #ifdef ML_EXPORTS
35  #define MLEXPORT ML_LIBRARY_EXPORT_ATTRIBUTE
36 #else
38  #define MLEXPORT ML_LIBRARY_IMPORT_ATTRIBUTE
39 #endif
41 
42 
43 // Disable c++ specific stuff if c interface is required.
44 #ifndef ML_SYSTEM_HAS_NO_64
45 #ifndef ML_DISABLE_CPP
46 
47 //---------------------------------------------------------------------------
48 // C++ Section:
49 //---------------------------------------------------------------------------
50 
51 ML_START_NAMESPACE
52 
53 //---------------------------------------------------------------------------
59 //---------------------------------------------------------------------------
60 
61 namespace library {
62 
63 //--------------------------------------------------------------------------------------
68 //--------------------------------------------------------------------------------------
69 void init();
70 
71 //--------------------------------------------------------------------------------------
73 //--------------------------------------------------------------------------------------
74 void destroy();
75 
76 //--------------------------------------------------------------------------------------
78 
102 //--------------------------------------------------------------------------------------
105 
106 }
107 
108 ML_END_NAMESPACE
109 
110 #endif // #ifdef ML_DISABLE_CPP
111 #endif
112 
113 #endif // __mlInitSystemML_H_PURE_C
114 
115 
116 //---------------------------------------------------------------------------
117 // Include the C-API stuff from mlUtils.
118 //---------------------------------------------------------------------------
119 #ifdef ML_DISABLE_CPP
120 #include "mlUtilsSystemC.h"
121 #else
122 #include "mlUtilsSystem.h"
123 #endif
124 
125 //---------------------------------------------------------------------------
127 //---------------------------------------------------------------------------
128 #include "mlDataTypes.h"
129 
130 
void setupFromEnvironmentVariables()
Set ML state dependent on environment variables.
void init()
Initializes the ML, the runtime type system, the memory manager, fields, static buffers,...
void destroy()
Delete dynamic data structures allocated by init().