$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/DeleteInstance.srv */ 00002 #ifndef SRS_KNOWLEDGE_SERVICE_DELETEINSTANCE_H 00003 #define SRS_KNOWLEDGE_SERVICE_DELETEINSTANCE_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 srs_knowledge 00023 { 00024 template <class ContainerAllocator> 00025 struct DeleteInstanceRequest_ { 00026 typedef DeleteInstanceRequest_<ContainerAllocator> Type; 00027 00028 DeleteInstanceRequest_() 00029 : objectName() 00030 , objectURI() 00031 { 00032 } 00033 00034 DeleteInstanceRequest_(const ContainerAllocator& _alloc) 00035 : objectName(_alloc) 00036 , objectURI(_alloc) 00037 { 00038 } 00039 00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _objectName_type; 00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > objectName; 00042 00043 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _objectURI_type; 00044 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > objectURI; 00045 00046 00047 private: 00048 static const char* __s_getDataType_() { return "srs_knowledge/DeleteInstanceRequest"; } 00049 public: 00050 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00051 00052 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00053 00054 private: 00055 static const char* __s_getMD5Sum_() { return "1d7237ee3f8d10f8f3c96eb6ed754337"; } 00056 public: 00057 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00058 00059 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00060 00061 private: 00062 static const char* __s_getServerMD5Sum_() { return "edc16b01e8c422febca8c0e47605a94c"; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00065 00066 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00067 00068 private: 00069 static const char* __s_getMessageDefinition_() { return "\n\ 00070 string objectName\n\ 00071 \n\ 00072 \n\ 00073 string objectURI\n\ 00074 \n\ 00075 \n\ 00076 "; } 00077 public: 00078 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00079 00080 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00081 00082 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00083 { 00084 ros::serialization::OStream stream(write_ptr, 1000000000); 00085 ros::serialization::serialize(stream, objectName); 00086 ros::serialization::serialize(stream, objectURI); 00087 return stream.getData(); 00088 } 00089 00090 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00091 { 00092 ros::serialization::IStream stream(read_ptr, 1000000000); 00093 ros::serialization::deserialize(stream, objectName); 00094 ros::serialization::deserialize(stream, objectURI); 00095 return stream.getData(); 00096 } 00097 00098 ROS_DEPRECATED virtual uint32_t serializationLength() const 00099 { 00100 uint32_t size = 0; 00101 size += ros::serialization::serializationLength(objectName); 00102 size += ros::serialization::serializationLength(objectURI); 00103 return size; 00104 } 00105 00106 typedef boost::shared_ptr< ::srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> > Ptr; 00107 typedef boost::shared_ptr< ::srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> const> ConstPtr; 00108 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00109 }; // struct DeleteInstanceRequest 00110 typedef ::srs_knowledge::DeleteInstanceRequest_<std::allocator<void> > DeleteInstanceRequest; 00111 00112 typedef boost::shared_ptr< ::srs_knowledge::DeleteInstanceRequest> DeleteInstanceRequestPtr; 00113 typedef boost::shared_ptr< ::srs_knowledge::DeleteInstanceRequest const> DeleteInstanceRequestConstPtr; 00114 00115 00116 template <class ContainerAllocator> 00117 struct DeleteInstanceResponse_ { 00118 typedef DeleteInstanceResponse_<ContainerAllocator> Type; 00119 00120 DeleteInstanceResponse_() 00121 : status(0) 00122 { 00123 } 00124 00125 DeleteInstanceResponse_(const ContainerAllocator& _alloc) 00126 : status(0) 00127 { 00128 } 00129 00130 typedef int32_t _status_type; 00131 int32_t status; 00132 00133 00134 private: 00135 static const char* __s_getDataType_() { return "srs_knowledge/DeleteInstanceResponse"; } 00136 public: 00137 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00138 00139 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00140 00141 private: 00142 static const char* __s_getMD5Sum_() { return "86791dcf1de997ec7de5a0de7e4dcfcc"; } 00143 public: 00144 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00145 00146 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00147 00148 private: 00149 static const char* __s_getServerMD5Sum_() { return "edc16b01e8c422febca8c0e47605a94c"; } 00150 public: 00151 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00152 00153 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00154 00155 private: 00156 static const char* __s_getMessageDefinition_() { return "\n\ 00157 \n\ 00158 \n\ 00159 \n\ 00160 int32 status\n\ 00161 \n\ 00162 "; } 00163 public: 00164 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00165 00166 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00167 00168 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00169 { 00170 ros::serialization::OStream stream(write_ptr, 1000000000); 00171 ros::serialization::serialize(stream, status); 00172 return stream.getData(); 00173 } 00174 00175 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00176 { 00177 ros::serialization::IStream stream(read_ptr, 1000000000); 00178 ros::serialization::deserialize(stream, status); 00179 return stream.getData(); 00180 } 00181 00182 ROS_DEPRECATED virtual uint32_t serializationLength() const 00183 { 00184 uint32_t size = 0; 00185 size += ros::serialization::serializationLength(status); 00186 return size; 00187 } 00188 00189 typedef boost::shared_ptr< ::srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> > Ptr; 00190 typedef boost::shared_ptr< ::srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> const> ConstPtr; 00191 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00192 }; // struct DeleteInstanceResponse 00193 typedef ::srs_knowledge::DeleteInstanceResponse_<std::allocator<void> > DeleteInstanceResponse; 00194 00195 typedef boost::shared_ptr< ::srs_knowledge::DeleteInstanceResponse> DeleteInstanceResponsePtr; 00196 typedef boost::shared_ptr< ::srs_knowledge::DeleteInstanceResponse const> DeleteInstanceResponseConstPtr; 00197 00198 struct DeleteInstance 00199 { 00200 00201 typedef DeleteInstanceRequest Request; 00202 typedef DeleteInstanceResponse Response; 00203 Request request; 00204 Response response; 00205 00206 typedef Request RequestType; 00207 typedef Response ResponseType; 00208 }; // struct DeleteInstance 00209 } // namespace srs_knowledge 00210 00211 namespace ros 00212 { 00213 namespace message_traits 00214 { 00215 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> > : public TrueType {}; 00216 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> const> : public TrueType {}; 00217 template<class ContainerAllocator> 00218 struct MD5Sum< ::srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> > { 00219 static const char* value() 00220 { 00221 return "1d7237ee3f8d10f8f3c96eb6ed754337"; 00222 } 00223 00224 static const char* value(const ::srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> &) { return value(); } 00225 static const uint64_t static_value1 = 0x1d7237ee3f8d10f8ULL; 00226 static const uint64_t static_value2 = 0xf3c96eb6ed754337ULL; 00227 }; 00228 00229 template<class ContainerAllocator> 00230 struct DataType< ::srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> > { 00231 static const char* value() 00232 { 00233 return "srs_knowledge/DeleteInstanceRequest"; 00234 } 00235 00236 static const char* value(const ::srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> &) { return value(); } 00237 }; 00238 00239 template<class ContainerAllocator> 00240 struct Definition< ::srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> > { 00241 static const char* value() 00242 { 00243 return "\n\ 00244 string objectName\n\ 00245 \n\ 00246 \n\ 00247 string objectURI\n\ 00248 \n\ 00249 \n\ 00250 "; 00251 } 00252 00253 static const char* value(const ::srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> &) { return value(); } 00254 }; 00255 00256 } // namespace message_traits 00257 } // namespace ros 00258 00259 00260 namespace ros 00261 { 00262 namespace message_traits 00263 { 00264 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> > : public TrueType {}; 00265 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> const> : public TrueType {}; 00266 template<class ContainerAllocator> 00267 struct MD5Sum< ::srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> > { 00268 static const char* value() 00269 { 00270 return "86791dcf1de997ec7de5a0de7e4dcfcc"; 00271 } 00272 00273 static const char* value(const ::srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> &) { return value(); } 00274 static const uint64_t static_value1 = 0x86791dcf1de997ecULL; 00275 static const uint64_t static_value2 = 0x7de5a0de7e4dcfccULL; 00276 }; 00277 00278 template<class ContainerAllocator> 00279 struct DataType< ::srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> > { 00280 static const char* value() 00281 { 00282 return "srs_knowledge/DeleteInstanceResponse"; 00283 } 00284 00285 static const char* value(const ::srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> &) { return value(); } 00286 }; 00287 00288 template<class ContainerAllocator> 00289 struct Definition< ::srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> > { 00290 static const char* value() 00291 { 00292 return "\n\ 00293 \n\ 00294 \n\ 00295 \n\ 00296 int32 status\n\ 00297 \n\ 00298 "; 00299 } 00300 00301 static const char* value(const ::srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> &) { return value(); } 00302 }; 00303 00304 template<class ContainerAllocator> struct IsFixedSize< ::srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> > : public TrueType {}; 00305 } // namespace message_traits 00306 } // namespace ros 00307 00308 namespace ros 00309 { 00310 namespace serialization 00311 { 00312 00313 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> > 00314 { 00315 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00316 { 00317 stream.next(m.objectName); 00318 stream.next(m.objectURI); 00319 } 00320 00321 ROS_DECLARE_ALLINONE_SERIALIZER; 00322 }; // struct DeleteInstanceRequest_ 00323 } // namespace serialization 00324 } // namespace ros 00325 00326 00327 namespace ros 00328 { 00329 namespace serialization 00330 { 00331 00332 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> > 00333 { 00334 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00335 { 00336 stream.next(m.status); 00337 } 00338 00339 ROS_DECLARE_ALLINONE_SERIALIZER; 00340 }; // struct DeleteInstanceResponse_ 00341 } // namespace serialization 00342 } // namespace ros 00343 00344 namespace ros 00345 { 00346 namespace service_traits 00347 { 00348 template<> 00349 struct MD5Sum<srs_knowledge::DeleteInstance> { 00350 static const char* value() 00351 { 00352 return "edc16b01e8c422febca8c0e47605a94c"; 00353 } 00354 00355 static const char* value(const srs_knowledge::DeleteInstance&) { return value(); } 00356 }; 00357 00358 template<> 00359 struct DataType<srs_knowledge::DeleteInstance> { 00360 static const char* value() 00361 { 00362 return "srs_knowledge/DeleteInstance"; 00363 } 00364 00365 static const char* value(const srs_knowledge::DeleteInstance&) { return value(); } 00366 }; 00367 00368 template<class ContainerAllocator> 00369 struct MD5Sum<srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> > { 00370 static const char* value() 00371 { 00372 return "edc16b01e8c422febca8c0e47605a94c"; 00373 } 00374 00375 static const char* value(const srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> &) { return value(); } 00376 }; 00377 00378 template<class ContainerAllocator> 00379 struct DataType<srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> > { 00380 static const char* value() 00381 { 00382 return "srs_knowledge/DeleteInstance"; 00383 } 00384 00385 static const char* value(const srs_knowledge::DeleteInstanceRequest_<ContainerAllocator> &) { return value(); } 00386 }; 00387 00388 template<class ContainerAllocator> 00389 struct MD5Sum<srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> > { 00390 static const char* value() 00391 { 00392 return "edc16b01e8c422febca8c0e47605a94c"; 00393 } 00394 00395 static const char* value(const srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> &) { return value(); } 00396 }; 00397 00398 template<class ContainerAllocator> 00399 struct DataType<srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> > { 00400 static const char* value() 00401 { 00402 return "srs_knowledge/DeleteInstance"; 00403 } 00404 00405 static const char* value(const srs_knowledge::DeleteInstanceResponse_<ContainerAllocator> &) { return value(); } 00406 }; 00407 00408 } // namespace service_traits 00409 } // namespace ros 00410 00411 #endif // SRS_KNOWLEDGE_SERVICE_DELETEINSTANCE_H 00412