$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-ias_common/doc_stacks/2013-03-01_15-41-55.252100/ias_common/vision_msgs/msg/cop_status.msg */ 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 ROS_DEPRECATED uint32_t get_cop_status_size() const { return (uint32_t)cop_status.size(); } 00040 ROS_DEPRECATED void set_cop_status_size(uint32_t size) { cop_status.resize((size_t)size); } 00041 ROS_DEPRECATED void get_cop_status_vec(std::vector< ::vision_msgs::pp_status_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::pp_status_<ContainerAllocator> >::other > & vec) const { vec = this->cop_status; } 00042 ROS_DEPRECATED void set_cop_status_vec(const std::vector< ::vision_msgs::pp_status_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::pp_status_<ContainerAllocator> >::other > & vec) { this->cop_status = vec; } 00043 private: 00044 static const char* __s_getDataType_() { return "vision_msgs/cop_status"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "e504873492775b055bbaa660522ec9d4"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getMessageDefinition_() { return "pp_status[] cop_status\n\ 00059 ================================================================================\n\ 00060 MSG: vision_msgs/pp_status\n\ 00061 uint64 STARTED = 0\n\ 00062 uint64 TERMINATED = 1\n\ 00063 uint64 EVALUATED = 2\n\ 00064 uint64 DELETABLE = 3\n\ 00065 \n\ 00066 uint64 perception_primitive\n\ 00067 uint64 status\n\ 00068 "; } 00069 public: 00070 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00071 00072 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00073 00074 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00075 { 00076 ros::serialization::OStream stream(write_ptr, 1000000000); 00077 ros::serialization::serialize(stream, cop_status); 00078 return stream.getData(); 00079 } 00080 00081 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00082 { 00083 ros::serialization::IStream stream(read_ptr, 1000000000); 00084 ros::serialization::deserialize(stream, cop_status); 00085 return stream.getData(); 00086 } 00087 00088 ROS_DEPRECATED virtual uint32_t serializationLength() const 00089 { 00090 uint32_t size = 0; 00091 size += ros::serialization::serializationLength(cop_status); 00092 return size; 00093 } 00094 00095 typedef boost::shared_ptr< ::vision_msgs::cop_status_<ContainerAllocator> > Ptr; 00096 typedef boost::shared_ptr< ::vision_msgs::cop_status_<ContainerAllocator> const> ConstPtr; 00097 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00098 }; // struct cop_status 00099 typedef ::vision_msgs::cop_status_<std::allocator<void> > cop_status; 00100 00101 typedef boost::shared_ptr< ::vision_msgs::cop_status> cop_statusPtr; 00102 typedef boost::shared_ptr< ::vision_msgs::cop_status const> cop_statusConstPtr; 00103 00104 00105 template<typename ContainerAllocator> 00106 std::ostream& operator<<(std::ostream& s, const ::vision_msgs::cop_status_<ContainerAllocator> & v) 00107 { 00108 ros::message_operations::Printer< ::vision_msgs::cop_status_<ContainerAllocator> >::stream(s, "", v); 00109 return s;} 00110 00111 } // namespace vision_msgs 00112 00113 namespace ros 00114 { 00115 namespace message_traits 00116 { 00117 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::cop_status_<ContainerAllocator> > : public TrueType {}; 00118 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::cop_status_<ContainerAllocator> const> : public TrueType {}; 00119 template<class ContainerAllocator> 00120 struct MD5Sum< ::vision_msgs::cop_status_<ContainerAllocator> > { 00121 static const char* value() 00122 { 00123 return "e504873492775b055bbaa660522ec9d4"; 00124 } 00125 00126 static const char* value(const ::vision_msgs::cop_status_<ContainerAllocator> &) { return value(); } 00127 static const uint64_t static_value1 = 0xe504873492775b05ULL; 00128 static const uint64_t static_value2 = 0x5bbaa660522ec9d4ULL; 00129 }; 00130 00131 template<class ContainerAllocator> 00132 struct DataType< ::vision_msgs::cop_status_<ContainerAllocator> > { 00133 static const char* value() 00134 { 00135 return "vision_msgs/cop_status"; 00136 } 00137 00138 static const char* value(const ::vision_msgs::cop_status_<ContainerAllocator> &) { return value(); } 00139 }; 00140 00141 template<class ContainerAllocator> 00142 struct Definition< ::vision_msgs::cop_status_<ContainerAllocator> > { 00143 static const char* value() 00144 { 00145 return "pp_status[] cop_status\n\ 00146 ================================================================================\n\ 00147 MSG: vision_msgs/pp_status\n\ 00148 uint64 STARTED = 0\n\ 00149 uint64 TERMINATED = 1\n\ 00150 uint64 EVALUATED = 2\n\ 00151 uint64 DELETABLE = 3\n\ 00152 \n\ 00153 uint64 perception_primitive\n\ 00154 uint64 status\n\ 00155 "; 00156 } 00157 00158 static const char* value(const ::vision_msgs::cop_status_<ContainerAllocator> &) { return value(); } 00159 }; 00160 00161 } // namespace message_traits 00162 } // namespace ros 00163 00164 namespace ros 00165 { 00166 namespace serialization 00167 { 00168 00169 template<class ContainerAllocator> struct Serializer< ::vision_msgs::cop_status_<ContainerAllocator> > 00170 { 00171 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00172 { 00173 stream.next(m.cop_status); 00174 } 00175 00176 ROS_DECLARE_ALLINONE_SERIALIZER; 00177 }; // struct cop_status_ 00178 } // namespace serialization 00179 } // namespace ros 00180 00181 namespace ros 00182 { 00183 namespace message_operations 00184 { 00185 00186 template<class ContainerAllocator> 00187 struct Printer< ::vision_msgs::cop_status_<ContainerAllocator> > 00188 { 00189 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::vision_msgs::cop_status_<ContainerAllocator> & v) 00190 { 00191 s << indent << "cop_status[]" << std::endl; 00192 for (size_t i = 0; i < v.cop_status.size(); ++i) 00193 { 00194 s << indent << " cop_status[" << i << "]: "; 00195 s << std::endl; 00196 s << indent; 00197 Printer< ::vision_msgs::pp_status_<ContainerAllocator> >::stream(s, indent + " ", v.cop_status[i]); 00198 } 00199 } 00200 }; 00201 00202 00203 } // namespace message_operations 00204 } // namespace ros 00205 00206 #endif // VISION_MSGS_MESSAGE_COP_STATUS_H 00207