OMSimulatorLib
The OMSimulator project is a FMI-based co-simulation environment that supports ordinary (i.e., non-delayed) and TLM connections.
Public Member Functions | Public Attributes | List of all members
oms::Values Class Reference

#include <Values.h>

Collaboration diagram for oms::Values:
Collaboration graph

Public Member Functions

 Values ()
 
 ~Values ()
 
oms_status_enu_t setReal (const ComRef &cref, double value)
 
oms_status_enu_t setInteger (const ComRef &cref, int value)
 
oms_status_enu_t setBoolean (const ComRef &cref, bool value)
 
oms_status_enu_t exportToSSD (pugi::xml_node &node) const
 
oms_status_enu_t importFromSSD (const pugi::xml_node &node, const std::string &sspVersion, const std::string &tempdir)
 
oms_status_enu_t deleteStartValue (const ComRef &cref)
 
oms_status_enu_t exportToSSV (pugi::xml_node &ssvNode) const
 
oms_status_enu_t exportToSSVTemplate (pugi::xml_node &ssvNode, const ComRef &cref)
 start values read from modelDescription.xml and creates a ssv template More...
 
oms_status_enu_t exportToSSMTemplate (pugi::xml_node &ssmNode, const ComRef &cref)
 start values read from modelDescription.xml and creates a ssm template More...
 
oms_status_enu_t exportStartValuesHelper (pugi::xml_node &node) const
 
oms_status_enu_t exportParameterMappingInline (pugi::xml_node &node) const
 
oms_status_enu_t importStartValuesHelper (pugi::xml_node &parameters)
 
oms_status_enu_t importParameterMapping (pugi::xml_node &parameterMapping)
 
oms_status_enu_t parseModelDescription (const char *filename)
 
oms::ComRef getMappedCrefEntry (ComRef cref) const
 

Public Attributes

std::map< ComRef, double > realStartValues
 parameters and start values defined before instantiating the FMU More...
 
std::map< ComRef, int > integerStartValues
 parameters and start values defined before instantiating the FMU More...
 
std::map< ComRef, bool > booleanStartValues
 parameters and start values defined before instantiating the FMU More...
 
std::map< ComRef, double > realValues
 real input values defined after initialization More...
 
std::map< ComRef, int > integerValues
 integer input values defined after initialization More...
 
std::map< ComRef, bool > booleanValues
 boolean input values defined after initialization More...
 
std::map< ComRef, double > modelDescriptionRealStartValues
 real start values read from modelDescription.xml More...
 
std::map< ComRef, int > modelDescriptionIntegerStartValues
 integer start values read from modelDescription.xml More...
 
std::map< ComRef, bool > modelDescriptionBooleanStartValues
 boolean start values read from modelDescription.xml More...
 
std::multimap< ComRef, ComRefmappedEntry
 parameter names and values provided in the parameter source are to be mapped to the parameters of the component or system More...
 

Constructor & Destructor Documentation

◆ Values()

oms::Values::Values ( )

◆ ~Values()

oms::Values::~Values ( )

Member Function Documentation

◆ deleteStartValue()

oms_status_enu_t oms::Values::deleteStartValue ( const ComRef cref)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ exportParameterMappingInline()

oms_status_enu_t oms::Values::exportParameterMappingInline ( pugi::xml_node &  node) const
Here is the caller graph for this function:

◆ exportStartValuesHelper()

oms_status_enu_t oms::Values::exportStartValuesHelper ( pugi::xml_node &  node) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ exportToSSD()

oms_status_enu_t oms::Values::exportToSSD ( pugi::xml_node &  node) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ exportToSSMTemplate()

oms_status_enu_t oms::Values::exportToSSMTemplate ( pugi::xml_node &  ssmNode,
const ComRef cref 
)

start values read from modelDescription.xml and creates a ssm template

Here is the caller graph for this function:

◆ exportToSSV()

oms_status_enu_t oms::Values::exportToSSV ( pugi::xml_node &  ssvNode) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ exportToSSVTemplate()

oms_status_enu_t oms::Values::exportToSSVTemplate ( pugi::xml_node &  ssvNode,
const ComRef cref 
)

start values read from modelDescription.xml and creates a ssv template

Here is the caller graph for this function:

◆ getMappedCrefEntry()

oms::ComRef oms::Values::getMappedCrefEntry ( ComRef  cref) const
Here is the caller graph for this function:

◆ importFromSSD()

oms_status_enu_t oms::Values::importFromSSD ( const pugi::xml_node &  node,
const std::string &  sspVersion,
const std::string &  tempdir 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ importParameterMapping()

oms_status_enu_t oms::Values::importParameterMapping ( pugi::xml_node &  parameterMapping)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ importStartValuesHelper()

oms_status_enu_t oms::Values::importStartValuesHelper ( pugi::xml_node &  parameters)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseModelDescription()

oms_status_enu_t oms::Values::parseModelDescription ( const char *  filename)
Here is the caller graph for this function:

◆ setBoolean()

oms_status_enu_t oms::Values::setBoolean ( const ComRef cref,
bool  value 
)
Here is the caller graph for this function:

◆ setInteger()

oms_status_enu_t oms::Values::setInteger ( const ComRef cref,
int  value 
)
Here is the caller graph for this function:

◆ setReal()

oms_status_enu_t oms::Values::setReal ( const ComRef cref,
double  value 
)
Here is the caller graph for this function:

Member Data Documentation

◆ booleanStartValues

std::map<ComRef, bool> oms::Values::booleanStartValues

parameters and start values defined before instantiating the FMU

◆ booleanValues

std::map<ComRef, bool> oms::Values::booleanValues

boolean input values defined after initialization

◆ integerStartValues

std::map<ComRef, int> oms::Values::integerStartValues

parameters and start values defined before instantiating the FMU

◆ integerValues

std::map<ComRef, int> oms::Values::integerValues

integer input values defined after initialization

◆ mappedEntry

std::multimap<ComRef, ComRef> oms::Values::mappedEntry

parameter names and values provided in the parameter source are to be mapped to the parameters of the component or system

◆ modelDescriptionBooleanStartValues

std::map<ComRef, bool> oms::Values::modelDescriptionBooleanStartValues

boolean start values read from modelDescription.xml

◆ modelDescriptionIntegerStartValues

std::map<ComRef, int> oms::Values::modelDescriptionIntegerStartValues

integer start values read from modelDescription.xml

◆ modelDescriptionRealStartValues

std::map<ComRef, double> oms::Values::modelDescriptionRealStartValues

real start values read from modelDescription.xml

◆ realStartValues

std::map<ComRef, double> oms::Values::realStartValues

parameters and start values defined before instantiating the FMU

◆ realValues

std::map<ComRef, double> oms::Values::realValues

real input values defined after initialization


The documentation for this class was generated from the following files: