Go to the documentation of this file.00001 #ifndef _ROS_SERVICE_Empty_h
00002 #define _ROS_SERVICE_Empty_h
00003 #include <stdint.h>
00004 #include <string.h>
00005 #include <stdlib.h>
00006 #include "ros/msg.h"
00007
00008 namespace std_srvs
00009 {
00010
00011 static const char EMPTY[] = "std_srvs/Empty";
00012
00013 class EmptyRequest : public ros::Msg
00014 {
00015 public:
00016
00017 virtual int serialize(unsigned char *outbuffer) const
00018 {
00019 int offset = 0;
00020 return offset;
00021 }
00022
00023 virtual int deserialize(unsigned char *inbuffer)
00024 {
00025 int offset = 0;
00026 return offset;
00027 }
00028
00029 const char * getType(){ return EMPTY; };
00030 const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; };
00031
00032 };
00033
00034 class EmptyResponse : public ros::Msg
00035 {
00036 public:
00037
00038 virtual int serialize(unsigned char *outbuffer) const
00039 {
00040 int offset = 0;
00041 return offset;
00042 }
00043
00044 virtual int deserialize(unsigned char *inbuffer)
00045 {
00046 int offset = 0;
00047 return offset;
00048 }
00049
00050 const char * getType(){ return EMPTY; };
00051 const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; };
00052
00053 };
00054
00055 class Empty {
00056 public:
00057 typedef EmptyRequest Request;
00058 typedef EmptyResponse Response;
00059 };
00060
00061 }
00062 #endif