00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-bipedRobin/doc_stacks/2013-11-15_11-06-01.826513/bipedRobin/bipedRobin_msgs/srv/SetModeService.srv */ 00002 #ifndef BIPEDROBIN_MSGS_SERVICE_SETMODESERVICE_H 00003 #define BIPEDROBIN_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 bipedRobin_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< ::bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> > Ptr; 00043 typedef boost::shared_ptr< ::bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> const> ConstPtr; 00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00045 }; // struct SetModeServiceRequest 00046 typedef ::bipedRobin_msgs::SetModeServiceRequest_<std::allocator<void> > SetModeServiceRequest; 00047 00048 typedef boost::shared_ptr< ::bipedRobin_msgs::SetModeServiceRequest> SetModeServiceRequestPtr; 00049 typedef boost::shared_ptr< ::bipedRobin_msgs::SetModeServiceRequest const> SetModeServiceRequestConstPtr; 00050 00051 00052 template <class ContainerAllocator> 00053 struct SetModeServiceResponse_ { 00054 typedef SetModeServiceResponse_<ContainerAllocator> Type; 00055 00056 SetModeServiceResponse_() 00057 { 00058 } 00059 00060 SetModeServiceResponse_(const ContainerAllocator& _alloc) 00061 { 00062 } 00063 00064 00065 typedef boost::shared_ptr< ::bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> > Ptr; 00066 typedef boost::shared_ptr< ::bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> const> ConstPtr; 00067 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00068 }; // struct SetModeServiceResponse 00069 typedef ::bipedRobin_msgs::SetModeServiceResponse_<std::allocator<void> > SetModeServiceResponse; 00070 00071 typedef boost::shared_ptr< ::bipedRobin_msgs::SetModeServiceResponse> SetModeServiceResponsePtr; 00072 typedef boost::shared_ptr< ::bipedRobin_msgs::SetModeServiceResponse const> SetModeServiceResponseConstPtr; 00073 00074 struct SetModeService 00075 { 00076 00077 typedef SetModeServiceRequest Request; 00078 typedef SetModeServiceResponse Response; 00079 Request request; 00080 Response response; 00081 00082 typedef Request RequestType; 00083 typedef Response ResponseType; 00084 }; // struct SetModeService 00085 } // namespace bipedRobin_msgs 00086 00087 namespace ros 00088 { 00089 namespace message_traits 00090 { 00091 template<class ContainerAllocator> struct IsMessage< ::bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> > : public TrueType {}; 00092 template<class ContainerAllocator> struct IsMessage< ::bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> const> : public TrueType {}; 00093 template<class ContainerAllocator> 00094 struct MD5Sum< ::bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> > { 00095 static const char* value() 00096 { 00097 return "49f9765144bd237d654012b965725e8b"; 00098 } 00099 00100 static const char* value(const ::bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> &) { return value(); } 00101 static const uint64_t static_value1 = 0x49f9765144bd237dULL; 00102 static const uint64_t static_value2 = 0x654012b965725e8bULL; 00103 }; 00104 00105 template<class ContainerAllocator> 00106 struct DataType< ::bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> > { 00107 static const char* value() 00108 { 00109 return "bipedRobin_msgs/SetModeServiceRequest"; 00110 } 00111 00112 static const char* value(const ::bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> &) { return value(); } 00113 }; 00114 00115 template<class ContainerAllocator> 00116 struct Definition< ::bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> > { 00117 static const char* value() 00118 { 00119 return "\n\ 00120 \n\ 00121 \n\ 00122 \n\ 00123 \n\ 00124 \n\ 00125 uint8 desiredMode\n\ 00126 \n\ 00127 "; 00128 } 00129 00130 static const char* value(const ::bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> &) { return value(); } 00131 }; 00132 00133 template<class ContainerAllocator> struct IsFixedSize< ::bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> > : public TrueType {}; 00134 } // namespace message_traits 00135 } // namespace ros 00136 00137 00138 namespace ros 00139 { 00140 namespace message_traits 00141 { 00142 template<class ContainerAllocator> struct IsMessage< ::bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> > : public TrueType {}; 00143 template<class ContainerAllocator> struct IsMessage< ::bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> const> : public TrueType {}; 00144 template<class ContainerAllocator> 00145 struct MD5Sum< ::bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> > { 00146 static const char* value() 00147 { 00148 return "d41d8cd98f00b204e9800998ecf8427e"; 00149 } 00150 00151 static const char* value(const ::bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> &) { return value(); } 00152 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00153 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00154 }; 00155 00156 template<class ContainerAllocator> 00157 struct DataType< ::bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> > { 00158 static const char* value() 00159 { 00160 return "bipedRobin_msgs/SetModeServiceResponse"; 00161 } 00162 00163 static const char* value(const ::bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> &) { return value(); } 00164 }; 00165 00166 template<class ContainerAllocator> 00167 struct Definition< ::bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> > { 00168 static const char* value() 00169 { 00170 return "\n\ 00171 \n\ 00172 "; 00173 } 00174 00175 static const char* value(const ::bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> &) { return value(); } 00176 }; 00177 00178 template<class ContainerAllocator> struct IsFixedSize< ::bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> > : public TrueType {}; 00179 } // namespace message_traits 00180 } // namespace ros 00181 00182 namespace ros 00183 { 00184 namespace serialization 00185 { 00186 00187 template<class ContainerAllocator> struct Serializer< ::bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> > 00188 { 00189 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00190 { 00191 stream.next(m.desiredMode); 00192 } 00193 00194 ROS_DECLARE_ALLINONE_SERIALIZER; 00195 }; // struct SetModeServiceRequest_ 00196 } // namespace serialization 00197 } // namespace ros 00198 00199 00200 namespace ros 00201 { 00202 namespace serialization 00203 { 00204 00205 template<class ContainerAllocator> struct Serializer< ::bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> > 00206 { 00207 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00208 { 00209 } 00210 00211 ROS_DECLARE_ALLINONE_SERIALIZER; 00212 }; // struct SetModeServiceResponse_ 00213 } // namespace serialization 00214 } // namespace ros 00215 00216 namespace ros 00217 { 00218 namespace service_traits 00219 { 00220 template<> 00221 struct MD5Sum<bipedRobin_msgs::SetModeService> { 00222 static const char* value() 00223 { 00224 return "49f9765144bd237d654012b965725e8b"; 00225 } 00226 00227 static const char* value(const bipedRobin_msgs::SetModeService&) { return value(); } 00228 }; 00229 00230 template<> 00231 struct DataType<bipedRobin_msgs::SetModeService> { 00232 static const char* value() 00233 { 00234 return "bipedRobin_msgs/SetModeService"; 00235 } 00236 00237 static const char* value(const bipedRobin_msgs::SetModeService&) { return value(); } 00238 }; 00239 00240 template<class ContainerAllocator> 00241 struct MD5Sum<bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> > { 00242 static const char* value() 00243 { 00244 return "49f9765144bd237d654012b965725e8b"; 00245 } 00246 00247 static const char* value(const bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> &) { return value(); } 00248 }; 00249 00250 template<class ContainerAllocator> 00251 struct DataType<bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> > { 00252 static const char* value() 00253 { 00254 return "bipedRobin_msgs/SetModeService"; 00255 } 00256 00257 static const char* value(const bipedRobin_msgs::SetModeServiceRequest_<ContainerAllocator> &) { return value(); } 00258 }; 00259 00260 template<class ContainerAllocator> 00261 struct MD5Sum<bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> > { 00262 static const char* value() 00263 { 00264 return "49f9765144bd237d654012b965725e8b"; 00265 } 00266 00267 static const char* value(const bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> &) { return value(); } 00268 }; 00269 00270 template<class ContainerAllocator> 00271 struct DataType<bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> > { 00272 static const char* value() 00273 { 00274 return "bipedRobin_msgs/SetModeService"; 00275 } 00276 00277 static const char* value(const bipedRobin_msgs::SetModeServiceResponse_<ContainerAllocator> &) { return value(); } 00278 }; 00279 00280 } // namespace service_traits 00281 } // namespace ros 00282 00283 #endif // BIPEDROBIN_MSGS_SERVICE_SETMODESERVICE_H 00284