Go to the documentation of this file.00001
00002 #ifndef HRL_HAPTIC_MANIPULATION_IN_CLUTTER_SRVS_SERVICE_GAZEBOOBJECTSTATE_H
00003 #define HRL_HAPTIC_MANIPULATION_IN_CLUTTER_SRVS_SERVICE_GAZEBOOBJECTSTATE_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 hrl_haptic_manipulation_in_clutter_srvs
00023 {
00024 template <class ContainerAllocator>
00025 struct GazeboObjectStateRequest_ {
00026 typedef GazeboObjectStateRequest_<ContainerAllocator> Type;
00027
00028 GazeboObjectStateRequest_()
00029 {
00030 }
00031
00032 GazeboObjectStateRequest_(const ContainerAllocator& _alloc)
00033 {
00034 }
00035
00036
00037 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> > Ptr;
00038 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> const> ConstPtr;
00039 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00040 };
00041 typedef ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<std::allocator<void> > GazeboObjectStateRequest;
00042
00043 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest> GazeboObjectStateRequestPtr;
00044 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest const> GazeboObjectStateRequestConstPtr;
00045
00046
00047 template <class ContainerAllocator>
00048 struct GazeboObjectStateResponse_ {
00049 typedef GazeboObjectStateResponse_<ContainerAllocator> Type;
00050
00051 GazeboObjectStateResponse_()
00052 : frame_names()
00053 , centers_x()
00054 , centers_y()
00055 , centers_z()
00056 , radius()
00057 , length()
00058 , static_flag()
00059 {
00060 }
00061
00062 GazeboObjectStateResponse_(const ContainerAllocator& _alloc)
00063 : frame_names(_alloc)
00064 , centers_x(_alloc)
00065 , centers_y(_alloc)
00066 , centers_z(_alloc)
00067 , radius(_alloc)
00068 , length(_alloc)
00069 , static_flag(_alloc)
00070 {
00071 }
00072
00073 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 > _frame_names_type;
00074 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 > frame_names;
00075
00076 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _centers_x_type;
00077 std::vector<double, typename ContainerAllocator::template rebind<double>::other > centers_x;
00078
00079 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _centers_y_type;
00080 std::vector<double, typename ContainerAllocator::template rebind<double>::other > centers_y;
00081
00082 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _centers_z_type;
00083 std::vector<double, typename ContainerAllocator::template rebind<double>::other > centers_z;
00084
00085 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _radius_type;
00086 std::vector<double, typename ContainerAllocator::template rebind<double>::other > radius;
00087
00088 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _length_type;
00089 std::vector<double, typename ContainerAllocator::template rebind<double>::other > length;
00090
00091 typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > _static_flag_type;
00092 std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > static_flag;
00093
00094
00095 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> > Ptr;
00096 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> const> ConstPtr;
00097 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00098 };
00099 typedef ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<std::allocator<void> > GazeboObjectStateResponse;
00100
00101 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse> GazeboObjectStateResponsePtr;
00102 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse const> GazeboObjectStateResponseConstPtr;
00103
00104 struct GazeboObjectState
00105 {
00106
00107 typedef GazeboObjectStateRequest Request;
00108 typedef GazeboObjectStateResponse 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< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> > : public TrueType {};
00122 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> const> : public TrueType {};
00123 template<class ContainerAllocator>
00124 struct MD5Sum< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> > {
00125 static const char* value()
00126 {
00127 return "d41d8cd98f00b204e9800998ecf8427e";
00128 }
00129
00130 static const char* value(const ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> &) { return value(); }
00131 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00132 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00133 };
00134
00135 template<class ContainerAllocator>
00136 struct DataType< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> > {
00137 static const char* value()
00138 {
00139 return "hrl_haptic_manipulation_in_clutter_srvs/GazeboObjectStateRequest";
00140 }
00141
00142 static const char* value(const ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> &) { return value(); }
00143 };
00144
00145 template<class ContainerAllocator>
00146 struct Definition< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> > {
00147 static const char* value()
00148 {
00149 return "\n\
00150 \n\
00151 ";
00152 }
00153
00154 static const char* value(const ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> &) { return value(); }
00155 };
00156
00157 template<class ContainerAllocator> struct IsFixedSize< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> > : public TrueType {};
00158 }
00159 }
00160
00161
00162 namespace ros
00163 {
00164 namespace message_traits
00165 {
00166 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> > : public TrueType {};
00167 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> const> : public TrueType {};
00168 template<class ContainerAllocator>
00169 struct MD5Sum< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "b6ebf1a89c13f9bca983dd7c449ac80a";
00173 }
00174
00175 static const char* value(const ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> &) { return value(); }
00176 static const uint64_t static_value1 = 0xb6ebf1a89c13f9bcULL;
00177 static const uint64_t static_value2 = 0xa983dd7c449ac80aULL;
00178 };
00179
00180 template<class ContainerAllocator>
00181 struct DataType< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> > {
00182 static const char* value()
00183 {
00184 return "hrl_haptic_manipulation_in_clutter_srvs/GazeboObjectStateResponse";
00185 }
00186
00187 static const char* value(const ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> &) { return value(); }
00188 };
00189
00190 template<class ContainerAllocator>
00191 struct Definition< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> > {
00192 static const char* value()
00193 {
00194 return "string[] frame_names\n\
00195 float64[] centers_x\n\
00196 float64[] centers_y\n\
00197 float64[] centers_z\n\
00198 float64[] radius\n\
00199 float64[] length\n\
00200 bool[] static_flag\n\
00201 \n\
00202 \n\
00203 ";
00204 }
00205
00206 static const char* value(const ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> &) { return value(); }
00207 };
00208
00209 }
00210 }
00211
00212 namespace ros
00213 {
00214 namespace serialization
00215 {
00216
00217 template<class ContainerAllocator> struct Serializer< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> >
00218 {
00219 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00220 {
00221 }
00222
00223 ROS_DECLARE_ALLINONE_SERIALIZER;
00224 };
00225 }
00226 }
00227
00228
00229 namespace ros
00230 {
00231 namespace serialization
00232 {
00233
00234 template<class ContainerAllocator> struct Serializer< ::hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> >
00235 {
00236 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00237 {
00238 stream.next(m.frame_names);
00239 stream.next(m.centers_x);
00240 stream.next(m.centers_y);
00241 stream.next(m.centers_z);
00242 stream.next(m.radius);
00243 stream.next(m.length);
00244 stream.next(m.static_flag);
00245 }
00246
00247 ROS_DECLARE_ALLINONE_SERIALIZER;
00248 };
00249 }
00250 }
00251
00252 namespace ros
00253 {
00254 namespace service_traits
00255 {
00256 template<>
00257 struct MD5Sum<hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectState> {
00258 static const char* value()
00259 {
00260 return "b6ebf1a89c13f9bca983dd7c449ac80a";
00261 }
00262
00263 static const char* value(const hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectState&) { return value(); }
00264 };
00265
00266 template<>
00267 struct DataType<hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectState> {
00268 static const char* value()
00269 {
00270 return "hrl_haptic_manipulation_in_clutter_srvs/GazeboObjectState";
00271 }
00272
00273 static const char* value(const hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectState&) { return value(); }
00274 };
00275
00276 template<class ContainerAllocator>
00277 struct MD5Sum<hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> > {
00278 static const char* value()
00279 {
00280 return "b6ebf1a89c13f9bca983dd7c449ac80a";
00281 }
00282
00283 static const char* value(const hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> &) { return value(); }
00284 };
00285
00286 template<class ContainerAllocator>
00287 struct DataType<hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> > {
00288 static const char* value()
00289 {
00290 return "hrl_haptic_manipulation_in_clutter_srvs/GazeboObjectState";
00291 }
00292
00293 static const char* value(const hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateRequest_<ContainerAllocator> &) { return value(); }
00294 };
00295
00296 template<class ContainerAllocator>
00297 struct MD5Sum<hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> > {
00298 static const char* value()
00299 {
00300 return "b6ebf1a89c13f9bca983dd7c449ac80a";
00301 }
00302
00303 static const char* value(const hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> &) { return value(); }
00304 };
00305
00306 template<class ContainerAllocator>
00307 struct DataType<hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> > {
00308 static const char* value()
00309 {
00310 return "hrl_haptic_manipulation_in_clutter_srvs/GazeboObjectState";
00311 }
00312
00313 static const char* value(const hrl_haptic_manipulation_in_clutter_srvs::GazeboObjectStateResponse_<ContainerAllocator> &) { return value(); }
00314 };
00315
00316 }
00317 }
00318
00319 #endif // HRL_HAPTIC_MANIPULATION_IN_CLUTTER_SRVS_SERVICE_GAZEBOOBJECTSTATE_H
00320