Package org.ros.node
Interface NodeFactory
- All Known Implementing Classes:
DefaultNodeFactory
public interface NodeFactory
Builds new
Nodes.- Author:
- damonkohler@google.com (Damon Kohler)
-
Method Summary
Modifier and TypeMethodDescriptionnewNode(NodeConfiguration configuration) Build a newNodewith the givenNodeConfiguration.newNode(NodeConfiguration configuration, Collection<NodeListener> listeners)
-
Method Details
-
newNode
Build a newNodewith the givenNodeConfiguration.- Parameters:
configuration- theNodeConfigurationfor the newNode- Returns:
- a new
Node
-
newNode
- Parameters:
configuration- theNodeConfigurationfor the newNodelisteners- a collection ofNodeListenerinstances which will be registered with the node (can benull)- Returns:
- a new
Node
-