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