Go to the documentation of this file.00001
00002 #ifndef VISION_MSGS_MESSAGE_COP_STATUS_H
00003 #define VISION_MSGS_MESSAGE_COP_STATUS_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 "vision_msgs/pp_status.h"
00018
00019 namespace vision_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct cop_status_ {
00023 typedef cop_status_<ContainerAllocator> Type;
00024
00025 cop_status_()
00026 : cop_status()
00027 {
00028 }
00029
00030 cop_status_(const ContainerAllocator& _alloc)
00031 : cop_status(_alloc)
00032 {
00033 }
00034
00035 typedef std::vector< ::vision_msgs::pp_status_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::pp_status_<ContainerAllocator> >::other > _cop_status_type;
00036 std::vector< ::vision_msgs::pp_status_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::pp_status_<ContainerAllocator> >::other > cop_status;
00037
00038
00039 typedef boost::shared_ptr< ::vision_msgs::cop_status_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::vision_msgs::cop_status_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::vision_msgs::cop_status_<std::allocator<void> > cop_status;
00044
00045 typedef boost::shared_ptr< ::vision_msgs::cop_status> cop_statusPtr;
00046 typedef boost::shared_ptr< ::vision_msgs::cop_status const> cop_statusConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::vision_msgs::cop_status_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::vision_msgs::cop_status_<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< ::vision_msgs::cop_status_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::cop_status_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::vision_msgs::cop_status_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "e504873492775b055bbaa660522ec9d4";
00068 }
00069
00070 static const char* value(const ::vision_msgs::cop_status_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0xe504873492775b05ULL;
00072 static const uint64_t static_value2 = 0x5bbaa660522ec9d4ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::vision_msgs::cop_status_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "vision_msgs/cop_status";
00080 }
00081
00082 static const char* value(const ::vision_msgs::cop_status_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::vision_msgs::cop_status_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "pp_status[] cop_status\n\
00090 ================================================================================\n\
00091 MSG: vision_msgs/pp_status\n\
00092 uint64 STARTED = 0\n\
00093 uint64 TERMINATED = 1\n\
00094 uint64 EVALUATED = 2\n\
00095 uint64 DELETABLE = 3\n\
00096 \n\
00097 uint64 perception_primitive\n\
00098 uint64 status\n\
00099 ";
00100 }
00101
00102 static const char* value(const ::vision_msgs::cop_status_<ContainerAllocator> &) { return value(); }
00103 };
00104
00105 }
00106 }
00107
00108 namespace ros
00109 {
00110 namespace serialization
00111 {
00112
00113 template<class ContainerAllocator> struct Serializer< ::vision_msgs::cop_status_<ContainerAllocator> >
00114 {
00115 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00116 {
00117 stream.next(m.cop_status);
00118 }
00119
00120 ROS_DECLARE_ALLINONE_SERIALIZER;
00121 };
00122 }
00123 }
00124
00125 namespace ros
00126 {
00127 namespace message_operations
00128 {
00129
00130 template<class ContainerAllocator>
00131 struct Printer< ::vision_msgs::cop_status_<ContainerAllocator> >
00132 {
00133 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::vision_msgs::cop_status_<ContainerAllocator> & v)
00134 {
00135 s << indent << "cop_status[]" << std::endl;
00136 for (size_t i = 0; i < v.cop_status.size(); ++i)
00137 {
00138 s << indent << " cop_status[" << i << "]: ";
00139 s << std::endl;
00140 s << indent;
00141 Printer< ::vision_msgs::pp_status_<ContainerAllocator> >::stream(s, indent + " ", v.cop_status[i]);
00142 }
00143 }
00144 };
00145
00146
00147 }
00148 }
00149
00150 #endif // VISION_MSGS_MESSAGE_COP_STATUS_H
00151