|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.jddac.FunctionFactory
public class FunctionFactory
Created by IntelliJ IDEA. User: brian Date: Mar 27, 2006 Time: 4:48:36 PM To change this template use File | Settings | File Templates.
| Constructor Summary | |
|---|---|
FunctionFactory()
|
|
| Method Summary | |
|---|---|
static net.java.jddac.common.type.ArgArray |
createFunctionArg(java.lang.String opIdIn,
java.lang.String opIdOut,
IFunction function)
Wraps a function so that it can function as input to a RelayBlock. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FunctionFactory()
| Method Detail |
|---|
public static net.java.jddac.common.type.ArgArray createFunctionArg(java.lang.String opIdIn,
java.lang.String opIdOut,
IFunction function)
ArgArray argArray = new ArgArray(); argArray.put(IFunction.OPID_IN, opIdIn); argArray.put(IFunction.OPID_OUT, opIdOut); argArray.put(IFunction.KEY, function);
opIdIn - This is the OpID string passed into the process method of a RelayBlock that would trigger the
function to executeopIdOut - This is the OpId String that will be passed on to all the child RelayBlocks along with the results
of the functionfunction - The function to be executed
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||