Package org.ros.internal.node.topic
Class TopicDeclaration
java.lang.Object
org.ros.internal.node.topic.TopicDeclaration
A topic in a ROS graph.
- Author:
- damonkohler@google.com (Damon Kohler)
-
Constructor Summary
ConstructorsConstructorDescriptionTopicDeclaration(TopicIdentifier topicIdentifier, org.ros.internal.message.topic.TopicDescription topicDescription, TransportHints transportHints) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()inthashCode()static TopicDeclarationnewFromHeader(Map<String, String> header) static TopicDeclarationnewFromTopicName(GraphName topicName, org.ros.internal.message.topic.TopicDescription topicDescription, TransportHints transportHints) toList()toString()
-
Constructor Details
-
TopicDeclaration
public TopicDeclaration(TopicIdentifier topicIdentifier, org.ros.internal.message.topic.TopicDescription topicDescription, TransportHints transportHints)
-
-
Method Details
-
newFromHeader
- Parameters:
header- aMapof header fields- Returns:
- a new
TopicDeclarationfrom the given header
-
newFromTopicName
public static TopicDeclaration newFromTopicName(GraphName topicName, org.ros.internal.message.topic.TopicDescription topicDescription, TransportHints transportHints) -
getIdentifier
-
getName
-
getMessageType
-
toConnectionHeader
-
toList
-
toString
-
hashCode
public int hashCode() -
equals
-