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