00001
00002 #ifndef PLANNING_ENVIRONMENT_MSGS_SERVICE_GETALLOWEDCOLLISIONMATRIX_H
00003 #define PLANNING_ENVIRONMENT_MSGS_SERVICE_GETALLOWEDCOLLISIONMATRIX_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 #include "planning_environment_msgs/AllowedCollisionMatrix.h"
00018
00019 namespace planning_environment_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct GetAllowedCollisionMatrixRequest_ : public ros::Message
00023 {
00024 typedef GetAllowedCollisionMatrixRequest_<ContainerAllocator> Type;
00025
00026 GetAllowedCollisionMatrixRequest_()
00027 {
00028 }
00029
00030 GetAllowedCollisionMatrixRequest_(const ContainerAllocator& _alloc)
00031 {
00032 }
00033
00034
00035 private:
00036 static const char* __s_getDataType_() { return "planning_environment_msgs/GetAllowedCollisionMatrixRequest"; }
00037 public:
00038 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00039
00040 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00041
00042 private:
00043 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00044 public:
00045 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00046
00047 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00048
00049 private:
00050 static const char* __s_getServerMD5Sum_() { return "1f99ed5f743c8937d1578d6a9d9f8fda"; }
00051 public:
00052 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00053
00054 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00055
00056 private:
00057 static const char* __s_getMessageDefinition_() { return "\n\
00058 "; }
00059 public:
00060 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00061
00062 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00063
00064 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00065 {
00066 ros::serialization::OStream stream(write_ptr, 1000000000);
00067 return stream.getData();
00068 }
00069
00070 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00071 {
00072 ros::serialization::IStream stream(read_ptr, 1000000000);
00073 return stream.getData();
00074 }
00075
00076 ROS_DEPRECATED virtual uint32_t serializationLength() const
00077 {
00078 uint32_t size = 0;
00079 return size;
00080 }
00081
00082 typedef boost::shared_ptr< ::planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> > Ptr;
00083 typedef boost::shared_ptr< ::planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> const> ConstPtr;
00084 };
00085 typedef ::planning_environment_msgs::GetAllowedCollisionMatrixRequest_<std::allocator<void> > GetAllowedCollisionMatrixRequest;
00086
00087 typedef boost::shared_ptr< ::planning_environment_msgs::GetAllowedCollisionMatrixRequest> GetAllowedCollisionMatrixRequestPtr;
00088 typedef boost::shared_ptr< ::planning_environment_msgs::GetAllowedCollisionMatrixRequest const> GetAllowedCollisionMatrixRequestConstPtr;
00089
00090
00091 template <class ContainerAllocator>
00092 struct GetAllowedCollisionMatrixResponse_ : public ros::Message
00093 {
00094 typedef GetAllowedCollisionMatrixResponse_<ContainerAllocator> Type;
00095
00096 GetAllowedCollisionMatrixResponse_()
00097 : matrix()
00098 {
00099 }
00100
00101 GetAllowedCollisionMatrixResponse_(const ContainerAllocator& _alloc)
00102 : matrix(_alloc)
00103 {
00104 }
00105
00106 typedef ::planning_environment_msgs::AllowedCollisionMatrix_<ContainerAllocator> _matrix_type;
00107 ::planning_environment_msgs::AllowedCollisionMatrix_<ContainerAllocator> matrix;
00108
00109
00110 private:
00111 static const char* __s_getDataType_() { return "planning_environment_msgs/GetAllowedCollisionMatrixResponse"; }
00112 public:
00113 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00114
00115 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00116
00117 private:
00118 static const char* __s_getMD5Sum_() { return "1f99ed5f743c8937d1578d6a9d9f8fda"; }
00119 public:
00120 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00121
00122 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00123
00124 private:
00125 static const char* __s_getServerMD5Sum_() { return "1f99ed5f743c8937d1578d6a9d9f8fda"; }
00126 public:
00127 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00128
00129 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00130
00131 private:
00132 static const char* __s_getMessageDefinition_() { return "\n\
00133 AllowedCollisionMatrix matrix\n\
00134 \n\
00135 \n\
00136 \n\
00137 ================================================================================\n\
00138 MSG: planning_environment_msgs/AllowedCollisionMatrix\n\
00139 # the list of link names in the matrix\n\
00140 string[] link_names\n\
00141 \n\
00142 # the individual entries in the allowed collision matrix\n\
00143 # symmetric, with same order as link_names\n\
00144 AllowedCollisionEntry[] entries\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: planning_environment_msgs/AllowedCollisionEntry\n\
00148 # whether or not collision checking is enabled\n\
00149 bool[] enabled\n\
00150 \n\
00151 "; }
00152 public:
00153 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00154
00155 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00156
00157 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00158 {
00159 ros::serialization::OStream stream(write_ptr, 1000000000);
00160 ros::serialization::serialize(stream, matrix);
00161 return stream.getData();
00162 }
00163
00164 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00165 {
00166 ros::serialization::IStream stream(read_ptr, 1000000000);
00167 ros::serialization::deserialize(stream, matrix);
00168 return stream.getData();
00169 }
00170
00171 ROS_DEPRECATED virtual uint32_t serializationLength() const
00172 {
00173 uint32_t size = 0;
00174 size += ros::serialization::serializationLength(matrix);
00175 return size;
00176 }
00177
00178 typedef boost::shared_ptr< ::planning_environment_msgs::GetAllowedCollisionMatrixResponse_<ContainerAllocator> > Ptr;
00179 typedef boost::shared_ptr< ::planning_environment_msgs::GetAllowedCollisionMatrixResponse_<ContainerAllocator> const> ConstPtr;
00180 };
00181 typedef ::planning_environment_msgs::GetAllowedCollisionMatrixResponse_<std::allocator<void> > GetAllowedCollisionMatrixResponse;
00182
00183 typedef boost::shared_ptr< ::planning_environment_msgs::GetAllowedCollisionMatrixResponse> GetAllowedCollisionMatrixResponsePtr;
00184 typedef boost::shared_ptr< ::planning_environment_msgs::GetAllowedCollisionMatrixResponse const> GetAllowedCollisionMatrixResponseConstPtr;
00185
00186 struct GetAllowedCollisionMatrix
00187 {
00188
00189 typedef GetAllowedCollisionMatrixRequest Request;
00190 typedef GetAllowedCollisionMatrixResponse Response;
00191 Request request;
00192 Response response;
00193
00194 typedef Request RequestType;
00195 typedef Response ResponseType;
00196 };
00197 }
00198
00199 namespace ros
00200 {
00201 namespace message_traits
00202 {
00203 template<class ContainerAllocator>
00204 struct MD5Sum< ::planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> > {
00205 static const char* value()
00206 {
00207 return "d41d8cd98f00b204e9800998ecf8427e";
00208 }
00209
00210 static const char* value(const ::planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> &) { return value(); }
00211 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00212 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00213 };
00214
00215 template<class ContainerAllocator>
00216 struct DataType< ::planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> > {
00217 static const char* value()
00218 {
00219 return "planning_environment_msgs/GetAllowedCollisionMatrixRequest";
00220 }
00221
00222 static const char* value(const ::planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> &) { return value(); }
00223 };
00224
00225 template<class ContainerAllocator>
00226 struct Definition< ::planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> > {
00227 static const char* value()
00228 {
00229 return "\n\
00230 ";
00231 }
00232
00233 static const char* value(const ::planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> &) { return value(); }
00234 };
00235
00236 template<class ContainerAllocator> struct IsFixedSize< ::planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> > : public TrueType {};
00237 }
00238 }
00239
00240
00241 namespace ros
00242 {
00243 namespace message_traits
00244 {
00245 template<class ContainerAllocator>
00246 struct MD5Sum< ::planning_environment_msgs::GetAllowedCollisionMatrixResponse_<ContainerAllocator> > {
00247 static const char* value()
00248 {
00249 return "1f99ed5f743c8937d1578d6a9d9f8fda";
00250 }
00251
00252 static const char* value(const ::planning_environment_msgs::GetAllowedCollisionMatrixResponse_<ContainerAllocator> &) { return value(); }
00253 static const uint64_t static_value1 = 0x1f99ed5f743c8937ULL;
00254 static const uint64_t static_value2 = 0xd1578d6a9d9f8fdaULL;
00255 };
00256
00257 template<class ContainerAllocator>
00258 struct DataType< ::planning_environment_msgs::GetAllowedCollisionMatrixResponse_<ContainerAllocator> > {
00259 static const char* value()
00260 {
00261 return "planning_environment_msgs/GetAllowedCollisionMatrixResponse";
00262 }
00263
00264 static const char* value(const ::planning_environment_msgs::GetAllowedCollisionMatrixResponse_<ContainerAllocator> &) { return value(); }
00265 };
00266
00267 template<class ContainerAllocator>
00268 struct Definition< ::planning_environment_msgs::GetAllowedCollisionMatrixResponse_<ContainerAllocator> > {
00269 static const char* value()
00270 {
00271 return "\n\
00272 AllowedCollisionMatrix matrix\n\
00273 \n\
00274 \n\
00275 \n\
00276 ================================================================================\n\
00277 MSG: planning_environment_msgs/AllowedCollisionMatrix\n\
00278 # the list of link names in the matrix\n\
00279 string[] link_names\n\
00280 \n\
00281 # the individual entries in the allowed collision matrix\n\
00282 # symmetric, with same order as link_names\n\
00283 AllowedCollisionEntry[] entries\n\
00284 \n\
00285 ================================================================================\n\
00286 MSG: planning_environment_msgs/AllowedCollisionEntry\n\
00287 # whether or not collision checking is enabled\n\
00288 bool[] enabled\n\
00289 \n\
00290 ";
00291 }
00292
00293 static const char* value(const ::planning_environment_msgs::GetAllowedCollisionMatrixResponse_<ContainerAllocator> &) { return value(); }
00294 };
00295
00296 }
00297 }
00298
00299 namespace ros
00300 {
00301 namespace serialization
00302 {
00303
00304 template<class ContainerAllocator> struct Serializer< ::planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> >
00305 {
00306 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00307 {
00308 }
00309
00310 ROS_DECLARE_ALLINONE_SERIALIZER;
00311 };
00312 }
00313 }
00314
00315
00316 namespace ros
00317 {
00318 namespace serialization
00319 {
00320
00321 template<class ContainerAllocator> struct Serializer< ::planning_environment_msgs::GetAllowedCollisionMatrixResponse_<ContainerAllocator> >
00322 {
00323 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00324 {
00325 stream.next(m.matrix);
00326 }
00327
00328 ROS_DECLARE_ALLINONE_SERIALIZER;
00329 };
00330 }
00331 }
00332
00333 namespace ros
00334 {
00335 namespace service_traits
00336 {
00337 template<>
00338 struct MD5Sum<planning_environment_msgs::GetAllowedCollisionMatrix> {
00339 static const char* value()
00340 {
00341 return "1f99ed5f743c8937d1578d6a9d9f8fda";
00342 }
00343
00344 static const char* value(const planning_environment_msgs::GetAllowedCollisionMatrix&) { return value(); }
00345 };
00346
00347 template<>
00348 struct DataType<planning_environment_msgs::GetAllowedCollisionMatrix> {
00349 static const char* value()
00350 {
00351 return "planning_environment_msgs/GetAllowedCollisionMatrix";
00352 }
00353
00354 static const char* value(const planning_environment_msgs::GetAllowedCollisionMatrix&) { return value(); }
00355 };
00356
00357 template<class ContainerAllocator>
00358 struct MD5Sum<planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> > {
00359 static const char* value()
00360 {
00361 return "1f99ed5f743c8937d1578d6a9d9f8fda";
00362 }
00363
00364 static const char* value(const planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> &) { return value(); }
00365 };
00366
00367 template<class ContainerAllocator>
00368 struct DataType<planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> > {
00369 static const char* value()
00370 {
00371 return "planning_environment_msgs/GetAllowedCollisionMatrix";
00372 }
00373
00374 static const char* value(const planning_environment_msgs::GetAllowedCollisionMatrixRequest_<ContainerAllocator> &) { return value(); }
00375 };
00376
00377 template<class ContainerAllocator>
00378 struct MD5Sum<planning_environment_msgs::GetAllowedCollisionMatrixResponse_<ContainerAllocator> > {
00379 static const char* value()
00380 {
00381 return "1f99ed5f743c8937d1578d6a9d9f8fda";
00382 }
00383
00384 static const char* value(const planning_environment_msgs::GetAllowedCollisionMatrixResponse_<ContainerAllocator> &) { return value(); }
00385 };
00386
00387 template<class ContainerAllocator>
00388 struct DataType<planning_environment_msgs::GetAllowedCollisionMatrixResponse_<ContainerAllocator> > {
00389 static const char* value()
00390 {
00391 return "planning_environment_msgs/GetAllowedCollisionMatrix";
00392 }
00393
00394 static const char* value(const planning_environment_msgs::GetAllowedCollisionMatrixResponse_<ContainerAllocator> &) { return value(); }
00395 };
00396
00397 }
00398 }
00399
00400 #endif // PLANNING_ENVIRONMENT_MSGS_SERVICE_GETALLOWEDCOLLISIONMATRIX_H
00401