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