Go to the documentation of this file.00001
00002 #ifndef OPENRAVEROS_SERVICE_ENV_PLOT_H
00003 #define OPENRAVEROS_SERVICE_ENV_PLOT_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_plotRequest_ {
00026 typedef env_plotRequest_<ContainerAllocator> Type;
00027
00028 env_plotRequest_()
00029 : points()
00030 , colors()
00031 , size(0.0)
00032 , transparency(0.0)
00033 , drawtype(0)
00034 {
00035 }
00036
00037 env_plotRequest_(const ContainerAllocator& _alloc)
00038 : points(_alloc)
00039 , colors(_alloc)
00040 , size(0.0)
00041 , transparency(0.0)
00042 , drawtype(0)
00043 {
00044 }
00045
00046 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _points_type;
00047 std::vector<float, typename ContainerAllocator::template rebind<float>::other > points;
00048
00049 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _colors_type;
00050 std::vector<float, typename ContainerAllocator::template rebind<float>::other > colors;
00051
00052 typedef float _size_type;
00053 float size;
00054
00055 typedef float _transparency_type;
00056 float transparency;
00057
00058 typedef uint8_t _drawtype_type;
00059 uint8_t drawtype;
00060
00061 enum { Draw_Point = 0 };
00062 enum { Draw_LineStrip = 1 };
00063 enum { Draw_LineList = 2 };
00064 enum { Draw_TriList = 3 };
00065 enum { Draw_Sphere = 4 };
00066
00067 typedef boost::shared_ptr< ::openraveros::env_plotRequest_<ContainerAllocator> > Ptr;
00068 typedef boost::shared_ptr< ::openraveros::env_plotRequest_<ContainerAllocator> const> ConstPtr;
00069 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 };
00071 typedef ::openraveros::env_plotRequest_<std::allocator<void> > env_plotRequest;
00072
00073 typedef boost::shared_ptr< ::openraveros::env_plotRequest> env_plotRequestPtr;
00074 typedef boost::shared_ptr< ::openraveros::env_plotRequest const> env_plotRequestConstPtr;
00075
00076
00077 template <class ContainerAllocator>
00078 struct env_plotResponse_ {
00079 typedef env_plotResponse_<ContainerAllocator> Type;
00080
00081 env_plotResponse_()
00082 : figureid(0)
00083 {
00084 }
00085
00086 env_plotResponse_(const ContainerAllocator& _alloc)
00087 : figureid(0)
00088 {
00089 }
00090
00091 typedef int32_t _figureid_type;
00092 int32_t figureid;
00093
00094
00095 typedef boost::shared_ptr< ::openraveros::env_plotResponse_<ContainerAllocator> > Ptr;
00096 typedef boost::shared_ptr< ::openraveros::env_plotResponse_<ContainerAllocator> const> ConstPtr;
00097 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00098 };
00099 typedef ::openraveros::env_plotResponse_<std::allocator<void> > env_plotResponse;
00100
00101 typedef boost::shared_ptr< ::openraveros::env_plotResponse> env_plotResponsePtr;
00102 typedef boost::shared_ptr< ::openraveros::env_plotResponse const> env_plotResponseConstPtr;
00103
00104 struct env_plot
00105 {
00106
00107 typedef env_plotRequest Request;
00108 typedef env_plotResponse Response;
00109 Request request;
00110 Response response;
00111
00112 typedef Request RequestType;
00113 typedef Response ResponseType;
00114 };
00115 }
00116
00117 namespace ros
00118 {
00119 namespace message_traits
00120 {
00121 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_plotRequest_<ContainerAllocator> > : public TrueType {};
00122 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_plotRequest_<ContainerAllocator> const> : public TrueType {};
00123 template<class ContainerAllocator>
00124 struct MD5Sum< ::openraveros::env_plotRequest_<ContainerAllocator> > {
00125 static const char* value()
00126 {
00127 return "7c7d5c953455ba35795d2c81b8902191";
00128 }
00129
00130 static const char* value(const ::openraveros::env_plotRequest_<ContainerAllocator> &) { return value(); }
00131 static const uint64_t static_value1 = 0x7c7d5c953455ba35ULL;
00132 static const uint64_t static_value2 = 0x795d2c81b8902191ULL;
00133 };
00134
00135 template<class ContainerAllocator>
00136 struct DataType< ::openraveros::env_plotRequest_<ContainerAllocator> > {
00137 static const char* value()
00138 {
00139 return "openraveros/env_plotRequest";
00140 }
00141
00142 static const char* value(const ::openraveros::env_plotRequest_<ContainerAllocator> &) { return value(); }
00143 };
00144
00145 template<class ContainerAllocator>
00146 struct Definition< ::openraveros::env_plotRequest_<ContainerAllocator> > {
00147 static const char* value()
00148 {
00149 return "\n\
00150 \n\
00151 \n\
00152 float32[] points\n\
00153 \n\
00154 \n\
00155 float32[] colors\n\
00156 \n\
00157 \n\
00158 float32 size\n\
00159 \n\
00160 \n\
00161 float32 transparency\n\
00162 \n\
00163 \n\
00164 uint8 drawtype\n\
00165 \n\
00166 uint8 Draw_Point=0\n\
00167 uint8 Draw_LineStrip=1\n\
00168 uint8 Draw_LineList=2\n\
00169 uint8 Draw_TriList=3\n\
00170 uint8 Draw_Sphere=4\n\
00171 \n\
00172 ";
00173 }
00174
00175 static const char* value(const ::openraveros::env_plotRequest_<ContainerAllocator> &) { return value(); }
00176 };
00177
00178 }
00179 }
00180
00181
00182 namespace ros
00183 {
00184 namespace message_traits
00185 {
00186 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_plotResponse_<ContainerAllocator> > : public TrueType {};
00187 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_plotResponse_<ContainerAllocator> const> : public TrueType {};
00188 template<class ContainerAllocator>
00189 struct MD5Sum< ::openraveros::env_plotResponse_<ContainerAllocator> > {
00190 static const char* value()
00191 {
00192 return "9e60f57d176204c85b4d8a8d3942fc88";
00193 }
00194
00195 static const char* value(const ::openraveros::env_plotResponse_<ContainerAllocator> &) { return value(); }
00196 static const uint64_t static_value1 = 0x9e60f57d176204c8ULL;
00197 static const uint64_t static_value2 = 0x5b4d8a8d3942fc88ULL;
00198 };
00199
00200 template<class ContainerAllocator>
00201 struct DataType< ::openraveros::env_plotResponse_<ContainerAllocator> > {
00202 static const char* value()
00203 {
00204 return "openraveros/env_plotResponse";
00205 }
00206
00207 static const char* value(const ::openraveros::env_plotResponse_<ContainerAllocator> &) { return value(); }
00208 };
00209
00210 template<class ContainerAllocator>
00211 struct Definition< ::openraveros::env_plotResponse_<ContainerAllocator> > {
00212 static const char* value()
00213 {
00214 return "int32 figureid\n\
00215 \n\
00216 \n\
00217 ";
00218 }
00219
00220 static const char* value(const ::openraveros::env_plotResponse_<ContainerAllocator> &) { return value(); }
00221 };
00222
00223 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::env_plotResponse_<ContainerAllocator> > : public TrueType {};
00224 }
00225 }
00226
00227 namespace ros
00228 {
00229 namespace serialization
00230 {
00231
00232 template<class ContainerAllocator> struct Serializer< ::openraveros::env_plotRequest_<ContainerAllocator> >
00233 {
00234 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00235 {
00236 stream.next(m.points);
00237 stream.next(m.colors);
00238 stream.next(m.size);
00239 stream.next(m.transparency);
00240 stream.next(m.drawtype);
00241 }
00242
00243 ROS_DECLARE_ALLINONE_SERIALIZER;
00244 };
00245 }
00246 }
00247
00248
00249 namespace ros
00250 {
00251 namespace serialization
00252 {
00253
00254 template<class ContainerAllocator> struct Serializer< ::openraveros::env_plotResponse_<ContainerAllocator> >
00255 {
00256 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00257 {
00258 stream.next(m.figureid);
00259 }
00260
00261 ROS_DECLARE_ALLINONE_SERIALIZER;
00262 };
00263 }
00264 }
00265
00266 namespace ros
00267 {
00268 namespace service_traits
00269 {
00270 template<>
00271 struct MD5Sum<openraveros::env_plot> {
00272 static const char* value()
00273 {
00274 return "3ffe9a31e549a1fe4965a4c9efc809be";
00275 }
00276
00277 static const char* value(const openraveros::env_plot&) { return value(); }
00278 };
00279
00280 template<>
00281 struct DataType<openraveros::env_plot> {
00282 static const char* value()
00283 {
00284 return "openraveros/env_plot";
00285 }
00286
00287 static const char* value(const openraveros::env_plot&) { return value(); }
00288 };
00289
00290 template<class ContainerAllocator>
00291 struct MD5Sum<openraveros::env_plotRequest_<ContainerAllocator> > {
00292 static const char* value()
00293 {
00294 return "3ffe9a31e549a1fe4965a4c9efc809be";
00295 }
00296
00297 static const char* value(const openraveros::env_plotRequest_<ContainerAllocator> &) { return value(); }
00298 };
00299
00300 template<class ContainerAllocator>
00301 struct DataType<openraveros::env_plotRequest_<ContainerAllocator> > {
00302 static const char* value()
00303 {
00304 return "openraveros/env_plot";
00305 }
00306
00307 static const char* value(const openraveros::env_plotRequest_<ContainerAllocator> &) { return value(); }
00308 };
00309
00310 template<class ContainerAllocator>
00311 struct MD5Sum<openraveros::env_plotResponse_<ContainerAllocator> > {
00312 static const char* value()
00313 {
00314 return "3ffe9a31e549a1fe4965a4c9efc809be";
00315 }
00316
00317 static const char* value(const openraveros::env_plotResponse_<ContainerAllocator> &) { return value(); }
00318 };
00319
00320 template<class ContainerAllocator>
00321 struct DataType<openraveros::env_plotResponse_<ContainerAllocator> > {
00322 static const char* value()
00323 {
00324 return "openraveros/env_plot";
00325 }
00326
00327 static const char* value(const openraveros::env_plotResponse_<ContainerAllocator> &) { return value(); }
00328 };
00329
00330 }
00331 }
00332
00333 #endif // OPENRAVEROS_SERVICE_ENV_PLOT_H
00334