Go to the documentation of this file.00001
00002 #ifndef HRL_CLICKABLE_WORLD_SERVICE_CLICKIMAGE_H
00003 #define HRL_CLICKABLE_WORLD_SERVICE_CLICKIMAGE_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 "geometry_msgs/PointStamped.h"
00020
00021
00022
00023 namespace hrl_clickable_world
00024 {
00025 template <class ContainerAllocator>
00026 struct ClickImageRequest_ {
00027 typedef ClickImageRequest_<ContainerAllocator> Type;
00028
00029 ClickImageRequest_()
00030 : image_click()
00031 {
00032 }
00033
00034 ClickImageRequest_(const ContainerAllocator& _alloc)
00035 : image_click(_alloc)
00036 {
00037 }
00038
00039 typedef ::geometry_msgs::PointStamped_<ContainerAllocator> _image_click_type;
00040 ::geometry_msgs::PointStamped_<ContainerAllocator> image_click;
00041
00042
00043 typedef boost::shared_ptr< ::hrl_clickable_world::ClickImageRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::hrl_clickable_world::ClickImageRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::hrl_clickable_world::ClickImageRequest_<std::allocator<void> > ClickImageRequest;
00048
00049 typedef boost::shared_ptr< ::hrl_clickable_world::ClickImageRequest> ClickImageRequestPtr;
00050 typedef boost::shared_ptr< ::hrl_clickable_world::ClickImageRequest const> ClickImageRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct ClickImageResponse_ {
00055 typedef ClickImageResponse_<ContainerAllocator> Type;
00056
00057 ClickImageResponse_()
00058 {
00059 }
00060
00061 ClickImageResponse_(const ContainerAllocator& _alloc)
00062 {
00063 }
00064
00065
00066 typedef boost::shared_ptr< ::hrl_clickable_world::ClickImageResponse_<ContainerAllocator> > Ptr;
00067 typedef boost::shared_ptr< ::hrl_clickable_world::ClickImageResponse_<ContainerAllocator> const> ConstPtr;
00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 };
00070 typedef ::hrl_clickable_world::ClickImageResponse_<std::allocator<void> > ClickImageResponse;
00071
00072 typedef boost::shared_ptr< ::hrl_clickable_world::ClickImageResponse> ClickImageResponsePtr;
00073 typedef boost::shared_ptr< ::hrl_clickable_world::ClickImageResponse const> ClickImageResponseConstPtr;
00074
00075 struct ClickImage
00076 {
00077
00078 typedef ClickImageRequest Request;
00079 typedef ClickImageResponse Response;
00080 Request request;
00081 Response response;
00082
00083 typedef Request RequestType;
00084 typedef Response ResponseType;
00085 };
00086 }
00087
00088 namespace ros
00089 {
00090 namespace message_traits
00091 {
00092 template<class ContainerAllocator> struct IsMessage< ::hrl_clickable_world::ClickImageRequest_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::hrl_clickable_world::ClickImageRequest_<ContainerAllocator> const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::hrl_clickable_world::ClickImageRequest_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "cd68fce8d20623d6a5e924d245c43bfe";
00099 }
00100
00101 static const char* value(const ::hrl_clickable_world::ClickImageRequest_<ContainerAllocator> &) { return value(); }
00102 static const uint64_t static_value1 = 0xcd68fce8d20623d6ULL;
00103 static const uint64_t static_value2 = 0xa5e924d245c43bfeULL;
00104 };
00105
00106 template<class ContainerAllocator>
00107 struct DataType< ::hrl_clickable_world::ClickImageRequest_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "hrl_clickable_world/ClickImageRequest";
00111 }
00112
00113 static const char* value(const ::hrl_clickable_world::ClickImageRequest_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct Definition< ::hrl_clickable_world::ClickImageRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "geometry_msgs/PointStamped image_click\n\
00121 \n\
00122 ================================================================================\n\
00123 MSG: geometry_msgs/PointStamped\n\
00124 # This represents a Point with reference coordinate frame and timestamp\n\
00125 Header header\n\
00126 Point point\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: std_msgs/Header\n\
00130 # Standard metadata for higher-level stamped data types.\n\
00131 # This is generally used to communicate timestamped data \n\
00132 # in a particular coordinate frame.\n\
00133 # \n\
00134 # sequence ID: consecutively increasing ID \n\
00135 uint32 seq\n\
00136 #Two-integer timestamp that is expressed as:\n\
00137 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00138 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00139 # time-handling sugar is provided by the client library\n\
00140 time stamp\n\
00141 #Frame this data is associated with\n\
00142 # 0: no frame\n\
00143 # 1: global frame\n\
00144 string frame_id\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: geometry_msgs/Point\n\
00148 # This contains the position of a point in free space\n\
00149 float64 x\n\
00150 float64 y\n\
00151 float64 z\n\
00152 \n\
00153 ";
00154 }
00155
00156 static const char* value(const ::hrl_clickable_world::ClickImageRequest_<ContainerAllocator> &) { return value(); }
00157 };
00158
00159 }
00160 }
00161
00162
00163 namespace ros
00164 {
00165 namespace message_traits
00166 {
00167 template<class ContainerAllocator> struct IsMessage< ::hrl_clickable_world::ClickImageResponse_<ContainerAllocator> > : public TrueType {};
00168 template<class ContainerAllocator> struct IsMessage< ::hrl_clickable_world::ClickImageResponse_<ContainerAllocator> const> : public TrueType {};
00169 template<class ContainerAllocator>
00170 struct MD5Sum< ::hrl_clickable_world::ClickImageResponse_<ContainerAllocator> > {
00171 static const char* value()
00172 {
00173 return "d41d8cd98f00b204e9800998ecf8427e";
00174 }
00175
00176 static const char* value(const ::hrl_clickable_world::ClickImageResponse_<ContainerAllocator> &) { return value(); }
00177 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00178 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00179 };
00180
00181 template<class ContainerAllocator>
00182 struct DataType< ::hrl_clickable_world::ClickImageResponse_<ContainerAllocator> > {
00183 static const char* value()
00184 {
00185 return "hrl_clickable_world/ClickImageResponse";
00186 }
00187
00188 static const char* value(const ::hrl_clickable_world::ClickImageResponse_<ContainerAllocator> &) { return value(); }
00189 };
00190
00191 template<class ContainerAllocator>
00192 struct Definition< ::hrl_clickable_world::ClickImageResponse_<ContainerAllocator> > {
00193 static const char* value()
00194 {
00195 return "\n\
00196 \n\
00197 \n\
00198 ";
00199 }
00200
00201 static const char* value(const ::hrl_clickable_world::ClickImageResponse_<ContainerAllocator> &) { return value(); }
00202 };
00203
00204 template<class ContainerAllocator> struct IsFixedSize< ::hrl_clickable_world::ClickImageResponse_<ContainerAllocator> > : public TrueType {};
00205 }
00206 }
00207
00208 namespace ros
00209 {
00210 namespace serialization
00211 {
00212
00213 template<class ContainerAllocator> struct Serializer< ::hrl_clickable_world::ClickImageRequest_<ContainerAllocator> >
00214 {
00215 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00216 {
00217 stream.next(m.image_click);
00218 }
00219
00220 ROS_DECLARE_ALLINONE_SERIALIZER;
00221 };
00222 }
00223 }
00224
00225
00226 namespace ros
00227 {
00228 namespace serialization
00229 {
00230
00231 template<class ContainerAllocator> struct Serializer< ::hrl_clickable_world::ClickImageResponse_<ContainerAllocator> >
00232 {
00233 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00234 {
00235 }
00236
00237 ROS_DECLARE_ALLINONE_SERIALIZER;
00238 };
00239 }
00240 }
00241
00242 namespace ros
00243 {
00244 namespace service_traits
00245 {
00246 template<>
00247 struct MD5Sum<hrl_clickable_world::ClickImage> {
00248 static const char* value()
00249 {
00250 return "cd68fce8d20623d6a5e924d245c43bfe";
00251 }
00252
00253 static const char* value(const hrl_clickable_world::ClickImage&) { return value(); }
00254 };
00255
00256 template<>
00257 struct DataType<hrl_clickable_world::ClickImage> {
00258 static const char* value()
00259 {
00260 return "hrl_clickable_world/ClickImage";
00261 }
00262
00263 static const char* value(const hrl_clickable_world::ClickImage&) { return value(); }
00264 };
00265
00266 template<class ContainerAllocator>
00267 struct MD5Sum<hrl_clickable_world::ClickImageRequest_<ContainerAllocator> > {
00268 static const char* value()
00269 {
00270 return "cd68fce8d20623d6a5e924d245c43bfe";
00271 }
00272
00273 static const char* value(const hrl_clickable_world::ClickImageRequest_<ContainerAllocator> &) { return value(); }
00274 };
00275
00276 template<class ContainerAllocator>
00277 struct DataType<hrl_clickable_world::ClickImageRequest_<ContainerAllocator> > {
00278 static const char* value()
00279 {
00280 return "hrl_clickable_world/ClickImage";
00281 }
00282
00283 static const char* value(const hrl_clickable_world::ClickImageRequest_<ContainerAllocator> &) { return value(); }
00284 };
00285
00286 template<class ContainerAllocator>
00287 struct MD5Sum<hrl_clickable_world::ClickImageResponse_<ContainerAllocator> > {
00288 static const char* value()
00289 {
00290 return "cd68fce8d20623d6a5e924d245c43bfe";
00291 }
00292
00293 static const char* value(const hrl_clickable_world::ClickImageResponse_<ContainerAllocator> &) { return value(); }
00294 };
00295
00296 template<class ContainerAllocator>
00297 struct DataType<hrl_clickable_world::ClickImageResponse_<ContainerAllocator> > {
00298 static const char* value()
00299 {
00300 return "hrl_clickable_world/ClickImage";
00301 }
00302
00303 static const char* value(const hrl_clickable_world::ClickImageResponse_<ContainerAllocator> &) { return value(); }
00304 };
00305
00306 }
00307 }
00308
00309 #endif // HRL_CLICKABLE_WORLD_SERVICE_CLICKIMAGE_H
00310