00001 #ifndef _ROS_turtle_actionlib_ShapeActionResult_h 00002 #define _ROS_turtle_actionlib_ShapeActionResult_h 00003 00004 #include <stdint.h> 00005 #include <string.h> 00006 #include <stdlib.h> 00007 #include "ros/msg.h" 00008 #include "std_msgs/Header.h" 00009 #include "actionlib_msgs/GoalStatus.h" 00010 #include "turtle_actionlib/ShapeResult.h" 00011 00012 namespace turtle_actionlib 00013 { 00014 00015 class ShapeActionResult : public ros::Msg 00016 { 00017 public: 00018 std_msgs::Header header; 00019 actionlib_msgs::GoalStatus status; 00020 turtle_actionlib::ShapeResult result; 00021 00022 virtual int serialize(unsigned char *outbuffer) const 00023 { 00024 int offset = 0; 00025 offset += this->header.serialize(outbuffer + offset); 00026 offset += this->status.serialize(outbuffer + offset); 00027 offset += this->result.serialize(outbuffer + offset); 00028 return offset; 00029 } 00030 00031 virtual int deserialize(unsigned char *inbuffer) 00032 { 00033 int offset = 0; 00034 offset += this->header.deserialize(inbuffer + offset); 00035 offset += this->status.deserialize(inbuffer + offset); 00036 offset += this->result.deserialize(inbuffer + offset); 00037 return offset; 00038 } 00039 00040 const char * getType(){ return "turtle_actionlib/ShapeActionResult"; }; 00041 const char * getMD5(){ return "c8d13d5d140f1047a2e4d3bf5c045822"; }; 00042 00043 }; 00044 00045 } 00046 #endif