Skip to content

Commit

Permalink
-adapted cpp runtime includes for vxworks
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22917 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
RuedKamp committed Oct 24, 2014
1 parent fb4672a commit e518546
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 24 deletions.
18 changes: 9 additions & 9 deletions SimulationRuntime/cpp/Include/Core/DataExchange/SimBoolean.h
Expand Up @@ -4,18 +4,18 @@
using std::string;

/**
SimVar Klasse zum verwalten einer Boolean Variable
SimVar Klasse zum verwalten einer Boolean Variable
*/
class SimBoolean : public ISimVar
{
public:
virtual ~SimBoolean() {};
SimBoolean(bool value) { _value = value; }
virtual string getName() { return _name; }
virtual void setName(string name) { _name = name; }
bool& getValue() { return _value; }

public:
virtual ~SimBoolean() {};
SimBoolean(bool value) {_value = value;}
virtual string getName() {return _name;}
virtual void setName(string name) {_name = name;}
bool& getValue() { return _value;}
private:
string _name;
bool _value;
string _name;
bool _value;
};
18 changes: 9 additions & 9 deletions SimulationRuntime/cpp/Include/Core/DataExchange/SimDouble.h
Expand Up @@ -3,18 +3,18 @@
#include <string>
using std::string;
/**
SimVar Klasse zum verwalten einer Double Variable
SimVar Klasse zum verwalten einer Double Variable
*/
class SimDouble : public ISimVar
{
public:
virtual ~SimDouble() {};
SimDouble(double value) { _value = value; }
virtual string getName() { return _name; }
virtual void setName(string name) { _name = name; }
double& getValue() { return _value; }

public:
virtual ~SimDouble() {};
SimDouble(double value) {_value = value;}
virtual string getName() {return _name;}
virtual void setName(string name) { _name = name;}
double& getValue() { return _value;}
private:
string _name;
double _value;
string _name;
double _value;
};
@@ -1,5 +1,5 @@
#pragma once

#include <Core/Modelica.h>
#include <SimCoreFactory/Policies/FactoryConfig.h>

#ifdef ANALYZATION_MODE
Expand All @@ -13,7 +13,7 @@
#include <string.h>
using std::string;
#endif
#include <SimCoreFactory/Policies/FactoryConfig.h>

struct SimSettings
{
string solver_name;
Expand Down
@@ -1,5 +1,5 @@
#pragma once
#include <Core/SimulationSettings//IGlobalSettings.h>
#include <Core/SimulationSettings/IGlobalSettings.h>
//#include "Math/Implementation/Constants.h"
/*****************************************************************************/
/**
Expand Down
3 changes: 2 additions & 1 deletion SimulationRuntime/cpp/Include/Core/System/IContinuous.h
Expand Up @@ -107,7 +107,8 @@ class IContinuous
virtual bool evaluateConditions(const UPDATETYPE command = UNDEF_UPDATE)= 0;

virtual bool stepCompleted(double time) = 0;
virtual bool stepStarted(double time) = 0;
virtual bool stepStarted(double time) = 0;

};

/*
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Include/Core/System/IMixedSystem.h
@@ -1,5 +1,5 @@
#pragma once

#include <Core/Modelica.h>
/*****************************************************************************/
/**
Expand Down
Expand Up @@ -2,7 +2,7 @@

/*Defines*/
#define PATH string
#include <VxWorksFactory/VxWorksFactory.h>
#include <SimCoreFactory/VxWorksFactory/VxWorksFactory.h>

#elif defined(__TRICORE__)

Expand Down

0 comments on commit e518546

Please sign in to comment.