Package org.ros.node
Interface NodeMain
- All Superinterfaces:
NodeListener
- All Known Implementing Classes:
AbstractNodeMain,NativeNodeMain
Encapsulates a
Node with its associated program logic.
NodeMain is the one required NodeListener for Node
creation. NodeListener.onStart(ConnectedNode) should be used to set up your
program's Publishers, Subscribers, etc.
- Author:
- ethan.rublee@gmail.com (Ethan Rublee), damonkohler@google.com (Damon Kohler)
-
Method Summary
Methods inherited from interface org.ros.node.NodeListener
onError, onShutdown, onShutdownComplete, onStart
-
Method Details
-
getDefaultNodeName
GraphName getDefaultNodeName()- Returns:
- the name of the
Nodethat will be used if a name was not specified in theNode's associatedNodeConfiguration
-