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


corobot_srvs
Author(s): Morgan Cormier/mcormier@coroware.com
autogenerated on Tue Jan 7 2014 11:38:11