Skip to content
Snippets Groups Projects
Commit ea1b45bf authored by Bernhard Rumpe's avatar Bernhard Rumpe
Browse files

BR-sy

parent fc73d53b
No related branches found
No related tags found
No related merge requests found
Pipeline #175569 failed
Showing
with 28 additions and 202 deletions
# (c) https://github.com/MontiCore/monticore
stages: stages:
- windows - windows
......
<!-- (c) https://github.com/MontiCore/monticore -->
# Co-Simulation Generator # Co-Simulation Generator
[![pipeline status](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/co-simulation-gen/badges/master/pipeline.svg)](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/co-simulation-gen/commits/master) [![pipeline status](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/co-simulation-gen/badges/master/pipeline.svg)](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/co-simulation-gen/commits/master)
...@@ -8,4 +9,4 @@ There are two possibilities to use the co-simulation generator: ...@@ -8,4 +9,4 @@ There are two possibilities to use the co-simulation generator:
* [Co-Simulator Command-Line Interface](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/montisim-cli): Manual usage &rarr; Quick but only for experiments. * [Co-Simulator Command-Line Interface](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/montisim-cli): Manual usage &rarr; Quick but only for experiments.
* [Co-Simulator Maven Plugin](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/maven-cosimulation-gen-plugin): Automatic execution &rarr; For simulation setups which configuration can change over time. * [Co-Simulator Maven Plugin](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/maven-cosimulation-gen-plugin): Automatic execution &rarr; For simulation setups which configuration can change over time.
For instructions how to use the CLI and the Maven plugin respectively consider the corresponding Gitlab documentation. For instructions how to use the CLI and the Maven plugin respectively consider the corresponding Gitlab documentation.
\ No newline at end of file
<!-- <!-- (c) https://github.com/MontiCore/monticore -->
******************************************************************************
MontiCAR Modeling Family, www.se-rwth.de
Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
All rights reserved.
This project is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3.0 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this project. If not, see <http://www.gnu.org/licenses/>.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!-- (c) https://github.com/MontiCore/monticore -->
******************************************************************************
MontiCAR Modeling Family, www.se-rwth.de
Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
All rights reserved.
This project is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3.0 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this project. If not, see <http://www.gnu.org/licenses/>.
-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
......
/** /* (c) https://github.com/MontiCore/monticore */
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
package montisim; package montisim;
import java.util.List; import java.util.List;
......
/** /* (c) https://github.com/MontiCore/monticore */
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
/** /**
* *
*/ */
......
/** /* (c) https://github.com/MontiCore/monticore */
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
/** /**
* *
*/ */
...@@ -139,4 +121,4 @@ public class FreemarkerUtil { ...@@ -139,4 +121,4 @@ public class FreemarkerUtil {
executionInput.put(TEMPLATE_TOPCOMPONENT_KEY, expandedTopComponent); executionInput.put(TEMPLATE_TOPCOMPONENT_KEY, expandedTopComponent);
startInput.put(TEMPLATE_SIMULATORS_KEY, simulators); startInput.put(TEMPLATE_SIMULATORS_KEY, simulators);
} }
} }
\ No newline at end of file
/** /* (c) https://github.com/MontiCore/monticore */
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
package montisim; package montisim;
...@@ -49,4 +31,4 @@ public class SimGenerator { ...@@ -49,4 +31,4 @@ public class SimGenerator {
LOGGER.info("Generation process finsihed."); LOGGER.info("Generation process finsihed.");
} }
} }
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- (c) https://github.com/MontiCore/monticore -->
<Configuration status="INFO"> <Configuration status="INFO">
<Appenders> <Appenders>
<Console name="Console" target="SYSTEM_OUT"> <Console name="Console" target="SYSTEM_OUT">
......
<#-- (c) https://github.com/MontiCore/monticore -->
<#ftl strip_whitespace = true> <#ftl strip_whitespace = true>
<#setting locale="en_US"> <#setting locale="en_US">
<#-- IMPORT ALL DEPENDENCIES --> <#-- IMPORT ALL DEPENDENCIES -->
......
<#-- (c) https://github.com/MontiCore/monticore -->
import montisim.SimExecutor; import montisim.SimExecutor;
public class ExecutionStart { public class ExecutionStart {
...@@ -26,4 +27,4 @@ public class ExecutionStart { ...@@ -26,4 +27,4 @@ public class ExecutionStart {
simExecutor.execute(); simExecutor.execute();
</#if> </#if>
} }
} }
\ No newline at end of file
/** /* (c) https://github.com/MontiCore/monticore */
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
package montisim; package montisim;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
......
/** /* (c) https://github.com/MontiCore/monticore */
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
package montisim; package montisim;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
......
/** /* (c) https://github.com/MontiCore/monticore */
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
/** /**
* *
*/ */
......
/** /* (c) https://github.com/MontiCore/monticore */
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
/** /**
* *
*/ */
......
/* (c) https://github.com/MontiCore/monticore */
package setup; package setup;
import setup.simulations.*; import setup.simulations.*;
...@@ -17,4 +18,4 @@ component Composition { ...@@ -17,4 +18,4 @@ component Composition {
connect sim1.out1 -> sim3.in1; connect sim1.out1 -> sim3.in1;
connect sim2.out1 -> sim3.in2; connect sim2.out1 -> sim3.in2;
connect sim3.out1 -> res; connect sim3.out1 -> res;
} }
\ No newline at end of file
/* (c) https://github.com/MontiCore/monticore */
package setup; package setup;
import setup.simulations.*; import setup.simulations.*;
...@@ -18,4 +19,4 @@ component Composition { ...@@ -18,4 +19,4 @@ component Composition {
connect sim2.out1 -> sim3.in2; connect sim2.out1 -> sim3.in2;
connect sim3.out1 -> res; connect sim3.out1 -> res;
connect sim3.out1 -> res; connect sim3.out1 -> res;
} }
\ No newline at end of file
/* (c) https://github.com/MontiCore/monticore */
package setup; package setup;
import setup.simulations.*; import setup.simulations.*;
...@@ -21,4 +22,4 @@ component LoopComposition { ...@@ -21,4 +22,4 @@ component LoopComposition {
connect simLoop.out2 -> sim5.in1; connect simLoop.out2 -> sim5.in1;
connect simLoop.out2 -> res; connect simLoop.out2 -> res;
} }
\ No newline at end of file
/* (c) https://github.com/MontiCore/monticore */
package setup; package setup;
import setup.simulations.*; import setup.simulations.*;
...@@ -11,4 +12,4 @@ component MontiSimComposition { ...@@ -11,4 +12,4 @@ component MontiSimComposition {
connect in1 -> simulator.deltaTime; connect in1 -> simulator.deltaTime;
connect simulator.vehicle1CollisionOut -> res; connect simulator.vehicle1CollisionOut -> res;
} }
\ No newline at end of file
/* (c) https://github.com/MontiCore/monticore */
package setup; package setup;
component Simulator { component Simulator {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment