Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> > Ptr;
00038 typedef boost::shared_ptr< ::sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> const> ConstPtr;
00039 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00040 };
00041 typedef ::sharedmem_transport::SHMClearAllRequest_<std::allocator<void> > SHMClearAllRequest;
00042
00043 typedef boost::shared_ptr< ::sharedmem_transport::SHMClearAllRequest> SHMClearAllRequestPtr;
00044 typedef boost::shared_ptr< ::sharedmem_transport::SHMClearAllRequest const> SHMClearAllRequestConstPtr;
00045
00046
00047 template <class ContainerAllocator>
00048 struct SHMClearAllResponse_ {
00049 typedef SHMClearAllResponse_<ContainerAllocator> Type;
00050
00051 SHMClearAllResponse_()
00052 : result(0)
00053 {
00054 }
00055
00056 SHMClearAllResponse_(const ContainerAllocator& _alloc)
00057 : result(0)
00058 {
00059 }
00060
00061 typedef int32_t _result_type;
00062 int32_t result;
00063
00064
00065 typedef boost::shared_ptr< ::sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> > Ptr;
00066 typedef boost::shared_ptr< ::sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> const> ConstPtr;
00067 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00068 };
00069 typedef ::sharedmem_transport::SHMClearAllResponse_<std::allocator<void> > SHMClearAllResponse;
00070
00071 typedef boost::shared_ptr< ::sharedmem_transport::SHMClearAllResponse> SHMClearAllResponsePtr;
00072 typedef boost::shared_ptr< ::sharedmem_transport::SHMClearAllResponse const> SHMClearAllResponseConstPtr;
00073
00074 struct SHMClearAll
00075 {
00076
00077 typedef SHMClearAllRequest Request;
00078 typedef SHMClearAllResponse Response;
00079 Request request;
00080 Response response;
00081
00082 typedef Request RequestType;
00083 typedef Response ResponseType;
00084 };
00085 }
00086
00087 namespace ros
00088 {
00089 namespace message_traits
00090 {
00091 template<class ContainerAllocator> struct IsMessage< ::sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> > : public TrueType {};
00092 template<class ContainerAllocator> struct IsMessage< ::sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> const> : public TrueType {};
00093 template<class ContainerAllocator>
00094 struct MD5Sum< ::sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> > {
00095 static const char* value()
00096 {
00097 return "d41d8cd98f00b204e9800998ecf8427e";
00098 }
00099
00100 static const char* value(const ::sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> &) { return value(); }
00101 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00102 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00103 };
00104
00105 template<class ContainerAllocator>
00106 struct DataType< ::sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> > {
00107 static const char* value()
00108 {
00109 return "sharedmem_transport/SHMClearAllRequest";
00110 }
00111
00112 static const char* value(const ::sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> &) { return value(); }
00113 };
00114
00115 template<class ContainerAllocator>
00116 struct Definition< ::sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> > {
00117 static const char* value()
00118 {
00119 return "\n\
00120 ";
00121 }
00122
00123 static const char* value(const ::sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 template<class ContainerAllocator> struct IsFixedSize< ::sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> > : public TrueType {};
00127 }
00128 }
00129
00130
00131 namespace ros
00132 {
00133 namespace message_traits
00134 {
00135 template<class ContainerAllocator> struct IsMessage< ::sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> > : public TrueType {};
00136 template<class ContainerAllocator> struct IsMessage< ::sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> const> : public TrueType {};
00137 template<class ContainerAllocator>
00138 struct MD5Sum< ::sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> > {
00139 static const char* value()
00140 {
00141 return "034a8e20d6a306665e3a5b340fab3f09";
00142 }
00143
00144 static const char* value(const ::sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> &) { return value(); }
00145 static const uint64_t static_value1 = 0x034a8e20d6a30666ULL;
00146 static const uint64_t static_value2 = 0x5e3a5b340fab3f09ULL;
00147 };
00148
00149 template<class ContainerAllocator>
00150 struct DataType< ::sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> > {
00151 static const char* value()
00152 {
00153 return "sharedmem_transport/SHMClearAllResponse";
00154 }
00155
00156 static const char* value(const ::sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> &) { return value(); }
00157 };
00158
00159 template<class ContainerAllocator>
00160 struct Definition< ::sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> > {
00161 static const char* value()
00162 {
00163 return "int32 result\n\
00164 \n\
00165 \n\
00166 \n\
00167 ";
00168 }
00169
00170 static const char* value(const ::sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> &) { return value(); }
00171 };
00172
00173 template<class ContainerAllocator> struct IsFixedSize< ::sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> > : public TrueType {};
00174 }
00175 }
00176
00177 namespace ros
00178 {
00179 namespace serialization
00180 {
00181
00182 template<class ContainerAllocator> struct Serializer< ::sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> >
00183 {
00184 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00185 {
00186 }
00187
00188 ROS_DECLARE_ALLINONE_SERIALIZER;
00189 };
00190 }
00191 }
00192
00193
00194 namespace ros
00195 {
00196 namespace serialization
00197 {
00198
00199 template<class ContainerAllocator> struct Serializer< ::sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> >
00200 {
00201 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00202 {
00203 stream.next(m.result);
00204 }
00205
00206 ROS_DECLARE_ALLINONE_SERIALIZER;
00207 };
00208 }
00209 }
00210
00211 namespace ros
00212 {
00213 namespace service_traits
00214 {
00215 template<>
00216 struct MD5Sum<sharedmem_transport::SHMClearAll> {
00217 static const char* value()
00218 {
00219 return "034a8e20d6a306665e3a5b340fab3f09";
00220 }
00221
00222 static const char* value(const sharedmem_transport::SHMClearAll&) { return value(); }
00223 };
00224
00225 template<>
00226 struct DataType<sharedmem_transport::SHMClearAll> {
00227 static const char* value()
00228 {
00229 return "sharedmem_transport/SHMClearAll";
00230 }
00231
00232 static const char* value(const sharedmem_transport::SHMClearAll&) { return value(); }
00233 };
00234
00235 template<class ContainerAllocator>
00236 struct MD5Sum<sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> > {
00237 static const char* value()
00238 {
00239 return "034a8e20d6a306665e3a5b340fab3f09";
00240 }
00241
00242 static const char* value(const sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> &) { return value(); }
00243 };
00244
00245 template<class ContainerAllocator>
00246 struct DataType<sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> > {
00247 static const char* value()
00248 {
00249 return "sharedmem_transport/SHMClearAll";
00250 }
00251
00252 static const char* value(const sharedmem_transport::SHMClearAllRequest_<ContainerAllocator> &) { return value(); }
00253 };
00254
00255 template<class ContainerAllocator>
00256 struct MD5Sum<sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> > {
00257 static const char* value()
00258 {
00259 return "034a8e20d6a306665e3a5b340fab3f09";
00260 }
00261
00262 static const char* value(const sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> &) { return value(); }
00263 };
00264
00265 template<class ContainerAllocator>
00266 struct DataType<sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> > {
00267 static const char* value()
00268 {
00269 return "sharedmem_transport/SHMClearAll";
00270 }
00271
00272 static const char* value(const sharedmem_transport::SHMClearAllResponse_<ContainerAllocator> &) { return value(); }
00273 };
00274
00275 }
00276 }
00277
00278 #endif // SHAREDMEM_TRANSPORT_SERVICE_SHMCLEARALL_H
00279