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


cob_srvs
Author(s): Florian Weisshardt
autogenerated on Fri Mar 1 2013 17:46:00