blob: 5b26e5f75e06ad673e57d1499e59aa083f7b441b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2017, 2018 Dortmund University of Applied Sciences and Arts and others.
*
* 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:
* Dortmund University of Applied Sciences and Arts - initial API and implementation
*******************************************************************************/
package org.eclipse.app4mc.multicore.execution.logic.btf.fsm;
public enum BtfTaskEvent {
WAIT(0), POLL(1), RUN(2), TERMINATE(3), ACTIVATE(4), RELEASE_PARKING(5), RELEASE(6), PARK(7), POLL_PARKING(
8), PREEMPT(9), RESUME(10), START(11);
public static final int COUNT = 12;
private final int id;
BtfTaskEvent(int id) {
this.id = id;
}
public int val() {
return id;
}
}