Package org.ros.node
Class DefaultNodeFactory
java.lang.Object
org.ros.node.DefaultNodeFactory
- All Implemented Interfaces:
NodeFactory
Constructs
DefaultNodes.- Author:
- damonkohler@google.com (Damon Kohler)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewNode(NodeConfiguration nodeConfiguration) Build a newNodewith the givenNodeConfiguration.newNode(NodeConfiguration nodeConfiguration, Collection<NodeListener> listeners)
-
Constructor Details
-
DefaultNodeFactory
-
-
Method Details
-
newNode
Description copied from interface:NodeFactory- Specified by:
newNodein interfaceNodeFactory- Parameters:
nodeConfiguration- theNodeConfigurationfor the newNodelisteners- a collection ofNodeListenerinstances which will be registered with the node (can benull)- Returns:
- a new
Node
-
newNode
Description copied from interface:NodeFactoryBuild a newNodewith the givenNodeConfiguration.- Specified by:
newNodein interfaceNodeFactory- Parameters:
nodeConfiguration- theNodeConfigurationfor the newNode- Returns:
- a new
Node
-