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