Project

General

Profile

Statistics
| Branch: | Revision:

root / scout_avr / src / ros_lib / std_msgs / Char.h @ 88fb3a79

History | View | Annotate | Download (747 Bytes)

1
#ifndef _ROS_std_msgs_Char_h
2
#define _ROS_std_msgs_Char_h
3

    
4
#include <stdint.h>
5
#include <string.h>
6
#include <stdlib.h>
7
#include "ros/msg.h"
8
#include "std_msgs/char.h"
9

    
10
namespace std_msgs
11
{
12

    
13
  class Char : public ros::Msg
14
  {
15
    public:
16
      std_msgs::char data;
17

    
18
    virtual int serialize(unsigned char *outbuffer) const
19
    {
20
      int offset = 0;
21
      offset += this->data.serialize(outbuffer + offset);
22
      return offset;
23
    }
24

    
25
    virtual int deserialize(unsigned char *inbuffer)
26
    {
27
      int offset = 0;
28
      offset += this->data.deserialize(inbuffer + offset);
29
     return offset;
30
    }
31

    
32
    const char * getType(){ return "std_msgs/Char"; };
33
    const char * getMD5(){ return "1bf77f25acecdedba0e224b162199717"; };
34

    
35
  };
36

    
37
}
38
#endif