Skip to content

Commit f8df9d6

Browse files
niklworssjoelund
authored andcommitted
fix for typo in SimController comment
1 parent 58985dc commit f8df9d6

File tree

1 file changed

+18
-20
lines changed

1 file changed

+18
-20
lines changed

SimulationRuntime/cpp/Include/Core/SimController/ISimController.h

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,37 +34,33 @@ struct SimSettings
3434
LogType logType;
3535
};
3636

37-
/*SimController to start and stop the simulation*/
37+
/**
38+
* SimController to start and stop the simulation
39+
*/
3840
class ISimController
3941
{
4042

4143
public:
42-
/// Enumeration to control the time integration
44+
4345
virtual ~ISimController() {};
44-
/*
45-
#if defined(__vxworks) || defined(__TRICORE__)
46-
#else
47-
virtual std::pair<boost::shared_ptr<IMixedSystem>,boost::shared_ptr<ISimData> > LoadSystem(boost::shared_ptr<ISimData> (*createSimDataCallback)(), boost::shared_ptr<IMixedSystem> (*createSystemCallback)(IGlobalSettings*, boost::shared_ptr<IAlgLoopSolverFactory>, boost::shared_ptr<ISimData>), string modelKey)=0;
48-
#endif
49-
*/
5046
virtual boost::weak_ptr<IMixedSystem> LoadSystem(string modelLib,string modelKey) = 0;
5147
virtual boost::weak_ptr<IMixedSystem> LoadModelicaSystem(PATH modelica_path,string modelKey) = 0;
5248
virtual boost::weak_ptr<ISimData> LoadSimData(string modelKey) = 0;
53-
/*
49+
/**
5450
Creates SimVars object, stores all model variable in continuous block of memory
55-
@modelKey model name
56-
@dim_real number of all real variables (real algebraic vars,discrete algebraic vars, state vars, der state vars)
57-
@dim_int number of all integer variables integer algebraic vars
58-
@dim_bool number of all bool variables (boolean algebraic vars)
59-
@dim_pre_vars number of all pre variables (real algebraic vars,discrete algebraic vars, boolean algebraic vars, integer algebraic vars, state vars, der state vars)
60-
@dim_z number of all state variables
61-
@z_i start index of state vector in real_vars list
51+
@param model name
52+
@param dim_real number of all real variables (real algebraic vars,discrete algebraic vars, state vars, der state vars)
53+
@param dim_int number of all integer variables integer algebraic vars
54+
@param dim_bool number of all bool variables (boolean algebraic vars)
55+
@param dim_pre_vars number of all pre variables (real algebraic vars,discrete algebraic vars, boolean algebraic vars, integer algebraic vars, state vars, der state vars)
56+
@param dim_z number of all state variables
57+
@param z_i start index of state vector in real_vars list
6258
*/
6359
virtual boost::weak_ptr<ISimVars> LoadSimVars(string modelKey,size_t dim_real,size_t dim_int,size_t dim_bool,size_t dim_pre_vars,size_t dim_z,size_t z_i) = 0;
64-
/*
60+
/**
6561
Starts the simulation
66-
modelKey: Modelica model name
67-
modelica_path: path to Modelica system dll
62+
@param modelKey Modelica model name
63+
@param modelica_path: path to Modelica system dll
6864
*/
6965
virtual void Start(SimSettings simsettings, string modelKey)=0;
7066

@@ -74,7 +70,9 @@ class ISimController
7470
virtual boost::weak_ptr<IMixedSystem> getSystem(string modelname) = 0;
7571
virtual void calcOneStep() = 0;
7672

77-
/// Stops the simulation
73+
/**
74+
* Stops the simulation
75+
*/
7876
virtual void Stop() = 0;
7977
};
8078
/** @} */ // end of coreSimcontroller

0 commit comments

Comments
 (0)