Go to the documentation of this file.00001
00002 #ifndef SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALBBESTIMATIONFEEDBACK_H
00003 #define SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALBBESTIMATIONFEEDBACK_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 srs_assisted_arm_navigation_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct ManualBBEstimationFeedback_ {
00022 typedef ManualBBEstimationFeedback_<ContainerAllocator> Type;
00023
00024 ManualBBEstimationFeedback_()
00025 : timestamp()
00026 , p1()
00027 , p2()
00028 {
00029 p1.assign(0);
00030 p2.assign(0);
00031 }
00032
00033 ManualBBEstimationFeedback_(const ContainerAllocator& _alloc)
00034 : timestamp()
00035 , p1()
00036 , p2()
00037 {
00038 p1.assign(0);
00039 p2.assign(0);
00040 }
00041
00042 typedef ros::Time _timestamp_type;
00043 ros::Time timestamp;
00044
00045 typedef boost::array<int16_t, 2> _p1_type;
00046 boost::array<int16_t, 2> p1;
00047
00048 typedef boost::array<int16_t, 2> _p2_type;
00049 boost::array<int16_t, 2> p2;
00050
00051
00052 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> > Ptr;
00053 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> const> ConstPtr;
00054 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00055 };
00056 typedef ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<std::allocator<void> > ManualBBEstimationFeedback;
00057
00058 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback> ManualBBEstimationFeedbackPtr;
00059 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback const> ManualBBEstimationFeedbackConstPtr;
00060
00061
00062 template<typename ContainerAllocator>
00063 std::ostream& operator<<(std::ostream& s, const ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> & v)
00064 {
00065 ros::message_operations::Printer< ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> >::stream(s, "", v);
00066 return s;}
00067
00068 }
00069
00070 namespace ros
00071 {
00072 namespace message_traits
00073 {
00074 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> > : public TrueType {};
00075 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> const> : public TrueType {};
00076 template<class ContainerAllocator>
00077 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> > {
00078 static const char* value()
00079 {
00080 return "d31ce382f901a080bff420c1b6767fec";
00081 }
00082
00083 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> &) { return value(); }
00084 static const uint64_t static_value1 = 0xd31ce382f901a080ULL;
00085 static const uint64_t static_value2 = 0xbff420c1b6767fecULL;
00086 };
00087
00088 template<class ContainerAllocator>
00089 struct DataType< ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> > {
00090 static const char* value()
00091 {
00092 return "srs_assisted_arm_navigation_msgs/ManualBBEstimationFeedback";
00093 }
00094
00095 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> &) { return value(); }
00096 };
00097
00098 template<class ContainerAllocator>
00099 struct Definition< ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> > {
00100 static const char* value()
00101 {
00102 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00103 # feedback\n\
00104 time timestamp\n\
00105 int16[2] p1\n\
00106 int16[2] p2\n\
00107 \n\
00108 \n\
00109 ";
00110 }
00111
00112 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> &) { return value(); }
00113 };
00114
00115 template<class ContainerAllocator> struct IsFixedSize< ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> > : public TrueType {};
00116 }
00117 }
00118
00119 namespace ros
00120 {
00121 namespace serialization
00122 {
00123
00124 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> >
00125 {
00126 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00127 {
00128 stream.next(m.timestamp);
00129 stream.next(m.p1);
00130 stream.next(m.p2);
00131 }
00132
00133 ROS_DECLARE_ALLINONE_SERIALIZER;
00134 };
00135 }
00136 }
00137
00138 namespace ros
00139 {
00140 namespace message_operations
00141 {
00142
00143 template<class ContainerAllocator>
00144 struct Printer< ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> >
00145 {
00146 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_assisted_arm_navigation_msgs::ManualBBEstimationFeedback_<ContainerAllocator> & v)
00147 {
00148 s << indent << "timestamp: ";
00149 Printer<ros::Time>::stream(s, indent + " ", v.timestamp);
00150 s << indent << "p1[]" << std::endl;
00151 for (size_t i = 0; i < v.p1.size(); ++i)
00152 {
00153 s << indent << " p1[" << i << "]: ";
00154 Printer<int16_t>::stream(s, indent + " ", v.p1[i]);
00155 }
00156 s << indent << "p2[]" << std::endl;
00157 for (size_t i = 0; i < v.p2.size(); ++i)
00158 {
00159 s << indent << " p2[" << i << "]: ";
00160 Printer<int16_t>::stream(s, indent + " ", v.p2[i]);
00161 }
00162 }
00163 };
00164
00165
00166 }
00167 }
00168
00169 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALBBESTIMATIONFEEDBACK_H
00170