public class TopicDeclaration
extends java.lang.Object
| Constructor and Description |
|---|
TopicDeclaration(TopicIdentifier topicIdentifier,
org.ros.internal.message.topic.TopicDescription topicDescription) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
TopicIdentifier |
getIdentifier() |
java.lang.String |
getMessageType() |
GraphName |
getName() |
int |
hashCode() |
static TopicDeclaration |
newFromHeader(java.util.Map<java.lang.String,java.lang.String> header) |
static TopicDeclaration |
newFromTopicName(GraphName topicName,
org.ros.internal.message.topic.TopicDescription topicDescription) |
ConnectionHeader |
toConnectionHeader() |
java.util.List<java.lang.String> |
toList() |
java.lang.String |
toString() |
public TopicDeclaration(TopicIdentifier topicIdentifier, org.ros.internal.message.topic.TopicDescription topicDescription)
public static TopicDeclaration newFromHeader(java.util.Map<java.lang.String,java.lang.String> header)
header - a Map of header fieldsTopicDeclaration from the given headerpublic static TopicDeclaration newFromTopicName(GraphName topicName, org.ros.internal.message.topic.TopicDescription topicDescription)
public TopicIdentifier getIdentifier()
public GraphName getName()
public java.lang.String getMessageType()
public ConnectionHeader toConnectionHeader()
public java.util.List<java.lang.String> toList()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object