Go to the documentation of this file.00001
00002 #ifndef HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_BODYDRAW_H
00003 #define HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_BODYDRAW_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 "hrl_msgs/FloatArrayBare.h"
00019 #include "hrl_msgs/FloatArrayBare.h"
00020 #include "hrl_msgs/FloatArrayBare.h"
00021 #include "hrl_msgs/FloatArrayBare.h"
00022
00023 namespace hrl_haptic_manipulation_in_clutter_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct BodyDraw_ {
00027 typedef BodyDraw_<ContainerAllocator> Type;
00028
00029 BodyDraw_()
00030 : header()
00031 , obst_loc()
00032 , obst_rot()
00033 , link_loc()
00034 , link_rot()
00035 {
00036 }
00037
00038 BodyDraw_(const ContainerAllocator& _alloc)
00039 : header(_alloc)
00040 , obst_loc(_alloc)
00041 , obst_rot(_alloc)
00042 , link_loc(_alloc)
00043 , link_rot(_alloc)
00044 {
00045 }
00046
00047 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00048 ::std_msgs::Header_<ContainerAllocator> header;
00049
00050 typedef std::vector< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::other > _obst_loc_type;
00051 std::vector< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::other > obst_loc;
00052
00053 typedef std::vector< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::other > _obst_rot_type;
00054 std::vector< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::other > obst_rot;
00055
00056 typedef std::vector< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::other > _link_loc_type;
00057 std::vector< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::other > link_loc;
00058
00059 typedef std::vector< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::other > _link_rot_type;
00060 std::vector< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::other > link_rot;
00061
00062
00063 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> > Ptr;
00064 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> const> ConstPtr;
00065 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00066 };
00067 typedef ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<std::allocator<void> > BodyDraw;
00068
00069 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw> BodyDrawPtr;
00070 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw const> BodyDrawConstPtr;
00071
00072
00073 template<typename ContainerAllocator>
00074 std::ostream& operator<<(std::ostream& s, const ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> & v)
00075 {
00076 ros::message_operations::Printer< ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> >::stream(s, "", v);
00077 return s;}
00078
00079 }
00080
00081 namespace ros
00082 {
00083 namespace message_traits
00084 {
00085 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> > : public TrueType {};
00086 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> const> : public TrueType {};
00087 template<class ContainerAllocator>
00088 struct MD5Sum< ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "9d2f1cfc83ddaebaf16587e23cfc1748";
00092 }
00093
00094 static const char* value(const ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> &) { return value(); }
00095 static const uint64_t static_value1 = 0x9d2f1cfc83ddaebaULL;
00096 static const uint64_t static_value2 = 0xf16587e23cfc1748ULL;
00097 };
00098
00099 template<class ContainerAllocator>
00100 struct DataType< ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "hrl_haptic_manipulation_in_clutter_msgs/BodyDraw";
00104 }
00105
00106 static const char* value(const ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> &) { return value(); }
00107 };
00108
00109 template<class ContainerAllocator>
00110 struct Definition< ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> > {
00111 static const char* value()
00112 {
00113 return "Header header\n\
00114 \n\
00115 # commented out by Advait on Aug 30, 2011. It is not populated in\n\
00116 # demo_kinematic.cpp\n\
00117 #string[] link_names\n\
00118 \n\
00119 hrl_msgs/FloatArrayBare[] obst_loc\n\
00120 hrl_msgs/FloatArrayBare[] obst_rot\n\
00121 \n\
00122 hrl_msgs/FloatArrayBare[] link_loc\n\
00123 hrl_msgs/FloatArrayBare[] link_rot\n\
00124 \n\
00125 \n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: std_msgs/Header\n\
00129 # Standard metadata for higher-level stamped data types.\n\
00130 # This is generally used to communicate timestamped data \n\
00131 # in a particular coordinate frame.\n\
00132 # \n\
00133 # sequence ID: consecutively increasing ID \n\
00134 uint32 seq\n\
00135 #Two-integer timestamp that is expressed as:\n\
00136 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00137 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00138 # time-handling sugar is provided by the client library\n\
00139 time stamp\n\
00140 #Frame this data is associated with\n\
00141 # 0: no frame\n\
00142 # 1: global frame\n\
00143 string frame_id\n\
00144 \n\
00145 ================================================================================\n\
00146 MSG: hrl_msgs/FloatArrayBare\n\
00147 float64[] data\n\
00148 \n\
00149 \n\
00150 ";
00151 }
00152
00153 static const char* value(const ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> &) { return value(); }
00154 };
00155
00156 template<class ContainerAllocator> struct HasHeader< ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> > : public TrueType {};
00157 template<class ContainerAllocator> struct HasHeader< const ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> > : public TrueType {};
00158 }
00159 }
00160
00161 namespace ros
00162 {
00163 namespace serialization
00164 {
00165
00166 template<class ContainerAllocator> struct Serializer< ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> >
00167 {
00168 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00169 {
00170 stream.next(m.header);
00171 stream.next(m.obst_loc);
00172 stream.next(m.obst_rot);
00173 stream.next(m.link_loc);
00174 stream.next(m.link_rot);
00175 }
00176
00177 ROS_DECLARE_ALLINONE_SERIALIZER;
00178 };
00179 }
00180 }
00181
00182 namespace ros
00183 {
00184 namespace message_operations
00185 {
00186
00187 template<class ContainerAllocator>
00188 struct Printer< ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> >
00189 {
00190 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::hrl_haptic_manipulation_in_clutter_msgs::BodyDraw_<ContainerAllocator> & v)
00191 {
00192 s << indent << "header: ";
00193 s << std::endl;
00194 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00195 s << indent << "obst_loc[]" << std::endl;
00196 for (size_t i = 0; i < v.obst_loc.size(); ++i)
00197 {
00198 s << indent << " obst_loc[" << i << "]: ";
00199 s << std::endl;
00200 s << indent;
00201 Printer< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::stream(s, indent + " ", v.obst_loc[i]);
00202 }
00203 s << indent << "obst_rot[]" << std::endl;
00204 for (size_t i = 0; i < v.obst_rot.size(); ++i)
00205 {
00206 s << indent << " obst_rot[" << i << "]: ";
00207 s << std::endl;
00208 s << indent;
00209 Printer< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::stream(s, indent + " ", v.obst_rot[i]);
00210 }
00211 s << indent << "link_loc[]" << std::endl;
00212 for (size_t i = 0; i < v.link_loc.size(); ++i)
00213 {
00214 s << indent << " link_loc[" << i << "]: ";
00215 s << std::endl;
00216 s << indent;
00217 Printer< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::stream(s, indent + " ", v.link_loc[i]);
00218 }
00219 s << indent << "link_rot[]" << std::endl;
00220 for (size_t i = 0; i < v.link_rot.size(); ++i)
00221 {
00222 s << indent << " link_rot[" << i << "]: ";
00223 s << std::endl;
00224 s << indent;
00225 Printer< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::stream(s, indent + " ", v.link_rot[i]);
00226 }
00227 }
00228 };
00229
00230
00231 }
00232 }
00233
00234 #endif // HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_BODYDRAW_H
00235