ROS Serial library for Mbed platforms for ROS Indigo Igloo. Check http://wiki.ros.org/rosserial_mbed/ for more information

Dependencies:   BufferedSerial

Dependents:   rosserial_mbed_hello_world_publisher rtos_base_control rosserial_mbed_F64MA ROS-RTOS ... more

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       dynamic_reconfigure::Config config;
00018 
00019     ReconfigureRequest():
00020       config()
00021     {
00022     }
00023 
00024     virtual int serialize(unsigned char *outbuffer) const
00025     {
00026       int offset = 0;
00027       offset += this->config.serialize(outbuffer + offset);
00028       return offset;
00029     }
00030 
00031     virtual int deserialize(unsigned char *inbuffer)
00032     {
00033       int offset = 0;
00034       offset += this->config.deserialize(inbuffer + offset);
00035      return offset;
00036     }
00037 
00038     const char * getType(){ return RECONFIGURE; };
00039     const char * getMD5(){ return "ac41a77620a4a0348b7001641796a8a1"; };
00040 
00041   };
00042 
00043   class ReconfigureResponse : public ros::Msg
00044   {
00045     public:
00046       dynamic_reconfigure::Config config;
00047 
00048     ReconfigureResponse():
00049       config()
00050     {
00051     }
00052 
00053     virtual int serialize(unsigned char *outbuffer) const
00054     {
00055       int offset = 0;
00056       offset += this->config.serialize(outbuffer + offset);
00057       return offset;
00058     }
00059 
00060     virtual int deserialize(unsigned char *inbuffer)
00061     {
00062       int offset = 0;
00063       offset += this->config.deserialize(inbuffer + offset);
00064      return offset;
00065     }
00066 
00067     const char * getType(){ return RECONFIGURE; };
00068     const char * getMD5(){ return "ac41a77620a4a0348b7001641796a8a1"; };
00069 
00070   };
00071 
00072   class Reconfigure {
00073     public:
00074     typedef ReconfigureRequest Request;
00075     typedef ReconfigureResponse Response;
00076   };
00077 
00078 }
00079 #endif