|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.dataflow.codegen.Helper
public final class Helper
Helper functions for type and io inference of dataflow models.
Method Summary | |
---|---|
static Set<Port> |
getInputs()
Returns all global input ports. |
static Set<Port> |
getLocals()
This function should only be called after initIO. |
static Set<Port> |
getLocals(Box box)
collect all local variables inside a box. |
static Set<Port> |
getOutputs()
Returns all global output ports. |
static void |
init(Box box)
Generate unique name for all connections by mapping target or source name to it. |
static void |
initIO(Box box)
Determine unconnected input and output ports, these are handled as external io. |
static void |
reset()
reset all internal variables. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void reset()
public static void init(Box box)
box
- unnamed boxpublic static void initIO(Box box)
box
- outermost box that represents the complete modelpublic static Set<Port> getInputs()
public static Set<Port> getOutputs()
public static Set<Port> getLocals()
public static Set<Port> getLocals(Box box)
box
- for which the local variables are collected
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |