rosserial library for mbed Inspired by nucho's rosserial library This library is still under development

Dependencies:   MODSERIAL mbed

Dependents:   mbed_roshydro_test

Library still under development!

object_recognition_msgs/GetObjectInformation.h

Committer:
akashvibhute
Date:
2015-02-15
Revision:
0:30537dec6e0b

File content as of revision 0:30537dec6e0b:

#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