blob: 96cbddf90ca4e2ae94318c39961a03552083cc49 [file] [log] [blame]
/**
* Copyright (c) 2020-2021 Robert Bosch GmbH.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Robert Bosch GmbH - initial API and implementation
*/
package org.eclipse.app4mc.slg.ros2.transformers
import com.google.inject.Inject
import com.google.inject.Singleton
import org.eclipse.app4mc.amalthea.model.Component
import org.eclipse.app4mc.amalthea.model.Task
import org.eclipse.app4mc.slg.commons.m2t.transformers.TaskTransformer
import org.eclipse.app4mc.slg.ros2.generators.RosTaskTranslationUnit
import org.eclipse.app4mc.transformation.util.OutputBuffer
@Singleton
class RosTaskTransformer extends TaskTransformer {
@Inject OutputBuffer outputBuffer
@Inject RosLabelTransformer rosTransformerLabel
@Inject RosRunnableTransformer rosTransformerRunnable
@Inject RosInterProcessStimulusTransformer ipStimulusTransformer
override create new RosTaskTranslationUnit(outputBuffer, rosTransformerRunnable, rosTransformerLabel, ipStimulusTransformer, task, component)
transform(Task task, Component component) {
}
override getCache() { return this._createCache_transform }
}