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