public class SingleThreadBHCodelet extends Codelet
Constructor and Description |
---|
SingleThreadBHCodelet(java.util.ArrayList<Behavior> behaviors) |
Modifier and Type | Method and Description |
---|---|
void |
accessMemoryObjects()
This method is used in every Codelet to capture input, broadcast and
output MemoryObjects which shall be used in the proc() method.
|
void |
calculateActivation()
This abstract method must be implemented by the user.
|
void |
proc()
Main Codelet function, to be implemented in each subclass.
|
addBroadcast, addBroadcasts, addInput, addInputs, addOutput, addOutputs, getActivation, getBroadcast, getBroadcast, getBroadcast, getEnabled, getInput, getInput, getInputs, getInputsOfType, getName, getOutput, getOutput, getOutputs, getOutputsOfType, getThreadName, getThreshold, getTimeStep, impendingAccess, impendingAccessBuffer, isLoop, isProfiling, notifyCodelet, removeFromInput, removeFromOutput, removesInput, removesOutput, run, setActivation, setBroadcast, setCodeletProfiler, setEnabled, setInputs, setIsMemoryObserver, setLoop, setName, setOutputs, setProfiling, setThreshold, setTimeStep, shouldLoop, start, stop, toString
public SingleThreadBHCodelet(java.util.ArrayList<Behavior> behaviors)
public void proc()
Codelet
public void accessMemoryObjects()
Codelet
accessMemoryObjects
in class Codelet
public void calculateActivation()
Codelet
calculateActivation
in class Codelet