Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::vision_msgs::pp_status_<ContainerAllocator> > Ptr;
00048 typedef boost::shared_ptr< ::vision_msgs::pp_status_<ContainerAllocator> const> ConstPtr;
00049 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 };
00051 typedef ::vision_msgs::pp_status_<std::allocator<void> > pp_status;
00052
00053 typedef boost::shared_ptr< ::vision_msgs::pp_status> pp_statusPtr;
00054 typedef boost::shared_ptr< ::vision_msgs::pp_status const> pp_statusConstPtr;
00055
00056
00057 template<typename ContainerAllocator>
00058 std::ostream& operator<<(std::ostream& s, const ::vision_msgs::pp_status_<ContainerAllocator> & v)
00059 {
00060 ros::message_operations::Printer< ::vision_msgs::pp_status_<ContainerAllocator> >::stream(s, "", v);
00061 return s;}
00062
00063 }
00064
00065 namespace ros
00066 {
00067 namespace message_traits
00068 {
00069 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::pp_status_<ContainerAllocator> > : public TrueType {};
00070 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::pp_status_<ContainerAllocator> const> : public TrueType {};
00071 template<class ContainerAllocator>
00072 struct MD5Sum< ::vision_msgs::pp_status_<ContainerAllocator> > {
00073 static const char* value()
00074 {
00075 return "3fae99b8c6b5e7dcd495e396abef123c";
00076 }
00077
00078 static const char* value(const ::vision_msgs::pp_status_<ContainerAllocator> &) { return value(); }
00079 static const uint64_t static_value1 = 0x3fae99b8c6b5e7dcULL;
00080 static const uint64_t static_value2 = 0xd495e396abef123cULL;
00081 };
00082
00083 template<class ContainerAllocator>
00084 struct DataType< ::vision_msgs::pp_status_<ContainerAllocator> > {
00085 static const char* value()
00086 {
00087 return "vision_msgs/pp_status";
00088 }
00089
00090 static const char* value(const ::vision_msgs::pp_status_<ContainerAllocator> &) { return value(); }
00091 };
00092
00093 template<class ContainerAllocator>
00094 struct Definition< ::vision_msgs::pp_status_<ContainerAllocator> > {
00095 static const char* value()
00096 {
00097 return "uint64 STARTED = 0\n\
00098 uint64 TERMINATED = 1\n\
00099 uint64 EVALUATED = 2\n\
00100 uint64 DELETABLE = 3\n\
00101 \n\
00102 uint64 perception_primitive\n\
00103 uint64 status\n\
00104 ";
00105 }
00106
00107 static const char* value(const ::vision_msgs::pp_status_<ContainerAllocator> &) { return value(); }
00108 };
00109
00110 template<class ContainerAllocator> struct IsFixedSize< ::vision_msgs::pp_status_<ContainerAllocator> > : public TrueType {};
00111 }
00112 }
00113
00114 namespace ros
00115 {
00116 namespace serialization
00117 {
00118
00119 template<class ContainerAllocator> struct Serializer< ::vision_msgs::pp_status_<ContainerAllocator> >
00120 {
00121 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00122 {
00123 stream.next(m.perception_primitive);
00124 stream.next(m.status);
00125 }
00126
00127 ROS_DECLARE_ALLINONE_SERIALIZER;
00128 };
00129 }
00130 }
00131
00132 namespace ros
00133 {
00134 namespace message_operations
00135 {
00136
00137 template<class ContainerAllocator>
00138 struct Printer< ::vision_msgs::pp_status_<ContainerAllocator> >
00139 {
00140 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::vision_msgs::pp_status_<ContainerAllocator> & v)
00141 {
00142 s << indent << "perception_primitive: ";
00143 Printer<uint64_t>::stream(s, indent + " ", v.perception_primitive);
00144 s << indent << "status: ";
00145 Printer<uint64_t>::stream(s, indent + " ", v.status);
00146 }
00147 };
00148
00149
00150 }
00151 }
00152
00153 #endif // VISION_MSGS_MESSAGE_PP_STATUS_H
00154