Skip to content
Snippets Groups Projects
Commit bd062de2 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

Fixed constructor visibility. YELLOW.

parent 35145cdc
No related branches found
No related tags found
No related merge requests found
Showing
with 75 additions and 41 deletions
CanBusExecutable.java a6d7a7767a1eae9770007e98115ead912f8a6e47 RED
CanConnectorExecutable.java ed13a0d5b71eae473ddec911cb572780660c85a4 RED
CanTransmissionCatalog.java ec4637eda80234429a9f382a37713588a0fbb83a RED
HeaderCopyGenerator.java 18239a3adae35256e32dad19df9d8f38acbf7e66 RED
MultiUnitMainGenerator.java 458754b89c2d79db3fee08baa444424772e40fb7 RED
PWMActuatorExecutable.java 7f408032787fc45e6e8c0ecb919cc80f6bcbcdc7 RED
RaspberryPIExecutable.java 3bfe08becb7e7ca9f056ce44188cc310a99ffa44 RED
SingleUnitMainGenerator.java e1df0d82804fd0622b97ecde827844da30370e14 RED
Button1Executable.java 24ccb4a8b5c2abf4fbe09b16c97aa1e6959b2b78 RED
Button2Executable.java 1619d2c2c4e0018d7e1855488c8157dde8f9aca6 RED
Button3Executable.java cd9615e4b49e39395235e2aae41d0a663cd00dad RED
Button4Executable.java 55ce16f9c89e8456143bf5ae2105d8ebd0d7818a RED
ButtonL1Executable.java 11e985bfca3711a9fee53f53919b2dd580431025 RED
ButtonL2Executable.java e4f01bedf710a24638e3fd9e631f1dd07bd5994c RED
ButtonR1Executable.java ff808449dedeb01c0e097bee9d70cca79178dd6f RED
ButtonR2Executable.java 3c5892adbaadbb4e526384a4403c7c83af8e4006 RED
Left_StickXExecutable.java 5ee19c799ac427a30a5132d8ee56813a619a318b RED
Left_StickYExecutable.java 72072552129629a3c94d689503e2c5949918d542 RED
Right_StickXExecutable.java be3ca2771b669c0ac06cf9cb0e73a539fadddd01 RED
Right_StickYExecutable.java 54ab05658e14ce42f90a2ab60ff64931d5083811 RED
ButtonAExecutable.java 0661a0f5c1fbe12fbed00896365a381f1fbc8650 RED
ButtonBExecutable.java 63073452a6f445ce3ccf59dbdbb8b7a9d8ea5584 RED
ButtonHomeExecutable.java a04d161d5ea0b70dae3db7494adc082207978d56 RED
ButtonL1Executable.java e8523f64013920c0a29e1626217ff92ccd73cff0 RED
ButtonL3Executable.java 6b4d7f9e85bfd55699754e4703aa08f9a00f32b7 RED
ButtonR1Executable.java bfbf0248c4ab7ac171d1e26b83bb5e24af13cab0 RED
ButtonR3Executable.java e70cec4e4779ec85b5185699bb7d7442e842549d RED
ButtonSelectExecutable.java ecc252e9892fbaf57ce838a45760ba14bbdb4bd7 RED
ButtonStartExecutable.java d13a109bc2c7064dc28aa8b100a660d6be9ee45c RED
ButtonXExecutable.java 99b1faf901604ccad9cd25f8b14837e5244ab7af RED
ButtonYExecutable.java c4813f82130418137d62c9994be37133950877d7 RED
DPadDownExecutable.java 7aa0aaab994e22fd446b0ef8770441e09bc2bf29 RED
DPadLeftExecutable.java 0cee35a8f6b874ebee76b7165f09198bdde163cb RED
DPadRightExecutable.java 52e2e59c1669700f0127fb0b0c70a2d558487944 RED
DPadUpExecutable.java f7568fb11774be0caa9b72cbde666651a412012f RED
L2PositionExecutable.java b944b26d961dd24e2cce3b9f47a2f3631b580f35 RED
Left_StickXExecutable.java 6347ebc9366b3d835eeb967fdd27d187b812006f RED
Left_StickYExecutable.java 33894565b5482f28ec7b5eb9d182da67fbd0d0e0 RED
R2PositionExecutable.java eaafe55ee446e2b5d88aed210102b9a6e8cb9bd2 RED
Right_StickXExecutable.java fc1ab5ea6c40323e2b9ed5d63025112cd53bc52d RED
Right_StickYExecutable.java b7826a54892d3ed9a18fb1a0ba6c2ac93cd2ae45 RED
SimpleRumbleFeatureExecutable.java 42520aedc5cf9e249e6df0be6bb2421f3d6f3b14 RED
RasPiCTemplates.java 3667e3e66b2f5219148ac8ef7f1be5e75bfbe92f RED
/*--------------------------------------------------------------------------+ /*-------------------------------------------------------------------------+
$Id: RasPiCTemplates.java 22813 2018-01-12 15:25:51Z hoelzl $ | Copyright 2018 fortiss GmbH |
| |
| Copyright 2017 fortiss GmbH |
| | | |
| Licensed under the Apache License, Version 2.0 (the "License"); | | Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. | | you may not use this file except in compliance with the License. |
...@@ -30,14 +28,7 @@ import org.antlr.stringtemplate.language.DefaultTemplateLexer; ...@@ -30,14 +28,7 @@ import org.antlr.stringtemplate.language.DefaultTemplateLexer;
import org.fortiss.af3.generator.common.model.source.AbstractUnit; import org.fortiss.af3.generator.common.model.source.AbstractUnit;
import org.fortiss.af3.generator.common.model.source.StaticContentSourceUnit; import org.fortiss.af3.generator.common.model.source.StaticContentSourceUnit;
/** /** Templates used by the RasPi C code generator. */
* Templates used by the RasPi C code generator.
*
* @author hoelzl
* @author $Author: hoelzl $
* @version $Rev: 22813 $
* @ConQAT.Rating RED Hash:
*/
public final class RasPiCTemplates { public final class RasPiCTemplates {
/** Returns the 'main.c' file configured using the given arguments. */ /** Returns the 'main.c' file configured using the given arguments. */
public static AbstractUnit getMultiUnitMainCFile(String unitName, boolean coordinatorOrWorker, public static AbstractUnit getMultiUnitMainCFile(String unitName, boolean coordinatorOrWorker,
......
CanBusTransformation.java 96e04106bea67e1158a48b9a2e57e3513f3f1d43 YELLOW CanBusTransformation.java 8b4877996d3f9c1a4ddffd773595e8ea3e6fd3a2 YELLOW
CanBusTransmissionCatalogTransformation.java 1d1f72d107a59ddaefac42e38cdfa236f688eebc YELLOW CanBusTransmissionCatalogTransformation.java 1d1f72d107a59ddaefac42e38cdfa236f688eebc YELLOW
CanConnectorTransformation.java 9a573216bc5f3fa3c30e9a161d6f06bbc17ac09b YELLOW CanConnectorTransformation.java b149be82c792838b56e3c2741732e69599f25523 YELLOW
CanConnectorTransmissionCatalogTransformation.java fa822114b375a2efdfa72c9c461099947519418d YELLOW CanConnectorTransmissionCatalogTransformation.java fa822114b375a2efdfa72c9c461099947519418d YELLOW
PWMActuatorTransformation.java 59001569f6c0b4596114ce9a63258ddb20b344d1 YELLOW PWMActuatorTransformation.java 4bafff7e72aec8a86af540fd4db88c6eafb75341 YELLOW
RasPiGeneratorTransformationBase.java dc2bd2ae0d0759234dc4ce7621034c888285b0df YELLOW RasPiGeneratorTransformationBase.java dc2bd2ae0d0759234dc4ce7621034c888285b0df YELLOW
RaspberryPITransformation.java 8a3ae3ce9acf9b2a7bbf898b02668f3ac94fd435 YELLOW RaspberryPITransformation.java 6f12165d10e1e2d3b0f8ac6ffe19603cfcfacd4a YELLOW
...@@ -21,7 +21,7 @@ import org.fortiss.af3.platform.raspberry.model.CanBus; ...@@ -21,7 +21,7 @@ import org.fortiss.af3.platform.raspberry.model.CanBus;
/** Transformation for {@link CanBus}. */ /** Transformation for {@link CanBus}. */
public class CanBusTransformation extends RasPiGeneratorTransformationBase { public class CanBusTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */ /** Constructor. */
protected CanBusTransformation() { public CanBusTransformation() {
super(CanBus.class, CanBusExecutable.class); super(CanBus.class, CanBusExecutable.class);
} }
} }
...@@ -21,7 +21,7 @@ import org.fortiss.af3.platform.raspberry.model.CanConnector; ...@@ -21,7 +21,7 @@ import org.fortiss.af3.platform.raspberry.model.CanConnector;
/** Transformation for {@link CanConnector}. */ /** Transformation for {@link CanConnector}. */
public class CanConnectorTransformation extends RasPiGeneratorTransformationBase { public class CanConnectorTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */ /** Constructor. */
protected CanConnectorTransformation() { public CanConnectorTransformation() {
super(CanConnector.class, CanConnectorExecutable.class); super(CanConnector.class, CanConnectorExecutable.class);
} }
} }
...@@ -21,7 +21,7 @@ import org.fortiss.af3.platform.raspberry.model.ActuatorPWM; ...@@ -21,7 +21,7 @@ import org.fortiss.af3.platform.raspberry.model.ActuatorPWM;
/** Transformation for {@link ActuatorPWM}. */ /** Transformation for {@link ActuatorPWM}. */
public class PWMActuatorTransformation extends RasPiGeneratorTransformationBase { public class PWMActuatorTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */ /** Constructor. */
protected PWMActuatorTransformation() { public PWMActuatorTransformation() {
super(ActuatorPWM.class, PWMActuatorExecutable.class); super(ActuatorPWM.class, PWMActuatorExecutable.class);
} }
} }
...@@ -21,7 +21,7 @@ import org.fortiss.af3.platform.raspberry.model.RaspberryPi; ...@@ -21,7 +21,7 @@ import org.fortiss.af3.platform.raspberry.model.RaspberryPi;
/** Transformation from {@link RaspberryPi} to {@link RaspberryPIExecutable}. */ /** Transformation from {@link RaspberryPi} to {@link RaspberryPIExecutable}. */
public class RaspberryPITransformation extends RasPiGeneratorTransformationBase { public class RaspberryPITransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */ /** Constructor. */
protected RaspberryPITransformation() { public RaspberryPITransformation() {
super(RaspberryPi.class, RaspberryPIExecutable.class); super(RaspberryPi.class, RaspberryPIExecutable.class);
} }
} }
Button1Transformation.java cf29ff3057bf1fb254309777b41dcb758241d44c YELLOW Button1Transformation.java 5a01d8c5fbbae51354ba35973bfb37547bd28195 YELLOW
Button2Transformation.java 52ce45a440a11617acf62ac39af48341876d179e YELLOW Button2Transformation.java 237638a2dba39f29b1d9723c95afa50662dbb149 YELLOW
Button3Transformation.java 55bdc4524c22f5f355e41a1be747fd14b471e762 YELLOW Button3Transformation.java 4d84dea64e9008503868880398d4d42f27fd0c20 YELLOW
Button4Transformation.java e02b53924f3e3132e2b9e795374643397a0f3832 YELLOW Button4Transformation.java ac9eaae7e7285be57ac215e3700e950e499e5d0b YELLOW
ButtonL1Transformation.java 7f66bdfa131c62d777a0e9c26a3376532b46aa63 YELLOW ButtonL1Transformation.java 79e6b994b53d6df5d6e98b6994e1d69a21408773 YELLOW
ButtonL2Transformation.java c7389248313c93796d68efa840b14f8379ca6af3 YELLOW ButtonL2Transformation.java 4d78ed819b645da4b27ed53595052482bf808a75 YELLOW
ButtonR1Transformation.java e387505188a77366419ac425df83dcf0dbc6a8a0 YELLOW ButtonR1Transformation.java 9fc95d20d1a9fd6f1789c2ab0ef4928cbb2620f7 YELLOW
ButtonR2Transformation.java e209a1ca0aeb1e934ee739d44270b8d6f9856fdf YELLOW ButtonR2Transformation.java e9a432d95f76139ccc49fbb2ab526e4ab1d244eb YELLOW
Left_StickXTransformation.java b9572b80ff948dbd8357a6e5d3b8006f50ad327d YELLOW Left_StickXTransformation.java 966856dea8303ad0ae46df60a5c94ae491b2afc2 YELLOW
Left_StickYTransformation.java e2a9262b8ccd4bff9bb273dec5867cf453fd0738 YELLOW Left_StickYTransformation.java 446a5c66b41c888c6bbb60b1931bbdb5a73b1622 YELLOW
Right_StickXTransformation.java 514306b89d16bfa69852511ec42931ec5ff1b02c YELLOW Right_StickXTransformation.java 3771d8376a0282d94a0a5d303f3bb256c1615103 YELLOW
Right_StickYTransformation.java 42e7d9170087e4a766362c6aa36ade91d81056d2 YELLOW Right_StickYTransformation.java 8c92c0be940cb0dc1eb4e8f5909267682cb71d32 YELLOW
...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.Button1; ...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.Button1;
/** Transformation for {@link Button1}. */ /** Transformation for {@link Button1}. */
public class Button1Transformation extends RasPiGeneratorTransformationBase { public class Button1Transformation extends RasPiGeneratorTransformationBase {
/** Constructor. */ /** Constructor. */
protected Button1Transformation() { public Button1Transformation() {
super(Button1.class, Button1Executable.class); super(Button1.class, Button1Executable.class);
} }
} }
...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.Button2; ...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.Button2;
/** Transformation for {@link Button2}. */ /** Transformation for {@link Button2}. */
public class Button2Transformation extends RasPiGeneratorTransformationBase { public class Button2Transformation extends RasPiGeneratorTransformationBase {
/** Constructor. */ /** Constructor. */
protected Button2Transformation() { public Button2Transformation() {
super(Button2.class, Button2Executable.class); super(Button2.class, Button2Executable.class);
} }
} }
...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.Button3; ...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.Button3;
/** Transformation for {@link Button3}. */ /** Transformation for {@link Button3}. */
public class Button3Transformation extends RasPiGeneratorTransformationBase { public class Button3Transformation extends RasPiGeneratorTransformationBase {
/** Constructor. */ /** Constructor. */
protected Button3Transformation() { public Button3Transformation() {
super(Button3.class, Button3Executable.class); super(Button3.class, Button3Executable.class);
} }
} }
...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.Button4; ...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.Button4;
/** Transformation for {@link Button4}. */ /** Transformation for {@link Button4}. */
public class Button4Transformation extends RasPiGeneratorTransformationBase { public class Button4Transformation extends RasPiGeneratorTransformationBase {
/** Constructor. */ /** Constructor. */
protected Button4Transformation() { public Button4Transformation() {
super(Button4.class, Button4Executable.class); super(Button4.class, Button4Executable.class);
} }
} }
...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.ButtonL1; ...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.ButtonL1;
/** Transformation for {@link ButtonL1}. */ /** Transformation for {@link ButtonL1}. */
public class ButtonL1Transformation extends RasPiGeneratorTransformationBase { public class ButtonL1Transformation extends RasPiGeneratorTransformationBase {
/** Constructor. */ /** Constructor. */
protected ButtonL1Transformation() { public ButtonL1Transformation() {
super(ButtonL1.class, ButtonL1Executable.class); super(ButtonL1.class, ButtonL1Executable.class);
} }
} }
...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.ButtonL2; ...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.ButtonL2;
/** Transformation for {@link ButtonL2}. */ /** Transformation for {@link ButtonL2}. */
public class ButtonL2Transformation extends RasPiGeneratorTransformationBase { public class ButtonL2Transformation extends RasPiGeneratorTransformationBase {
/** Constructor. */ /** Constructor. */
protected ButtonL2Transformation() { public ButtonL2Transformation() {
super(ButtonL2.class, ButtonL2Executable.class); super(ButtonL2.class, ButtonL2Executable.class);
} }
} }
...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.ButtonR1; ...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.ButtonR1;
/** Transformation for {@link ButtonR1}. */ /** Transformation for {@link ButtonR1}. */
public class ButtonR1Transformation extends RasPiGeneratorTransformationBase { public class ButtonR1Transformation extends RasPiGeneratorTransformationBase {
/** Constructor. */ /** Constructor. */
protected ButtonR1Transformation() { public ButtonR1Transformation() {
super(ButtonR1.class, ButtonR1Executable.class); super(ButtonR1.class, ButtonR1Executable.class);
} }
} }
...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.ButtonR2; ...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.ButtonR2;
/** Transformation for {@link ButtonR2}. */ /** Transformation for {@link ButtonR2}. */
public class ButtonR2Transformation extends RasPiGeneratorTransformationBase { public class ButtonR2Transformation extends RasPiGeneratorTransformationBase {
/** Constructor. */ /** Constructor. */
protected ButtonR2Transformation() { public ButtonR2Transformation() {
super(ButtonR2.class, ButtonR2Executable.class); super(ButtonR2.class, ButtonR2Executable.class);
} }
} }
...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.Left_StickX_Position; ...@@ -22,7 +22,7 @@ import org.fortiss.af3.platform.raspberry.model.gamepad.Left_StickX_Position;
/** Transformation for {@link Left_StickX_Position}. */ /** Transformation for {@link Left_StickX_Position}. */
public class Left_StickXTransformation extends RasPiGeneratorTransformationBase { public class Left_StickXTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */ /** Constructor. */
protected Left_StickXTransformation() { public Left_StickXTransformation() {
super(Left_StickX_Position.class, Left_StickXExecutable.class); super(Left_StickX_Position.class, Left_StickXExecutable.class);
} }
} }
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