FEDEM Model Database  R8.0
Source code of the FEDEM model database
FFlInit.H
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2023 SAP SE
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 //
5 // This file is part of FEDEM - https://openfedem.org
7 
8 #ifndef FFL_INIT_H
9 #define FFL_INIT_H
10 #define FFL_INIT_ONLY
11 
14 
15 
24 class FFlInit
25 {
26 public:
29  {
32  }
33 
36  {
39  }
40 };
41 
42 #undef FFL_INIT_ONLY
43 #undef FFL_ALL_FE_PARTS_H
44 #undef FFL_ALL_IO_ADAPTORS_H
45 #endif
Auxiliary class for initializing and the release of FFlLib singeltons.
Definition: FFlInit.H:25
FFlInit()
The constructor initializes the singelton objects.
Definition: FFlInit.H:28
~FFlInit()
The destructor releases the heap-allocated singelton objects.
Definition: FFlInit.H:35
void releaseAllElements()
Releases all heap-allocated memory related to singleton objects.
Definition: FFlAllFEParts.C:117
void initAllElements()
Initializes all element singleton objects.
Definition: FFlAllFEParts.C:19
void releaseAllReaders()
This function releases heap-allocated memory related to singleton objects.
Definition: FFlAllIOAdaptors.C:36
void initAllReaders()
This function initializes the link reader singleton objects.
Definition: FFlAllIOAdaptors.C:19