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