Working towards recieving twists

Dependencies:   BufferedSerial

Fork of ros_lib_kinetic by Gary Servin

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Reconfigure.h Source File

Reconfigure.h

00001 #ifndef _ROS_SERVICE_Reconfigure_h
00002 #define _ROS_SERVICE_Reconfigure_h
00003 #include <stdint.h>
00004 #include <string.h>
00005 #include <stdlib.h>
00006 #include "ros/msg.h"
00007 #include "dynamic_reconfigure/Config.h"
00008 
00009 namespace dynamic_reconfigure
00010 {
00011 
00012 static const char RECONFIGURE[] = "dynamic_reconfigure/Reconfigure";
00013 
00014   class ReconfigureRequest : public ros::Msg
00015   {
00016     public:
00017       typedef dynamic_reconfigure::Config _config_type;
00018       _config_type config;
00019 
00020     ReconfigureRequest():
00021       config()
00022     {
00023     }
00024 
00025     virtual int serialize(unsigned char *outbuffer) const
00026     {
00027       int offset = 0;
00028       offset += this->config.serialize(outbuffer + offset);
00029       return offset;
00030     }
00031 
00032     virtual int deserialize(unsigned char *inbuffer)
00033     {
00034       int offset = 0;
00035       offset += this->config.deserialize(inbuffer + offset);
00036      return offset;
00037     }
00038 
00039     const char * getType(){ return RECONFIGURE; };
00040     const char * getMD5(){ return "ac41a77620a4a0348b7001641796a8a1"; };
00041 
00042   };
00043 
00044   class ReconfigureResponse : public ros::Msg
00045   {
00046     public:
00047       typedef dynamic_reconfigure::Config _config_type;
00048       _config_type config;
00049 
00050     ReconfigureResponse():
00051       config()
00052     {
00053     }
00054 
00055     virtual int serialize(unsigned char *outbuffer) const
00056     {
00057       int offset = 0;
00058       offset += this->config.serialize(outbuffer + offset);
00059       return offset;
00060     }
00061 
00062     virtual int deserialize(unsigned char *inbuffer)
00063     {
00064       int offset = 0;
00065       offset += this->config.deserialize(inbuffer + offset);
00066      return offset;
00067     }
00068 
00069     const char * getType(){ return RECONFIGURE; };
00070     const char * getMD5(){ return "ac41a77620a4a0348b7001641796a8a1"; };
00071 
00072   };
00073 
00074   class Reconfigure {
00075     public:
00076     typedef ReconfigureRequest Request;
00077     typedef ReconfigureResponse Response;
00078   };
00079 
00080 }
00081 #endif