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