de.jiac.micro.core.feature
Class AbstractSporadicRunnable
java.lang.Object
de.jiac.micro.core.feature.AbstractSchedulable
de.jiac.micro.core.feature.AbstractSporadicRunnable
- Direct Known Subclasses:
- AbstractReactiveBehaviour
public abstract class AbstractSporadicRunnable
- extends AbstractSchedulable
API-Compilation Stub. The specific implementation is part of the platforms!
- Version:
- $Revision$
- Author:
- Marcel Patzlaff
| Methods inherited from class de.jiac.micro.core.feature.AbstractSchedulable |
disable, enable, getCost, getCostOverrunHandler, getDeadline, getDeadlineMissHandler, getPriority, isEnabled, setCost, setCostOverrunHandler, setDeadline, setDeadlineMissHandler, setPriority |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSporadicRunnable
protected AbstractSporadicRunnable()
getMinimumInterarrival
public final long getMinimumInterarrival()
setMinimumInterarrival
public final void setMinimumInterarrival(long minimumInterrival)
- To specify the minimum time distance between two subsequent executions of this behaviour.
Data that occurs in between the two executions will not be forwarded to this behaviour!
- Parameters:
minimumInterrival - the minimum time distance between two subsequent calls
filterDataTypes
protected abstract Class[] filterDataTypes()
- This method is called each time new data is available in the
short-term memory.
If the type of data matches the filters, then runShort(Enumeration) is executed.
runShort
protected abstract void runShort(Enumeration sensorReadings)
- Parameters:
sensorReadings - the current readings that match with the specified filters. Due to efficiency reasons
this reference must only be used in this method and must not be stored!
Copyright © 2008-2011 DAI-Labor. All Rights Reserved.