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