Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::cob_object_detection_msgs::DetectObjectsGoal_<std::allocator<void> > DetectObjectsGoal;
00044
00045 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectObjectsGoal> DetectObjectsGoalPtr;
00046 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectObjectsGoal const> DetectObjectsGoalConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "adb33ef101026c3e15d799e3decf403f";
00068 }
00069
00070 static const char* value(const ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0xadb33ef101026c3eULL;
00072 static const uint64_t static_value2 = 0x15d799e3decf403fULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "cob_object_detection_msgs/DetectObjectsGoal";
00080 }
00081
00082 static const char* value(const ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 # The goal\n\
00091 std_msgs/String object_name\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: std_msgs/String\n\
00095 string data\n\
00096 \n\
00097 ";
00098 }
00099
00100 static const char* value(const ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> &) { return value(); }
00101 };
00102
00103 }
00104 }
00105
00106 namespace ros
00107 {
00108 namespace serialization
00109 {
00110
00111 template<class ContainerAllocator> struct Serializer< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> >
00112 {
00113 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00114 {
00115 stream.next(m.object_name);
00116 }
00117
00118 ROS_DECLARE_ALLINONE_SERIALIZER;
00119 };
00120 }
00121 }
00122
00123 namespace ros
00124 {
00125 namespace message_operations
00126 {
00127
00128 template<class ContainerAllocator>
00129 struct Printer< ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> >
00130 {
00131 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cob_object_detection_msgs::DetectObjectsGoal_<ContainerAllocator> & v)
00132 {
00133 s << indent << "object_name: ";
00134 s << std::endl;
00135 Printer< ::std_msgs::String_<ContainerAllocator> >::stream(s, indent + " ", v.object_name);
00136 }
00137 };
00138
00139
00140 }
00141 }
00142
00143 #endif // COB_OBJECT_DETECTION_MSGS_MESSAGE_DETECTOBJECTSGOAL_H
00144