ChangeControlType.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-shadow_robot/doc_stacks/2014-01-03_11-55-43.997996/shadow_robot/sr_robot_msgs/srv/ChangeControlType.srv */
00002 #ifndef SR_ROBOT_MSGS_SERVICE_CHANGECONTROLTYPE_H
00003 #define SR_ROBOT_MSGS_SERVICE_CHANGECONTROLTYPE_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 "sr_robot_msgs/ControlType.h"
00020 
00021 
00022 #include "sr_robot_msgs/ControlType.h"
00023 
00024 namespace sr_robot_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct ChangeControlTypeRequest_ {
00028   typedef ChangeControlTypeRequest_<ContainerAllocator> Type;
00029 
00030   ChangeControlTypeRequest_()
00031   : control_type()
00032   {
00033   }
00034 
00035   ChangeControlTypeRequest_(const ContainerAllocator& _alloc)
00036   : control_type(_alloc)
00037   {
00038   }
00039 
00040   typedef  ::sr_robot_msgs::ControlType_<ContainerAllocator>  _control_type_type;
00041    ::sr_robot_msgs::ControlType_<ContainerAllocator>  control_type;
00042 
00043 
00044   typedef boost::shared_ptr< ::sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct ChangeControlTypeRequest
00048 typedef  ::sr_robot_msgs::ChangeControlTypeRequest_<std::allocator<void> > ChangeControlTypeRequest;
00049 
00050 typedef boost::shared_ptr< ::sr_robot_msgs::ChangeControlTypeRequest> ChangeControlTypeRequestPtr;
00051 typedef boost::shared_ptr< ::sr_robot_msgs::ChangeControlTypeRequest const> ChangeControlTypeRequestConstPtr;
00052 
00053 
00054 template <class ContainerAllocator>
00055 struct ChangeControlTypeResponse_ {
00056   typedef ChangeControlTypeResponse_<ContainerAllocator> Type;
00057 
00058   ChangeControlTypeResponse_()
00059   : result()
00060   {
00061   }
00062 
00063   ChangeControlTypeResponse_(const ContainerAllocator& _alloc)
00064   : result(_alloc)
00065   {
00066   }
00067 
00068   typedef  ::sr_robot_msgs::ControlType_<ContainerAllocator>  _result_type;
00069    ::sr_robot_msgs::ControlType_<ContainerAllocator>  result;
00070 
00071 
00072   typedef boost::shared_ptr< ::sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> > Ptr;
00073   typedef boost::shared_ptr< ::sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator>  const> ConstPtr;
00074   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 }; // struct ChangeControlTypeResponse
00076 typedef  ::sr_robot_msgs::ChangeControlTypeResponse_<std::allocator<void> > ChangeControlTypeResponse;
00077 
00078 typedef boost::shared_ptr< ::sr_robot_msgs::ChangeControlTypeResponse> ChangeControlTypeResponsePtr;
00079 typedef boost::shared_ptr< ::sr_robot_msgs::ChangeControlTypeResponse const> ChangeControlTypeResponseConstPtr;
00080 
00081 struct ChangeControlType
00082 {
00083 
00084 typedef ChangeControlTypeRequest Request;
00085 typedef ChangeControlTypeResponse Response;
00086 Request request;
00087 Response response;
00088 
00089 typedef Request RequestType;
00090 typedef Response ResponseType;
00091 }; // struct ChangeControlType
00092 } // namespace sr_robot_msgs
00093 
00094 namespace ros
00095 {
00096 namespace message_traits
00097 {
00098 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator>  const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "69fffaeba377b18d307bd4ce65536c13";
00105   }
00106 
00107   static const char* value(const  ::sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> &) { return value(); } 
00108   static const uint64_t static_value1 = 0x69fffaeba377b18dULL;
00109   static const uint64_t static_value2 = 0x307bd4ce65536c13ULL;
00110 };
00111 
00112 template<class ContainerAllocator>
00113 struct DataType< ::sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "sr_robot_msgs/ChangeControlTypeRequest";
00117   }
00118 
00119   static const char* value(const  ::sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> &) { return value(); } 
00120 };
00121 
00122 template<class ContainerAllocator>
00123 struct Definition< ::sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> > {
00124   static const char* value() 
00125   {
00126     return "ControlType control_type\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: sr_robot_msgs/ControlType\n\
00130 int16 control_type\n\
00131 \n\
00132 int16 PWM=0\n\
00133 int16 FORCE=1\n\
00134 ";
00135   }
00136 
00137   static const char* value(const  ::sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> &) { return value(); } 
00138 };
00139 
00140 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> > : public TrueType {};
00141 } // namespace message_traits
00142 } // namespace ros
00143 
00144 
00145 namespace ros
00146 {
00147 namespace message_traits
00148 {
00149 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> > : public TrueType {};
00150 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator>  const> : public TrueType {};
00151 template<class ContainerAllocator>
00152 struct MD5Sum< ::sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> > {
00153   static const char* value() 
00154   {
00155     return "149802f62d62361cd3f9f9faa0c637bc";
00156   }
00157 
00158   static const char* value(const  ::sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> &) { return value(); } 
00159   static const uint64_t static_value1 = 0x149802f62d62361cULL;
00160   static const uint64_t static_value2 = 0xd3f9f9faa0c637bcULL;
00161 };
00162 
00163 template<class ContainerAllocator>
00164 struct DataType< ::sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> > {
00165   static const char* value() 
00166   {
00167     return "sr_robot_msgs/ChangeControlTypeResponse";
00168   }
00169 
00170   static const char* value(const  ::sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> &) { return value(); } 
00171 };
00172 
00173 template<class ContainerAllocator>
00174 struct Definition< ::sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> > {
00175   static const char* value() 
00176   {
00177     return "ControlType result\n\
00178 \n\
00179 ================================================================================\n\
00180 MSG: sr_robot_msgs/ControlType\n\
00181 int16 control_type\n\
00182 \n\
00183 int16 PWM=0\n\
00184 int16 FORCE=1\n\
00185 ";
00186   }
00187 
00188   static const char* value(const  ::sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> &) { return value(); } 
00189 };
00190 
00191 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> > : public TrueType {};
00192 } // namespace message_traits
00193 } // namespace ros
00194 
00195 namespace ros
00196 {
00197 namespace serialization
00198 {
00199 
00200 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> >
00201 {
00202   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00203   {
00204     stream.next(m.control_type);
00205   }
00206 
00207   ROS_DECLARE_ALLINONE_SERIALIZER;
00208 }; // struct ChangeControlTypeRequest_
00209 } // namespace serialization
00210 } // namespace ros
00211 
00212 
00213 namespace ros
00214 {
00215 namespace serialization
00216 {
00217 
00218 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> >
00219 {
00220   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00221   {
00222     stream.next(m.result);
00223   }
00224 
00225   ROS_DECLARE_ALLINONE_SERIALIZER;
00226 }; // struct ChangeControlTypeResponse_
00227 } // namespace serialization
00228 } // namespace ros
00229 
00230 namespace ros
00231 {
00232 namespace service_traits
00233 {
00234 template<>
00235 struct MD5Sum<sr_robot_msgs::ChangeControlType> {
00236   static const char* value() 
00237   {
00238     return "ac3ec0a68c75634618a1c4f579171ff8";
00239   }
00240 
00241   static const char* value(const sr_robot_msgs::ChangeControlType&) { return value(); } 
00242 };
00243 
00244 template<>
00245 struct DataType<sr_robot_msgs::ChangeControlType> {
00246   static const char* value() 
00247   {
00248     return "sr_robot_msgs/ChangeControlType";
00249   }
00250 
00251   static const char* value(const sr_robot_msgs::ChangeControlType&) { return value(); } 
00252 };
00253 
00254 template<class ContainerAllocator>
00255 struct MD5Sum<sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> > {
00256   static const char* value() 
00257   {
00258     return "ac3ec0a68c75634618a1c4f579171ff8";
00259   }
00260 
00261   static const char* value(const sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> &) { return value(); } 
00262 };
00263 
00264 template<class ContainerAllocator>
00265 struct DataType<sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> > {
00266   static const char* value() 
00267   {
00268     return "sr_robot_msgs/ChangeControlType";
00269   }
00270 
00271   static const char* value(const sr_robot_msgs::ChangeControlTypeRequest_<ContainerAllocator> &) { return value(); } 
00272 };
00273 
00274 template<class ContainerAllocator>
00275 struct MD5Sum<sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> > {
00276   static const char* value() 
00277   {
00278     return "ac3ec0a68c75634618a1c4f579171ff8";
00279   }
00280 
00281   static const char* value(const sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> &) { return value(); } 
00282 };
00283 
00284 template<class ContainerAllocator>
00285 struct DataType<sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> > {
00286   static const char* value() 
00287   {
00288     return "sr_robot_msgs/ChangeControlType";
00289   }
00290 
00291   static const char* value(const sr_robot_msgs::ChangeControlTypeResponse_<ContainerAllocator> &) { return value(); } 
00292 };
00293 
00294 } // namespace service_traits
00295 } // namespace ros
00296 
00297 #endif // SR_ROBOT_MSGS_SERVICE_CHANGECONTROLTYPE_H
00298 


sr_robot_msgs
Author(s): Ugo Cupcic/ugo@shadowrobot.com
autogenerated on Fri Jan 3 2014 12:01:40