00001
00002 #ifndef APPLICATION_MSGS_MESSAGE_EMPTYACTIONGOAL_H
00003 #define APPLICATION_MSGS_MESSAGE_EMPTYACTIONGOAL_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "std_msgs/Header.h"
00014 #include "actionlib_msgs/GoalID.h"
00015 #include "application_msgs/EmptyGoal.h"
00016
00017 namespace application_msgs
00018 {
00019 template <class ContainerAllocator>
00020 struct EmptyActionGoal_ : public ros::Message
00021 {
00022 typedef EmptyActionGoal_<ContainerAllocator> Type;
00023
00024 EmptyActionGoal_()
00025 : header()
00026 , goal_id()
00027 , goal()
00028 {
00029 }
00030
00031 EmptyActionGoal_(const ContainerAllocator& _alloc)
00032 : header(_alloc)
00033 , goal_id(_alloc)
00034 , goal(_alloc)
00035 {
00036 }
00037
00038 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00039 ::std_msgs::Header_<ContainerAllocator> header;
00040
00041 typedef ::actionlib_msgs::GoalID_<ContainerAllocator> _goal_id_type;
00042 ::actionlib_msgs::GoalID_<ContainerAllocator> goal_id;
00043
00044 typedef ::application_msgs::EmptyGoal_<ContainerAllocator> _goal_type;
00045 ::application_msgs::EmptyGoal_<ContainerAllocator> goal;
00046
00047
00048 private:
00049 static const char* __s_getDataType_() { return "application_msgs/EmptyActionGoal"; }
00050 public:
00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00052
00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00054
00055 private:
00056 static const char* __s_getMD5Sum_() { return "4b30be6cd12b9e72826df56b481f40e0"; }
00057 public:
00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00059
00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00061
00062 private:
00063 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00064 \n\
00065 Header header\n\
00066 actionlib_msgs/GoalID goal_id\n\
00067 EmptyGoal goal\n\
00068 \n\
00069 ================================================================================\n\
00070 MSG: std_msgs/Header\n\
00071 # Standard metadata for higher-level stamped data types.\n\
00072 # This is generally used to communicate timestamped data \n\
00073 # in a particular coordinate frame.\n\
00074 # \n\
00075 # sequence ID: consecutively increasing ID \n\
00076 uint32 seq\n\
00077 #Two-integer timestamp that is expressed as:\n\
00078 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00079 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00080 # time-handling sugar is provided by the client library\n\
00081 time stamp\n\
00082 #Frame this data is associated with\n\
00083 # 0: no frame\n\
00084 # 1: global frame\n\
00085 string frame_id\n\
00086 \n\
00087 ================================================================================\n\
00088 MSG: actionlib_msgs/GoalID\n\
00089 # The stamp should store the time at which this goal was requested.\n\
00090 # It is used by an action server when it tries to preempt all\n\
00091 # goals that were requested before a certain time\n\
00092 time stamp\n\
00093 \n\
00094 # The id provides a way to associate feedback and\n\
00095 # result message with specific goal requests. The id\n\
00096 # specified must be unique.\n\
00097 string id\n\
00098 \n\
00099 \n\
00100 ================================================================================\n\
00101 MSG: application_msgs/EmptyGoal\n\
00102 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00103 \n\
00104 "; }
00105 public:
00106 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00107
00108 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00109
00110 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00111 {
00112 ros::serialization::OStream stream(write_ptr, 1000000000);
00113 ros::serialization::serialize(stream, header);
00114 ros::serialization::serialize(stream, goal_id);
00115 ros::serialization::serialize(stream, goal);
00116 return stream.getData();
00117 }
00118
00119 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00120 {
00121 ros::serialization::IStream stream(read_ptr, 1000000000);
00122 ros::serialization::deserialize(stream, header);
00123 ros::serialization::deserialize(stream, goal_id);
00124 ros::serialization::deserialize(stream, goal);
00125 return stream.getData();
00126 }
00127
00128 ROS_DEPRECATED virtual uint32_t serializationLength() const
00129 {
00130 uint32_t size = 0;
00131 size += ros::serialization::serializationLength(header);
00132 size += ros::serialization::serializationLength(goal_id);
00133 size += ros::serialization::serializationLength(goal);
00134 return size;
00135 }
00136
00137 typedef boost::shared_ptr< ::application_msgs::EmptyActionGoal_<ContainerAllocator> > Ptr;
00138 typedef boost::shared_ptr< ::application_msgs::EmptyActionGoal_<ContainerAllocator> const> ConstPtr;
00139 };
00140 typedef ::application_msgs::EmptyActionGoal_<std::allocator<void> > EmptyActionGoal;
00141
00142 typedef boost::shared_ptr< ::application_msgs::EmptyActionGoal> EmptyActionGoalPtr;
00143 typedef boost::shared_ptr< ::application_msgs::EmptyActionGoal const> EmptyActionGoalConstPtr;
00144
00145
00146 template<typename ContainerAllocator>
00147 std::ostream& operator<<(std::ostream& s, const ::application_msgs::EmptyActionGoal_<ContainerAllocator> & v)
00148 {
00149 ros::message_operations::Printer< ::application_msgs::EmptyActionGoal_<ContainerAllocator> >::stream(s, "", v);
00150 return s;}
00151
00152 }
00153
00154 namespace ros
00155 {
00156 namespace message_traits
00157 {
00158 template<class ContainerAllocator>
00159 struct MD5Sum< ::application_msgs::EmptyActionGoal_<ContainerAllocator> > {
00160 static const char* value()
00161 {
00162 return "4b30be6cd12b9e72826df56b481f40e0";
00163 }
00164
00165 static const char* value(const ::application_msgs::EmptyActionGoal_<ContainerAllocator> &) { return value(); }
00166 static const uint64_t static_value1 = 0x4b30be6cd12b9e72ULL;
00167 static const uint64_t static_value2 = 0x826df56b481f40e0ULL;
00168 };
00169
00170 template<class ContainerAllocator>
00171 struct DataType< ::application_msgs::EmptyActionGoal_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "application_msgs/EmptyActionGoal";
00175 }
00176
00177 static const char* value(const ::application_msgs::EmptyActionGoal_<ContainerAllocator> &) { return value(); }
00178 };
00179
00180 template<class ContainerAllocator>
00181 struct Definition< ::application_msgs::EmptyActionGoal_<ContainerAllocator> > {
00182 static const char* value()
00183 {
00184 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00185 \n\
00186 Header header\n\
00187 actionlib_msgs/GoalID goal_id\n\
00188 EmptyGoal goal\n\
00189 \n\
00190 ================================================================================\n\
00191 MSG: std_msgs/Header\n\
00192 # Standard metadata for higher-level stamped data types.\n\
00193 # This is generally used to communicate timestamped data \n\
00194 # in a particular coordinate frame.\n\
00195 # \n\
00196 # sequence ID: consecutively increasing ID \n\
00197 uint32 seq\n\
00198 #Two-integer timestamp that is expressed as:\n\
00199 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00200 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00201 # time-handling sugar is provided by the client library\n\
00202 time stamp\n\
00203 #Frame this data is associated with\n\
00204 # 0: no frame\n\
00205 # 1: global frame\n\
00206 string frame_id\n\
00207 \n\
00208 ================================================================================\n\
00209 MSG: actionlib_msgs/GoalID\n\
00210 # The stamp should store the time at which this goal was requested.\n\
00211 # It is used by an action server when it tries to preempt all\n\
00212 # goals that were requested before a certain time\n\
00213 time stamp\n\
00214 \n\
00215 # The id provides a way to associate feedback and\n\
00216 # result message with specific goal requests. The id\n\
00217 # specified must be unique.\n\
00218 string id\n\
00219 \n\
00220 \n\
00221 ================================================================================\n\
00222 MSG: application_msgs/EmptyGoal\n\
00223 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00224 \n\
00225 ";
00226 }
00227
00228 static const char* value(const ::application_msgs::EmptyActionGoal_<ContainerAllocator> &) { return value(); }
00229 };
00230
00231 template<class ContainerAllocator> struct HasHeader< ::application_msgs::EmptyActionGoal_<ContainerAllocator> > : public TrueType {};
00232 template<class ContainerAllocator> struct HasHeader< const ::application_msgs::EmptyActionGoal_<ContainerAllocator> > : public TrueType {};
00233 }
00234 }
00235
00236 namespace ros
00237 {
00238 namespace serialization
00239 {
00240
00241 template<class ContainerAllocator> struct Serializer< ::application_msgs::EmptyActionGoal_<ContainerAllocator> >
00242 {
00243 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00244 {
00245 stream.next(m.header);
00246 stream.next(m.goal_id);
00247 stream.next(m.goal);
00248 }
00249
00250 ROS_DECLARE_ALLINONE_SERIALIZER;
00251 };
00252 }
00253 }
00254
00255 namespace ros
00256 {
00257 namespace message_operations
00258 {
00259
00260 template<class ContainerAllocator>
00261 struct Printer< ::application_msgs::EmptyActionGoal_<ContainerAllocator> >
00262 {
00263 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::application_msgs::EmptyActionGoal_<ContainerAllocator> & v)
00264 {
00265 s << indent << "header: ";
00266 s << std::endl;
00267 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00268 s << indent << "goal_id: ";
00269 s << std::endl;
00270 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id);
00271 s << indent << "goal: ";
00272 s << std::endl;
00273 Printer< ::application_msgs::EmptyGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal);
00274 }
00275 };
00276
00277
00278 }
00279 }
00280
00281 #endif // APPLICATION_MSGS_MESSAGE_EMPTYACTIONGOAL_H
00282