$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/DetectObjectsGoal.msg */ 00002 #ifndef COB_OBJECT_DETECTION_MSGS_MESSAGE_DETECTOBJECTSGOAL_H 00003 #define COB_OBJECT_DETECTION_MSGS_MESSAGE_DETECTOBJECTSGOAL_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/String.h" 00018 00019 namespace cob_object_detection_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct DetectObjectsGoal_ { 00023 typedef DetectObjectsGoal_<ContainerAllocator> Type; 00024 00025 DetectObjectsGoal_() 00026 : object_name() 00027 { 00028 } 00029 00030 DetectObjectsGoal_(const ContainerAllocator& _alloc) 00031 : object_name(_alloc) 00032 { 00033 } 00034 00035 typedef ::std_msgs::String_<ContainerAllocator> _object_name_type; 00036 ::std_msgs::String_<ContainerAllocator> object_name; 00037 00038 00039 private: 00040 static const char* __s_getDataType_() { return "cob_object_detection_msgs/DetectObjectsGoal"; } 00041 public: 00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00043 00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00045 00046 private: 00047 static const char* __s_getMD5Sum_() { return "adb33ef101026c3e15d799e3decf403f"; } 00048 public: 00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00050 00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00052 00053 private: 00054 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00055 # The goal\n\ 00056 std_msgs/String object_name\n\ 00057 \n\ 00058 ================================================================================\n\ 00059 MSG: std_msgs/String\n\ 00060 string data\n\ 00061 \n\ 00062 "; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00065 00066 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00067 00068 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00069 { 00070 ros::serialization::OStream stream(write_ptr, 1000000000); 00071 ros::serialization::serialize(stream, object_name); 00072 return stream.getData(); 00073 } 00074 00075 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00076 { 00077 ros::serialization::IStream stream(read_ptr, 1000000000); 00078 ros::serialization::deserialize(stream, object_name); 00079 return stream.getData(); 00080 } 00081 00082 ROS_DEPRECATED virtual uint32_t serializationLength() const 00083 { 00084 uint32_t size = 0; 00085 size += ros::serialization::serializationLength(object_name); 00086 return size; 00087 } 00088 00089 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> > Ptr; 00090 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> const> ConstPtr; 00091 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00092 }; // struct DetectObjectsGoal 00093 typedef ::cob_object_detection_msgs::DetectObjectsGoal_<std::allocator<void> > DetectObjectsGoal; 00094 00095 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectObjectsGoal> DetectObjectsGoalPtr; 00096 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectObjectsGoal const> DetectObjectsGoalConstPtr; 00097 00098 00099 template<typename ContainerAllocator> 00100 std::ostream& operator<<(std::ostream& s, const ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> & v) 00101 { 00102 ros::message_operations::Printer< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> >::stream(s, "", v); 00103 return s;} 00104 00105 } // namespace cob_object_detection_msgs 00106 00107 namespace ros 00108 { 00109 namespace message_traits 00110 { 00111 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> > : public TrueType {}; 00112 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> const> : public TrueType {}; 00113 template<class ContainerAllocator> 00114 struct MD5Sum< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> > { 00115 static const char* value() 00116 { 00117 return "adb33ef101026c3e15d799e3decf403f"; 00118 } 00119 00120 static const char* value(const ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> &) { return value(); } 00121 static const uint64_t static_value1 = 0xadb33ef101026c3eULL; 00122 static const uint64_t static_value2 = 0x15d799e3decf403fULL; 00123 }; 00124 00125 template<class ContainerAllocator> 00126 struct DataType< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> > { 00127 static const char* value() 00128 { 00129 return "cob_object_detection_msgs/DetectObjectsGoal"; 00130 } 00131 00132 static const char* value(const ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> &) { return value(); } 00133 }; 00134 00135 template<class ContainerAllocator> 00136 struct Definition< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> > { 00137 static const char* value() 00138 { 00139 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00140 # The goal\n\ 00141 std_msgs/String object_name\n\ 00142 \n\ 00143 ================================================================================\n\ 00144 MSG: std_msgs/String\n\ 00145 string data\n\ 00146 \n\ 00147 "; 00148 } 00149 00150 static const char* value(const ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> &) { return value(); } 00151 }; 00152 00153 } // namespace message_traits 00154 } // namespace ros 00155 00156 namespace ros 00157 { 00158 namespace serialization 00159 { 00160 00161 template<class ContainerAllocator> struct Serializer< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> > 00162 { 00163 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00164 { 00165 stream.next(m.object_name); 00166 } 00167 00168 ROS_DECLARE_ALLINONE_SERIALIZER; 00169 }; // struct DetectObjectsGoal_ 00170 } // namespace serialization 00171 } // namespace ros 00172 00173 namespace ros 00174 { 00175 namespace message_operations 00176 { 00177 00178 template<class ContainerAllocator> 00179 struct Printer< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> > 00180 { 00181 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> & v) 00182 { 00183 s << indent << "object_name: "; 00184 s << std::endl; 00185 Printer< ::std_msgs::String_<ContainerAllocator> >::stream(s, indent + " ", v.object_name); 00186 } 00187 }; 00188 00189 00190 } // namespace message_operations 00191 } // namespace ros 00192 00193 #endif // COB_OBJECT_DETECTION_MSGS_MESSAGE_DETECTOBJECTSGOAL_H 00194