Public Member Functions | |
void | addPublisher (TopicRegistrationInfo publisherTopic) |
void | addService (ServiceRegistrationInfo service) |
void | addSubscriber (TopicRegistrationInfo subscriberTopic) |
boolean | equals (Object obj) |
GraphName | getNodeName () |
URI | getNodeSlaveUri () |
Set< TopicRegistrationInfo > | getPublishers () |
Set< ServiceRegistrationInfo > | getServices () |
Set< TopicRegistrationInfo > | getSubscribers () |
int | hashCode () |
boolean | hasRegistrations () |
NodeRegistrationInfo (GraphName nodeName, URI nodeSlaveUri) | |
boolean | removePublisher (TopicRegistrationInfo publisherTopic) |
boolean | removeService (ServiceRegistrationInfo service) |
boolean | removeSubscriber (TopicRegistrationInfo subscriberTopic) |
Private Attributes | |
final GraphName | nodeName |
final URI | nodeSlaveUri |
final Set< TopicRegistrationInfo > | publishers |
final Set < ServiceRegistrationInfo > | services |
final Set< TopicRegistrationInfo > | subscribers |
Information a master needs about a node.
Definition at line 32 of file NodeRegistrationInfo.java.
org.ros.internal.node.server.master.NodeRegistrationInfo.NodeRegistrationInfo | ( | GraphName | nodeName, |
URI | nodeSlaveUri | ||
) | [inline] |
Definition at line 59 of file NodeRegistrationInfo.java.
void org.ros.internal.node.server.master.NodeRegistrationInfo.addPublisher | ( | TopicRegistrationInfo | publisherTopic | ) | [inline] |
Add a new publisher to the node.
publisherTopic | the topic information about the publisher to add |
Definition at line 105 of file NodeRegistrationInfo.java.
void org.ros.internal.node.server.master.NodeRegistrationInfo.addService | ( | ServiceRegistrationInfo | service | ) | [inline] |
Add a new service to the node.
service | the service to add |
Definition at line 167 of file NodeRegistrationInfo.java.
void org.ros.internal.node.server.master.NodeRegistrationInfo.addSubscriber | ( | TopicRegistrationInfo | subscriberTopic | ) | [inline] |
Add a new subscriber to the node.
subscriberTopic | the topic information about the subscriber to add |
Definition at line 136 of file NodeRegistrationInfo.java.
boolean org.ros.internal.node.server.master.NodeRegistrationInfo.equals | ( | Object | obj | ) | [inline] |
Definition at line 192 of file NodeRegistrationInfo.java.
Definition at line 70 of file NodeRegistrationInfo.java.
Definition at line 77 of file NodeRegistrationInfo.java.
Set<TopicRegistrationInfo> org.ros.internal.node.server.master.NodeRegistrationInfo.getPublishers | ( | ) | [inline] |
Get all known topics published by the node.
Definition at line 95 of file NodeRegistrationInfo.java.
Set<ServiceRegistrationInfo> org.ros.internal.node.server.master.NodeRegistrationInfo.getServices | ( | ) | [inline] |
Get all known services provided by the node.
Definition at line 157 of file NodeRegistrationInfo.java.
Set<TopicRegistrationInfo> org.ros.internal.node.server.master.NodeRegistrationInfo.getSubscribers | ( | ) | [inline] |
Get all known topics subscribed to by the node.
Definition at line 126 of file NodeRegistrationInfo.java.
int org.ros.internal.node.server.master.NodeRegistrationInfo.hashCode | ( | ) | [inline] |
Definition at line 184 of file NodeRegistrationInfo.java.
boolean org.ros.internal.node.server.master.NodeRegistrationInfo.hasRegistrations | ( | ) | [inline] |
Does the node have any registrations of any sort.
Definition at line 86 of file NodeRegistrationInfo.java.
boolean org.ros.internal.node.server.master.NodeRegistrationInfo.removePublisher | ( | TopicRegistrationInfo | publisherTopic | ) | [inline] |
Remove a publisher from the node.
publisherTopic | the topic information about the publisher to remove |
true
Definition at line 117 of file NodeRegistrationInfo.java.
boolean org.ros.internal.node.server.master.NodeRegistrationInfo.removeService | ( | ServiceRegistrationInfo | service | ) | [inline] |
Remove a service from the node.
service | the service to remove |
true
Definition at line 179 of file NodeRegistrationInfo.java.
boolean org.ros.internal.node.server.master.NodeRegistrationInfo.removeSubscriber | ( | TopicRegistrationInfo | subscriberTopic | ) | [inline] |
Remove a subscriber from the node.
subscriberTopic | the topic information about the subscriber to remove |
true
Definition at line 148 of file NodeRegistrationInfo.java.
The name of the node.
Definition at line 37 of file NodeRegistrationInfo.java.
final URI org.ros.internal.node.server.master.NodeRegistrationInfo.nodeSlaveUri [private] |
The URI for the node's slave server.
Definition at line 42 of file NodeRegistrationInfo.java.
final Set<TopicRegistrationInfo> org.ros.internal.node.server.master.NodeRegistrationInfo.publishers [private] |
All subscribers associated with the node.
Definition at line 47 of file NodeRegistrationInfo.java.
final Set<ServiceRegistrationInfo> org.ros.internal.node.server.master.NodeRegistrationInfo.services [private] |
All services associated with the node.
Definition at line 57 of file NodeRegistrationInfo.java.
final Set<TopicRegistrationInfo> org.ros.internal.node.server.master.NodeRegistrationInfo.subscribers [private] |
All publishers associated with the node.
Definition at line 52 of file NodeRegistrationInfo.java.