Go to the documentation of this file.00001
00002 #ifndef SRS_KNOWLEDGE_SERVICE_UPDATEPOSINFO_H
00003 #define SRS_KNOWLEDGE_SERVICE_UPDATEPOSINFO_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 "srs_msgs/SRSSpatialInfo.h"
00020
00021
00022
00023 namespace srs_knowledge
00024 {
00025 template <class ContainerAllocator>
00026 struct UpdatePosInfoRequest_ {
00027 typedef UpdatePosInfoRequest_<ContainerAllocator> Type;
00028
00029 UpdatePosInfoRequest_()
00030 : objectName()
00031 , hhObjectID(0)
00032 , spatialInfo()
00033 , objectURI()
00034 {
00035 }
00036
00037 UpdatePosInfoRequest_(const ContainerAllocator& _alloc)
00038 : objectName(_alloc)
00039 , hhObjectID(0)
00040 , spatialInfo(_alloc)
00041 , objectURI(_alloc)
00042 {
00043 }
00044
00045 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _objectName_type;
00046 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > objectName;
00047
00048 typedef uint32_t _hhObjectID_type;
00049 uint32_t hhObjectID;
00050
00051 typedef ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> _spatialInfo_type;
00052 ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> spatialInfo;
00053
00054 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _objectURI_type;
00055 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > objectURI;
00056
00057
00058 typedef boost::shared_ptr< ::srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> > Ptr;
00059 typedef boost::shared_ptr< ::srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> const> ConstPtr;
00060 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 };
00062 typedef ::srs_knowledge::UpdatePosInfoRequest_<std::allocator<void> > UpdatePosInfoRequest;
00063
00064 typedef boost::shared_ptr< ::srs_knowledge::UpdatePosInfoRequest> UpdatePosInfoRequestPtr;
00065 typedef boost::shared_ptr< ::srs_knowledge::UpdatePosInfoRequest const> UpdatePosInfoRequestConstPtr;
00066
00067
00068 template <class ContainerAllocator>
00069 struct UpdatePosInfoResponse_ {
00070 typedef UpdatePosInfoResponse_<ContainerAllocator> Type;
00071
00072 UpdatePosInfoResponse_()
00073 : success(false)
00074 {
00075 }
00076
00077 UpdatePosInfoResponse_(const ContainerAllocator& _alloc)
00078 : success(false)
00079 {
00080 }
00081
00082 typedef uint8_t _success_type;
00083 uint8_t success;
00084
00085
00086 typedef boost::shared_ptr< ::srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> > Ptr;
00087 typedef boost::shared_ptr< ::srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> const> ConstPtr;
00088 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00089 };
00090 typedef ::srs_knowledge::UpdatePosInfoResponse_<std::allocator<void> > UpdatePosInfoResponse;
00091
00092 typedef boost::shared_ptr< ::srs_knowledge::UpdatePosInfoResponse> UpdatePosInfoResponsePtr;
00093 typedef boost::shared_ptr< ::srs_knowledge::UpdatePosInfoResponse const> UpdatePosInfoResponseConstPtr;
00094
00095 struct UpdatePosInfo
00096 {
00097
00098 typedef UpdatePosInfoRequest Request;
00099 typedef UpdatePosInfoResponse Response;
00100 Request request;
00101 Response response;
00102
00103 typedef Request RequestType;
00104 typedef Response ResponseType;
00105 };
00106 }
00107
00108 namespace ros
00109 {
00110 namespace message_traits
00111 {
00112 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> > : public TrueType {};
00113 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> const> : public TrueType {};
00114 template<class ContainerAllocator>
00115 struct MD5Sum< ::srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "c78c3aca32d4c1731c1e02b813f9a187";
00119 }
00120
00121 static const char* value(const ::srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> &) { return value(); }
00122 static const uint64_t static_value1 = 0xc78c3aca32d4c173ULL;
00123 static const uint64_t static_value2 = 0x1c1e02b813f9a187ULL;
00124 };
00125
00126 template<class ContainerAllocator>
00127 struct DataType< ::srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> > {
00128 static const char* value()
00129 {
00130 return "srs_knowledge/UpdatePosInfoRequest";
00131 }
00132
00133 static const char* value(const ::srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> &) { return value(); }
00134 };
00135
00136 template<class ContainerAllocator>
00137 struct Definition< ::srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> > {
00138 static const char* value()
00139 {
00140 return "\n\
00141 \n\
00142 string objectName\n\
00143 \n\
00144 \n\
00145 uint32 hhObjectID\n\
00146 \n\
00147 srs_msgs/SRSSpatialInfo spatialInfo\n\
00148 \n\
00149 \n\
00150 \n\
00151 \n\
00152 string objectURI\n\
00153 \n\
00154 \n\
00155 ================================================================================\n\
00156 MSG: srs_msgs/SRSSpatialInfo\n\
00157 # Point point\n\
00158 # Orientation angles\n\
00159 float32 l\n\
00160 float32 w\n\
00161 float32 h\n\
00162 \n\
00163 geometry_msgs/Pose pose\n\
00164 \n\
00165 ================================================================================\n\
00166 MSG: geometry_msgs/Pose\n\
00167 # A representation of pose in free space, composed of postion and orientation. \n\
00168 Point position\n\
00169 Quaternion orientation\n\
00170 \n\
00171 ================================================================================\n\
00172 MSG: geometry_msgs/Point\n\
00173 # This contains the position of a point in free space\n\
00174 float64 x\n\
00175 float64 y\n\
00176 float64 z\n\
00177 \n\
00178 ================================================================================\n\
00179 MSG: geometry_msgs/Quaternion\n\
00180 # This represents an orientation in free space in quaternion form.\n\
00181 \n\
00182 float64 x\n\
00183 float64 y\n\
00184 float64 z\n\
00185 float64 w\n\
00186 \n\
00187 ";
00188 }
00189
00190 static const char* value(const ::srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> &) { return value(); }
00191 };
00192
00193 }
00194 }
00195
00196
00197 namespace ros
00198 {
00199 namespace message_traits
00200 {
00201 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> > : public TrueType {};
00202 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> const> : public TrueType {};
00203 template<class ContainerAllocator>
00204 struct MD5Sum< ::srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> > {
00205 static const char* value()
00206 {
00207 return "358e233cde0c8a8bcfea4ce193f8fc15";
00208 }
00209
00210 static const char* value(const ::srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> &) { return value(); }
00211 static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
00212 static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
00213 };
00214
00215 template<class ContainerAllocator>
00216 struct DataType< ::srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> > {
00217 static const char* value()
00218 {
00219 return "srs_knowledge/UpdatePosInfoResponse";
00220 }
00221
00222 static const char* value(const ::srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> &) { return value(); }
00223 };
00224
00225 template<class ContainerAllocator>
00226 struct Definition< ::srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> > {
00227 static const char* value()
00228 {
00229 return "bool success\n\
00230 \n\
00231 ";
00232 }
00233
00234 static const char* value(const ::srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> &) { return value(); }
00235 };
00236
00237 template<class ContainerAllocator> struct IsFixedSize< ::srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> > : public TrueType {};
00238 }
00239 }
00240
00241 namespace ros
00242 {
00243 namespace serialization
00244 {
00245
00246 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> >
00247 {
00248 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00249 {
00250 stream.next(m.objectName);
00251 stream.next(m.hhObjectID);
00252 stream.next(m.spatialInfo);
00253 stream.next(m.objectURI);
00254 }
00255
00256 ROS_DECLARE_ALLINONE_SERIALIZER;
00257 };
00258 }
00259 }
00260
00261
00262 namespace ros
00263 {
00264 namespace serialization
00265 {
00266
00267 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> >
00268 {
00269 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00270 {
00271 stream.next(m.success);
00272 }
00273
00274 ROS_DECLARE_ALLINONE_SERIALIZER;
00275 };
00276 }
00277 }
00278
00279 namespace ros
00280 {
00281 namespace service_traits
00282 {
00283 template<>
00284 struct MD5Sum<srs_knowledge::UpdatePosInfo> {
00285 static const char* value()
00286 {
00287 return "870a2e0b3efb754b5f3e5f212cb3b217";
00288 }
00289
00290 static const char* value(const srs_knowledge::UpdatePosInfo&) { return value(); }
00291 };
00292
00293 template<>
00294 struct DataType<srs_knowledge::UpdatePosInfo> {
00295 static const char* value()
00296 {
00297 return "srs_knowledge/UpdatePosInfo";
00298 }
00299
00300 static const char* value(const srs_knowledge::UpdatePosInfo&) { return value(); }
00301 };
00302
00303 template<class ContainerAllocator>
00304 struct MD5Sum<srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> > {
00305 static const char* value()
00306 {
00307 return "870a2e0b3efb754b5f3e5f212cb3b217";
00308 }
00309
00310 static const char* value(const srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> &) { return value(); }
00311 };
00312
00313 template<class ContainerAllocator>
00314 struct DataType<srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> > {
00315 static const char* value()
00316 {
00317 return "srs_knowledge/UpdatePosInfo";
00318 }
00319
00320 static const char* value(const srs_knowledge::UpdatePosInfoRequest_<ContainerAllocator> &) { return value(); }
00321 };
00322
00323 template<class ContainerAllocator>
00324 struct MD5Sum<srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> > {
00325 static const char* value()
00326 {
00327 return "870a2e0b3efb754b5f3e5f212cb3b217";
00328 }
00329
00330 static const char* value(const srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> &) { return value(); }
00331 };
00332
00333 template<class ContainerAllocator>
00334 struct DataType<srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> > {
00335 static const char* value()
00336 {
00337 return "srs_knowledge/UpdatePosInfo";
00338 }
00339
00340 static const char* value(const srs_knowledge::UpdatePosInfoResponse_<ContainerAllocator> &) { return value(); }
00341 };
00342
00343 }
00344 }
00345
00346 #endif // SRS_KNOWLEDGE_SERVICE_UPDATEPOSINFO_H
00347