00001 /* Auto-generated by genmsg_cpp for file /opt/ros/diamondback/stacks/geometry/tf/srv/FrameGraph.srv */ 00002 00003 package ros.pkg.tf.srv; 00004 00005 import java.nio.ByteBuffer; 00006 00007 00008 public class FrameGraph extends ros.communication.Service<FrameGraph.Request, FrameGraph.Response> { 00009 00010 public static java.lang.String __s_getDataType() { return "tf/FrameGraph"; } 00011 public static java.lang.String __s_getMD5Sum() { return "c4af9ac907e58e906eb0b6e3c58478c0"; } 00012 00013 public java.lang.String getDataType() { return FrameGraph.__s_getDataType(); } 00014 public java.lang.String getMD5Sum() { return FrameGraph.__s_getMD5Sum(); } 00015 00016 public FrameGraph.Request createRequest() { 00017 return new FrameGraph.Request(); 00018 } 00019 00020 public FrameGraph.Response createResponse() { 00021 return new FrameGraph.Response(); 00022 } 00023 00024 static public class Request extends ros.communication.Message { 00025 00026 00027 public Request() { 00028 } 00029 00030 public static java.lang.String __s_getDataType() { return "tf/FrameGraphRequest"; } 00031 public java.lang.String getDataType() { return __s_getDataType(); } 00032 public static java.lang.String __s_getMD5Sum() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00033 public java.lang.String getMD5Sum() { return __s_getMD5Sum(); } 00034 public static java.lang.String __s_getServerMD5Sum() { return "c4af9ac907e58e906eb0b6e3c58478c0"; } 00035 public java.lang.String getServerMD5Sum() { return __s_getServerMD5Sum(); } 00036 public static java.lang.String __s_getMessageDefinition() { return "\n" + 00037 ""; } 00038 public java.lang.String getMessageDefinition() { return __s_getMessageDefinition(); } 00039 00040 public Request clone() { 00041 Request c = new Request(); 00042 c.deserialize(serialize(0)); 00043 return c; 00044 } 00045 00046 public void setTo(ros.communication.Message m) { 00047 deserialize(m.serialize(0)); 00048 } 00049 00050 public int serializationLength() { 00051 int __l = 0; 00052 return __l; 00053 } 00054 00055 public void serialize(ByteBuffer bb, int seq) { 00056 } 00057 00058 public void deserialize(ByteBuffer bb) { 00059 } 00060 00061 @SuppressWarnings("all") 00062 public boolean equals(Object o) { 00063 if(!(o instanceof Request)) 00064 return false; 00065 Request other = (Request) o; 00066 return 00067 true; 00068 } 00069 00070 @SuppressWarnings("all") 00071 public int hashCode() { 00072 final int prime = 31; 00073 int result = 1; 00074 long tmp; 00075 return result; 00076 } 00077 } // class Request 00078 00079 static public class Response extends ros.communication.Message { 00080 00081 public java.lang.String dot_graph = new java.lang.String(); 00082 00083 public Response() { 00084 } 00085 00086 public static java.lang.String __s_getDataType() { return "tf/FrameGraphResponse"; } 00087 public java.lang.String getDataType() { return __s_getDataType(); } 00088 public static java.lang.String __s_getMD5Sum() { return "c4af9ac907e58e906eb0b6e3c58478c0"; } 00089 public java.lang.String getMD5Sum() { return __s_getMD5Sum(); } 00090 public static java.lang.String __s_getServerMD5Sum() { return "c4af9ac907e58e906eb0b6e3c58478c0"; } 00091 public java.lang.String getServerMD5Sum() { return __s_getServerMD5Sum(); } 00092 public static java.lang.String __s_getMessageDefinition() { return "string dot_graph\n" + 00093 "\n" + 00094 "\n" + 00095 ""; } 00096 public java.lang.String getMessageDefinition() { return __s_getMessageDefinition(); } 00097 00098 public Response clone() { 00099 Response c = new Response(); 00100 c.deserialize(serialize(0)); 00101 return c; 00102 } 00103 00104 public void setTo(ros.communication.Message m) { 00105 deserialize(m.serialize(0)); 00106 } 00107 00108 public int serializationLength() { 00109 int __l = 0; 00110 __l += 4 + dot_graph.length(); 00111 return __l; 00112 } 00113 00114 public void serialize(ByteBuffer bb, int seq) { 00115 Serialization.writeString(bb, dot_graph); 00116 } 00117 00118 public void deserialize(ByteBuffer bb) { 00119 dot_graph = Serialization.readString(bb); 00120 } 00121 00122 @SuppressWarnings("all") 00123 public boolean equals(Object o) { 00124 if(!(o instanceof Response)) 00125 return false; 00126 Response other = (Response) o; 00127 return 00128 dot_graph.equals(other.dot_graph) && 00129 true; 00130 } 00131 00132 @SuppressWarnings("all") 00133 public int hashCode() { 00134 final int prime = 31; 00135 int result = 1; 00136 long tmp; 00137 result = prime * result + (this.dot_graph == null ? 0 : this.dot_graph.hashCode()); 00138 return result; 00139 } 00140 } // class Response 00141 00142 } //class 00143