|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.calcium.Interpreter
public class Interpreter
This class corresponds to a skeleton interpreter, which can be seen as a worker of the skeleton framework. The interpreter will loop taking the top skeletal instruction from the task's instruction stack and execute it. When the instruction is executed, the task's stack can be modified. For example the "if" skeleton will choose which branch must be computed and place this branch in the task's stack. The loop will continue to execute until a task is found to have children tasks, or the task has no more instructions. In either case, the task (and it's children) will be returned.
Constructor Summary | |
---|---|
Interpreter()
|
Method Summary | ||
---|---|---|
|
interpret(Task<T> task)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Interpreter()
Method Detail |
---|
public <T> Task<T> interpret(Task<T> task)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |