2 Copyright (C) 2012 Modelon AB
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the BSD style license.
7 This program is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY; without even the implied warranty of
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 FMILIB_License.txt file for more details.
12 You should have received a copy of the FMILIB_License.txt file
13 along with this program. If not, contact Modelon AB <http://www.modelon.com>.
16 #ifndef FMI1_XML_CAPABILITIES_H
17 #define FMI1_XML_CAPABILITIES_H
23 #include "FMI1/fmi1_xml_model_description.h"
25 \file fmi1_xml_capabilities.h
26 Functions to retrieve capability flags.
31 \addtogroup fmi1_xml_capabilities Functions to retrieve capability flags.
32 The functions accept a pointer to ::fmi1_xml_capabilities_t returned by fmi1_xml_get_capabilities().
33 They return the flags as specified by the FMI 1.0 standard. Default values are returned for model-exachange FMUs.
35 \addtogroup fmi1_xml_capabilities
38 /** \brief Retrieve canHandleVariableCommunicationStepSize flag. */
39 int fmi1_xml_get_canHandleVariableCommunicationStepSize(fmi1_xml_capabilities_t* );
40 /** \brief Retrieve canHandleEvents flag. */
41 int fmi1_xml_get_canHandleEvents(fmi1_xml_capabilities_t* );
42 /** \brief Retrieve canRejectSteps flag. */
43 int fmi1_xml_get_canRejectSteps(fmi1_xml_capabilities_t* );
44 /** \brief Retrieve canInterpolateInputs flag. */
45 int fmi1_xml_get_canInterpolateInputs(fmi1_xml_capabilities_t* );
46 /** \brief Retrieve maxOutputDerivativeOrder. */
47 unsigned int fmi1_xml_get_maxOutputDerivativeOrder(fmi1_xml_capabilities_t* );
48 /** \brief Retrieve canRunAsynchronuously flag. */
49 int fmi1_xml_get_canRunAsynchronuously(fmi1_xml_capabilities_t* );
50 /** \brief Deprecated since 1.0.1, do not use. */
51 int fmi1_xml_get_canSignalEvents(fmi1_xml_capabilities_t* );
52 /** \brief Retrieve canBeInstantiatedOnlyOncePerProcess flag. */
53 int fmi1_xml_get_canBeInstantiatedOnlyOncePerProcess(fmi1_xml_capabilities_t* );
54 /** \brief Retrieve canNotUseMemoryManagementFunctions flag. */
55 int fmi1_xml_get_canNotUseMemoryManagementFunctions(fmi1_xml_capabilities_t* );
64 #endif /* FMI1_XML_CAPABILITIES_H */