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