$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_object_perception/doc_stacks/2013-03-01_14-45-40.878742/cob_object_perception/cob_object_detection_msgs/msg/AcquireObjectImageGoal.msg */ 00002 #ifndef COB_OBJECT_DETECTION_MSGS_MESSAGE_ACQUIREOBJECTIMAGEGOAL_H 00003 #define COB_OBJECT_DETECTION_MSGS_MESSAGE_ACQUIREOBJECTIMAGEGOAL_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 "geometry_msgs/PoseStamped.h" 00018 #include "geometry_msgs/PoseStamped.h" 00019 00020 namespace cob_object_detection_msgs 00021 { 00022 template <class ContainerAllocator> 00023 struct AcquireObjectImageGoal_ { 00024 typedef AcquireObjectImageGoal_<ContainerAllocator> Type; 00025 00026 AcquireObjectImageGoal_() 00027 : object_name() 00028 , reset_image_counter(false) 00029 , pose() 00030 , sdh_joints() 00031 { 00032 } 00033 00034 AcquireObjectImageGoal_(const ContainerAllocator& _alloc) 00035 : object_name(_alloc) 00036 , reset_image_counter(false) 00037 , pose(_alloc) 00038 , sdh_joints(_alloc) 00039 { 00040 } 00041 00042 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _object_name_type; 00043 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > object_name; 00044 00045 typedef uint8_t _reset_image_counter_type; 00046 uint8_t reset_image_counter; 00047 00048 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_type; 00049 ::geometry_msgs::PoseStamped_<ContainerAllocator> pose; 00050 00051 typedef std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > _sdh_joints_type; 00052 std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > sdh_joints; 00053 00054 00055 ROS_DEPRECATED uint32_t get_sdh_joints_size() const { return (uint32_t)sdh_joints.size(); } 00056 ROS_DEPRECATED void set_sdh_joints_size(uint32_t size) { sdh_joints.resize((size_t)size); } 00057 ROS_DEPRECATED void get_sdh_joints_vec(std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > & vec) const { vec = this->sdh_joints; } 00058 ROS_DEPRECATED void set_sdh_joints_vec(const std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > & vec) { this->sdh_joints = vec; } 00059 private: 00060 static const char* __s_getDataType_() { return "cob_object_detection_msgs/AcquireObjectImageGoal"; } 00061 public: 00062 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00063 00064 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00065 00066 private: 00067 static const char* __s_getMD5Sum_() { return "a834da64b488488418ecf10d2737befd"; } 00068 public: 00069 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00070 00071 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00072 00073 private: 00074 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00075 # The goal\n\ 00076 string object_name\n\ 00077 bool reset_image_counter\n\ 00078 geometry_msgs/PoseStamped pose\n\ 00079 geometry_msgs/PoseStamped[] sdh_joints\n\ 00080 \n\ 00081 ================================================================================\n\ 00082 MSG: geometry_msgs/PoseStamped\n\ 00083 # A Pose with reference coordinate frame and timestamp\n\ 00084 Header header\n\ 00085 Pose pose\n\ 00086 \n\ 00087 ================================================================================\n\ 00088 MSG: std_msgs/Header\n\ 00089 # Standard metadata for higher-level stamped data types.\n\ 00090 # This is generally used to communicate timestamped data \n\ 00091 # in a particular coordinate frame.\n\ 00092 # \n\ 00093 # sequence ID: consecutively increasing ID \n\ 00094 uint32 seq\n\ 00095 #Two-integer timestamp that is expressed as:\n\ 00096 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00097 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00098 # time-handling sugar is provided by the client library\n\ 00099 time stamp\n\ 00100 #Frame this data is associated with\n\ 00101 # 0: no frame\n\ 00102 # 1: global frame\n\ 00103 string frame_id\n\ 00104 \n\ 00105 ================================================================================\n\ 00106 MSG: geometry_msgs/Pose\n\ 00107 # A representation of pose in free space, composed of postion and orientation. \n\ 00108 Point position\n\ 00109 Quaternion orientation\n\ 00110 \n\ 00111 ================================================================================\n\ 00112 MSG: geometry_msgs/Point\n\ 00113 # This contains the position of a point in free space\n\ 00114 float64 x\n\ 00115 float64 y\n\ 00116 float64 z\n\ 00117 \n\ 00118 ================================================================================\n\ 00119 MSG: geometry_msgs/Quaternion\n\ 00120 # This represents an orientation in free space in quaternion form.\n\ 00121 \n\ 00122 float64 x\n\ 00123 float64 y\n\ 00124 float64 z\n\ 00125 float64 w\n\ 00126 \n\ 00127 "; } 00128 public: 00129 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00130 00131 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00132 00133 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00134 { 00135 ros::serialization::OStream stream(write_ptr, 1000000000); 00136 ros::serialization::serialize(stream, object_name); 00137 ros::serialization::serialize(stream, reset_image_counter); 00138 ros::serialization::serialize(stream, pose); 00139 ros::serialization::serialize(stream, sdh_joints); 00140 return stream.getData(); 00141 } 00142 00143 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00144 { 00145 ros::serialization::IStream stream(read_ptr, 1000000000); 00146 ros::serialization::deserialize(stream, object_name); 00147 ros::serialization::deserialize(stream, reset_image_counter); 00148 ros::serialization::deserialize(stream, pose); 00149 ros::serialization::deserialize(stream, sdh_joints); 00150 return stream.getData(); 00151 } 00152 00153 ROS_DEPRECATED virtual uint32_t serializationLength() const 00154 { 00155 uint32_t size = 0; 00156 size += ros::serialization::serializationLength(object_name); 00157 size += ros::serialization::serializationLength(reset_image_counter); 00158 size += ros::serialization::serializationLength(pose); 00159 size += ros::serialization::serializationLength(sdh_joints); 00160 return size; 00161 } 00162 00163 typedef boost::shared_ptr< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> > Ptr; 00164 typedef boost::shared_ptr< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> const> ConstPtr; 00165 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00166 }; // struct AcquireObjectImageGoal 00167 typedef ::cob_object_detection_msgs::AcquireObjectImageGoal_<std::allocator<void> > AcquireObjectImageGoal; 00168 00169 typedef boost::shared_ptr< ::cob_object_detection_msgs::AcquireObjectImageGoal> AcquireObjectImageGoalPtr; 00170 typedef boost::shared_ptr< ::cob_object_detection_msgs::AcquireObjectImageGoal const> AcquireObjectImageGoalConstPtr; 00171 00172 00173 template<typename ContainerAllocator> 00174 std::ostream& operator<<(std::ostream& s, const ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> & v) 00175 { 00176 ros::message_operations::Printer< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> >::stream(s, "", v); 00177 return s;} 00178 00179 } // namespace cob_object_detection_msgs 00180 00181 namespace ros 00182 { 00183 namespace message_traits 00184 { 00185 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> > : public TrueType {}; 00186 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> const> : public TrueType {}; 00187 template<class ContainerAllocator> 00188 struct MD5Sum< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> > { 00189 static const char* value() 00190 { 00191 return "a834da64b488488418ecf10d2737befd"; 00192 } 00193 00194 static const char* value(const ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> &) { return value(); } 00195 static const uint64_t static_value1 = 0xa834da64b4884884ULL; 00196 static const uint64_t static_value2 = 0x18ecf10d2737befdULL; 00197 }; 00198 00199 template<class ContainerAllocator> 00200 struct DataType< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> > { 00201 static const char* value() 00202 { 00203 return "cob_object_detection_msgs/AcquireObjectImageGoal"; 00204 } 00205 00206 static const char* value(const ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> &) { return value(); } 00207 }; 00208 00209 template<class ContainerAllocator> 00210 struct Definition< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> > { 00211 static const char* value() 00212 { 00213 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00214 # The goal\n\ 00215 string object_name\n\ 00216 bool reset_image_counter\n\ 00217 geometry_msgs/PoseStamped pose\n\ 00218 geometry_msgs/PoseStamped[] sdh_joints\n\ 00219 \n\ 00220 ================================================================================\n\ 00221 MSG: geometry_msgs/PoseStamped\n\ 00222 # A Pose with reference coordinate frame and timestamp\n\ 00223 Header header\n\ 00224 Pose pose\n\ 00225 \n\ 00226 ================================================================================\n\ 00227 MSG: std_msgs/Header\n\ 00228 # Standard metadata for higher-level stamped data types.\n\ 00229 # This is generally used to communicate timestamped data \n\ 00230 # in a particular coordinate frame.\n\ 00231 # \n\ 00232 # sequence ID: consecutively increasing ID \n\ 00233 uint32 seq\n\ 00234 #Two-integer timestamp that is expressed as:\n\ 00235 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00236 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00237 # time-handling sugar is provided by the client library\n\ 00238 time stamp\n\ 00239 #Frame this data is associated with\n\ 00240 # 0: no frame\n\ 00241 # 1: global frame\n\ 00242 string frame_id\n\ 00243 \n\ 00244 ================================================================================\n\ 00245 MSG: geometry_msgs/Pose\n\ 00246 # A representation of pose in free space, composed of postion and orientation. \n\ 00247 Point position\n\ 00248 Quaternion orientation\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 ================================================================================\n\ 00258 MSG: geometry_msgs/Quaternion\n\ 00259 # This represents an orientation in free space in quaternion form.\n\ 00260 \n\ 00261 float64 x\n\ 00262 float64 y\n\ 00263 float64 z\n\ 00264 float64 w\n\ 00265 \n\ 00266 "; 00267 } 00268 00269 static const char* value(const ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> &) { return value(); } 00270 }; 00271 00272 } // namespace message_traits 00273 } // namespace ros 00274 00275 namespace ros 00276 { 00277 namespace serialization 00278 { 00279 00280 template<class ContainerAllocator> struct Serializer< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> > 00281 { 00282 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00283 { 00284 stream.next(m.object_name); 00285 stream.next(m.reset_image_counter); 00286 stream.next(m.pose); 00287 stream.next(m.sdh_joints); 00288 } 00289 00290 ROS_DECLARE_ALLINONE_SERIALIZER; 00291 }; // struct AcquireObjectImageGoal_ 00292 } // namespace serialization 00293 } // namespace ros 00294 00295 namespace ros 00296 { 00297 namespace message_operations 00298 { 00299 00300 template<class ContainerAllocator> 00301 struct Printer< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> > 00302 { 00303 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> & v) 00304 { 00305 s << indent << "object_name: "; 00306 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.object_name); 00307 s << indent << "reset_image_counter: "; 00308 Printer<uint8_t>::stream(s, indent + " ", v.reset_image_counter); 00309 s << indent << "pose: "; 00310 s << std::endl; 00311 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.pose); 00312 s << indent << "sdh_joints[]" << std::endl; 00313 for (size_t i = 0; i < v.sdh_joints.size(); ++i) 00314 { 00315 s << indent << " sdh_joints[" << i << "]: "; 00316 s << std::endl; 00317 s << indent; 00318 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.sdh_joints[i]); 00319 } 00320 } 00321 }; 00322 00323 00324 } // namespace message_operations 00325 } // namespace ros 00326 00327 #endif // COB_OBJECT_DETECTION_MSGS_MESSAGE_ACQUIREOBJECTIMAGEGOAL_H 00328