|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ros.node.NodeConfiguration
public class NodeConfiguration
Stores configuration information (e.g. ROS master URI) for Node
s.
Field Summary | |
---|---|
static java.net.URI |
DEFAULT_MASTER_URI
The default master URI . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.net.URI DEFAULT_MASTER_URI
URI
.
Method Detail |
---|
public static NodeConfiguration copyOf(NodeConfiguration nodeConfiguration)
nodeConfiguration
- the NodeConfiguration
to copy
NodeConfiguration
public static NodeConfiguration newPublic(java.lang.String host, java.net.URI masterUri)
NodeConfiguration
for a publicly accessible
Node
.
host
- the host that the Node
will run onmasterUri
- the URI
for the master that the Node
will register
with
NodeConfiguration
for a publicly accessible
Node
public static NodeConfiguration newPublic(java.lang.String host)
NodeConfiguration
for a publicly accessible
Node
.
host
- the host that the Node
will run on
NodeConfiguration
for a publicly accessible
Node
public static NodeConfiguration newPrivate(java.net.URI masterUri)
NodeConfiguration
for a Node
that is only
accessible on the local host.
masterUri
- the URI
for the master that the Node
will register
with
NodeConfiguration
for a private Node
public static NodeConfiguration newPrivate()
NodeConfiguration
for a Node
that is only
accessible on the local host.
NodeConfiguration
for a private Node
public NameResolver getParentResolver()
NameResolver
for the Node
's parent namespacepublic NodeConfiguration setParentResolver(NameResolver resolver)
resolver
- the NameResolver
for the Node
's parent namespace
NodeConfiguration
public java.net.URI getMasterUri()
URI
of the master that the Node
will register
withpublic NodeConfiguration setMasterUri(java.net.URI masterUri)
masterUri
- the URI
of the master that the Node
will register
with
NodeConfiguration
public java.io.File getRosRoot()
public NodeConfiguration setRosRoot(java.io.File rosRoot)
rosRoot
- the location where the ROS core packages are installed
NodeConfiguration
public java.util.List<java.io.File> getRosPackagePath()
List
first.
List
of paths where the system will look for ROS
packagespublic NodeConfiguration setRosPackagePath(java.util.List<java.io.File> rosPackagePath)
List
first.
rosPackagePath
- the List
of paths where the system will look for ROS
packages
NodeConfiguration
public GraphName getNodeName()
Node
public NodeConfiguration setNodeName(GraphName nodeName)
nodeName
- the name of the Node
NodeConfiguration
public NodeConfiguration setNodeName(java.lang.String nodeName)
nodeName
- the name of the Node
NodeConfiguration
public NodeConfiguration setDefaultNodeName(GraphName nodeName)
Node
if the name has not already been set.
nodeName
- the name of the Node
NodeConfiguration
public NodeConfiguration setDefaultNodeName(java.lang.String nodeName)
Node
if the name has not already been set.
nodeName
- the name of the Node
NodeConfiguration
public MessageSerializationFactory getMessageSerializationFactory()
MessageSerializationFactory
for the Node
public NodeConfiguration setMessageSerializationFactory(MessageSerializationFactory messageSerializationFactory)
messageSerializationFactory
- the MessageSerializationFactory
for the Node
NodeConfiguration
public NodeConfiguration setTopicMessageFactory(MessageFactory topicMessageFactory)
topicMessageFactory
- the MessageFactory
for the Node
NodeConfiguration
public MessageFactory getTopicMessageFactory()
public NodeConfiguration setServiceRequestMessageFactory(ServiceRequestMessageFactory serviceRequestMessageFactory)
serviceRequestMessageFactory
- the ServiceRequestMessageFactory
for the Node
NodeConfiguration
public MessageFactory getServiceRequestMessageFactory()
public NodeConfiguration setServiceResponseMessageFactory(ServiceResponseMessageFactory serviceResponseMessageFactory)
serviceResponseMessageFactory
- the ServiceResponseMessageFactory
for the Node
NodeConfiguration
public MessageFactory getServiceResponseMessageFactory()
public NodeConfiguration setTopicDescriptionFactory(TopicDescriptionFactory topicDescriptionFactory)
topicDescriptionFactory
- the TopicDescriptionFactory
for the Node
NodeConfiguration
public TopicDescriptionFactory getTopicDescriptionFactory()
public NodeConfiguration setServiceDescriptionFactory(ServiceDescriptionFactory serviceDescriptionFactory)
serviceDescriptionFactory
- the ServiceDescriptionFactory
for the Node
NodeConfiguration
public ServiceDescriptionFactory getServiceDescriptionFactory()
public BindAddress getTcpRosBindAddress()
BindAddress
for the Node
's TCPROS serverpublic NodeConfiguration setTcpRosBindAddress(BindAddress tcpRosBindAddress)
tcpRosBindAddress
- the BindAddress
for the Node
's TCPROS serverpublic AdvertiseAddressFactory getTcpRosAdvertiseAddressFactory()
AdvertiseAddressFactory
for the Node
's TCPROS
serverpublic NodeConfiguration setTcpRosAdvertiseAddressFactory(AdvertiseAddressFactory tcpRosAdvertiseAddressFactory)
tcpRosAdvertiseAddressFactory
- the AdvertiseAddressFactory
for the Node
's TCPROS
server
NodeConfiguration
public AdvertiseAddress getTcpRosAdvertiseAddress()
AdvertiseAddress
for the Node
's TCPROS serverpublic BindAddress getXmlRpcBindAddress()
BindAddress
for the Node
's XML-RPC serverpublic NodeConfiguration setXmlRpcBindAddress(BindAddress xmlRpcBindAddress)
xmlRpcBindAddress
- the BindAddress
for the Node
's XML-RPC serverpublic AdvertiseAddress getXmlRpcAdvertiseAddress()
AdvertiseAddress
for the Node
's XML-RPC serverpublic AdvertiseAddressFactory getXmlRpcAdvertiseAddressFactory()
AdvertiseAddressFactory
for the Node
's XML-RPC
serverpublic NodeConfiguration setXmlRpcAdvertiseAddressFactory(AdvertiseAddressFactory xmlRpcAdvertiseAddressFactory)
xmlRpcAdvertiseAddressFactory
- the AdvertiseAddressFactory
for the Node
's XML-RPC
serverpublic TimeProvider getTimeProvider()
TimeProvider
public NodeConfiguration setTimeProvider(TimeProvider timeProvider)
TimeProvider
that Node
s will use. By default, the
WallTimeProvider
is used.
timeProvider
- the TimeProvider
that Node
s will use
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |