ML 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
51ML_START_NAMESPACE
52
53//---------------------------------------------------------------------------
59//---------------------------------------------------------------------------
60
61namespace library {
62
63//--------------------------------------------------------------------------------------
68//--------------------------------------------------------------------------------------
69void init();
70
71//--------------------------------------------------------------------------------------
73//--------------------------------------------------------------------------------------
74void destroy();
75
76//--------------------------------------------------------------------------------------
78
103//--------------------------------------------------------------------------------------
106
107}
108
109ML_END_NAMESPACE
110
111#endif // #ifdef ML_DISABLE_CPP
112#endif
113
114#endif // __mlInitSystemML_H_PURE_C
115
116
117//---------------------------------------------------------------------------
118// Include the C-API components from mlUtils.
119//---------------------------------------------------------------------------
120#ifdef ML_DISABLE_CPP
121#include "mlUtilsSystemC.h"
122#else
123#include "mlUtilsSystem.h"
124#endif
125
126//---------------------------------------------------------------------------
128//---------------------------------------------------------------------------
129#include "mlDataTypes.h"
130
131
void setupFromEnvironmentVariables()
Sets the 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().