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