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