Go to the documentation of this file.00001
00002 #ifndef RVE_MSGS_MESSAGE_PICKRESULT_H
00003 #define RVE_MSGS_MESSAGE_PICKRESULT_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 "rve_msgs/UUID.h"
00018
00019 namespace rve_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct PickResult_ {
00023 typedef PickResult_<ContainerAllocator> Type;
00024
00025 PickResult_()
00026 : id()
00027 , extra(0)
00028 {
00029 }
00030
00031 PickResult_(const ContainerAllocator& _alloc)
00032 : id(_alloc)
00033 , extra(0)
00034 {
00035 }
00036
00037 typedef ::rve_msgs::UUID_<ContainerAllocator> _id_type;
00038 ::rve_msgs::UUID_<ContainerAllocator> id;
00039
00040 typedef uint32_t _extra_type;
00041 uint32_t extra;
00042
00043
00044 typedef boost::shared_ptr< ::rve_msgs::PickResult_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::rve_msgs::PickResult_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::rve_msgs::PickResult_<std::allocator<void> > PickResult;
00049
00050 typedef boost::shared_ptr< ::rve_msgs::PickResult> PickResultPtr;
00051 typedef boost::shared_ptr< ::rve_msgs::PickResult const> PickResultConstPtr;
00052
00053
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const ::rve_msgs::PickResult_<ContainerAllocator> & v)
00056 {
00057 ros::message_operations::Printer< ::rve_msgs::PickResult_<ContainerAllocator> >::stream(s, "", v);
00058 return s;}
00059
00060 }
00061
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::PickResult_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::PickResult_<ContainerAllocator> const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::rve_msgs::PickResult_<ContainerAllocator> > {
00070 static const char* value()
00071 {
00072 return "1eca2a7ec1c65612a60f6d7e5a675a0b";
00073 }
00074
00075 static const char* value(const ::rve_msgs::PickResult_<ContainerAllocator> &) { return value(); }
00076 static const uint64_t static_value1 = 0x1eca2a7ec1c65612ULL;
00077 static const uint64_t static_value2 = 0xa60f6d7e5a675a0bULL;
00078 };
00079
00080 template<class ContainerAllocator>
00081 struct DataType< ::rve_msgs::PickResult_<ContainerAllocator> > {
00082 static const char* value()
00083 {
00084 return "rve_msgs/PickResult";
00085 }
00086
00087 static const char* value(const ::rve_msgs::PickResult_<ContainerAllocator> &) { return value(); }
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct Definition< ::rve_msgs::PickResult_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "UUID id\n\
00095 uint32 extra\n\
00096 \n\
00097 ================================================================================\n\
00098 MSG: rve_msgs/UUID\n\
00099 uint8[16] data\n\
00100 \n\
00101 ";
00102 }
00103
00104 static const char* value(const ::rve_msgs::PickResult_<ContainerAllocator> &) { return value(); }
00105 };
00106
00107 template<class ContainerAllocator> struct IsFixedSize< ::rve_msgs::PickResult_<ContainerAllocator> > : public TrueType {};
00108 }
00109 }
00110
00111 namespace ros
00112 {
00113 namespace serialization
00114 {
00115
00116 template<class ContainerAllocator> struct Serializer< ::rve_msgs::PickResult_<ContainerAllocator> >
00117 {
00118 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00119 {
00120 stream.next(m.id);
00121 stream.next(m.extra);
00122 }
00123
00124 ROS_DECLARE_ALLINONE_SERIALIZER;
00125 };
00126 }
00127 }
00128
00129 namespace ros
00130 {
00131 namespace message_operations
00132 {
00133
00134 template<class ContainerAllocator>
00135 struct Printer< ::rve_msgs::PickResult_<ContainerAllocator> >
00136 {
00137 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::rve_msgs::PickResult_<ContainerAllocator> & v)
00138 {
00139 s << indent << "id: ";
00140 s << std::endl;
00141 Printer< ::rve_msgs::UUID_<ContainerAllocator> >::stream(s, indent + " ", v.id);
00142 s << indent << "extra: ";
00143 Printer<uint32_t>::stream(s, indent + " ", v.extra);
00144 }
00145 };
00146
00147
00148 }
00149 }
00150
00151 #endif // RVE_MSGS_MESSAGE_PICKRESULT_H
00152