Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Empty.h
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 EmptyRequest() 00018 { 00019 } 00020 00021 virtual int serialize(unsigned char *outbuffer) const 00022 { 00023 int offset = 0; 00024 return offset; 00025 } 00026 00027 virtual int deserialize(unsigned char *inbuffer) 00028 { 00029 int offset = 0; 00030 return offset; 00031 } 00032 00033 const char * getType(){ return EMPTY; }; 00034 const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; }; 00035 00036 }; 00037 00038 class EmptyResponse : public ros::Msg 00039 { 00040 public: 00041 00042 EmptyResponse() 00043 { 00044 } 00045 00046 virtual int serialize(unsigned char *outbuffer) const 00047 { 00048 int offset = 0; 00049 return offset; 00050 } 00051 00052 virtual int deserialize(unsigned char *inbuffer) 00053 { 00054 int offset = 0; 00055 return offset; 00056 } 00057 00058 const char * getType(){ return EMPTY; }; 00059 const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; }; 00060 00061 }; 00062 00063 class Empty { 00064 public: 00065 typedef EmptyRequest Request; 00066 typedef EmptyResponse Response; 00067 }; 00068 00069 } 00070 #endif
Generated on Wed Jul 13 2022 23:30:17 by
