Go to the documentation of this file.00001
00002 #ifndef VISP_HAND2EYE_CALIBRATION_MESSAGE_TRANSFORMARRAY_H
00003 #define VISP_HAND2EYE_CALIBRATION_MESSAGE_TRANSFORMARRAY_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 "std_msgs/Header.h"
00018 #include "geometry_msgs/Transform.h"
00019
00020 namespace visp_hand2eye_calibration
00021 {
00022 template <class ContainerAllocator>
00023 struct TransformArray_ {
00024 typedef TransformArray_<ContainerAllocator> Type;
00025
00026 TransformArray_()
00027 : header()
00028 , transforms()
00029 {
00030 }
00031
00032 TransformArray_(const ContainerAllocator& _alloc)
00033 : header(_alloc)
00034 , transforms(_alloc)
00035 {
00036 }
00037
00038 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00039 ::std_msgs::Header_<ContainerAllocator> header;
00040
00041 typedef std::vector< ::geometry_msgs::Transform_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Transform_<ContainerAllocator> >::other > _transforms_type;
00042 std::vector< ::geometry_msgs::Transform_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Transform_<ContainerAllocator> >::other > transforms;
00043
00044
00045 typedef boost::shared_ptr< ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::visp_hand2eye_calibration::TransformArray_<std::allocator<void> > TransformArray;
00050
00051 typedef boost::shared_ptr< ::visp_hand2eye_calibration::TransformArray> TransformArrayPtr;
00052 typedef boost::shared_ptr< ::visp_hand2eye_calibration::TransformArray const> TransformArrayConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "69339633e969be70367b6ff0fe206328";
00074 }
00075
00076 static const char* value(const ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0x69339633e969be70ULL;
00078 static const uint64_t static_value2 = 0x367b6ff0fe206328ULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "visp_hand2eye_calibration/TransformArray";
00086 }
00087
00088 static const char* value(const ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "# An array of transforms with a header for global reference.\n\
00096 \n\
00097 Header header\n\
00098 \n\
00099 geometry_msgs/Transform[] transforms\n\
00100 ================================================================================\n\
00101 MSG: std_msgs/Header\n\
00102 # Standard metadata for higher-level stamped data types.\n\
00103 # This is generally used to communicate timestamped data \n\
00104 # in a particular coordinate frame.\n\
00105 # \n\
00106 # sequence ID: consecutively increasing ID \n\
00107 uint32 seq\n\
00108 #Two-integer timestamp that is expressed as:\n\
00109 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00110 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00111 # time-handling sugar is provided by the client library\n\
00112 time stamp\n\
00113 #Frame this data is associated with\n\
00114 # 0: no frame\n\
00115 # 1: global frame\n\
00116 string frame_id\n\
00117 \n\
00118 ================================================================================\n\
00119 MSG: geometry_msgs/Transform\n\
00120 # This represents the transform between two coordinate frames in free space.\n\
00121 \n\
00122 Vector3 translation\n\
00123 Quaternion rotation\n\
00124 \n\
00125 ================================================================================\n\
00126 MSG: geometry_msgs/Vector3\n\
00127 # This represents a vector in free space. \n\
00128 \n\
00129 float64 x\n\
00130 float64 y\n\
00131 float64 z\n\
00132 ================================================================================\n\
00133 MSG: geometry_msgs/Quaternion\n\
00134 # This represents an orientation in free space in quaternion form.\n\
00135 \n\
00136 float64 x\n\
00137 float64 y\n\
00138 float64 z\n\
00139 float64 w\n\
00140 \n\
00141 ";
00142 }
00143
00144 static const char* value(const ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> &) { return value(); }
00145 };
00146
00147 template<class ContainerAllocator> struct HasHeader< ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> > : public TrueType {};
00148 template<class ContainerAllocator> struct HasHeader< const ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> > : public TrueType {};
00149 }
00150 }
00151
00152 namespace ros
00153 {
00154 namespace serialization
00155 {
00156
00157 template<class ContainerAllocator> struct Serializer< ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> >
00158 {
00159 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00160 {
00161 stream.next(m.header);
00162 stream.next(m.transforms);
00163 }
00164
00165 ROS_DECLARE_ALLINONE_SERIALIZER;
00166 };
00167 }
00168 }
00169
00170 namespace ros
00171 {
00172 namespace message_operations
00173 {
00174
00175 template<class ContainerAllocator>
00176 struct Printer< ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> >
00177 {
00178 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> & v)
00179 {
00180 s << indent << "header: ";
00181 s << std::endl;
00182 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00183 s << indent << "transforms[]" << std::endl;
00184 for (size_t i = 0; i < v.transforms.size(); ++i)
00185 {
00186 s << indent << " transforms[" << i << "]: ";
00187 s << std::endl;
00188 s << indent;
00189 Printer< ::geometry_msgs::Transform_<ContainerAllocator> >::stream(s, indent + " ", v.transforms[i]);
00190 }
00191 }
00192 };
00193
00194
00195 }
00196 }
00197
00198 #endif // VISP_HAND2EYE_CALIBRATION_MESSAGE_TRANSFORMARRAY_H
00199