$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/SHMReleaseMemory.srv */ 00002 #ifndef SHAREDMEM_TRANSPORT_SERVICE_SHMRELEASEMEMORY_H 00003 #define SHAREDMEM_TRANSPORT_SERVICE_SHMRELEASEMEMORY_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 SHMReleaseMemoryRequest_ { 00026 typedef SHMReleaseMemoryRequest_<ContainerAllocator> Type; 00027 00028 SHMReleaseMemoryRequest_() 00029 : topic() 00030 { 00031 } 00032 00033 SHMReleaseMemoryRequest_(const ContainerAllocator& _alloc) 00034 : topic(_alloc) 00035 { 00036 } 00037 00038 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _topic_type; 00039 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > topic; 00040 00041 00042 private: 00043 static const char* __s_getDataType_() { return "sharedmem_transport/SHMReleaseMemoryRequest"; } 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 "d8f94bae31b356b24d0427f80426d0c3"; } 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 "9014a4b52c1ba99c200758d58f7a1006"; } 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 "string topic\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, topic); 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, topic); 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(topic); 00090 return size; 00091 } 00092 00093 typedef boost::shared_ptr< ::sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> > Ptr; 00094 typedef boost::shared_ptr< ::sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> const> ConstPtr; 00095 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00096 }; // struct SHMReleaseMemoryRequest 00097 typedef ::sharedmem_transport::SHMReleaseMemoryRequest_<std::allocator<void> > SHMReleaseMemoryRequest; 00098 00099 typedef boost::shared_ptr< ::sharedmem_transport::SHMReleaseMemoryRequest> SHMReleaseMemoryRequestPtr; 00100 typedef boost::shared_ptr< ::sharedmem_transport::SHMReleaseMemoryRequest const> SHMReleaseMemoryRequestConstPtr; 00101 00102 00103 template <class ContainerAllocator> 00104 struct SHMReleaseMemoryResponse_ { 00105 typedef SHMReleaseMemoryResponse_<ContainerAllocator> Type; 00106 00107 SHMReleaseMemoryResponse_() 00108 : result(0) 00109 { 00110 } 00111 00112 SHMReleaseMemoryResponse_(const ContainerAllocator& _alloc) 00113 : result(0) 00114 { 00115 } 00116 00117 typedef int32_t _result_type; 00118 int32_t result; 00119 00120 00121 private: 00122 static const char* __s_getDataType_() { return "sharedmem_transport/SHMReleaseMemoryResponse"; } 00123 public: 00124 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00125 00126 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00127 00128 private: 00129 static const char* __s_getMD5Sum_() { return "034a8e20d6a306665e3a5b340fab3f09"; } 00130 public: 00131 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00132 00133 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00134 00135 private: 00136 static const char* __s_getServerMD5Sum_() { return "9014a4b52c1ba99c200758d58f7a1006"; } 00137 public: 00138 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00139 00140 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00141 00142 private: 00143 static const char* __s_getMessageDefinition_() { return "int32 result\n\ 00144 \n\ 00145 \n\ 00146 \n\ 00147 "; } 00148 public: 00149 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00150 00151 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00152 00153 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00154 { 00155 ros::serialization::OStream stream(write_ptr, 1000000000); 00156 ros::serialization::serialize(stream, result); 00157 return stream.getData(); 00158 } 00159 00160 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00161 { 00162 ros::serialization::IStream stream(read_ptr, 1000000000); 00163 ros::serialization::deserialize(stream, result); 00164 return stream.getData(); 00165 } 00166 00167 ROS_DEPRECATED virtual uint32_t serializationLength() const 00168 { 00169 uint32_t size = 0; 00170 size += ros::serialization::serializationLength(result); 00171 return size; 00172 } 00173 00174 typedef boost::shared_ptr< ::sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> > Ptr; 00175 typedef boost::shared_ptr< ::sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> const> ConstPtr; 00176 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00177 }; // struct SHMReleaseMemoryResponse 00178 typedef ::sharedmem_transport::SHMReleaseMemoryResponse_<std::allocator<void> > SHMReleaseMemoryResponse; 00179 00180 typedef boost::shared_ptr< ::sharedmem_transport::SHMReleaseMemoryResponse> SHMReleaseMemoryResponsePtr; 00181 typedef boost::shared_ptr< ::sharedmem_transport::SHMReleaseMemoryResponse const> SHMReleaseMemoryResponseConstPtr; 00182 00183 struct SHMReleaseMemory 00184 { 00185 00186 typedef SHMReleaseMemoryRequest Request; 00187 typedef SHMReleaseMemoryResponse Response; 00188 Request request; 00189 Response response; 00190 00191 typedef Request RequestType; 00192 typedef Response ResponseType; 00193 }; // struct SHMReleaseMemory 00194 } // namespace sharedmem_transport 00195 00196 namespace ros 00197 { 00198 namespace message_traits 00199 { 00200 template<class ContainerAllocator> struct IsMessage< ::sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> > : public TrueType {}; 00201 template<class ContainerAllocator> struct IsMessage< ::sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> const> : public TrueType {}; 00202 template<class ContainerAllocator> 00203 struct MD5Sum< ::sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> > { 00204 static const char* value() 00205 { 00206 return "d8f94bae31b356b24d0427f80426d0c3"; 00207 } 00208 00209 static const char* value(const ::sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> &) { return value(); } 00210 static const uint64_t static_value1 = 0xd8f94bae31b356b2ULL; 00211 static const uint64_t static_value2 = 0x4d0427f80426d0c3ULL; 00212 }; 00213 00214 template<class ContainerAllocator> 00215 struct DataType< ::sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> > { 00216 static const char* value() 00217 { 00218 return "sharedmem_transport/SHMReleaseMemoryRequest"; 00219 } 00220 00221 static const char* value(const ::sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> &) { return value(); } 00222 }; 00223 00224 template<class ContainerAllocator> 00225 struct Definition< ::sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> > { 00226 static const char* value() 00227 { 00228 return "string topic\n\ 00229 \n\ 00230 "; 00231 } 00232 00233 static const char* value(const ::sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> &) { return value(); } 00234 }; 00235 00236 } // namespace message_traits 00237 } // namespace ros 00238 00239 00240 namespace ros 00241 { 00242 namespace message_traits 00243 { 00244 template<class ContainerAllocator> struct IsMessage< ::sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> > : public TrueType {}; 00245 template<class ContainerAllocator> struct IsMessage< ::sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> const> : public TrueType {}; 00246 template<class ContainerAllocator> 00247 struct MD5Sum< ::sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> > { 00248 static const char* value() 00249 { 00250 return "034a8e20d6a306665e3a5b340fab3f09"; 00251 } 00252 00253 static const char* value(const ::sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> &) { return value(); } 00254 static const uint64_t static_value1 = 0x034a8e20d6a30666ULL; 00255 static const uint64_t static_value2 = 0x5e3a5b340fab3f09ULL; 00256 }; 00257 00258 template<class ContainerAllocator> 00259 struct DataType< ::sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> > { 00260 static const char* value() 00261 { 00262 return "sharedmem_transport/SHMReleaseMemoryResponse"; 00263 } 00264 00265 static const char* value(const ::sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> &) { return value(); } 00266 }; 00267 00268 template<class ContainerAllocator> 00269 struct Definition< ::sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> > { 00270 static const char* value() 00271 { 00272 return "int32 result\n\ 00273 \n\ 00274 \n\ 00275 \n\ 00276 "; 00277 } 00278 00279 static const char* value(const ::sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> &) { return value(); } 00280 }; 00281 00282 template<class ContainerAllocator> struct IsFixedSize< ::sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> > : public TrueType {}; 00283 } // namespace message_traits 00284 } // namespace ros 00285 00286 namespace ros 00287 { 00288 namespace serialization 00289 { 00290 00291 template<class ContainerAllocator> struct Serializer< ::sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> > 00292 { 00293 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00294 { 00295 stream.next(m.topic); 00296 } 00297 00298 ROS_DECLARE_ALLINONE_SERIALIZER; 00299 }; // struct SHMReleaseMemoryRequest_ 00300 } // namespace serialization 00301 } // namespace ros 00302 00303 00304 namespace ros 00305 { 00306 namespace serialization 00307 { 00308 00309 template<class ContainerAllocator> struct Serializer< ::sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> > 00310 { 00311 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00312 { 00313 stream.next(m.result); 00314 } 00315 00316 ROS_DECLARE_ALLINONE_SERIALIZER; 00317 }; // struct SHMReleaseMemoryResponse_ 00318 } // namespace serialization 00319 } // namespace ros 00320 00321 namespace ros 00322 { 00323 namespace service_traits 00324 { 00325 template<> 00326 struct MD5Sum<sharedmem_transport::SHMReleaseMemory> { 00327 static const char* value() 00328 { 00329 return "9014a4b52c1ba99c200758d58f7a1006"; 00330 } 00331 00332 static const char* value(const sharedmem_transport::SHMReleaseMemory&) { return value(); } 00333 }; 00334 00335 template<> 00336 struct DataType<sharedmem_transport::SHMReleaseMemory> { 00337 static const char* value() 00338 { 00339 return "sharedmem_transport/SHMReleaseMemory"; 00340 } 00341 00342 static const char* value(const sharedmem_transport::SHMReleaseMemory&) { return value(); } 00343 }; 00344 00345 template<class ContainerAllocator> 00346 struct MD5Sum<sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> > { 00347 static const char* value() 00348 { 00349 return "9014a4b52c1ba99c200758d58f7a1006"; 00350 } 00351 00352 static const char* value(const sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> &) { return value(); } 00353 }; 00354 00355 template<class ContainerAllocator> 00356 struct DataType<sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> > { 00357 static const char* value() 00358 { 00359 return "sharedmem_transport/SHMReleaseMemory"; 00360 } 00361 00362 static const char* value(const sharedmem_transport::SHMReleaseMemoryRequest_<ContainerAllocator> &) { return value(); } 00363 }; 00364 00365 template<class ContainerAllocator> 00366 struct MD5Sum<sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> > { 00367 static const char* value() 00368 { 00369 return "9014a4b52c1ba99c200758d58f7a1006"; 00370 } 00371 00372 static const char* value(const sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> &) { return value(); } 00373 }; 00374 00375 template<class ContainerAllocator> 00376 struct DataType<sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> > { 00377 static const char* value() 00378 { 00379 return "sharedmem_transport/SHMReleaseMemory"; 00380 } 00381 00382 static const char* value(const sharedmem_transport::SHMReleaseMemoryResponse_<ContainerAllocator> &) { return value(); } 00383 }; 00384 00385 } // namespace service_traits 00386 } // namespace ros 00387 00388 #endif // SHAREDMEM_TRANSPORT_SERVICE_SHMRELEASEMEMORY_H 00389