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