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

List of all members.

Public Member Functions

void addListener (NodeListener listener)
void executeCancellableLoop (CancellableLoop cancellableLoop)
Log getLog ()
URI getMasterUri ()
MessageSerializationFactory getMessageSerializationFactory ()
GraphName getName ()
NodeNameResolver getResolver ()
ScheduledExecutorService getScheduledExecutorService ()
MessageFactory getServiceRequestMessageFactory ()
MessageFactory getServiceResponseMessageFactory ()
MessageFactory getTopicMessageFactory ()
URI getUri ()
GraphName resolveName (GraphName name)
GraphName resolveName (String name)
void shutdown ()

Detailed Description

A node in the ROS graph.

Author:
khughes@google.com (Keith M. Hughes)

Definition at line 35 of file Node.java.


Member Function Documentation

Add a new NodeListener to the Node.

Parameters:
listenerthe NodeListener to add

Implemented in org.ros.internal.node.DefaultNode.

Executes a CancellableLoop using the Node's ScheduledExecutorService. The CancellableLoop will be canceled when the Node starts shutting down.

Any blocking calls executed in the provided CancellableLoop can potentially delay Node shutdown and should be avoided.

Parameters:
cancellableLoopthe CancellableLoop to execute
Returns:
Logger for this node, which will also perform logging to /rosout.

Implemented in org.ros.internal.node.DefaultNode.

Returns:
URI of MasterXmlRpcEndpoint that this node is attached to.

Implemented in org.ros.internal.node.DefaultNode.

Returns:
the MessageSerializationFactory used by this node

Implemented in org.ros.internal.node.DefaultNode.

Returns:
the fully resolved name of this Node, e.g. "/foo/bar/boop"

Implemented in org.ros.internal.node.DefaultNode.

Returns:
NodeNameResolver for this namespace

Implemented in org.ros.internal.node.DefaultNode.

ScheduledExecutorService org.ros.node.Node.getScheduledExecutorService ( )
Returns:
the ScheduledExecutorService that this Node uses

Implemented in org.ros.internal.node.DefaultNode.

Returns:
the MessageFactory used by this node for service requests

Implemented in org.ros.internal.node.DefaultNode.

Returns:
the MessageFactory used by this node for service responses

Implemented in org.ros.internal.node.DefaultNode.

Returns:
the MessageFactory used by this node

Implemented in org.ros.internal.node.DefaultNode.

Returns:
the URI of this Node

Implemented in org.ros.internal.node.DefaultNode.

Resolve the given name, using ROS conventions, into a full ROS namespace name. Will be relative to the current namespace unless the name is global.

Parameters:
namethe name to resolve
Returns:
fully resolved ros namespace name

Implemented in org.ros.internal.node.DefaultNode.

Shut the node down.

Implemented in org.ros.internal.node.DefaultNode.


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


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