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


biped_robin_msgs
Author(s): Johannes Mayr
autogenerated on Mon Jan 6 2014 11:07:41