OMSimulatorLib
The OMSimulator project is a FMI-based co-simulation environment that supports ordinary (i.e., non-delayed) and TLM connections.
OMSimulator.h
Go to the documentation of this file.
1 /*
2  * This file is part of OpenModelica.
3  *
4  * Copyright (c) 1998-CurrentYear, Open Source Modelica Consortium (OSMC),
5  * c/o Linköpings universitet, Department of Computer and Information Science,
6  * SE-58183 Linköping, Sweden.
7  *
8  * All rights reserved.
9  *
10  * THIS PROGRAM IS PROVIDED UNDER THE TERMS OF GPL VERSION 3 LICENSE OR
11  * THIS OSMC PUBLIC LICENSE (OSMC-PL) VERSION 1.2.
12  * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS PROGRAM CONSTITUTES
13  * RECIPIENT'S ACCEPTANCE OF THE OSMC PUBLIC LICENSE OR THE GPL VERSION 3,
14  * ACCORDING TO RECIPIENTS CHOICE.
15  *
16  * The OpenModelica software and the Open Source Modelica
17  * Consortium (OSMC) Public License (OSMC-PL) are obtained
18  * from OSMC, either from the above address,
19  * from the URLs: http://www.ida.liu.se/projects/OpenModelica or
20  * http://www.openmodelica.org, and in the OpenModelica distribution.
21  * GNU version 3 is obtained from: http://www.gnu.org/copyleft/gpl.html.
22  *
23  * This program is distributed WITHOUT ANY WARRANTY; without
24  * even the implied warranty of MERCHANTABILITY or FITNESS
25  * FOR A PARTICULAR PURPOSE, EXCEPT AS EXPRESSLY SET FORTH
26  * IN THE BY RECIPIENT SELECTED SUBSIDIARY LICENSE CONDITIONS OF OSMC-PL.
27  *
28  * See the full OSMC Public License conditions for more details.
29  *
30  */
31 
32 #ifndef _OMSIMULATOR_H_
33 #define _OMSIMULATOR_H_
34 
35 #include "Types.h"
36 
37 /* define OMSimulatorLib_EXPORTS *only* when building the DLL */
38 #if defined(OMS_STATIC)
39  #define OMSAPI
40  #define OMSCALL
41 #else
42  #if defined(_MSC_VER) || defined(__MINGW32__)
43  #ifdef OMSimulatorLib_EXPORTS
44  #define OMSAPI __declspec(dllexport)
45  #define OMSCALL __cdecl
46  #else
47  #define OMSAPI __declspec(dllimport)
48  #define OMSCALL __cdecl
49  #endif
50  #else
51  #define OMSAPI
52  #define OMSCALL
53  #endif
54 #endif
55 
56 #ifdef __cplusplus
57 extern "C"
58 {
59 #endif
60 
61 OMSAPI oms_status_enu_t OMSCALL oms_addBus(const char* cref);
62 OMSAPI oms_status_enu_t OMSCALL oms_addConnection(const char* crefA, const char* crefB);
64 OMSAPI oms_status_enu_t OMSCALL oms_addConnectorToBus(const char* busCref, const char* connectorCref);
65 OMSAPI oms_status_enu_t OMSCALL oms_addConnectorToTLMBus(const char* busCref, const char* connectorCref, const char *type);
66 OMSAPI oms_status_enu_t OMSCALL oms_addExternalModel(const char* cref, const char* path, const char* startscript);
67 OMSAPI oms_status_enu_t OMSCALL oms_addSignalsToResults(const char* cref, const char* regex);
68 OMSAPI oms_status_enu_t OMSCALL oms_addSubModel(const char* cref, const char* fmuPath);
70 OMSAPI oms_status_enu_t OMSCALL oms_addTLMBus(const char* cref, oms_tlm_domain_t domain, const int dimensions, const oms_tlm_interpolation_t interpolation);
71 OMSAPI oms_status_enu_t OMSCALL oms_addTLMConnection(const char* crefA, const char* crefB, double delay, double alpha, double linearimpedance, double angularimpedance);
73 OMSAPI int OMSCALL oms_compareSimulationResults(const char* filenameA, const char* filenameB, const char* var, double relTol, double absTol);
74 OMSAPI oms_status_enu_t OMSCALL oms_copySystem(const char* source, const char* target);
75 OMSAPI oms_status_enu_t OMSCALL oms_delete(const char* cref);
76 OMSAPI oms_status_enu_t OMSCALL oms_deleteConnection(const char* crefA, const char* crefB);
77 OMSAPI oms_status_enu_t OMSCALL oms_deleteConnectorFromBus(const char* busCref, const char* connectorCref);
78 OMSAPI oms_status_enu_t OMSCALL oms_deleteConnectorFromTLMBus(const char* busCref, const char* connectorCref);
79 OMSAPI oms_status_enu_t OMSCALL oms_export(const char* cref, const char* filename);
80 OMSAPI oms_status_enu_t OMSCALL oms_exportDependencyGraphs(const char* cref, const char* initialization, const char* simulation);
82 OMSAPI void OMSCALL oms_freeMemory(void* obj);
83 OMSAPI oms_status_enu_t OMSCALL oms_getBoolean(const char* cref, bool* value);
84 OMSAPI oms_status_enu_t OMSCALL oms_getBus(const char* cref, oms_busconnector_t** busConnector);
86 OMSAPI oms_status_enu_t OMSCALL oms_getConnections(const char* cref, oms_connection_t*** connections);
87 OMSAPI oms_status_enu_t OMSCALL oms_getConnector(const char* cref, oms_connector_t** connector);
88 OMSAPI oms_status_enu_t OMSCALL oms_getElement(const char* cref, oms_element_t** element);
89 OMSAPI oms_status_enu_t OMSCALL oms_getElements(const char* cref, oms_element_t*** elements);
90 OMSAPI oms_status_enu_t OMSCALL oms_getFixedStepSize(const char* cref, double* stepSize);
91 OMSAPI oms_status_enu_t OMSCALL oms_getFMUInfo(const char* cref, const oms_fmu_info_t** fmuInfo);
92 OMSAPI oms_status_enu_t OMSCALL oms_getInteger(const char* cref, int* value);
94 OMSAPI oms_status_enu_t OMSCALL oms_getReal(const char* cref, double* value);
96 OMSAPI oms_status_enu_t OMSCALL oms_getStartTime(const char* cref, double* startTime);
97 OMSAPI oms_status_enu_t OMSCALL oms_getStopTime(const char* cref, double* stopTime);
98 OMSAPI oms_status_enu_t OMSCALL oms_getSubModelPath(const char* cref, char** path);
100 OMSAPI oms_status_enu_t OMSCALL oms_getTLMBus(const char* cref, oms_tlmbusconnector_t** tlmBusConnector);
101 OMSAPI oms_status_enu_t OMSCALL oms_getTLMVariableTypes(oms_tlm_domain_t domain, const int dimensions, const oms_tlm_interpolation_t interpolation, char ***types, char ***descriptions);
102 OMSAPI oms_status_enu_t OMSCALL oms_getTolerance(const char* cref, double* absoluteTolerance, double* relativeTolerance);
103 OMSAPI oms_status_enu_t OMSCALL oms_getVariableStepSize(const char* cref, double* initialStepSize, double* minimumStepSize, double* maximumStepSize);
104 OMSAPI const char* OMSCALL oms_getVersion();
105 OMSAPI oms_status_enu_t OMSCALL oms_importFile(const char* filename, char** cref);
106 OMSAPI oms_status_enu_t OMSCALL oms_importString(const char* contents, char** cref);
109 OMSAPI oms_status_enu_t OMSCALL oms_list(const char* cref, char** contents);
110 OMSAPI oms_status_enu_t OMSCALL oms_listUnconnectedConnectors(const char* cref, char** contents);
111 OMSAPI oms_status_enu_t OMSCALL oms_newModel(const char* cref);
112 OMSAPI oms_status_enu_t OMSCALL oms_parseModelName(const char* contents, char** cref);
113 OMSAPI oms_status_enu_t OMSCALL oms_removeSignalsFromResults(const char* cref, const char* regex);
114 OMSAPI oms_status_enu_t OMSCALL oms_rename(const char* cref, const char* newCref);
115 OMSAPI oms_status_enu_t OMSCALL oms_reset(const char* cref);
116 OMSAPI oms_status_enu_t OMSCALL oms_RunFile(const char* filename);
117 OMSAPI oms_status_enu_t OMSCALL oms_setBoolean(const char* cref, bool value);
120 OMSAPI oms_status_enu_t OMSCALL oms_setConnectionGeometry(const char* crefA, const char* crefB, const ssd_connection_geometry_t* geometry);
123 OMSAPI oms_status_enu_t OMSCALL oms_setFixedStepSize(const char* cref, double stepSize);
124 OMSAPI oms_status_enu_t OMSCALL oms_setInteger(const char* cref, int value);
125 OMSAPI oms_status_enu_t OMSCALL oms_setLogFile(const char* filename);
126 OMSAPI void OMSCALL oms_setLoggingCallback(void (*cb)(oms_message_type_enu_t type, const char* message));
127 OMSAPI oms_status_enu_t OMSCALL oms_setLoggingInterval(const char* cref, double loggingInterval);
129 OMSAPI void OMSCALL oms_setMaxLogFileSize(const unsigned long size);
130 OMSAPI oms_status_enu_t OMSCALL oms_setReal(const char* cref, double value);
131 OMSAPI oms_status_enu_t OMSCALL oms_setResultFile(const char* cref, const char* filename, int bufferSize);
132 OMSAPI oms_status_enu_t OMSCALL oms_setSignalFilter(const char* cref, const char* regex);
134 OMSAPI oms_status_enu_t OMSCALL oms_setStartTime(const char* cref, double startTime);
135 OMSAPI oms_status_enu_t OMSCALL oms_setStopTime(const char* cref, double stopTime);
136 OMSAPI oms_status_enu_t OMSCALL oms_setTempDirectory(const char* newTempDir);
138 OMSAPI oms_status_enu_t OMSCALL oms_setTLMConnectionParameters(const char* crefA, const char* crefB, const oms_tlm_connection_parameters_t* parameters);
139 OMSAPI oms_status_enu_t OMSCALL oms_setTLMPositionAndOrientation(const char *cref, double x1, double x2, double x3, double A11, double A12, double A13, double A21, double A22, double A23, double A31, double A32, double A33);
140 OMSAPI oms_status_enu_t OMSCALL oms_setTLMSocketData(const char* cref, const char* address, int managerPort, int monitorPort);
141 OMSAPI oms_status_enu_t OMSCALL oms_setTolerance(const char* cref, double absoluteTolerance, double relativeTolerance);
142 OMSAPI oms_status_enu_t OMSCALL oms_setVariableStepSize(const char* cref, double initialStepSize, double minimumStepSize, double maximumStepSize);
143 OMSAPI oms_status_enu_t OMSCALL oms_setWorkingDirectory(const char* newWorkingDir);
144 OMSAPI oms_status_enu_t OMSCALL oms_simulate_asynchronous(const char* cref, void (*cb)(const char* cref, double time, oms_status_enu_t status));
145 OMSAPI oms_status_enu_t OMSCALL oms_simulate(const char* cref);
146 OMSAPI oms_status_enu_t OMSCALL oms_stepUntil(const char* cref, double stopTime);
147 OMSAPI oms_status_enu_t OMSCALL oms_terminate(const char* cref);
148 
149 /* not implemented yet */
152 
153 #ifdef __cplusplus
154 }
155 #endif
156 
157 #endif
OMSAPI oms_status_enu_t OMSCALL oms_getFixedStepSize(const char *cref, double *stepSize)
Definition: OMSimulator.cpp:247
OMSAPI oms_status_enu_t OMSCALL oms_getConnector(const char *cref, oms_connector_t **connector)
Definition: OMSimulator.cpp:316
OMSAPI oms_status_enu_t OMSCALL oms_setInteger(const char *cref, int value)
Definition: OMSimulator.cpp:1194
oms_status_enu_t oms_setSimulationInformation(const char *cref, ssd_simulation_information_t *info)
OMSAPI oms_status_enu_t OMSCALL oms_RunFile(const char *filename)
Definition: OMSimulator.cpp:958
oms_solver_enu_t
Definition: Types.h:84
OMSAPI void OMSCALL oms_freeMemory(void *obj)
Definition: OMSimulator.cpp:230
OMSAPI oms_status_enu_t OMSCALL oms_setStartTime(const char *cref, double startTime)
Definition: OMSimulator.cpp:1294
OMSAPI oms_status_enu_t OMSCALL oms_addConnectorToTLMBus(const char *busCref, const char *connectorCref, const char *type)
Definition: OMSimulator.cpp:635
OMSAPI oms_status_enu_t OMSCALL oms_listUnconnectedConnectors(const char *cref, char **contents)
Definition: OMSimulator.cpp:189
const char * bus
Definition: Tags.cpp:36
OMSAPI oms_status_enu_t OMSCALL oms_setTLMConnectionParameters(const char *crefA, const char *crefB, const oms_tlm_connection_parameters_t *parameters)
Definition: OMSimulator.cpp:445
OMSAPI oms_status_enu_t OMSCALL oms_reset(const char *cref)
Definition: OMSimulator.cpp:913
OMSAPI oms_status_enu_t OMSCALL oms_deleteConnectorFromTLMBus(const char *busCref, const char *connectorCref)
Definition: OMSimulator.cpp:660
OMSAPI oms_status_enu_t OMSCALL oms_setTLMPositionAndOrientation(const char *cref, double x1, double x2, double x3, double A11, double A12, double A13, double A21, double A22, double A23, double A31, double A32, double A33)
Definition: OMSimulator.cpp:1064
OMSAPI oms_status_enu_t OMSCALL oms_setTLMBusGeometry(const char *bus, const ssd_connector_geometry_t *geometry)
Definition: OMSimulator.cpp:686
OMSAPI oms_status_enu_t OMSCALL oms_getModelState(const char *cref, oms_modelState_enu_t *modelState)
Definition: OMSimulator.cpp:1363
OMSAPI oms_status_enu_t OMSCALL oms_deleteConnectorFromBus(const char *busCref, const char *connectorCref)
Definition: OMSimulator.cpp:613
OMSAPI oms_status_enu_t OMSCALL oms_addConnectorToBus(const char *busCref, const char *connectorCref)
Definition: OMSimulator.cpp:592
OMSAPI oms_status_enu_t OMSCALL oms_setElementGeometry(const char *cref, const ssd_element_geometry_t *geometry)
Definition: OMSimulator.cpp:265
OMSAPI oms_status_enu_t OMSCALL oms_getBus(const char *cref, oms_busconnector_t **busConnector)
Definition: OMSimulator.cpp:507
OMSAPI oms_status_enu_t OMSCALL oms_addBus(const char *cref)
Definition: OMSimulator.cpp:491
OMSAPI oms_status_enu_t OMSCALL oms_parseModelName(const char *contents, char **cref)
Definition: OMSimulator.cpp:204
#define OMSAPI
Definition: OMSimulator.h:51
FMU specific attributes.
Definition: Types.h:414
Connection between two connectors.
Definition: Types.h:350
OMSAPI oms_status_enu_t OMSCALL oms_setResultFile(const char *cref, const char *filename, int bufferSize)
Definition: OMSimulator.cpp:1228
OMSAPI oms_status_enu_t OMSCALL oms_setReal(const char *cref, double value)
Definition: OMSimulator.cpp:1177
OMSAPI oms_status_enu_t OMSCALL oms_setCommandLineOption(const char *cmd)
Definition: OMSimulator.cpp:337
#define OMSCALL
Definition: OMSimulator.h:52
OMSAPI oms_status_enu_t OMSCALL oms_simulate(const char *cref)
Definition: OMSimulator.cpp:891
oms_causality_enu_t
Definition: Types.h:61
OMSAPI oms_status_enu_t OMSCALL oms_deleteConnection(const char *crefA, const char *crefB)
Definition: OMSimulator.cpp:384
oms_tlm_interpolation_t
Definition: Types.h:69
OMSAPI oms_status_enu_t OMSCALL oms_addSubModel(const char *cref, const char *fmuPath)
Definition: OMSimulator.cpp:759
OMSAPI oms_status_enu_t OMSCALL oms_instantiate(const char *cref)
Definition: OMSimulator.cpp:847
OMSAPI oms_status_enu_t OMSCALL oms_getInteger(const char *cref, int *value)
Definition: OMSimulator.cpp:1143
OMSAPI oms_status_enu_t OMSCALL oms_setTempDirectory(const char *newTempDir)
Definition: OMSimulator.cpp:103
oms_status_enu_t
Definition: Types.h:43
OMSAPI oms_status_enu_t OMSCALL oms_getSolver(const char *cref, oms_solver_enu_t *solver)
Definition: OMSimulator.cpp:1125
OMSAPI oms_status_enu_t OMSCALL oms_importString(const char *contents, char **cref)
Definition: OMSimulator.cpp:209
OMSAPI oms_status_enu_t OMSCALL oms_setLoggingInterval(const char *cref, double loggingInterval)
Definition: OMSimulator.cpp:77
oms_status_enu_t oms_getSimulationInformation(const char *cref, ssd_simulation_information_t **info)
OMSAPI oms_status_enu_t OMSCALL oms_getTLMVariableTypes(oms_tlm_domain_t domain, const int dimensions, const oms_tlm_interpolation_t interpolation, char ***types, char ***descriptions)
Definition: OMSimulator.cpp:1376
OMSAPI oms_status_enu_t OMSCALL oms_terminate(const char *cref)
Definition: OMSimulator.cpp:1028
5.3.6 ssd:SimulationInformation
Definition: Types.h:333
OMSAPI int OMSCALL oms_compareSimulationResults(const char *filenameA, const char *filenameB, const char *var, double relTol, double absTol)
Definition: OMSimulator.cpp:129
OMSAPI oms_status_enu_t OMSCALL oms_setBoolean(const char *cref, bool value)
Definition: OMSimulator.cpp:1211
oms_modelState_enu_t
Definition: Types.h:52
OMSAPI oms_status_enu_t OMSCALL oms_removeSignalsFromResults(const char *cref, const char *regex)
Definition: OMSimulator.cpp:1269
OMSAPI oms_status_enu_t OMSCALL oms_setConnectionGeometry(const char *crefA, const char *crefB, const ssd_connection_geometry_t *geometry)
Definition: OMSimulator.cpp:424
OMSAPI void OMSCALL oms_setLoggingCallback(void(*cb)(oms_message_type_enu_t type, const char *message))
Definition: OMSimulator.cpp:67
OMSAPI oms_status_enu_t OMSCALL oms_initialize(const char *cref)
Definition: OMSimulator.cpp:858
OMSAPI oms_status_enu_t OMSCALL oms_export(const char *cref, const char *filename)
Definition: OMSimulator.cpp:168
OMSAPI oms_status_enu_t OMSCALL oms_exportDependencyGraphs(const char *cref, const char *initialization, const char *simulation)
Definition: OMSimulator.cpp:1091
OMSAPI oms_status_enu_t OMSCALL oms_setLoggingLevel(int logLevel)
Definition: OMSimulator.cpp:93
OMSAPI void OMSCALL oms_setMaxLogFileSize(const unsigned long size)
Definition: OMSimulator.cpp:98
OMSAPI oms_status_enu_t OMSCALL oms_addConnector(const char *cref, oms_causality_enu_t causality, oms_signal_type_enu_t type)
Definition: OMSimulator.cpp:297
Bus connector.
Definition: Types.h:371
OMSAPI oms_status_enu_t OMSCALL oms_addTLMBus(const char *cref, oms_tlm_domain_t domain, const int dimensions, const oms_tlm_interpolation_t interpolation)
Definition: OMSimulator.cpp:547
OMSAPI oms_status_enu_t OMSCALL oms_setBusGeometry(const char *bus, const ssd_connector_geometry_t *geometry)
Definition: OMSimulator.cpp:528
5.2.1.1 ssd:ConnectorGeometry
Definition: Types.h:158
OMSAPI oms_status_enu_t OMSCALL oms_addSignalsToResults(const char *cref, const char *regex)
Definition: OMSimulator.cpp:1257
OMSAPI oms_status_enu_t OMSCALL oms_addSystem(const char *cref, oms_system_enu_t type)
Definition: OMSimulator.cpp:214
OMSAPI oms_status_enu_t OMSCALL oms_setWorkingDirectory(const char *newWorkingDir)
Definition: OMSimulator.cpp:108
oms_system_enu_t
Definition: Types.h:101
OMSAPI oms_status_enu_t OMSCALL oms_getSystemType(const char *cref, oms_system_enu_t *type)
Definition: OMSimulator.cpp:342
OMSAPI oms_status_enu_t OMSCALL oms_getStopTime(const char *cref, double *stopTime)
Definition: OMSimulator.cpp:1306
OMSAPI oms_status_enu_t OMSCALL oms_setConnectorGeometry(const char *cref, const ssd_connector_geometry_t *geometry)
Definition: OMSimulator.cpp:407
OMSAPI oms_status_enu_t OMSCALL oms_getVariableStepSize(const char *cref, double *initialStepSize, double *minimumStepSize, double *maximumStepSize)
Definition: OMSimulator.cpp:1419
oms_component_enu_t
Definition: Types.h:108
OMSAPI oms_status_enu_t OMSCALL oms_newModel(const char *cref)
Definition: OMSimulator.cpp:113
OMSAPI oms_status_enu_t OMSCALL oms_copySystem(const char *source, const char *target)
Definition: OMSimulator.cpp:225
OMSAPI oms_status_enu_t OMSCALL oms_stepUntil(const char *cref, double stopTime)
Definition: OMSimulator.cpp:902
5.3.2.1 ssd:ConnectionGeometry
Definition: Types.h:257
OMSAPI oms_status_enu_t OMSCALL oms_setTolerance(const char *cref, double absoluteTolerance, double relativeTolerance)
Definition: OMSimulator.cpp:1509
oms_message_type_enu_t
Message types used by the logging mechanism.
Definition: Types.h:136
OMSAPI const char *OMSCALL oms_getVersion()
Definition: OMSimulator.cpp:62
OMSAPI oms_status_enu_t OMSCALL oms_setTLMSocketData(const char *cref, const char *address, int managerPort, int monitorPort)
Definition: OMSimulator.cpp:1039
OMSAPI oms_status_enu_t OMSCALL oms_setSignalFilter(const char *cref, const char *regex)
Definition: OMSimulator.cpp:1244
oms_signal_type_enu_t
Definition: Types.h:115
OMSAPI oms_status_enu_t OMSCALL oms_getTolerance(const char *cref, double *absoluteTolerance, double *relativeTolerance)
Definition: OMSimulator.cpp:1401
OMSAPI oms_status_enu_t OMSCALL oms_importFile(const char *filename, char **cref)
Definition: OMSimulator.cpp:173
OMSAPI oms_status_enu_t OMSCALL oms_delete(const char *cref)
Definition: OMSimulator.cpp:153
OMSAPI oms_status_enu_t OMSCALL oms_getBoolean(const char *cref, bool *value)
Definition: OMSimulator.cpp:1160
OMSAPI oms_status_enu_t OMSCALL oms_addTLMConnection(const char *crefA, const char *crefB, double delay, double alpha, double linearimpedance, double angularimpedance)
Definition: OMSimulator.cpp:709
Signal: input, output, and parameter.
Definition: Types.h:361
Parameters for TLM connection.
Definition: Types.h:340
oms_fmi_kind_enu_t
Definition: Types.h:404
OMSAPI oms_status_enu_t OMSCALL oms_simulate_asynchronous(const char *cref, void(*cb)(const char *cref, double time, oms_status_enu_t status))
Definition: OMSimulator.cpp:869
OMSAPI oms_status_enu_t OMSCALL oms_getComponentType(const char *cref, oms_component_enu_t *type)
Definition: OMSimulator.cpp:776
OMSAPI oms_status_enu_t OMSCALL oms_setStopTime(const char *cref, double stopTime)
Definition: OMSimulator.cpp:1319
oms_tlm_domain_t
Definition: Types.h:75
OMSAPI oms_status_enu_t OMSCALL oms_getElements(const char *cref, oms_element_t ***elements)
Definition: OMSimulator.cpp:242
OMSAPI oms_status_enu_t OMSCALL oms_getSubModelPath(const char *cref, char **path)
Definition: OMSimulator.cpp:798
OMSAPI oms_status_enu_t OMSCALL oms_setLogFile(const char *filename)
Definition: OMSimulator.cpp:72
OMSAPI oms_status_enu_t OMSCALL oms_getReal(const char *cref, double *value)
Definition: OMSimulator.cpp:1108
OMSAPI oms_status_enu_t OMSCALL oms_getFMUInfo(const char *cref, const oms_fmu_info_t **fmuInfo)
Definition: OMSimulator.cpp:820
OMSAPI oms_status_enu_t OMSCALL oms_cancelSimulation_asynchronous(const char *cref)
Definition: OMSimulator.cpp:880
OMSAPI oms_status_enu_t OMSCALL oms_list(const char *cref, char **contents)
Definition: OMSimulator.cpp:178
TLM Bus connector.
Definition: Types.h:380
OMSAPI oms_status_enu_t OMSCALL oms_getElement(const char *cref, oms_element_t **element)
Definition: OMSimulator.cpp:237
OMSAPI oms_status_enu_t OMSCALL oms_addExternalModel(const char *cref, const char *path, const char *startscript)
Definition: OMSimulator.cpp:736
Element (aka ssd:Component)
Definition: Types.h:394
OMSAPI oms_status_enu_t OMSCALL oms_getConnections(const char *cref, oms_connection_t ***connections)
Definition: OMSimulator.cpp:470
OMSAPI oms_status_enu_t OMSCALL oms_setVariableStepSize(const char *cref, double initialStepSize, double minimumStepSize, double maximumStepSize)
Definition: OMSimulator.cpp:1347
OMSAPI oms_status_enu_t OMSCALL oms_setFixedStepSize(const char *cref, double stepSize)
Definition: OMSimulator.cpp:1331
OMSAPI oms_status_enu_t OMSCALL oms_getTLMBus(const char *cref, oms_tlmbusconnector_t **tlmBusConnector)
Definition: OMSimulator.cpp:567
5.2.2 ssd:ElementGeometry
Definition: Types.h:192
OMSAPI oms_status_enu_t OMSCALL oms_setSolver(const char *cref, oms_solver_enu_t solver)
Definition: OMSimulator.cpp:1493
OMSAPI oms_status_enu_t OMSCALL oms_getStartTime(const char *cref, double *startTime)
Definition: OMSimulator.cpp:1281
OMSAPI oms_status_enu_t OMSCALL oms_extractFMIKind(const char *filename, oms_fmi_kind_enu_t *kind)
Definition: OMSimulator.cpp:1437
OMSAPI oms_status_enu_t OMSCALL oms_rename(const char *cref, const char *newCref)
Definition: OMSimulator.cpp:118
OMSAPI oms_status_enu_t OMSCALL oms_addConnection(const char *crefA, const char *crefB)
Definition: OMSimulator.cpp:361