00001 #ifndef _ROS_SERVICE_BoundingBoxQuery_h 00002 #define _ROS_SERVICE_BoundingBoxQuery_h 00003 #include <stdint.h> 00004 #include <string.h> 00005 #include <stdlib.h> 00006 #include "ros/msg.h" 00007 #include "geometry_msgs/Point.h" 00008 00009 namespace octomap_msgs 00010 { 00011 00012 static const char BOUNDINGBOXQUERY[] = "octomap_msgs/BoundingBoxQuery"; 00013 00014 class BoundingBoxQueryRequest : public ros::Msg 00015 { 00016 public: 00017 geometry_msgs::Point min; 00018 geometry_msgs::Point max; 00019 00020 virtual int serialize(unsigned char *outbuffer) const 00021 { 00022 int offset = 0; 00023 offset += this->min.serialize(outbuffer + offset); 00024 offset += this->max.serialize(outbuffer + offset); 00025 return offset; 00026 } 00027 00028 virtual int deserialize(unsigned char *inbuffer) 00029 { 00030 int offset = 0; 00031 offset += this->min.deserialize(inbuffer + offset); 00032 offset += this->max.deserialize(inbuffer + offset); 00033 return offset; 00034 } 00035 00036 const char * getType(){ return BOUNDINGBOXQUERY; }; 00037 const char * getMD5(){ return "93aa3d73b866f04880927745f4aab303"; }; 00038 00039 }; 00040 00041 class BoundingBoxQueryResponse : public ros::Msg 00042 { 00043 public: 00044 00045 virtual int serialize(unsigned char *outbuffer) const 00046 { 00047 int offset = 0; 00048 return offset; 00049 } 00050 00051 virtual int deserialize(unsigned char *inbuffer) 00052 { 00053 int offset = 0; 00054 return offset; 00055 } 00056 00057 const char * getType(){ return BOUNDINGBOXQUERY; }; 00058 const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; }; 00059 00060 }; 00061 00062 class BoundingBoxQuery { 00063 public: 00064 typedef BoundingBoxQueryRequest Request; 00065 typedef BoundingBoxQueryResponse Response; 00066 }; 00067 00068 } 00069 #endif