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 TestActionResult.h Source File

TestActionResult.h

00001 #ifndef _ROS_actionlib_TestActionResult_h
00002 #define _ROS_actionlib_TestActionResult_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 "actionlib/TestResult.h"
00011 
00012 namespace actionlib
00013 {
00014 
00015   class TestActionResult : public ros::Msg
00016   {
00017     public:
00018       typedef std_msgs::Header _header_type;
00019       _header_type header;
00020       typedef actionlib_msgs::GoalStatus _status_type;
00021       _status_type status;
00022       typedef actionlib::TestResult _result_type;
00023       _result_type result;
00024 
00025     TestActionResult():
00026       header(),
00027       status(),
00028       result()
00029     {
00030     }
00031 
00032     virtual int serialize(unsigned char *outbuffer) const
00033     {
00034       int offset = 0;
00035       offset += this->header.serialize(outbuffer + offset);
00036       offset += this->status.serialize(outbuffer + offset);
00037       offset += this->result.serialize(outbuffer + offset);
00038       return offset;
00039     }
00040 
00041     virtual int deserialize(unsigned char *inbuffer)
00042     {
00043       int offset = 0;
00044       offset += this->header.deserialize(inbuffer + offset);
00045       offset += this->status.deserialize(inbuffer + offset);
00046       offset += this->result.deserialize(inbuffer + offset);
00047      return offset;
00048     }
00049 
00050     const char * getType(){ return "actionlib/TestActionResult"; };
00051     const char * getMD5(){ return "3d669e3a63aa986c667ea7b0f46ce85e"; };
00052 
00053   };
00054 
00055 }
00056 #endif