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