Public Member Functions
org.ros.node.NodeMainExecutor Interface Reference
Inheritance diagram for org.ros.node.NodeMainExecutor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void execute (NodeMain nodeMain, NodeConfiguration nodeConfiguration, Collection< NodeListener > nodeListeners)
void execute (NodeMain nodeMain, NodeConfiguration nodeConfiguration)
ScheduledExecutorService getScheduledExecutorService ()
void shutdown ()
void shutdownNodeMain (NodeMain nodeMain)

Detailed Description

Executes NodeMains and allows shutting down individual NodeMains or all currently running NodeMains as a group.

Author:
damonkohler@google.com (Damon Kohler)

Definition at line 29 of file NodeMainExecutor.java.


Member Function Documentation

void org.ros.node.NodeMainExecutor.execute ( NodeMain  nodeMain,
NodeConfiguration  nodeConfiguration,
Collection< NodeListener nodeListeners 
)

Executes the supplied NodeMain using the supplied NodeConfiguration.

Parameters:
nodeMainthe NodeMain to execute
nodeConfigurationthe NodeConfiguration that will be used to create the Node
nodeListenersa Collection of NodeListeners to be added to the Node before it starts, can be
 null 
void org.ros.node.NodeMainExecutor.execute ( NodeMain  nodeMain,
NodeConfiguration  nodeConfiguration 
)

Executes the supplied NodeMain using the supplied NodeConfiguration.

Parameters:
nodeMainthe NodeMain to execute
nodeConfigurationthe NodeConfiguration that will be used to create the Node

Implemented in org.ros.node.DefaultNodeMainExecutor.

Shutdown all started Nodes. This does not shut down the supplied ExecutorService.

Implemented in org.ros.node.DefaultNodeMainExecutor.

Shuts down the supplied NodeMain (i.e. NodeMain#onShutdown(Node) will be called). This does not necessarily shut down the Node that is associated with the NodeMain.

This has no effect if the NodeMain has not started.

Parameters:
nodeMainthe NodeMain to shutdown

Implemented in org.ros.node.DefaultNodeMainExecutor.


The documentation for this interface was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:51