Package org.ros.node

Interface NodeMain

All Superinterfaces:
NodeListener
All Known Implementing Classes:
AbstractNodeMain, NativeNodeMain

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 Publishers, Subscribers, etc.

Author:
ethan.rublee@gmail.com (Ethan Rublee), damonkohler@google.com (Damon Kohler)
  • Method Details

    • 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