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