$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_public/doc_stacks/2013-03-05_12-22-34.333426/srs_public/srs_knowledge/srv/GetObjectsOnMap.srv */ 00002 #ifndef SRS_KNOWLEDGE_SERVICE_GETOBJECTSONMAP_H 00003 #define SRS_KNOWLEDGE_SERVICE_GETOBJECTSONMAP_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 #include "srs_msgs/SRSSpatialInfo.h" 00022 00023 namespace srs_knowledge 00024 { 00025 template <class ContainerAllocator> 00026 struct GetObjectsOnMapRequest_ { 00027 typedef GetObjectsOnMapRequest_<ContainerAllocator> Type; 00028 00029 GetObjectsOnMapRequest_() 00030 : map() 00031 , ifGeometryInfo(false) 00032 { 00033 } 00034 00035 GetObjectsOnMapRequest_(const ContainerAllocator& _alloc) 00036 : map(_alloc) 00037 , ifGeometryInfo(false) 00038 { 00039 } 00040 00041 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _map_type; 00042 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > map; 00043 00044 typedef uint8_t _ifGeometryInfo_type; 00045 uint8_t ifGeometryInfo; 00046 00047 00048 private: 00049 static const char* __s_getDataType_() { return "srs_knowledge/GetObjectsOnMapRequest"; } 00050 public: 00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00052 00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00054 00055 private: 00056 static const char* __s_getMD5Sum_() { return "a14354db805feb47c061b3cb1b443b04"; } 00057 public: 00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00059 00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00061 00062 private: 00063 static const char* __s_getServerMD5Sum_() { return "a442266aca457b72a33213aeb1dde87d"; } 00064 public: 00065 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00066 00067 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00068 00069 private: 00070 static const char* __s_getMessageDefinition_() { return "\n\ 00071 \n\ 00072 string map\n\ 00073 \n\ 00074 \n\ 00075 \n\ 00076 bool ifGeometryInfo\n\ 00077 \n\ 00078 \n\ 00079 "; } 00080 public: 00081 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00082 00083 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00084 00085 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00086 { 00087 ros::serialization::OStream stream(write_ptr, 1000000000); 00088 ros::serialization::serialize(stream, map); 00089 ros::serialization::serialize(stream, ifGeometryInfo); 00090 return stream.getData(); 00091 } 00092 00093 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00094 { 00095 ros::serialization::IStream stream(read_ptr, 1000000000); 00096 ros::serialization::deserialize(stream, map); 00097 ros::serialization::deserialize(stream, ifGeometryInfo); 00098 return stream.getData(); 00099 } 00100 00101 ROS_DEPRECATED virtual uint32_t serializationLength() const 00102 { 00103 uint32_t size = 0; 00104 size += ros::serialization::serializationLength(map); 00105 size += ros::serialization::serializationLength(ifGeometryInfo); 00106 return size; 00107 } 00108 00109 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> > Ptr; 00110 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> const> ConstPtr; 00111 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00112 }; // struct GetObjectsOnMapRequest 00113 typedef ::srs_knowledge::GetObjectsOnMapRequest_<std::allocator<void> > GetObjectsOnMapRequest; 00114 00115 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnMapRequest> GetObjectsOnMapRequestPtr; 00116 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnMapRequest const> GetObjectsOnMapRequestConstPtr; 00117 00118 00119 template <class ContainerAllocator> 00120 struct GetObjectsOnMapResponse_ { 00121 typedef GetObjectsOnMapResponse_<ContainerAllocator> Type; 00122 00123 GetObjectsOnMapResponse_() 00124 : objects() 00125 , classesOfObjects() 00126 , spatialRelation() 00127 , spatialRelatedObject() 00128 , houseHoldId() 00129 , objectsInfo() 00130 , readableNames() 00131 { 00132 } 00133 00134 GetObjectsOnMapResponse_(const ContainerAllocator& _alloc) 00135 : objects(_alloc) 00136 , classesOfObjects(_alloc) 00137 , spatialRelation(_alloc) 00138 , spatialRelatedObject(_alloc) 00139 , houseHoldId(_alloc) 00140 , objectsInfo(_alloc) 00141 , readableNames(_alloc) 00142 { 00143 } 00144 00145 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 > _objects_type; 00146 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 > objects; 00147 00148 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 > _classesOfObjects_type; 00149 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 > classesOfObjects; 00150 00151 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 > _spatialRelation_type; 00152 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 > spatialRelation; 00153 00154 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 > _spatialRelatedObject_type; 00155 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 > spatialRelatedObject; 00156 00157 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 > _houseHoldId_type; 00158 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 > houseHoldId; 00159 00160 typedef std::vector< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> >::other > _objectsInfo_type; 00161 std::vector< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> >::other > objectsInfo; 00162 00163 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 > _readableNames_type; 00164 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 > readableNames; 00165 00166 00167 ROS_DEPRECATED uint32_t get_objects_size() const { return (uint32_t)objects.size(); } 00168 ROS_DEPRECATED void set_objects_size(uint32_t size) { objects.resize((size_t)size); } 00169 ROS_DEPRECATED void get_objects_vec(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 > & vec) const { vec = this->objects; } 00170 ROS_DEPRECATED void set_objects_vec(const 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 > & vec) { this->objects = vec; } 00171 ROS_DEPRECATED uint32_t get_classesOfObjects_size() const { return (uint32_t)classesOfObjects.size(); } 00172 ROS_DEPRECATED void set_classesOfObjects_size(uint32_t size) { classesOfObjects.resize((size_t)size); } 00173 ROS_DEPRECATED void get_classesOfObjects_vec(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 > & vec) const { vec = this->classesOfObjects; } 00174 ROS_DEPRECATED void set_classesOfObjects_vec(const 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 > & vec) { this->classesOfObjects = vec; } 00175 ROS_DEPRECATED uint32_t get_spatialRelation_size() const { return (uint32_t)spatialRelation.size(); } 00176 ROS_DEPRECATED void set_spatialRelation_size(uint32_t size) { spatialRelation.resize((size_t)size); } 00177 ROS_DEPRECATED void get_spatialRelation_vec(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 > & vec) const { vec = this->spatialRelation; } 00178 ROS_DEPRECATED void set_spatialRelation_vec(const 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 > & vec) { this->spatialRelation = vec; } 00179 ROS_DEPRECATED uint32_t get_spatialRelatedObject_size() const { return (uint32_t)spatialRelatedObject.size(); } 00180 ROS_DEPRECATED void set_spatialRelatedObject_size(uint32_t size) { spatialRelatedObject.resize((size_t)size); } 00181 ROS_DEPRECATED void get_spatialRelatedObject_vec(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 > & vec) const { vec = this->spatialRelatedObject; } 00182 ROS_DEPRECATED void set_spatialRelatedObject_vec(const 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 > & vec) { this->spatialRelatedObject = vec; } 00183 ROS_DEPRECATED uint32_t get_houseHoldId_size() const { return (uint32_t)houseHoldId.size(); } 00184 ROS_DEPRECATED void set_houseHoldId_size(uint32_t size) { houseHoldId.resize((size_t)size); } 00185 ROS_DEPRECATED void get_houseHoldId_vec(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 > & vec) const { vec = this->houseHoldId; } 00186 ROS_DEPRECATED void set_houseHoldId_vec(const 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 > & vec) { this->houseHoldId = vec; } 00187 ROS_DEPRECATED uint32_t get_objectsInfo_size() const { return (uint32_t)objectsInfo.size(); } 00188 ROS_DEPRECATED void set_objectsInfo_size(uint32_t size) { objectsInfo.resize((size_t)size); } 00189 ROS_DEPRECATED void get_objectsInfo_vec(std::vector< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> >::other > & vec) const { vec = this->objectsInfo; } 00190 ROS_DEPRECATED void set_objectsInfo_vec(const std::vector< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> >::other > & vec) { this->objectsInfo = vec; } 00191 ROS_DEPRECATED uint32_t get_readableNames_size() const { return (uint32_t)readableNames.size(); } 00192 ROS_DEPRECATED void set_readableNames_size(uint32_t size) { readableNames.resize((size_t)size); } 00193 ROS_DEPRECATED void get_readableNames_vec(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 > & vec) const { vec = this->readableNames; } 00194 ROS_DEPRECATED void set_readableNames_vec(const 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 > & vec) { this->readableNames = vec; } 00195 private: 00196 static const char* __s_getDataType_() { return "srs_knowledge/GetObjectsOnMapResponse"; } 00197 public: 00198 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00199 00200 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00201 00202 private: 00203 static const char* __s_getMD5Sum_() { return "78feebc164a70a60a9550ad0470017c1"; } 00204 public: 00205 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00206 00207 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00208 00209 private: 00210 static const char* __s_getServerMD5Sum_() { return "a442266aca457b72a33213aeb1dde87d"; } 00211 public: 00212 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00213 00214 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00215 00216 private: 00217 static const char* __s_getMessageDefinition_() { return "\n\ 00218 string[] objects\n\ 00219 string[] classesOfObjects\n\ 00220 string[] spatialRelation\n\ 00221 string[] spatialRelatedObject\n\ 00222 string[] houseHoldId\n\ 00223 srs_msgs/SRSSpatialInfo[] objectsInfo\n\ 00224 string[] readableNames\n\ 00225 \n\ 00226 \n\ 00227 ================================================================================\n\ 00228 MSG: srs_msgs/SRSSpatialInfo\n\ 00229 # Point point\n\ 00230 # Orientation angles\n\ 00231 float32 l\n\ 00232 float32 w\n\ 00233 float32 h\n\ 00234 \n\ 00235 geometry_msgs/Pose pose\n\ 00236 \n\ 00237 ================================================================================\n\ 00238 MSG: geometry_msgs/Pose\n\ 00239 # A representation of pose in free space, composed of postion and orientation. \n\ 00240 Point position\n\ 00241 Quaternion orientation\n\ 00242 \n\ 00243 ================================================================================\n\ 00244 MSG: geometry_msgs/Point\n\ 00245 # This contains the position of a point in free space\n\ 00246 float64 x\n\ 00247 float64 y\n\ 00248 float64 z\n\ 00249 \n\ 00250 ================================================================================\n\ 00251 MSG: geometry_msgs/Quaternion\n\ 00252 # This represents an orientation in free space in quaternion form.\n\ 00253 \n\ 00254 float64 x\n\ 00255 float64 y\n\ 00256 float64 z\n\ 00257 float64 w\n\ 00258 \n\ 00259 "; } 00260 public: 00261 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00262 00263 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00264 00265 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00266 { 00267 ros::serialization::OStream stream(write_ptr, 1000000000); 00268 ros::serialization::serialize(stream, objects); 00269 ros::serialization::serialize(stream, classesOfObjects); 00270 ros::serialization::serialize(stream, spatialRelation); 00271 ros::serialization::serialize(stream, spatialRelatedObject); 00272 ros::serialization::serialize(stream, houseHoldId); 00273 ros::serialization::serialize(stream, objectsInfo); 00274 ros::serialization::serialize(stream, readableNames); 00275 return stream.getData(); 00276 } 00277 00278 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00279 { 00280 ros::serialization::IStream stream(read_ptr, 1000000000); 00281 ros::serialization::deserialize(stream, objects); 00282 ros::serialization::deserialize(stream, classesOfObjects); 00283 ros::serialization::deserialize(stream, spatialRelation); 00284 ros::serialization::deserialize(stream, spatialRelatedObject); 00285 ros::serialization::deserialize(stream, houseHoldId); 00286 ros::serialization::deserialize(stream, objectsInfo); 00287 ros::serialization::deserialize(stream, readableNames); 00288 return stream.getData(); 00289 } 00290 00291 ROS_DEPRECATED virtual uint32_t serializationLength() const 00292 { 00293 uint32_t size = 0; 00294 size += ros::serialization::serializationLength(objects); 00295 size += ros::serialization::serializationLength(classesOfObjects); 00296 size += ros::serialization::serializationLength(spatialRelation); 00297 size += ros::serialization::serializationLength(spatialRelatedObject); 00298 size += ros::serialization::serializationLength(houseHoldId); 00299 size += ros::serialization::serializationLength(objectsInfo); 00300 size += ros::serialization::serializationLength(readableNames); 00301 return size; 00302 } 00303 00304 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> > Ptr; 00305 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> const> ConstPtr; 00306 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00307 }; // struct GetObjectsOnMapResponse 00308 typedef ::srs_knowledge::GetObjectsOnMapResponse_<std::allocator<void> > GetObjectsOnMapResponse; 00309 00310 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnMapResponse> GetObjectsOnMapResponsePtr; 00311 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnMapResponse const> GetObjectsOnMapResponseConstPtr; 00312 00313 struct GetObjectsOnMap 00314 { 00315 00316 typedef GetObjectsOnMapRequest Request; 00317 typedef GetObjectsOnMapResponse Response; 00318 Request request; 00319 Response response; 00320 00321 typedef Request RequestType; 00322 typedef Response ResponseType; 00323 }; // struct GetObjectsOnMap 00324 } // namespace srs_knowledge 00325 00326 namespace ros 00327 { 00328 namespace message_traits 00329 { 00330 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> > : public TrueType {}; 00331 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> const> : public TrueType {}; 00332 template<class ContainerAllocator> 00333 struct MD5Sum< ::srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> > { 00334 static const char* value() 00335 { 00336 return "a14354db805feb47c061b3cb1b443b04"; 00337 } 00338 00339 static const char* value(const ::srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> &) { return value(); } 00340 static const uint64_t static_value1 = 0xa14354db805feb47ULL; 00341 static const uint64_t static_value2 = 0xc061b3cb1b443b04ULL; 00342 }; 00343 00344 template<class ContainerAllocator> 00345 struct DataType< ::srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> > { 00346 static const char* value() 00347 { 00348 return "srs_knowledge/GetObjectsOnMapRequest"; 00349 } 00350 00351 static const char* value(const ::srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> &) { return value(); } 00352 }; 00353 00354 template<class ContainerAllocator> 00355 struct Definition< ::srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> > { 00356 static const char* value() 00357 { 00358 return "\n\ 00359 \n\ 00360 string map\n\ 00361 \n\ 00362 \n\ 00363 \n\ 00364 bool ifGeometryInfo\n\ 00365 \n\ 00366 \n\ 00367 "; 00368 } 00369 00370 static const char* value(const ::srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> &) { return value(); } 00371 }; 00372 00373 } // namespace message_traits 00374 } // namespace ros 00375 00376 00377 namespace ros 00378 { 00379 namespace message_traits 00380 { 00381 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> > : public TrueType {}; 00382 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> const> : public TrueType {}; 00383 template<class ContainerAllocator> 00384 struct MD5Sum< ::srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> > { 00385 static const char* value() 00386 { 00387 return "78feebc164a70a60a9550ad0470017c1"; 00388 } 00389 00390 static const char* value(const ::srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> &) { return value(); } 00391 static const uint64_t static_value1 = 0x78feebc164a70a60ULL; 00392 static const uint64_t static_value2 = 0xa9550ad0470017c1ULL; 00393 }; 00394 00395 template<class ContainerAllocator> 00396 struct DataType< ::srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> > { 00397 static const char* value() 00398 { 00399 return "srs_knowledge/GetObjectsOnMapResponse"; 00400 } 00401 00402 static const char* value(const ::srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> &) { return value(); } 00403 }; 00404 00405 template<class ContainerAllocator> 00406 struct Definition< ::srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> > { 00407 static const char* value() 00408 { 00409 return "\n\ 00410 string[] objects\n\ 00411 string[] classesOfObjects\n\ 00412 string[] spatialRelation\n\ 00413 string[] spatialRelatedObject\n\ 00414 string[] houseHoldId\n\ 00415 srs_msgs/SRSSpatialInfo[] objectsInfo\n\ 00416 string[] readableNames\n\ 00417 \n\ 00418 \n\ 00419 ================================================================================\n\ 00420 MSG: srs_msgs/SRSSpatialInfo\n\ 00421 # Point point\n\ 00422 # Orientation angles\n\ 00423 float32 l\n\ 00424 float32 w\n\ 00425 float32 h\n\ 00426 \n\ 00427 geometry_msgs/Pose pose\n\ 00428 \n\ 00429 ================================================================================\n\ 00430 MSG: geometry_msgs/Pose\n\ 00431 # A representation of pose in free space, composed of postion and orientation. \n\ 00432 Point position\n\ 00433 Quaternion orientation\n\ 00434 \n\ 00435 ================================================================================\n\ 00436 MSG: geometry_msgs/Point\n\ 00437 # This contains the position of a point in free space\n\ 00438 float64 x\n\ 00439 float64 y\n\ 00440 float64 z\n\ 00441 \n\ 00442 ================================================================================\n\ 00443 MSG: geometry_msgs/Quaternion\n\ 00444 # This represents an orientation in free space in quaternion form.\n\ 00445 \n\ 00446 float64 x\n\ 00447 float64 y\n\ 00448 float64 z\n\ 00449 float64 w\n\ 00450 \n\ 00451 "; 00452 } 00453 00454 static const char* value(const ::srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> &) { return value(); } 00455 }; 00456 00457 } // namespace message_traits 00458 } // namespace ros 00459 00460 namespace ros 00461 { 00462 namespace serialization 00463 { 00464 00465 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> > 00466 { 00467 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00468 { 00469 stream.next(m.map); 00470 stream.next(m.ifGeometryInfo); 00471 } 00472 00473 ROS_DECLARE_ALLINONE_SERIALIZER; 00474 }; // struct GetObjectsOnMapRequest_ 00475 } // namespace serialization 00476 } // namespace ros 00477 00478 00479 namespace ros 00480 { 00481 namespace serialization 00482 { 00483 00484 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> > 00485 { 00486 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00487 { 00488 stream.next(m.objects); 00489 stream.next(m.classesOfObjects); 00490 stream.next(m.spatialRelation); 00491 stream.next(m.spatialRelatedObject); 00492 stream.next(m.houseHoldId); 00493 stream.next(m.objectsInfo); 00494 stream.next(m.readableNames); 00495 } 00496 00497 ROS_DECLARE_ALLINONE_SERIALIZER; 00498 }; // struct GetObjectsOnMapResponse_ 00499 } // namespace serialization 00500 } // namespace ros 00501 00502 namespace ros 00503 { 00504 namespace service_traits 00505 { 00506 template<> 00507 struct MD5Sum<srs_knowledge::GetObjectsOnMap> { 00508 static const char* value() 00509 { 00510 return "a442266aca457b72a33213aeb1dde87d"; 00511 } 00512 00513 static const char* value(const srs_knowledge::GetObjectsOnMap&) { return value(); } 00514 }; 00515 00516 template<> 00517 struct DataType<srs_knowledge::GetObjectsOnMap> { 00518 static const char* value() 00519 { 00520 return "srs_knowledge/GetObjectsOnMap"; 00521 } 00522 00523 static const char* value(const srs_knowledge::GetObjectsOnMap&) { return value(); } 00524 }; 00525 00526 template<class ContainerAllocator> 00527 struct MD5Sum<srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> > { 00528 static const char* value() 00529 { 00530 return "a442266aca457b72a33213aeb1dde87d"; 00531 } 00532 00533 static const char* value(const srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> &) { return value(); } 00534 }; 00535 00536 template<class ContainerAllocator> 00537 struct DataType<srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> > { 00538 static const char* value() 00539 { 00540 return "srs_knowledge/GetObjectsOnMap"; 00541 } 00542 00543 static const char* value(const srs_knowledge::GetObjectsOnMapRequest_<ContainerAllocator> &) { return value(); } 00544 }; 00545 00546 template<class ContainerAllocator> 00547 struct MD5Sum<srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> > { 00548 static const char* value() 00549 { 00550 return "a442266aca457b72a33213aeb1dde87d"; 00551 } 00552 00553 static const char* value(const srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> &) { return value(); } 00554 }; 00555 00556 template<class ContainerAllocator> 00557 struct DataType<srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> > { 00558 static const char* value() 00559 { 00560 return "srs_knowledge/GetObjectsOnMap"; 00561 } 00562 00563 static const char* value(const srs_knowledge::GetObjectsOnMapResponse_<ContainerAllocator> &) { return value(); } 00564 }; 00565 00566 } // namespace service_traits 00567 } // namespace ros 00568 00569 #endif // SRS_KNOWLEDGE_SERVICE_GETOBJECTSONMAP_H 00570