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