Skip to content

Commit

Permalink
Merge branch 'fix/copyright' into 'develop'
Browse files Browse the repository at this point in the history
Add missing copyright statements

See merge request monticore/montithings/core!391
  • Loading branch information
kirchhof committed Dec 15, 2023
2 parents 4c03f5a + 3fe8b10 commit 12c8442
Show file tree
Hide file tree
Showing 113 changed files with 112 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- (c) https://github.com/MontiCore/monticore -->
# Example Applications

This folder contains many example projects that showcase MontiThings.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
# (c) https://github.com/MontiCore/monticore
<#setting locale="en_US">
<#assign offsets=[64,59,55,50,45,40]>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
# (c) https://github.com/MontiCore/monticore
<#setting locale="en_US">
<#assign offsets=[64,59,55,50,45,40]>
Expand Down
1 change: 1 addition & 0 deletions examples/patterns/anomaly-detection/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) https://github.com/MontiCore/monticore -->
<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">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
#include "MiddlemanImpl.h"

namespace montithings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
#pragma once
#include "MiddlemanImplTOP.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
#include "MiddlemanState.h"

namespace montithings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
#pragma once
#include "MiddlemanStateTOP.h"

Expand Down
1 change: 1 addition & 0 deletions examples/patterns/grafana/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) https://github.com/MontiCore/monticore -->
<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">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// (c) https://github.com/MontiCore/monticore
// (c) https://github.com/MontiCore/monticore
package hierarchy;

component Sink {
Expand Down
1 change: 1 addition & 0 deletions examples/patterns/network-load-minimization/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) https://github.com/MontiCore/monticore -->
<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">
Expand Down
1 change: 1 addition & 0 deletions examples/patterns/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) https://github.com/MontiCore/monticore -->
<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">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package garbageCollection;

