SetTemplate.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/doc_stacks/2013-03-23_12-16-27.483192/jsk-ros-pkg/jsk_perception/srv/SetTemplate.srv */
00002 #ifndef JSK_PERCEPTION_SERVICE_SETTEMPLATE_H
00003 #define JSK_PERCEPTION_SERVICE_SETTEMPLATE_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 "sensor_msgs/Image.h"
00020 #include "geometry_msgs/Pose.h"
00021 
00022 
00023 
00024 namespace jsk_perception
00025 {
00026 template <class ContainerAllocator>
00027 struct SetTemplateRequest_ {
00028   typedef SetTemplateRequest_<ContainerAllocator> Type;
00029 
00030   SetTemplateRequest_()
00031   : type()
00032   , image()
00033   , dimx(0.0)
00034   , dimy(0.0)
00035   , relativepose()
00036   , savefilename()
00037   {
00038   }
00039 
00040   SetTemplateRequest_(const ContainerAllocator& _alloc)
00041   : type(_alloc)
00042   , image(_alloc)
00043   , dimx(0.0)
00044   , dimy(0.0)
00045   , relativepose(_alloc)
00046   , savefilename(_alloc)
00047   {
00048   }
00049 
00050   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _type_type;
00051   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  type;
00052 
00053   typedef  ::sensor_msgs::Image_<ContainerAllocator>  _image_type;
00054    ::sensor_msgs::Image_<ContainerAllocator>  image;
00055 
00056   typedef float _dimx_type;
00057   float dimx;
00058 
00059   typedef float _dimy_type;
00060   float dimy;
00061 
00062   typedef  ::geometry_msgs::Pose_<ContainerAllocator>  _relativepose_type;
00063    ::geometry_msgs::Pose_<ContainerAllocator>  relativepose;
00064 
00065   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _savefilename_type;
00066   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  savefilename;
00067 
00068 
00069   typedef boost::shared_ptr< ::jsk_perception::SetTemplateRequest_<ContainerAllocator> > Ptr;
00070   typedef boost::shared_ptr< ::jsk_perception::SetTemplateRequest_<ContainerAllocator>  const> ConstPtr;
00071   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00072 }; // struct SetTemplateRequest
00073 typedef  ::jsk_perception::SetTemplateRequest_<std::allocator<void> > SetTemplateRequest;
00074 
00075 typedef boost::shared_ptr< ::jsk_perception::SetTemplateRequest> SetTemplateRequestPtr;
00076 typedef boost::shared_ptr< ::jsk_perception::SetTemplateRequest const> SetTemplateRequestConstPtr;
00077 
00078 
00079 template <class ContainerAllocator>
00080 struct SetTemplateResponse_ {
00081   typedef SetTemplateResponse_<ContainerAllocator> Type;
00082 
00083   SetTemplateResponse_()
00084   {
00085   }
00086 
00087   SetTemplateResponse_(const ContainerAllocator& _alloc)
00088   {
00089   }
00090 
00091 
00092   typedef boost::shared_ptr< ::jsk_perception::SetTemplateResponse_<ContainerAllocator> > Ptr;
00093   typedef boost::shared_ptr< ::jsk_perception::SetTemplateResponse_<ContainerAllocator>  const> ConstPtr;
00094   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00095 }; // struct SetTemplateResponse
00096 typedef  ::jsk_perception::SetTemplateResponse_<std::allocator<void> > SetTemplateResponse;
00097 
00098 typedef boost::shared_ptr< ::jsk_perception::SetTemplateResponse> SetTemplateResponsePtr;
00099 typedef boost::shared_ptr< ::jsk_perception::SetTemplateResponse const> SetTemplateResponseConstPtr;
00100 
00101 struct SetTemplate
00102 {
00103 
00104 typedef SetTemplateRequest Request;
00105 typedef SetTemplateResponse Response;
00106 Request request;
00107 Response response;
00108 
00109 typedef Request RequestType;
00110 typedef Response ResponseType;
00111 }; // struct SetTemplate
00112 } // namespace jsk_perception
00113 
00114 namespace ros
00115 {
00116 namespace message_traits
00117 {
00118 template<class ContainerAllocator> struct IsMessage< ::jsk_perception::SetTemplateRequest_<ContainerAllocator> > : public TrueType {};
00119 template<class ContainerAllocator> struct IsMessage< ::jsk_perception::SetTemplateRequest_<ContainerAllocator>  const> : public TrueType {};
00120 template<class ContainerAllocator>
00121 struct MD5Sum< ::jsk_perception::SetTemplateRequest_<ContainerAllocator> > {
00122   static const char* value() 
00123   {
00124     return "116fa80f27cbdfcd76d0b57a30ef79ec";
00125   }
00126 
00127   static const char* value(const  ::jsk_perception::SetTemplateRequest_<ContainerAllocator> &) { return value(); } 
00128   static const uint64_t static_value1 = 0x116fa80f27cbdfcdULL;
00129   static const uint64_t static_value2 = 0x76d0b57a30ef79ecULL;
00130 };
00131 
00132 template<class ContainerAllocator>
00133 struct DataType< ::jsk_perception::SetTemplateRequest_<ContainerAllocator> > {
00134   static const char* value() 
00135   {
00136     return "jsk_perception/SetTemplateRequest";
00137   }
00138 
00139   static const char* value(const  ::jsk_perception::SetTemplateRequest_<ContainerAllocator> &) { return value(); } 
00140 };
00141 
00142 template<class ContainerAllocator>
00143 struct Definition< ::jsk_perception::SetTemplateRequest_<ContainerAllocator> > {
00144   static const char* value() 
00145   {
00146     return "string type\n\
00147 sensor_msgs/Image image\n\
00148 \n\
00149 float32 dimx\n\
00150 float32 dimy\n\
00151 geometry_msgs/Pose relativepose\n\
00152 string savefilename\n\
00153 \n\
00154 ================================================================================\n\
00155 MSG: sensor_msgs/Image\n\
00156 # This message contains an uncompressed image\n\
00157 # (0, 0) is at top-left corner of image\n\
00158 #\n\
00159 \n\
00160 Header header        # Header timestamp should be acquisition time of image\n\
00161                      # Header frame_id should be optical frame of camera\n\
00162                      # origin of frame should be optical center of cameara\n\
00163                      # +x should point to the right in the image\n\
00164                      # +y should point down in the image\n\
00165                      # +z should point into to plane of the image\n\
00166                      # If the frame_id here and the frame_id of the CameraInfo\n\
00167                      # message associated with the image conflict\n\
00168                      # the behavior is undefined\n\
00169 \n\
00170 uint32 height         # image height, that is, number of rows\n\
00171 uint32 width          # image width, that is, number of columns\n\
00172 \n\
00173 # The legal values for encoding are in file src/image_encodings.cpp\n\
00174 # If you want to standardize a new string format, join\n\
00175 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00176 \n\
00177 string encoding       # Encoding of pixels -- channel meaning, ordering, size\n\
00178                       # taken from the list of strings in src/image_encodings.cpp\n\
00179 \n\
00180 uint8 is_bigendian    # is this data bigendian?\n\
00181 uint32 step           # Full row length in bytes\n\
00182 uint8[] data          # actual matrix data, size is (step * rows)\n\
00183 \n\
00184 ================================================================================\n\
00185 MSG: std_msgs/Header\n\
00186 # Standard metadata for higher-level stamped data types.\n\
00187 # This is generally used to communicate timestamped data \n\
00188 # in a particular coordinate frame.\n\
00189 # \n\
00190 # sequence ID: consecutively increasing ID \n\
00191 uint32 seq\n\
00192 #Two-integer timestamp that is expressed as:\n\
00193 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00194 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00195 # time-handling sugar is provided by the client library\n\
00196 time stamp\n\
00197 #Frame this data is associated with\n\
00198 # 0: no frame\n\
00199 # 1: global frame\n\
00200 string frame_id\n\
00201 \n\
00202 ================================================================================\n\
00203 MSG: geometry_msgs/Pose\n\
00204 # A representation of pose in free space, composed of postion and orientation. \n\
00205 Point position\n\
00206 Quaternion orientation\n\
00207 \n\
00208 ================================================================================\n\
00209 MSG: geometry_msgs/Point\n\
00210 # This contains the position of a point in free space\n\
00211 float64 x\n\
00212 float64 y\n\
00213 float64 z\n\
00214 \n\
00215 ================================================================================\n\
00216 MSG: geometry_msgs/Quaternion\n\
00217 # This represents an orientation in free space in quaternion form.\n\
00218 \n\
00219 float64 x\n\
00220 float64 y\n\
00221 float64 z\n\
00222 float64 w\n\
00223 \n\
00224 ";
00225   }
00226 
00227   static const char* value(const  ::jsk_perception::SetTemplateRequest_<ContainerAllocator> &) { return value(); } 
00228 };
00229 
00230 } // namespace message_traits
00231 } // namespace ros
00232 
00233 
00234 namespace ros
00235 {
00236 namespace message_traits
00237 {
00238 template<class ContainerAllocator> struct IsMessage< ::jsk_perception::SetTemplateResponse_<ContainerAllocator> > : public TrueType {};
00239 template<class ContainerAllocator> struct IsMessage< ::jsk_perception::SetTemplateResponse_<ContainerAllocator>  const> : public TrueType {};
00240 template<class ContainerAllocator>
00241 struct MD5Sum< ::jsk_perception::SetTemplateResponse_<ContainerAllocator> > {
00242   static const char* value() 
00243   {
00244     return "d41d8cd98f00b204e9800998ecf8427e";
00245   }
00246 
00247   static const char* value(const  ::jsk_perception::SetTemplateResponse_<ContainerAllocator> &) { return value(); } 
00248   static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00249   static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00250 };
00251 
00252 template<class ContainerAllocator>
00253 struct DataType< ::jsk_perception::SetTemplateResponse_<ContainerAllocator> > {
00254   static const char* value() 
00255   {
00256     return "jsk_perception/SetTemplateResponse";
00257   }
00258 
00259   static const char* value(const  ::jsk_perception::SetTemplateResponse_<ContainerAllocator> &) { return value(); } 
00260 };
00261 
00262 template<class ContainerAllocator>
00263 struct Definition< ::jsk_perception::SetTemplateResponse_<ContainerAllocator> > {
00264   static const char* value() 
00265   {
00266     return "\n\
00267 \n\
00268 ";
00269   }
00270 
00271   static const char* value(const  ::jsk_perception::SetTemplateResponse_<ContainerAllocator> &) { return value(); } 
00272 };
00273 
00274 template<class ContainerAllocator> struct IsFixedSize< ::jsk_perception::SetTemplateResponse_<ContainerAllocator> > : public TrueType {};
00275 } // namespace message_traits
00276 } // namespace ros
00277 
00278 namespace ros
00279 {
00280 namespace serialization
00281 {
00282 
00283 template<class ContainerAllocator> struct Serializer< ::jsk_perception::SetTemplateRequest_<ContainerAllocator> >
00284 {
00285   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00286   {
00287     stream.next(m.type);
00288     stream.next(m.image);
00289     stream.next(m.dimx);
00290     stream.next(m.dimy);
00291     stream.next(m.relativepose);
00292     stream.next(m.savefilename);
00293   }
00294 
00295   ROS_DECLARE_ALLINONE_SERIALIZER;
00296 }; // struct SetTemplateRequest_
00297 } // namespace serialization
00298 } // namespace ros
00299 
00300 
00301 namespace ros
00302 {
00303 namespace serialization
00304 {
00305 
00306 template<class ContainerAllocator> struct Serializer< ::jsk_perception::SetTemplateResponse_<ContainerAllocator> >
00307 {
00308   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00309   {
00310   }
00311 
00312   ROS_DECLARE_ALLINONE_SERIALIZER;
00313 }; // struct SetTemplateResponse_
00314 } // namespace serialization
00315 } // namespace ros
00316 
00317 namespace ros
00318 {
00319 namespace service_traits
00320 {
00321 template<>
00322 struct MD5Sum<jsk_perception::SetTemplate> {
00323   static const char* value() 
00324   {
00325     return "116fa80f27cbdfcd76d0b57a30ef79ec";
00326   }
00327 
00328   static const char* value(const jsk_perception::SetTemplate&) { return value(); } 
00329 };
00330 
00331 template<>
00332 struct DataType<jsk_perception::SetTemplate> {
00333   static const char* value() 
00334   {
00335     return "jsk_perception/SetTemplate";
00336   }
00337 
00338   static const char* value(const jsk_perception::SetTemplate&) { return value(); } 
00339 };
00340 
00341 template<class ContainerAllocator>
00342 struct MD5Sum<jsk_perception::SetTemplateRequest_<ContainerAllocator> > {
00343   static const char* value() 
00344   {
00345     return "116fa80f27cbdfcd76d0b57a30ef79ec";
00346   }
00347 
00348   static const char* value(const jsk_perception::SetTemplateRequest_<ContainerAllocator> &) { return value(); } 
00349 };
00350 
00351 template<class ContainerAllocator>
00352 struct DataType<jsk_perception::SetTemplateRequest_<ContainerAllocator> > {
00353   static const char* value() 
00354   {
00355     return "jsk_perception/SetTemplate";
00356   }
00357 
00358   static const char* value(const jsk_perception::SetTemplateRequest_<ContainerAllocator> &) { return value(); } 
00359 };
00360 
00361 template<class ContainerAllocator>
00362 struct MD5Sum<jsk_perception::SetTemplateResponse_<ContainerAllocator> > {
00363   static const char* value() 
00364   {
00365     return "116fa80f27cbdfcd76d0b57a30ef79ec";
00366   }
00367 
00368   static const char* value(const jsk_perception::SetTemplateResponse_<ContainerAllocator> &) { return value(); } 
00369 };
00370 
00371 template<class ContainerAllocator>
00372 struct DataType<jsk_perception::SetTemplateResponse_<ContainerAllocator> > {
00373   static const char* value() 
00374   {
00375     return "jsk_perception/SetTemplate";
00376   }
00377 
00378   static const char* value(const jsk_perception::SetTemplateResponse_<ContainerAllocator> &) { return value(); } 
00379 };
00380 
00381 } // namespace service_traits
00382 } // namespace ros
00383 
00384 #endif // JSK_PERCEPTION_SERVICE_SETTEMPLATE_H
00385 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


jsk_perception
Author(s): Manabu Saito
autogenerated on Sat Mar 23 2013 18:21:32