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