org.ros.message
Class MessageIdentifier

java.lang.Object
  extended by org.ros.message.MessageIdentifier

public class MessageIdentifier
extends java.lang.Object

Uniquely identifies a message.


Constructor Summary
MessageIdentifier(java.lang.String pkg, java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
           
 java.lang.String getPackage()
           
 java.lang.String getType()
           
 int hashCode()
           
static MessageIdentifier newFromType(java.lang.String type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageIdentifier

public MessageIdentifier(java.lang.String pkg,
                         java.lang.String name)
Method Detail

newFromType

public static MessageIdentifier newFromType(java.lang.String type)

getType

public java.lang.String getType()

getPackage

public java.lang.String getPackage()

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object