ObjectInfo.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-gt-ros-pkg/doc_stacks/2013-11-27_11-23-35.692702/hrl-haptic-manip/hrl_haptic_manipulation_in_clutter_msgs/msg/ObjectInfo.msg */
00002 #ifndef HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_OBJECTINFO_H
00003 #define HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_OBJECTINFO_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 hrl_haptic_manipulation_in_clutter_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct ObjectInfo_ {
00022   typedef ObjectInfo_<ContainerAllocator> Type;
00023 
00024   ObjectInfo_()
00025   : obj_id(0.0)
00026   , contact_x(0.0)
00027   , contact_y(0.0)
00028   , contact_z(0.0)
00029   {
00030   }
00031 
00032   ObjectInfo_(const ContainerAllocator& _alloc)
00033   : obj_id(0.0)
00034   , contact_x(0.0)
00035   , contact_y(0.0)
00036   , contact_z(0.0)
00037   {
00038   }
00039 
00040   typedef double _obj_id_type;
00041   double obj_id;
00042 
00043   typedef double _contact_x_type;
00044   double contact_x;
00045 
00046   typedef double _contact_y_type;
00047   double contact_y;
00048 
00049   typedef double _contact_z_type;
00050   double contact_z;
00051 
00052 
00053   typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct ObjectInfo
00057 typedef  ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<std::allocator<void> > ObjectInfo;
00058 
00059 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo> ObjectInfoPtr;
00060 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo const> ObjectInfoConstPtr;
00061 
00062 
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const  ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> & v)
00065 {
00066   ros::message_operations::Printer< ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> >::stream(s, "", v);
00067   return s;}
00068 
00069 } // namespace hrl_haptic_manipulation_in_clutter_msgs
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator>  const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "c766c32f43d7aa47a71b93fc7d2e259b";
00082   }
00083 
00084   static const char* value(const  ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> &) { return value(); } 
00085   static const uint64_t static_value1 = 0xc766c32f43d7aa47ULL;
00086   static const uint64_t static_value2 = 0xa71b93fc7d2e259bULL;
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct DataType< ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "hrl_haptic_manipulation_in_clutter_msgs/ObjectInfo";
00094   }
00095 
00096   static const char* value(const  ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct Definition< ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "\n\
00104 float64 obj_id\n\
00105 float64 contact_x\n\
00106 float64 contact_y\n\
00107 float64 contact_z\n\
00108 \n\
00109 \n\
00110 \n\
00111 \n\
00112 ";
00113   }
00114 
00115   static const char* value(const  ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> &) { return value(); } 
00116 };
00117 
00118 template<class ContainerAllocator> struct IsFixedSize< ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> > : public TrueType {};
00119 } // namespace message_traits
00120 } // namespace ros
00121 
00122 namespace ros
00123 {
00124 namespace serialization
00125 {
00126 
00127 template<class ContainerAllocator> struct Serializer< ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> >
00128 {
00129   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00130   {
00131     stream.next(m.obj_id);
00132     stream.next(m.contact_x);
00133     stream.next(m.contact_y);
00134     stream.next(m.contact_z);
00135   }
00136 
00137   ROS_DECLARE_ALLINONE_SERIALIZER;
00138 }; // struct ObjectInfo_
00139 } // namespace serialization
00140 } // namespace ros
00141 
00142 namespace ros
00143 {
00144 namespace message_operations
00145 {
00146 
00147 template<class ContainerAllocator>
00148 struct Printer< ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> >
00149 {
00150   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::hrl_haptic_manipulation_in_clutter_msgs::ObjectInfo_<ContainerAllocator> & v) 
00151   {
00152     s << indent << "obj_id: ";
00153     Printer<double>::stream(s, indent + "  ", v.obj_id);
00154     s << indent << "contact_x: ";
00155     Printer<double>::stream(s, indent + "  ", v.contact_x);
00156     s << indent << "contact_y: ";
00157     Printer<double>::stream(s, indent + "  ", v.contact_y);
00158     s << indent << "contact_z: ";
00159     Printer<double>::stream(s, indent + "  ", v.contact_z);
00160   }
00161 };
00162 
00163 
00164 } // namespace message_operations
00165 } // namespace ros
00166 
00167 #endif // HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_OBJECTINFO_H
00168 


hrl_haptic_manipulation_in_clutter_msgs
Author(s): Advait Jain, Marc Killpack, Jeff Hawke. Advisor: Prof. Charlie Kemp. Healthcare Robotics Lab, Georgia Tech.
autogenerated on Wed Nov 27 2013 11:33:37