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