| Package | Description |
|---|---|
| org.lsst.ccs.description | |
| org.lsst.ccs.framework |
| Modifier and Type | Class and Description |
|---|---|
class |
ComponentNode<T extends ComponentNode<T>>
Abstract class for a node in the concrete implementation of a subsystem description.
|
| Modifier and Type | Method and Description |
|---|---|
ComponentNode |
ComponentLookup.getNodeByName(String name) |
ComponentNode<T> |
ComponentNode.getParent() |
ComponentNode |
ComponentLookup.getTopComponentNode()
Get the top ComponentNode, ie the tip of the tree structure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ComponentLookup.addComponentNodeToLookup(String name,
ComponentNode node) |
| Constructor and Description |
|---|
ComponentLookup(ComponentNode top) |
| Modifier and Type | Method and Description |
|---|---|
static <A> void |
TreeWalkerUtils.proceduralBiWalk(ComponentLookup lookup,
String startingNodeName,
Class<A> klass,
BiConsumer<ComponentNode,A> pre,
BiConsumer<ComponentNode,A> post)
Full tree walking of the component node.
|
static <A> void |
TreeWalkerUtils.proceduralBiWalk(ComponentLookup lookup,
String startingNodeName,
Class<A> klass,
BiConsumer<ComponentNode,A> pre,
BiConsumer<ComponentNode,A> post)
Full tree walking of the component node.
|
static void |
TreeWalkerUtils.proceduralNodeWalk(ComponentLookup lookup,
String startingNodeName,
Consumer<ComponentNode> pre,
Consumer<ComponentNode> post)
Full tree walking of the component node targeted on the node itself.
|
static void |
TreeWalkerUtils.proceduralNodeWalk(ComponentLookup lookup,
String startingNodeName,
Consumer<ComponentNode> pre,
Consumer<ComponentNode> post)
Full tree walking of the component node targeted on the node itself.
|
static <A> void |
TreeWalkerUtils.treeBiWalk(ComponentLookup lookup,
String startingNodeName,
Class<A> klass,
BiFunction<ComponentNode,A,TreeWalkerDiag> func,
BiConsumer<ComponentNode,A> post)
Walks the components tree recursively, applying rules of
TreeWalkerDiag (the walk can be interrupted by HANDLING_CHILDREN
(the code is not invoked on children) or STOP (the code abruptly ends) on
the node's inner component. |
static <A> void |
TreeWalkerUtils.treeBiWalk(ComponentLookup lookup,
String startingNodeName,
Class<A> klass,
BiFunction<ComponentNode,A,TreeWalkerDiag> func,
BiConsumer<ComponentNode,A> post)
Walks the components tree recursively, applying rules of
TreeWalkerDiag (the walk can be interrupted by HANDLING_CHILDREN
(the code is not invoked on children) or STOP (the code abruptly ends) on
the node's inner component. |
Copyright © 2017 LSST. All rights reserved.