GetConfidenceLeafFitting.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-all-iri-ros.pub/doc_stacks/2013-12-06_19-37-16.229269/iri_perception/iri_leaf_fitting/srv/GetConfidenceLeafFitting.srv */
00002 #ifndef IRI_LEAF_FITTING_SERVICE_GETCONFIDENCELEAFFITTING_H
00003 #define IRI_LEAF_FITTING_SERVICE_GETCONFIDENCELEAFFITTING_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012 
00013 #include "ros/macros.h"
00014 
00015 #include "ros/assert.h"
00016 
00017 #include "ros/service_traits.h"
00018 
00019 #include "std_msgs/UInt32.h"
00020 #include "std_msgs/UInt32MultiArray.h"
00021 
00022 
00023 #include "std_msgs/UInt32MultiArray.h"
00024 
00025 namespace iri_leaf_fitting
00026 {
00027 template <class ContainerAllocator>
00028 struct GetConfidenceLeafFittingRequest_ {
00029   typedef GetConfidenceLeafFittingRequest_<ContainerAllocator> Type;
00030 
00031   GetConfidenceLeafFittingRequest_()
00032   : num_clusters()
00033   , cluster_labels()
00034   {
00035   }
00036 
00037   GetConfidenceLeafFittingRequest_(const ContainerAllocator& _alloc)
00038   : num_clusters(_alloc)
00039   , cluster_labels(_alloc)
00040   {
00041   }
00042 
00043   typedef  ::std_msgs::UInt32_<ContainerAllocator>  _num_clusters_type;
00044    ::std_msgs::UInt32_<ContainerAllocator>  num_clusters;
00045 
00046   typedef  ::std_msgs::UInt32MultiArray_<ContainerAllocator>  _cluster_labels_type;
00047    ::std_msgs::UInt32MultiArray_<ContainerAllocator>  cluster_labels;
00048 
00049 
00050   typedef boost::shared_ptr< ::iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct GetConfidenceLeafFittingRequest
00054 typedef  ::iri_leaf_fitting::GetConfidenceLeafFittingRequest_<std::allocator<void> > GetConfidenceLeafFittingRequest;
00055 
00056 typedef boost::shared_ptr< ::iri_leaf_fitting::GetConfidenceLeafFittingRequest> GetConfidenceLeafFittingRequestPtr;
00057 typedef boost::shared_ptr< ::iri_leaf_fitting::GetConfidenceLeafFittingRequest const> GetConfidenceLeafFittingRequestConstPtr;
00058 
00059 
00060 template <class ContainerAllocator>
00061 struct GetConfidenceLeafFittingResponse_ {
00062   typedef GetConfidenceLeafFittingResponse_<ContainerAllocator> Type;
00063 
00064   GetConfidenceLeafFittingResponse_()
00065   : fit_score_list()
00066   {
00067   }
00068 
00069   GetConfidenceLeafFittingResponse_(const ContainerAllocator& _alloc)
00070   : fit_score_list(_alloc)
00071   {
00072   }
00073 
00074   typedef  ::std_msgs::UInt32MultiArray_<ContainerAllocator>  _fit_score_list_type;
00075    ::std_msgs::UInt32MultiArray_<ContainerAllocator>  fit_score_list;
00076 
00077 
00078   typedef boost::shared_ptr< ::iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator> > Ptr;
00079   typedef boost::shared_ptr< ::iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator>  const> ConstPtr;
00080   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00081 }; // struct GetConfidenceLeafFittingResponse
00082 typedef  ::iri_leaf_fitting::GetConfidenceLeafFittingResponse_<std::allocator<void> > GetConfidenceLeafFittingResponse;
00083 
00084 typedef boost::shared_ptr< ::iri_leaf_fitting::GetConfidenceLeafFittingResponse> GetConfidenceLeafFittingResponsePtr;
00085 typedef boost::shared_ptr< ::iri_leaf_fitting::GetConfidenceLeafFittingResponse const> GetConfidenceLeafFittingResponseConstPtr;
00086 
00087 struct GetConfidenceLeafFitting
00088 {
00089 
00090 typedef GetConfidenceLeafFittingRequest Request;
00091 typedef GetConfidenceLeafFittingResponse Response;
00092 Request request;
00093 Response response;
00094 
00095 typedef Request RequestType;
00096 typedef Response ResponseType;
00097 }; // struct GetConfidenceLeafFitting
00098 } // namespace iri_leaf_fitting
00099 
00100 namespace ros
00101 {
00102 namespace message_traits
00103 {
00104 template<class ContainerAllocator> struct IsMessage< ::iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator> > : public TrueType {};
00105 template<class ContainerAllocator> struct IsMessage< ::iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator>  const> : public TrueType {};
00106 template<class ContainerAllocator>
00107 struct MD5Sum< ::iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "473c59501c5a8d02d0d0a1bc6ce725b3";
00111   }
00112 
00113   static const char* value(const  ::iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator> &) { return value(); } 
00114   static const uint64_t static_value1 = 0x473c59501c5a8d02ULL;
00115   static const uint64_t static_value2 = 0xd0d0a1bc6ce725b3ULL;
00116 };
00117 
00118 template<class ContainerAllocator>
00119 struct DataType< ::iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator> > {
00120   static const char* value() 
00121   {
00122     return "iri_leaf_fitting/GetConfidenceLeafFittingRequest";
00123   }
00124 
00125   static const char* value(const  ::iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator> &) { return value(); } 
00126 };
00127 
00128 template<class ContainerAllocator>
00129 struct Definition< ::iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator> > {
00130   static const char* value() 
00131   {
00132     return "\n\
00133 std_msgs/UInt32 num_clusters\n\
00134 std_msgs/UInt32MultiArray cluster_labels\n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: std_msgs/UInt32\n\
00138 uint32 data\n\
00139 ================================================================================\n\
00140 MSG: std_msgs/UInt32MultiArray\n\
00141 # Please look at the MultiArrayLayout message definition for\n\
00142 # documentation on all multiarrays.\n\
00143 \n\
00144 MultiArrayLayout  layout        # specification of data layout\n\
00145 uint32[]          data          # array of data\n\
00146 \n\
00147 \n\
00148 ================================================================================\n\
00149 MSG: std_msgs/MultiArrayLayout\n\
00150 # The multiarray declares a generic multi-dimensional array of a\n\
00151 # particular data type.  Dimensions are ordered from outer most\n\
00152 # to inner most.\n\
00153 \n\
00154 MultiArrayDimension[] dim # Array of dimension properties\n\
00155 uint32 data_offset        # padding bytes at front of data\n\
00156 \n\
00157 # Accessors should ALWAYS be written in terms of dimension stride\n\
00158 # and specified outer-most dimension first.\n\
00159 # \n\
00160 # multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n\
00161 #\n\
00162 # A standard, 3-channel 640x480 image with interleaved color channels\n\
00163 # would be specified as:\n\
00164 #\n\
00165 # dim[0].label  = \"height\"\n\
00166 # dim[0].size   = 480\n\
00167 # dim[0].stride = 3*640*480 = 921600  (note dim[0] stride is just size of image)\n\
00168 # dim[1].label  = \"width\"\n\
00169 # dim[1].size   = 640\n\
00170 # dim[1].stride = 3*640 = 1920\n\
00171 # dim[2].label  = \"channel\"\n\
00172 # dim[2].size   = 3\n\
00173 # dim[2].stride = 3\n\
00174 #\n\
00175 # multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n\
00176 ================================================================================\n\
00177 MSG: std_msgs/MultiArrayDimension\n\
00178 string label   # label of given dimension\n\
00179 uint32 size    # size of given dimension (in type units)\n\
00180 uint32 stride  # stride of given dimension\n\
00181 ";
00182   }
00183 
00184   static const char* value(const  ::iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator> &) { return value(); } 
00185 };
00186 
00187 } // namespace message_traits
00188 } // namespace ros
00189 
00190 
00191 namespace ros
00192 {
00193 namespace message_traits
00194 {
00195 template<class ContainerAllocator> struct IsMessage< ::iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator> > : public TrueType {};
00196 template<class ContainerAllocator> struct IsMessage< ::iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator>  const> : public TrueType {};
00197 template<class ContainerAllocator>
00198 struct MD5Sum< ::iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator> > {
00199   static const char* value() 
00200   {
00201     return "41201d22b68db0e3152abe1a8e7c9281";
00202   }
00203 
00204   static const char* value(const  ::iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator> &) { return value(); } 
00205   static const uint64_t static_value1 = 0x41201d22b68db0e3ULL;
00206   static const uint64_t static_value2 = 0x152abe1a8e7c9281ULL;
00207 };
00208 
00209 template<class ContainerAllocator>
00210 struct DataType< ::iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator> > {
00211   static const char* value() 
00212   {
00213     return "iri_leaf_fitting/GetConfidenceLeafFittingResponse";
00214   }
00215 
00216   static const char* value(const  ::iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator> &) { return value(); } 
00217 };
00218 
00219 template<class ContainerAllocator>
00220 struct Definition< ::iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator> > {
00221   static const char* value() 
00222   {
00223     return "\n\
00224 std_msgs/UInt32MultiArray fit_score_list\n\
00225 \n\
00226 \n\
00227 ================================================================================\n\
00228 MSG: std_msgs/UInt32MultiArray\n\
00229 # Please look at the MultiArrayLayout message definition for\n\
00230 # documentation on all multiarrays.\n\
00231 \n\
00232 MultiArrayLayout  layout        # specification of data layout\n\
00233 uint32[]          data          # array of data\n\
00234 \n\
00235 \n\
00236 ================================================================================\n\
00237 MSG: std_msgs/MultiArrayLayout\n\
00238 # The multiarray declares a generic multi-dimensional array of a\n\
00239 # particular data type.  Dimensions are ordered from outer most\n\
00240 # to inner most.\n\
00241 \n\
00242 MultiArrayDimension[] dim # Array of dimension properties\n\
00243 uint32 data_offset        # padding bytes at front of data\n\
00244 \n\
00245 # Accessors should ALWAYS be written in terms of dimension stride\n\
00246 # and specified outer-most dimension first.\n\
00247 # \n\
00248 # multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n\
00249 #\n\
00250 # A standard, 3-channel 640x480 image with interleaved color channels\n\
00251 # would be specified as:\n\
00252 #\n\
00253 # dim[0].label  = \"height\"\n\
00254 # dim[0].size   = 480\n\
00255 # dim[0].stride = 3*640*480 = 921600  (note dim[0] stride is just size of image)\n\
00256 # dim[1].label  = \"width\"\n\
00257 # dim[1].size   = 640\n\
00258 # dim[1].stride = 3*640 = 1920\n\
00259 # dim[2].label  = \"channel\"\n\
00260 # dim[2].size   = 3\n\
00261 # dim[2].stride = 3\n\
00262 #\n\
00263 # multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n\
00264 ================================================================================\n\
00265 MSG: std_msgs/MultiArrayDimension\n\
00266 string label   # label of given dimension\n\
00267 uint32 size    # size of given dimension (in type units)\n\
00268 uint32 stride  # stride of given dimension\n\
00269 ";
00270   }
00271 
00272   static const char* value(const  ::iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator> &) { return value(); } 
00273 };
00274 
00275 } // namespace message_traits
00276 } // namespace ros
00277 
00278 namespace ros
00279 {
00280 namespace serialization
00281 {
00282 
00283 template<class ContainerAllocator> struct Serializer< ::iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator> >
00284 {
00285   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00286   {
00287     stream.next(m.num_clusters);
00288     stream.next(m.cluster_labels);
00289   }
00290 
00291   ROS_DECLARE_ALLINONE_SERIALIZER;
00292 }; // struct GetConfidenceLeafFittingRequest_
00293 } // namespace serialization
00294 } // namespace ros
00295 
00296 
00297 namespace ros
00298 {
00299 namespace serialization
00300 {
00301 
00302 template<class ContainerAllocator> struct Serializer< ::iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator> >
00303 {
00304   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00305   {
00306     stream.next(m.fit_score_list);
00307   }
00308 
00309   ROS_DECLARE_ALLINONE_SERIALIZER;
00310 }; // struct GetConfidenceLeafFittingResponse_
00311 } // namespace serialization
00312 } // namespace ros
00313 
00314 namespace ros
00315 {
00316 namespace service_traits
00317 {
00318 template<>
00319 struct MD5Sum<iri_leaf_fitting::GetConfidenceLeafFitting> {
00320   static const char* value() 
00321   {
00322     return "0d9578dd9e7a1c5d9ad219f185d38c6d";
00323   }
00324 
00325   static const char* value(const iri_leaf_fitting::GetConfidenceLeafFitting&) { return value(); } 
00326 };
00327 
00328 template<>
00329 struct DataType<iri_leaf_fitting::GetConfidenceLeafFitting> {
00330   static const char* value() 
00331   {
00332     return "iri_leaf_fitting/GetConfidenceLeafFitting";
00333   }
00334 
00335   static const char* value(const iri_leaf_fitting::GetConfidenceLeafFitting&) { return value(); } 
00336 };
00337 
00338 template<class ContainerAllocator>
00339 struct MD5Sum<iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator> > {
00340   static const char* value() 
00341   {
00342     return "0d9578dd9e7a1c5d9ad219f185d38c6d";
00343   }
00344 
00345   static const char* value(const iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator> &) { return value(); } 
00346 };
00347 
00348 template<class ContainerAllocator>
00349 struct DataType<iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator> > {
00350   static const char* value() 
00351   {
00352     return "iri_leaf_fitting/GetConfidenceLeafFitting";
00353   }
00354 
00355   static const char* value(const iri_leaf_fitting::GetConfidenceLeafFittingRequest_<ContainerAllocator> &) { return value(); } 
00356 };
00357 
00358 template<class ContainerAllocator>
00359 struct MD5Sum<iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator> > {
00360   static const char* value() 
00361   {
00362     return "0d9578dd9e7a1c5d9ad219f185d38c6d";
00363   }
00364 
00365   static const char* value(const iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator> &) { return value(); } 
00366 };
00367 
00368 template<class ContainerAllocator>
00369 struct DataType<iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator> > {
00370   static const char* value() 
00371   {
00372     return "iri_leaf_fitting/GetConfidenceLeafFitting";
00373   }
00374 
00375   static const char* value(const iri_leaf_fitting::GetConfidenceLeafFittingResponse_<ContainerAllocator> &) { return value(); } 
00376 };
00377 
00378 } // namespace service_traits
00379 } // namespace ros
00380 
00381 #endif // IRI_LEAF_FITTING_SERVICE_GETCONFIDENCELEAFFITTING_H
00382 


iri_leaf_fitting
Author(s): Sergi Foix
autogenerated on Fri Dec 6 2013 20:28:17