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