kitt_platform
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros
Empty.h
Go to the documentation of this file.
1 #ifndef _ROS_SERVICE_Empty_h
2 #define _ROS_SERVICE_Empty_h
3 #include <stdint.h>
4 #include <string.h>
5 #include <stdlib.h>
6 #include "ros/msg.h"
7 
8 namespace roscpp
9 {
10 
11 static const char EMPTY[] = "roscpp/Empty";
12 
13  class EmptyRequest : public ros::Msg
14  {
15  public:
16 
18  {
19  }
20 
21  virtual int serialize(unsigned char *outbuffer) const
22  {
23  int offset = 0;
24  return offset;
25  }
26 
27  virtual int deserialize(unsigned char *inbuffer)
28  {
29  int offset = 0;
30  return offset;
31  }
32 
33  const char * getType(){ return EMPTY; };
34  const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; };
35 
36  };
37 
38  class EmptyResponse : public ros::Msg
39  {
40  public:
41 
43  {
44  }
45 
46  virtual int serialize(unsigned char *outbuffer) const
47  {
48  int offset = 0;
49  return offset;
50  }
51 
52  virtual int deserialize(unsigned char *inbuffer)
53  {
54  int offset = 0;
55  return offset;
56  }
57 
58  const char * getType(){ return EMPTY; };
59  const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; };
60 
61  };
62 
63  class Empty {
64  public:
67  };
68 
69 }
70 #endif
EmptyRequest Request
Definition: Empty.h:65
EmptyResponse Response
Definition: Empty.h:66
virtual int serialize(unsigned char *outbuffer) const
Definition: Empty.h:21
Definition: Empty.h:38
const char * getMD5()
Definition: Empty.h:59
EmptyResponse()
Definition: Empty.h:42
Definition: Empty.h:13
Definition: Empty.h:63
virtual int deserialize(unsigned char *inbuffer)
Definition: Empty.h:27
const char * getType()
Definition: Empty.h:58
const char * getMD5()
Definition: Empty.h:34
virtual int deserialize(unsigned char *inbuffer)
Definition: Empty.h:52
EmptyRequest()
Definition: Empty.h:17
static const char EMPTY[]
Definition: Empty.h:11
const char * getType()
Definition: Empty.h:33
Definition: msg.h:43
virtual int serialize(unsigned char *outbuffer) const
Definition: Empty.h:46