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