org.ros.node
Interface NodeMain
- All Superinterfaces:
- NodeListener
- All Known Implementing Classes:
- AbstractNodeMain, Client, Listener, Server, Talker
public interface NodeMain
- extends NodeListener
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 Publisher
s, Subscriber
s, etc.
getDefaultNodeName
GraphName getDefaultNodeName()
- Returns:
- the name of the
Node
that will be used if a name was not
specified in the Node
's associated
NodeConfiguration