interface component AbstractGarbageCan {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package garbageCollection;

component GarbageAdder {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package garbageCollection;

component GarbageCan {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package garbageCollection;

component GarbageCollection {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package garbageCollection;

component GarbageCollector {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package garbageCollection;

component GarbageRemover {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package garbageCollection;

component SpecificGarbageCan implements AbstractGarbageCan {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package garbageCollection;

component TestGarbageCan implements AbstractGarbageCan {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package exampledatageneratorlang._ast;
import java.util.ArrayList;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package exampledatageneratorlang._ast;

public class ASTMonth extends ASTMonthTOP {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
# (c) https://github.com/MontiCore/monticore
<#setting locale="en_US">
<#assign offsets=[64,59,55,50,45,40]>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
# (c) https://github.com/MontiCore/monticore
<#setting locale="en_US">
<#assign offsets=[64,59,55,50,45,40]>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
# (c) https://github.com/MontiCore/monticore
<#setting locale="en_US">
<#assign offsets=[64,59,55,50,45,40]>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package thermostatlang._ast;

public class ASTDays extends ASTDaysTOP {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package thermostatlang._ast;

public class ASTMonth extends ASTMonthTOP {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
# (c) https://github.com/MontiCore/monticore
<#setting locale="en_US">
<#assign offsets=[64,59,55,50,45,40]>
Expand Down
1 change: 1 addition & 0 deletions generators/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- (c) https://github.com/MontiCore/monticore -->
# Generators

The code generators in this folder are the tools
Expand Down
1 change: 1 addition & 0 deletions generators/cd2cpp/src/test/resources/hwc/domain/A.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
public class A : public ATOP{

int x = 10;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package montithings.generator.cd2proto;

import de.se_rwth.commons.logging.Log;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package montithings.generator.cd2proto;

import montithings.generator.cd2proto.helper.ProtobufRunner;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package montithings.generator.cd2proto;

import de.se_rwth.commons.logging.Log;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package montithings.generator.cd2proto;

import de.se_rwth.commons.logging.Log;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package montithings.generator.cd2proto;

import de.monticore.generating.templateengine.freemarker.MontiCoreFreeMarkerException;
Expand Down
1 change: 1 addition & 0 deletions generators/montithings2cpp/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- (c) https://github.com/MontiCore/monticore -->
# montithings2cpp Generator

The `montithings2cpp` generator is MontiThings' main generator that
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname", "namesOfInputPorts", "namesOfOutputPorts")}
#include "${compname}Impl.h"
#include <iostream>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname", "windowSize", "tolerance")}
#pragma once
#include "${compname}ImplTOP.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname", "namesOfInputPorts")}
#include "${compname}State.h"
#include <iostream>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname", "namesOfInputPorts")}
#pragma once
#include "${compname}StateTOP.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("containername")}
// Storage account provisioned in Deployment Manager
// Name of the resource is sa
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname", "nameOfUrlInputPort", "nameOfDataInputPort", "nameOfOutputPort", "dataPortType")}
#include "${compname}Impl.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname")}
#pragma once
#include "${compname}ImplTOP.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("panels", "title")}
{
\"annotations\": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("grafanaInstanceUrl", "grafanaApiKey", "panels", "title", "setupProvider")}
<#if setupProvider == true>
provider "grafana" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname", "namesOfInputPorts", "namesOfOutputPorts", "pgPortTypes", "tablename")}
#include "${compname}Impl.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname")}
#pragma once
#include "${compname}ImplTOP.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname", "batchesOfNamesOfInputPorts", "batchesOfNamesOfOutputPorts")}
#include "${compname}Impl.h"
#include <iostream>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname", "windowSize", "tolerance")}
#pragma once
#include "${compname}ImplTOP.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname", "batchesOfNamesOfInputPorts")}
#include "${compname}State.h"
#include <iostream>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname", "batchesOfNamesOfInputPorts")}
#pragma once
#include "${compname}StateTOP.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname", "maxPortSize", "containername", "nameOfUrlOutputPort", "nameOfDataOutputPort", "nameOfInputPort")}
#include "${compname}Impl.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("packageName", "compname")}
#pragma once
#include "${compname}ImplTOP.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("languagePaths","existsHWC")}
<#include "/template/Preamble.ftl">
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("config", "state" "existsHWC")}
<#include "/template/Preamble.ftl">
// (c) https://github.com/MontiCore/monticore
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("languagePaths","existsHWC")}
<#include "/template/Preamble.ftl">
/* (c) https://github.com/MontiCore/monticore */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("config","existsHWC")}
<#include "/template/Preamble.ftl">
# (c) https://github.com/MontiCore/monticore
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("config","existsHWC")}
<#include "/template/Preamble.ftl">

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("config","name","explain","existsHWC")}
<#include "/template/Preamble.ftl">

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<#-- (c) https://github.com/MontiCore/monticore -->
${tc.signature("config","instanceNames","explain","existsHWC")}
<#include "/template/Preamble.ftl">

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package montithings.generator.config;

public enum ApplyPatterns {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package montithings.generator.steps.trafos;

import montithings.generator.MontiThingsGeneratorTool;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package montithings.generator.steps.trafos.patterns;

import arcbasis._ast.ASTPortAccess;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package montithings.generator.steps.trafos.patterns;

public class GrafanaPanel {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package montithings.generator.steps.trafos.patterns;

import arcbasis._ast.ASTConnector;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package montithings.generator.steps.trafos.patterns;

import arcbasis._ast.ASTPortAccess;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
#include "AutoregressiveAnomalyDetection.h"

bool AutoregressiveAnomalyDetection::is_anomaly(float input, std::vector<float> past_values)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
#ifndef AUTOREGRESSIVE_ANOMALY_DETECTION_HEADER
#define AUTOREGRESSIVE_ANOMALY_DETECTION_HEADER

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
#pragma once

#define CPPHTTPLIB_OPENSSL_SUPPORT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
#include "MTLinearRegression.h"

float MTLinearRegression::predict_value(float input, std::vector<float> values)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
#ifndef MT_LINEAR_REGRESSION_HEADER
#define MT_LINEAR_REGRESSION_HEADER

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
#include "MultivariateAutoregressiveAnomalyDetection.h"

std::vector<bool>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
#ifndef MULTIREGRESSIVE_ANOMALY_DETECTION_HEADER
#define MULTIREGRESSIVE_ANOMALY_DETECTION_HEADER

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
#include "PostgresClient.h"

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
#pragma once

#include <iostream>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package montithings.cocos;

import de.se_rwth.commons.logging.Log;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package montithings.cocos;

import arcbasis._symboltable.PortSymbol;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package componenttest._ast;

public class ASTTestBlock extends ASTTestBlockTOP {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// (c) https://github.com/MontiCore/monticore
package componenttest.cocos;

import componenttest._ast.ASTWaitStatement;
Expand Down
Loading

0 comments on commit 12c8442

Please sign in to comment.