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