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