forked from EMBOCONcs/GEMS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInterfaceConnection.h
More file actions
58 lines (49 loc) · 2.57 KB
/
InterfaceConnection.h
File metadata and controls
58 lines (49 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//============================================================================
// Name : InterfaceConnection.h
// Author : Christian Schoppmeyer
// Version :
// Created On : 22.11.2011
// Copyright : EMBOCON Copyright
// Description :
//============================================================================
#ifndef INTERFACECONNECTION_H_
#define INTERFACECONNECTION_H_
/**
* Function to open a shared library located at the position provided in the path parameter.
* Returns an handle to the library opened.
*/
void* loadDynamicLibrary(char* path);
/**
* Function to close a shared library provided in the libHandle parameter.
*/
void closeDynamicLibrary(void* libHandle);
/**
* Function to test whether all ModelInterface function calls are reachable.
* Please note that this test function does not check whether useful implementation of the interface functions are provided.
* The parameter path contains the location of the library which implements the ModelInterface.
*/
void testModelInterface(char* path);
/**
* Function to test whether all OptimizerInterface function calls are reachable.
* Please note that this test function does not check whether useful implementation of the interface functions are provided.
* The parameter path contains the location of the library which implements the OptimizerInterface.
*/
void testOptimizerInterface(char* path);
/**
* Function to test whether all ObserverInterface function calls are reachable.
* Please note that this test function does not check whether useful implementation of the interface functions are provided.
* The parameter path contains the location of the library which implements the ObserverInterface.
*/
void testObserverInterface(char* path);
/**
* Function to test whether all ObserverInterface function calls are reachable.
* Please note that this test function does not check whether useful implementation of the interface functions are provided.
* The parameter path contains the location of the library which implements the ObserverInterface.
*/
void testSimAppInterface(char* path, int countU, int countMeas);
/**
* Test all function calls in the different interfaces. The implementation in the libraries does not need to provide any useful calculations.
*/
void testInterfacesOfLibraries(char* libModel, char* libOptimizer, char* libObserver, char* libSimApp, int countUSimApp, int countMeasSimApp);
void testInterfacesOfLibraries(char* libOptModel, char* libObsModel, char* libOptimizer, char* libObserver, char* libSimApp, int countUSimApp, int countMeasSimApp);
#endif /* INTERFACECONNECTION_H_ */