rosserial library for mbed Inspired by nucho's rosserial library This library is still under development
Dependents: mbed_roshydro_test
Library still under development!
Diff: object_recognition_msgs/GetObjectInformation.h
- Revision:
- 0:30537dec6e0b
diff -r 000000000000 -r 30537dec6e0b object_recognition_msgs/GetObjectInformation.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/object_recognition_msgs/GetObjectInformation.h Sun Feb 15 10:53:43 2015 +0000 @@ -0,0 +1,81 @@ +#ifndef _ROS_SERVICE_GetObjectInformation_h +#define _ROS_SERVICE_GetObjectInformation_h +#include <stdint.h> +#include <string.h> +#include <stdlib.h> +#include "ros/msg.h" +#include "object_recognition_msgs/ObjectType.h" +#include "object_recognition_msgs/ObjectInformation.h" + +namespace object_recognition_msgs +{ + +static const char GETOBJECTINFORMATION[] = "object_recognition_msgs/GetObjectInformation"; + + class GetObjectInformationRequest : public ros::Msg + { + public: + object_recognition_msgs::ObjectType type; + + GetObjectInformationRequest(): + type() + { + } + + virtual int serialize(unsigned char *outbuffer) const + { + int offset = 0; + offset += this->type.serialize(outbuffer + offset); + return offset; + } + + virtual int deserialize(unsigned char *inbuffer) + { + int offset = 0; + offset += this->type.deserialize(inbuffer + offset); + return offset; + } + + const char * getType(){ return GETOBJECTINFORMATION; }; + const char * getMD5(){ return "0d72b69e80da0fe473b0bdcdd7a28d4d"; }; + + }; + + class GetObjectInformationResponse : public ros::Msg + { + public: + object_recognition_msgs::ObjectInformation information; + + GetObjectInformationResponse(): + information() + { + } + + virtual int serialize(unsigned char *outbuffer) const + { + int offset = 0; + offset += this->information.serialize(outbuffer + offset); + return offset; + } + + virtual int deserialize(unsigned char *inbuffer) + { + int offset = 0; + offset += this->information.deserialize(inbuffer + offset); + return offset; + } + + const char * getType(){ return GETOBJECTINFORMATION; }; + const char * getMD5(){ return "a62c5d1c41e250373b3e8e912a13a9cb"; }; + + }; + + class GetObjectInformation { + public: + typedef GetObjectInformationRequest Request; + typedef GetObjectInformationResponse Response; + }; + +} +#endif +