/**
 * 
 */
package papabench.scj.autopilot.tasks;

import static papabench.scj.utils.ParametersFactory.getPeriodicParameters;
import static papabench.scj.utils.ParametersFactory.getPriorityParameters;
import papabench.scj.autopilot.conf.PapaBenchAutopilotConf.LinkFBWSendTaskConf;
import papabench.scj.autopilot.modules.AutopilotModule;
import papabench.scj.commons.tasks.PapaBenchPeriodicTask;

/**
 * @author Michal Malohlava
 *
 */
//@SCJAllowed
public class LinkFBWSendTask extends PapaBenchPeriodicTask implements LinkFBWSendTaskConf {
	
	private AutopilotModule autopilotModule;
	
	public LinkFBWSendTask(AutopilotModule autopilotModuleArg) {
		super(getPriorityParameters(PRIORITY), 
				getPeriodicParameters(RELEASE_MS, PERIOD_MS), 
				null, // FIXME 
				SIZE);
		
		autopilotModule = autopilotModuleArg;
	}

	@Override
	public void handlePeriod() {
		// FIXME currenty the task do nothing -> the implementation of send is in StabilizationTask, however it should be here
	}
		
	public String getTaskName() {
		return NAME;
	}
}
