Skip to content
Snippets Groups Projects
Commit 9a7bf938 authored by Stefan Duenhuber's avatar Stefan Duenhuber
Browse files

Add Transforamtion to code geneartor for v2v output ports

parent ba63481e
No related branches found
No related tags found
No related merge requests found
Showing
with 315 additions and 2 deletions
......@@ -32,7 +32,7 @@ public class V2VPrecedingUIDOutputGeneratorExtension extends
@Override
protected String getV2VMessageType() {
// TODO Auto-generated method stub
return "V2V_MSG_TYPE_LEADERUID";
return "V2V_MSG_TYPE_PRECEDINGUID";
}
}
/*-------------------------------------------------------------------------+
| Copyright 2018 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.generator.transform.v2v;
import org.fortiss.af3.platform.raspberry.generator.extension.v2v.V2VFollowerOutputGeneratorExtension;
import org.fortiss.af3.platform.raspberry.generator.transform.RasPiGeneratorTransformationBase;
import org.fortiss.af3.platform.raspberry.model.v2v.V2VFollowerOutput;
/**
* @author duenhuber
* Transformation for {@link V2VFollowerOutput}.
*/
public class V2VFollowerOutputTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */
public V2VFollowerOutputTransformation() {
super(V2VFollowerOutput.class, V2VFollowerOutputGeneratorExtension.class);
}
}
/*-------------------------------------------------------------------------+
| Copyright 2018 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.generator.transform.v2v;
import org.fortiss.af3.platform.raspberry.generator.extension.v2v.V2VFusePlatoonOutputGeneratorExtension;
import org.fortiss.af3.platform.raspberry.generator.transform.RasPiGeneratorTransformationBase;
import org.fortiss.af3.platform.raspberry.model.v2v.V2VFusePlatoonOutput;
/**
* @author duenhuber
* Transformation for {@link V2VFusePlatoonOutput}.
*/
public class V2VFusePlatoonOutputTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */
public V2VFusePlatoonOutputTransformation() {
super(V2VFusePlatoonOutput.class, V2VFusePlatoonOutputGeneratorExtension.class);
}
}
/*-------------------------------------------------------------------------+
| Copyright 2018 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.generator.transform.v2v;
import org.fortiss.af3.platform.raspberry.generator.extension.v2v.V2VHandshakeOutputGeneratorExtension;
import org.fortiss.af3.platform.raspberry.generator.transform.RasPiGeneratorTransformationBase;
import org.fortiss.af3.platform.raspberry.model.v2v.V2VHandshakeOutput;
/**
* @author duenhuber
* Transformation for {@link V2VHandshakeOutput}.
*/
public class V2VHandshakeOutputTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */
public V2VHandshakeOutputTransformation() {
super(V2VHandshakeOutput.class, V2VHandshakeOutputGeneratorExtension.class);
}
}
/*-------------------------------------------------------------------------+
| Copyright 2018 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.generator.transform.v2v;
import org.fortiss.af3.platform.raspberry.generator.transform.RasPiGeneratorTransformationBase;
import org.fortiss.af3.platform.raspberry.generator.extension.v2v.V2VLeaderHeartbeatOutputGeneratorExtension;
import org.fortiss.af3.platform.raspberry.model.v2v.V2VLeaderHeartbeatOutput;
/**
* @author duenhuber
* Transformation for {@link V2VLeaderHearbeatOutput}.
*/
public class V2VLeaderHeartbeatOutputTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */
public V2VLeaderHeartbeatOutputTransformation() {
super(V2VLeaderHeartbeatOutput.class, V2VLeaderHeartbeatOutputGeneratorExtension.class);
}
}
/*-------------------------------------------------------------------------+
| Copyright 2018 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.generator.transform.v2v;
import org.fortiss.af3.platform.raspberry.generator.extension.v2v.V2VLeaderUIDOutputGeneratorExtension;
import org.fortiss.af3.platform.raspberry.generator.transform.RasPiGeneratorTransformationBase;
import org.fortiss.af3.platform.raspberry.model.v2v.V2VLeaderUIDOutput;
/**
* @author duenhuber
* Transformation for {@link V2VLeaderUIDOutput}.
*/
public class V2VLeaderUIDOutputTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */
public V2VLeaderUIDOutputTransformation() {
super(V2VLeaderUIDOutput.class, V2VLeaderUIDOutputGeneratorExtension.class);
}
}
/*-------------------------------------------------------------------------+
| Copyright 2018 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.generator.transform.v2v;
import org.fortiss.af3.platform.raspberry.generator.extension.v2v.V2VLeavePlatoonOutputGeneratorExtension;
import org.fortiss.af3.platform.raspberry.generator.transform.RasPiGeneratorTransformationBase;
import org.fortiss.af3.platform.raspberry.model.v2v.V2VLeavePlatoonOutput;
/**
* @author duenhuber
* Transformation for {@link V2VLeavePlatoonOutput}.
*/
public class V2VLeavePlatoonOutputTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */
public V2VLeavePlatoonOutputTransformation() {
super(V2VLeavePlatoonOutput.class, V2VLeavePlatoonOutputGeneratorExtension.class);
}
}
/*-------------------------------------------------------------------------+
| Copyright 2018 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.generator.transform.v2v;
import org.fortiss.af3.platform.raspberry.generator.extension.v2v.V2VLocalUIDOutputGeneratorExtension;
import org.fortiss.af3.platform.raspberry.generator.transform.RasPiGeneratorTransformationBase;
import org.fortiss.af3.platform.raspberry.model.v2v.V2VLocalUIDOutput;
/**
* @author duenhuber
* Transformation for {@link V2VLocalUIDOutput}.
*/
public class V2VLocalUIDOutputTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */
public V2VLocalUIDOutputTransformation() {
super(V2VLocalUIDOutput.class, V2VLocalUIDOutputGeneratorExtension.class);
}
}
/*-------------------------------------------------------------------------+
| Copyright 2018 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.generator.transform.v2v;
import org.fortiss.af3.platform.raspberry.generator.extension.v2v.V2VNewLeaderOutputGeneratorExtension;
import org.fortiss.af3.platform.raspberry.generator.transform.RasPiGeneratorTransformationBase;
import org.fortiss.af3.platform.raspberry.model.v2v.V2VNewLeaderOutput;
/**
* @author duenhuber
* Transformation for {@link V2VNewLeaderOutput}.
*/
public class V2VNewLeaderOutputTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */
public V2VNewLeaderOutputTransformation() {
super(V2VNewLeaderOutput.class, V2VNewLeaderOutputGeneratorExtension.class);
}
}
......@@ -19,7 +19,10 @@ import org.fortiss.af3.platform.raspberry.generator.extension.v2v.V2VPlatoonOutp
import org.fortiss.af3.platform.raspberry.generator.transform.RasPiGeneratorTransformationBase;
import org.fortiss.af3.platform.raspberry.model.v2v.V2VPlatoonOutput;
/** Transformation for {@link V2VPlatoonOutput}. */
/**
* @author duenhuber
* Transformation for {@link V2VPlatoonOutput}.
*/
public class V2VPlatoonOutputTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */
public V2VPlatoonOutputTransformation() {
......
/*-------------------------------------------------------------------------+
| Copyright 2018 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.generator.transform.v2v;
import org.fortiss.af3.platform.raspberry.generator.extension.v2v.V2VPrecedingUIDOutputGeneratorExtension;
import org.fortiss.af3.platform.raspberry.generator.transform.RasPiGeneratorTransformationBase;
import org.fortiss.af3.platform.raspberry.model.v2v.V2VPrecedingUIDOuput;
/**
* @author duenhuber
* Transformation for {@link V2VPrecedingUIDOuput}.
*/
public class V2VPrecedingUIDOutputTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */
public V2VPrecedingUIDOutputTransformation() {
super(V2VPrecedingUIDOuput.class, V2VPrecedingUIDOutputGeneratorExtension.class);
}
}
/*-------------------------------------------------------------------------+
| Copyright 2018 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.generator.transform.v2v;
import org.fortiss.af3.platform.raspberry.generator.extension.v2v.V2VSplitOutputGeneratorExtension;
import org.fortiss.af3.platform.raspberry.generator.transform.RasPiGeneratorTransformationBase;
import org.fortiss.af3.platform.raspberry.model.v2v.V2VSplitOutput;
/**
* @author duenhuber
* Transformation for {@link V2VSplitOutput}.
*/
public class V2VSplitOutputTransformation extends RasPiGeneratorTransformationBase {
/** Constructor. */
public V2VSplitOutputTransformation() {
super(V2VSplitOutput.class, V2VSplitOutputGeneratorExtension.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