$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-continuous_ops/doc_stacks/2013-03-01_15-04-55.848441/continuous_ops/navigation_task/msg/NavigationTaskActionGoal.msg */ 00002 #ifndef NAVIGATION_TASK_MESSAGE_NAVIGATIONTASKACTIONGOAL_H 00003 #define NAVIGATION_TASK_MESSAGE_NAVIGATIONTASKACTIONGOAL_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 "navigation_task/NavigationTaskGoal.h" 00020 00021 namespace navigation_task 00022 { 00023 template <class ContainerAllocator> 00024 struct NavigationTaskActionGoal_ { 00025 typedef NavigationTaskActionGoal_<ContainerAllocator> Type; 00026 00027 NavigationTaskActionGoal_() 00028 : header() 00029 , goal_id() 00030 , goal() 00031 { 00032 } 00033 00034 NavigationTaskActionGoal_(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 ::navigation_task::NavigationTaskGoal_<ContainerAllocator> _goal_type; 00048 ::navigation_task::NavigationTaskGoal_<ContainerAllocator> goal; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "navigation_task/NavigationTaskActionGoal"; } 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 "4b30be6cd12b9e72826df56b481f40e0"; } 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 NavigationTaskGoal 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: navigation_task/NavigationTaskGoal\n\ 00105 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00106 \n\ 00107 "; } 00108 public: 00109 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00110 00111 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00112 00113 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00114 { 00115 ros::serialization::OStream stream(write_ptr, 1000000000); 00116 ros::serialization::serialize(stream, header); 00117 ros::serialization::serialize(stream, goal_id); 00118 ros::serialization::serialize(stream, goal); 00119 return stream.getData(); 00120 } 00121 00122 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00123 { 00124 ros::serialization::IStream stream(read_ptr, 1000000000); 00125 ros::serialization::deserialize(stream, header); 00126 ros::serialization::deserialize(stream, goal_id); 00127 ros::serialization::deserialize(stream, goal); 00128 return stream.getData(); 00129 } 00130 00131 ROS_DEPRECATED virtual uint32_t serializationLength() const 00132 { 00133 uint32_t size = 0; 00134 size += ros::serialization::serializationLength(header); 00135 size += ros::serialization::serializationLength(goal_id); 00136 size += ros::serialization::serializationLength(goal); 00137 return size; 00138 } 00139 00140 typedef boost::shared_ptr< ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> > Ptr; 00141 typedef boost::shared_ptr< ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> const> ConstPtr; 00142 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00143 }; // struct NavigationTaskActionGoal 00144 typedef ::navigation_task::NavigationTaskActionGoal_<std::allocator<void> > NavigationTaskActionGoal; 00145 00146 typedef boost::shared_ptr< ::navigation_task::NavigationTaskActionGoal> NavigationTaskActionGoalPtr; 00147 typedef boost::shared_ptr< ::navigation_task::NavigationTaskActionGoal const> NavigationTaskActionGoalConstPtr; 00148 00149 00150 template<typename ContainerAllocator> 00151 std::ostream& operator<<(std::ostream& s, const ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> & v) 00152 { 00153 ros::message_operations::Printer< ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> >::stream(s, "", v); 00154 return s;} 00155 00156 } // namespace navigation_task 00157 00158 namespace ros 00159 { 00160 namespace message_traits 00161 { 00162 template<class ContainerAllocator> struct IsMessage< ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> > : public TrueType {}; 00163 template<class ContainerAllocator> struct IsMessage< ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> const> : public TrueType {}; 00164 template<class ContainerAllocator> 00165 struct MD5Sum< ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> > { 00166 static const char* value() 00167 { 00168 return "4b30be6cd12b9e72826df56b481f40e0"; 00169 } 00170 00171 static const char* value(const ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> &) { return value(); } 00172 static const uint64_t static_value1 = 0x4b30be6cd12b9e72ULL; 00173 static const uint64_t static_value2 = 0x826df56b481f40e0ULL; 00174 }; 00175 00176 template<class ContainerAllocator> 00177 struct DataType< ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> > { 00178 static const char* value() 00179 { 00180 return "navigation_task/NavigationTaskActionGoal"; 00181 } 00182 00183 static const char* value(const ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> &) { return value(); } 00184 }; 00185 00186 template<class ContainerAllocator> 00187 struct Definition< ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> > { 00188 static const char* value() 00189 { 00190 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00191 \n\ 00192 Header header\n\ 00193 actionlib_msgs/GoalID goal_id\n\ 00194 NavigationTaskGoal goal\n\ 00195 \n\ 00196 ================================================================================\n\ 00197 MSG: std_msgs/Header\n\ 00198 # Standard metadata for higher-level stamped data types.\n\ 00199 # This is generally used to communicate timestamped data \n\ 00200 # in a particular coordinate frame.\n\ 00201 # \n\ 00202 # sequence ID: consecutively increasing ID \n\ 00203 uint32 seq\n\ 00204 #Two-integer timestamp that is expressed as:\n\ 00205 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00206 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00207 # time-handling sugar is provided by the client library\n\ 00208 time stamp\n\ 00209 #Frame this data is associated with\n\ 00210 # 0: no frame\n\ 00211 # 1: global frame\n\ 00212 string frame_id\n\ 00213 \n\ 00214 ================================================================================\n\ 00215 MSG: actionlib_msgs/GoalID\n\ 00216 # The stamp should store the time at which this goal was requested.\n\ 00217 # It is used by an action server when it tries to preempt all\n\ 00218 # goals that were requested before a certain time\n\ 00219 time stamp\n\ 00220 \n\ 00221 # The id provides a way to associate feedback and\n\ 00222 # result message with specific goal requests. The id\n\ 00223 # specified must be unique.\n\ 00224 string id\n\ 00225 \n\ 00226 \n\ 00227 ================================================================================\n\ 00228 MSG: navigation_task/NavigationTaskGoal\n\ 00229 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00230 \n\ 00231 "; 00232 } 00233 00234 static const char* value(const ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> &) { return value(); } 00235 }; 00236 00237 template<class ContainerAllocator> struct HasHeader< ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> > : public TrueType {}; 00238 template<class ContainerAllocator> struct HasHeader< const ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> > : public TrueType {}; 00239 } // namespace message_traits 00240 } // namespace ros 00241 00242 namespace ros 00243 { 00244 namespace serialization 00245 { 00246 00247 template<class ContainerAllocator> struct Serializer< ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> > 00248 { 00249 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00250 { 00251 stream.next(m.header); 00252 stream.next(m.goal_id); 00253 stream.next(m.goal); 00254 } 00255 00256 ROS_DECLARE_ALLINONE_SERIALIZER; 00257 }; // struct NavigationTaskActionGoal_ 00258 } // namespace serialization 00259 } // namespace ros 00260 00261 namespace ros 00262 { 00263 namespace message_operations 00264 { 00265 00266 template<class ContainerAllocator> 00267 struct Printer< ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> > 00268 { 00269 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::navigation_task::NavigationTaskActionGoal_<ContainerAllocator> & v) 00270 { 00271 s << indent << "header: "; 00272 s << std::endl; 00273 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00274 s << indent << "goal_id: "; 00275 s << std::endl; 00276 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id); 00277 s << indent << "goal: "; 00278 s << std::endl; 00279 Printer< ::navigation_task::NavigationTaskGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal); 00280 } 00281 }; 00282 00283 00284 } // namespace message_operations 00285 } // namespace ros 00286 00287 #endif // NAVIGATION_TASK_MESSAGE_NAVIGATIONTASKACTIONGOAL_H 00288