Project: engagement_generation License: BSD Dependencies:
Used by:
None |
engagement_generation/msg_gen/java/ros/pkg/std_msgs/msg/UInt64.javaGo to the documentation of this file.00001 /* Auto-generated by genmsg_java.py for file /opt/ros/diamondback/stacks/ros_comm/messages/std_msgs/msg/UInt64.msg */ 00002 00003 package ros.pkg.std_msgs.msg; 00004 00005 import java.nio.ByteBuffer; 00006 00007 public class UInt64 extends ros.communication.Message { 00008 00009 public long data; 00010 00011 public UInt64() { 00012 } 00013 00014 public static java.lang.String __s_getDataType() { return "std_msgs/UInt64"; } 00015 public java.lang.String getDataType() { return __s_getDataType(); } 00016 public static java.lang.String __s_getMD5Sum() { return "1b2a79973e8bf53d7b53acb71299cb57"; } 00017 public java.lang.String getMD5Sum() { return __s_getMD5Sum(); } 00018 public static java.lang.String __s_getMessageDefinition() { return "uint64 data\n" + 00019 ""; } 00020 public java.lang.String getMessageDefinition() { return __s_getMessageDefinition(); } 00021 00022 public UInt64 clone() { 00023 UInt64 c = new UInt64(); 00024 c.deserialize(serialize(0)); 00025 return c; 00026 } 00027 00028 public void setTo(ros.communication.Message m) { 00029 deserialize(m.serialize(0)); 00030 } 00031 00032 public int serializationLength() { 00033 int __l = 0; 00034 __l += 8; // data 00035 return __l; 00036 } 00037 00038 public void serialize(ByteBuffer bb, int seq) { 00039 bb.putLong(data); 00040 } 00041 00042 public void deserialize(ByteBuffer bb) { 00043 data = bb.getLong(); 00044 } 00045 00046 @SuppressWarnings("all") 00047 public boolean equals(Object o) { 00048 if(!(o instanceof UInt64)) 00049 return false; 00050 UInt64 other = (UInt64) o; 00051 return 00052 data == other.data && 00053 true; 00054 } 00055 00056 @SuppressWarnings("all") 00057 public int hashCode() { 00058 final int prime = 31; 00059 int result = 1; 00060 long tmp; 00061 result = prime * result + (int)(this.data ^ (this.data >>> 32)); 00062 return result; 00063 } 00064 } // class UInt64 00065 |