00001
00002
00003 package ros.pkg.vision_srvs.srv;
00004
00005 import java.nio.ByteBuffer;
00006
00007
00008 public class cop_get_methods_list extends ros.communication.Service<cop_get_methods_list.Request, cop_get_methods_list.Response> {
00009
00010 public static java.lang.String __s_getDataType() { return "vision_srvs/cop_get_methods_list"; }
00011 public static java.lang.String __s_getMD5Sum() { return "53c8c94190c8c2dfb2174d3427ac0057"; }
00012
00013 public java.lang.String getDataType() { return cop_get_methods_list.__s_getDataType(); }
00014 public java.lang.String getMD5Sum() { return cop_get_methods_list.__s_getMD5Sum(); }
00015
00016 public cop_get_methods_list.Request createRequest() {
00017 return new cop_get_methods_list.Request();
00018 }
00019
00020 public cop_get_methods_list.Response createResponse() {
00021 return new cop_get_methods_list.Response();
00022 }
00023
00024 static public class Request extends ros.communication.Message {
00025
00026 public long algorithmtype;
00027
00028 public Request() {
00029 }
00030
00031 public static java.lang.String __s_getDataType() { return "vision_srvs/cop_get_methods_listRequest"; }
00032 public java.lang.String getDataType() { return __s_getDataType(); }
00033 public static java.lang.String __s_getMD5Sum() { return "9771833f2c32d57f27ce31a3ac1aee18"; }
00034 public java.lang.String getMD5Sum() { return __s_getMD5Sum(); }
00035 public static java.lang.String __s_getServerMD5Sum() { return "53c8c94190c8c2dfb2174d3427ac0057"; }
00036 public java.lang.String getServerMD5Sum() { return __s_getServerMD5Sum(); }
00037 public static java.lang.String __s_getMessageDefinition() { return "\n" +
00038 "\n" +
00039 "uint64 algorithmtype\n" +
00040 "\n" +
00041 ""; }
00042 public java.lang.String getMessageDefinition() { return __s_getMessageDefinition(); }
00043
00044 public Request clone() {
00045 Request c = new Request();
00046 c.deserialize(serialize(0));
00047 return c;
00048 }
00049
00050 public void setTo(ros.communication.Message m) {
00051 deserialize(m.serialize(0));
00052 }
00053
00054 public int serializationLength() {
00055 int __l = 0;
00056 __l += 8;
00057 return __l;
00058 }
00059
00060 public void serialize(ByteBuffer bb, int seq) {
00061 bb.putLong(algorithmtype);
00062 }
00063
00064 public void deserialize(ByteBuffer bb) {
00065 algorithmtype = bb.getLong();
00066 }
00067
00068 @SuppressWarnings("all")
00069 public boolean equals(Object o) {
00070 if(!(o instanceof Request))
00071 return false;
00072 Request other = (Request) o;
00073 return
00074 algorithmtype == other.algorithmtype &&
00075 true;
00076 }
00077
00078 @SuppressWarnings("all")
00079 public int hashCode() {
00080 final int prime = 31;
00081 int result = 1;
00082 long tmp;
00083 result = prime * result + (int)(this.algorithmtype ^ (this.algorithmtype >>> 32));
00084 return result;
00085 }
00086 }
00087
00088 static public class Response extends ros.communication.Message {
00089
00090 public java.util.ArrayList<ros.pkg.vision_msgs.msg.algorithm_evaluation> method = new java.util.ArrayList<ros.pkg.vision_msgs.msg.algorithm_evaluation>();
00091
00092 public Response() {
00093 }
00094
00095 public static java.lang.String __s_getDataType() { return "vision_srvs/cop_get_methods_listResponse"; }
00096 public java.lang.String getDataType() { return __s_getDataType(); }
00097 public static java.lang.String __s_getMD5Sum() { return "29050bd853f52e655a64046a89bf0b56"; }
00098 public java.lang.String getMD5Sum() { return __s_getMD5Sum(); }
00099 public static java.lang.String __s_getServerMD5Sum() { return "53c8c94190c8c2dfb2174d3427ac0057"; }
00100 public java.lang.String getServerMD5Sum() { return __s_getServerMD5Sum(); }
00101 public static java.lang.String __s_getMessageDefinition() { return "vision_msgs/algorithm_evaluation[] method\n" +
00102 "\n" +
00103 "\n" +
00104 "================================================================================\n" +
00105 "MSG: vision_msgs/algorithm_evaluation\n" +
00106 "#Message that contains basic information regarding an algorithm U. Klank klank@in.tum.de\n" +
00107 "string plugin_name # Perception primitive that caused this answer\n" +
00108 "float64 basic_evaluation # A score describing the basic score of this algorithm, should reflect the significance of the results\n" +
00109 "object_algorithm_relation[] objects # All objects that were executed with this algotihm and their results\n" +
00110 "\n" +
00111 "================================================================================\n" +
00112 "MSG: vision_msgs/object_algorithm_relation\n" +
00113 "#Message that contains basic information regarding the evaluation of an algorithm and its objects U. Klank klank@in.tum.de\n" +
00114 "uint64 object_id\n" +
00115 "float64 basic_evaluation \n" +
00116 "\n" +
00117 ""; }
00118 public java.lang.String getMessageDefinition() { return __s_getMessageDefinition(); }
00119
00120 public Response clone() {
00121 Response c = new Response();
00122 c.deserialize(serialize(0));
00123 return c;
00124 }
00125
00126 public void setTo(ros.communication.Message m) {
00127 deserialize(m.serialize(0));
00128 }
00129
00130 public int serializationLength() {
00131 int __l = 0;
00132 __l += 4;
00133 for(ros.pkg.vision_msgs.msg.algorithm_evaluation val : method) {
00134 __l += val.serializationLength();
00135 }
00136 return __l;
00137 }
00138
00139 public void serialize(ByteBuffer bb, int seq) {
00140 bb.putInt(method.size());
00141 for(ros.pkg.vision_msgs.msg.algorithm_evaluation val : method) {
00142 val.serialize(bb, seq);
00143 }
00144 }
00145
00146 public void deserialize(ByteBuffer bb) {
00147
00148 int __method_len = bb.getInt();
00149 method = new java.util.ArrayList<ros.pkg.vision_msgs.msg.algorithm_evaluation>(__method_len);
00150 for(int __i=0; __i<__method_len; __i++) {
00151 ros.pkg.vision_msgs.msg.algorithm_evaluation __tmp = new ros.pkg.vision_msgs.msg.algorithm_evaluation();
00152 __tmp.deserialize(bb);
00153 method.add(__tmp);;
00154 }
00155 }
00156
00157 @SuppressWarnings("all")
00158 public boolean equals(Object o) {
00159 if(!(o instanceof Response))
00160 return false;
00161 Response other = (Response) o;
00162 return
00163 method.equals(other.method) &&
00164 true;
00165 }
00166
00167 @SuppressWarnings("all")
00168 public int hashCode() {
00169 final int prime = 31;
00170 int result = 1;
00171 long tmp;
00172 result = prime * result + (this.method == null ? 0 : this.method.hashCode());
00173 return result;
00174 }
00175 }
00176
00177 }
00178