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