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.
Fork of rosserial_mbed_lib by
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 roscpp 00009 { 00010 00011 static const char EMPTY[] = "roscpp/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 virtual const char * getType(){ return EMPTY; }; 00030 virtual 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 virtual const char * getType(){ return EMPTY; }; 00051 virtual 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
Generated on Tue Jul 12 2022 19:53:57 by
1.7.2
