forked from eclipse/openmcx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ComponentTypes.h
56 lines (42 loc) · 1.5 KB
/
ComponentTypes.h
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
/********************************************************************************
* Copyright (c) 2020 AVL List GmbH and others
*
* This program and the accompanying materials are made available under the
* terms of the Apache Software License 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/
#ifndef MCX_COMPONENTS_COMPONENT_TYPES_H
#define MCX_COMPONENTS_COMPONENT_TYPES_H
#include "CentralParts.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef struct ComponentType ComponentType;
typedef const char * (*fComponentTypeToString)(ComponentType * type);
extern const ObjectClass _ComponentType;
struct ComponentType {
Object _;
fComponentTypeToString ToString;
};
extern const ObjectClass _ComponentTypeConstant;
typedef struct ComponentTypeConstant {
ComponentType _;
} ComponentTypeConstant;
extern const ObjectClass _ComponentTypeFmu;
typedef struct ComponentTypeFmu {
ComponentType _;
} ComponentTypeFmu;
extern const ObjectClass _ComponentTypeIntegrator;
typedef struct ComponentTypeIntegrator {
ComponentType _;
} ComponentTypeIntegrator;
extern const ObjectClass _ComponentTypeVectorIntegrator;
typedef struct ComponentTypeVectorIntegrator {
ComponentType _;
} ComponentTypeVectorIntegrator;
#ifdef __cplusplus
} /* closing brace for extern "C" */
#endif /* __cplusplus */
#endif /* MCX_COMPONENTS_COMPONENT_TYPES_H */