Go to the documentation of this file.00001
00002 #ifndef HRL_LIB_MESSAGE_WRENCHPOSEARRAYSTAMPED_H
00003 #define HRL_LIB_MESSAGE_WRENCHPOSEARRAYSTAMPED_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/Wrench.h"
00019 #include "geometry_msgs/Pose.h"
00020
00021 namespace hrl_lib
00022 {
00023 template <class ContainerAllocator>
00024 struct WrenchPoseArrayStamped_ {
00025 typedef WrenchPoseArrayStamped_<ContainerAllocator> Type;
00026
00027 WrenchPoseArrayStamped_()
00028 : header()
00029 , wrench()
00030 , poses()
00031 {
00032 }
00033
00034 WrenchPoseArrayStamped_(const ContainerAllocator& _alloc)
00035 : header(_alloc)
00036 , wrench(_alloc)
00037 , poses(_alloc)
00038 {
00039 }
00040
00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00042 ::std_msgs::Header_<ContainerAllocator> header;
00043
00044 typedef ::geometry_msgs::Wrench_<ContainerAllocator> _wrench_type;
00045 ::geometry_msgs::Wrench_<ContainerAllocator> wrench;
00046
00047 typedef std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > _poses_type;
00048 std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > poses;
00049
00050
00051 typedef boost::shared_ptr< ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> > Ptr;
00052 typedef boost::shared_ptr< ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> const> ConstPtr;
00053 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 };
00055 typedef ::hrl_lib::WrenchPoseArrayStamped_<std::allocator<void> > WrenchPoseArrayStamped;
00056
00057 typedef boost::shared_ptr< ::hrl_lib::WrenchPoseArrayStamped> WrenchPoseArrayStampedPtr;
00058 typedef boost::shared_ptr< ::hrl_lib::WrenchPoseArrayStamped const> WrenchPoseArrayStampedConstPtr;
00059
00060
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> & v)
00063 {
00064 ros::message_operations::Printer< ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> >::stream(s, "", v);
00065 return s;}
00066
00067 }
00068
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "327486bfeb5bbc48d8eb365e9d139038";
00080 }
00081
00082 static const char* value(const ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> &) { return value(); }
00083 static const uint64_t static_value1 = 0x327486bfeb5bbc48ULL;
00084 static const uint64_t static_value2 = 0xd8eb365e9d139038ULL;
00085 };
00086
00087 template<class ContainerAllocator>
00088 struct DataType< ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "hrl_lib/WrenchPoseArrayStamped";
00092 }
00093
00094 static const char* value(const ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> &) { return value(); }
00095 };
00096
00097 template<class ContainerAllocator>
00098 struct Definition< ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> > {
00099 static const char* value()
00100 {
00101 return "Header header\n\
00102 geometry_msgs/Wrench wrench\n\
00103 geometry_msgs/Pose[] poses\n\
00104 \n\
00105 ================================================================================\n\
00106 MSG: std_msgs/Header\n\
00107 # Standard metadata for higher-level stamped data types.\n\
00108 # This is generally used to communicate timestamped data \n\
00109 # in a particular coordinate frame.\n\
00110 # \n\
00111 # sequence ID: consecutively increasing ID \n\
00112 uint32 seq\n\
00113 #Two-integer timestamp that is expressed as:\n\
00114 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00115 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00116 # time-handling sugar is provided by the client library\n\
00117 time stamp\n\
00118 #Frame this data is associated with\n\
00119 # 0: no frame\n\
00120 # 1: global frame\n\
00121 string frame_id\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: geometry_msgs/Wrench\n\
00125 # This represents force in free space, seperated into \n\
00126 # it's linear and angular parts. \n\
00127 Vector3 force\n\
00128 Vector3 torque\n\
00129 \n\
00130 ================================================================================\n\
00131 MSG: geometry_msgs/Vector3\n\
00132 # This represents a vector in free space. \n\
00133 \n\
00134 float64 x\n\
00135 float64 y\n\
00136 float64 z\n\
00137 ================================================================================\n\
00138 MSG: geometry_msgs/Pose\n\
00139 # A representation of pose in free space, composed of postion and orientation. \n\
00140 Point position\n\
00141 Quaternion orientation\n\
00142 \n\
00143 ================================================================================\n\
00144 MSG: geometry_msgs/Point\n\
00145 # This contains the position of a point in free space\n\
00146 float64 x\n\
00147 float64 y\n\
00148 float64 z\n\
00149 \n\
00150 ================================================================================\n\
00151 MSG: geometry_msgs/Quaternion\n\
00152 # This represents an orientation in free space in quaternion form.\n\
00153 \n\
00154 float64 x\n\
00155 float64 y\n\
00156 float64 z\n\
00157 float64 w\n\
00158 \n\
00159 ";
00160 }
00161
00162 static const char* value(const ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> &) { return value(); }
00163 };
00164
00165 template<class ContainerAllocator> struct HasHeader< ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> > : public TrueType {};
00166 template<class ContainerAllocator> struct HasHeader< const ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> > : public TrueType {};
00167 }
00168 }
00169
00170 namespace ros
00171 {
00172 namespace serialization
00173 {
00174
00175 template<class ContainerAllocator> struct Serializer< ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> >
00176 {
00177 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00178 {
00179 stream.next(m.header);
00180 stream.next(m.wrench);
00181 stream.next(m.poses);
00182 }
00183
00184 ROS_DECLARE_ALLINONE_SERIALIZER;
00185 };
00186 }
00187 }
00188
00189 namespace ros
00190 {
00191 namespace message_operations
00192 {
00193
00194 template<class ContainerAllocator>
00195 struct Printer< ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> >
00196 {
00197 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::hrl_lib::WrenchPoseArrayStamped_<ContainerAllocator> & v)
00198 {
00199 s << indent << "header: ";
00200 s << std::endl;
00201 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00202 s << indent << "wrench: ";
00203 s << std::endl;
00204 Printer< ::geometry_msgs::Wrench_<ContainerAllocator> >::stream(s, indent + " ", v.wrench);
00205 s << indent << "poses[]" << std::endl;
00206 for (size_t i = 0; i < v.poses.size(); ++i)
00207 {
00208 s << indent << " poses[" << i << "]: ";
00209 s << std::endl;
00210 s << indent;
00211 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.poses[i]);
00212 }
00213 }
00214 };
00215
00216
00217 }
00218 }
00219
00220 #endif // HRL_LIB_MESSAGE_WRENCHPOSEARRAYSTAMPED_H
00221
hrl_lib
Author(s): Cressel Anderson, Travis Deyle, Advait Jain, Hai Nguyen, Advisor: Prof. Charlie Kemp, Lab: Healthcare Robotics Lab at Georgia Tech
autogenerated on Wed Nov 27 2013 11:34:06