JointErrorData.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/hrl_behaviors/pr2_collision_monitor/msg/JointErrorData.msg */
00002 #ifndef PR2_COLLISION_MONITOR_MESSAGE_JOINTERRORDATA_H
00003 #define PR2_COLLISION_MONITOR_MESSAGE_JOINTERRORDATA_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 pr2_collision_monitor
00019 {
00020 template <class ContainerAllocator>
00021 struct JointErrorData_ {
00022   typedef JointErrorData_<ContainerAllocator> Type;
00023 
00024   JointErrorData_()
00025   : behavior()
00026   , arm()
00027   , min_errors()
00028   , max_errors()
00029   {
00030   }
00031 
00032   JointErrorData_(const ContainerAllocator& _alloc)
00033   : behavior(_alloc)
00034   , arm(_alloc)
00035   , min_errors(_alloc)
00036   , max_errors(_alloc)
00037   {
00038   }
00039 
00040   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _behavior_type;
00041   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  behavior;
00042 
00043   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _arm_type;
00044   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  arm;
00045 
00046   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _min_errors_type;
00047   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  min_errors;
00048 
00049   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _max_errors_type;
00050   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  max_errors;
00051 
00052 
00053   typedef boost::shared_ptr< ::pr2_collision_monitor::JointErrorData_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::pr2_collision_monitor::JointErrorData_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct JointErrorData
00057 typedef  ::pr2_collision_monitor::JointErrorData_<std::allocator<void> > JointErrorData;
00058 
00059 typedef boost::shared_ptr< ::pr2_collision_monitor::JointErrorData> JointErrorDataPtr;
00060 typedef boost::shared_ptr< ::pr2_collision_monitor::JointErrorData const> JointErrorDataConstPtr;
00061 
00062 
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const  ::pr2_collision_monitor::JointErrorData_<ContainerAllocator> & v)
00065 {
00066   ros::message_operations::Printer< ::pr2_collision_monitor::JointErrorData_<ContainerAllocator> >::stream(s, "", v);
00067   return s;}
00068 
00069 } // namespace pr2_collision_monitor
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::pr2_collision_monitor::JointErrorData_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::pr2_collision_monitor::JointErrorData_<ContainerAllocator>  const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::pr2_collision_monitor::JointErrorData_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "fb0d47f57f198e4326fc72125346f291";
00082   }
00083 
00084   static const char* value(const  ::pr2_collision_monitor::JointErrorData_<ContainerAllocator> &) { return value(); } 
00085   static const uint64_t static_value1 = 0xfb0d47f57f198e43ULL;
00086   static const uint64_t static_value2 = 0x26fc72125346f291ULL;
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct DataType< ::pr2_collision_monitor::JointErrorData_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "pr2_collision_monitor/JointErrorData";
00094   }
00095 
00096   static const char* value(const  ::pr2_collision_monitor::JointErrorData_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct Definition< ::pr2_collision_monitor::JointErrorData_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "string behavior\n\
00104 string arm\n\
00105 float32[] min_errors\n\
00106 float32[] max_errors\n\
00107 \n\
00108 ";
00109   }
00110 
00111   static const char* value(const  ::pr2_collision_monitor::JointErrorData_<ContainerAllocator> &) { return value(); } 
00112 };
00113 
00114 } // namespace message_traits
00115 } // namespace ros
00116 
00117 namespace ros
00118 {
00119 namespace serialization
00120 {
00121 
00122 template<class ContainerAllocator> struct Serializer< ::pr2_collision_monitor::JointErrorData_<ContainerAllocator> >
00123 {
00124   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00125   {
00126     stream.next(m.behavior);
00127     stream.next(m.arm);
00128     stream.next(m.min_errors);
00129     stream.next(m.max_errors);
00130   }
00131 
00132   ROS_DECLARE_ALLINONE_SERIALIZER;
00133 }; // struct JointErrorData_
00134 } // namespace serialization
00135 } // namespace ros
00136 
00137 namespace ros
00138 {
00139 namespace message_operations
00140 {
00141 
00142 template<class ContainerAllocator>
00143 struct Printer< ::pr2_collision_monitor::JointErrorData_<ContainerAllocator> >
00144 {
00145   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_collision_monitor::JointErrorData_<ContainerAllocator> & v) 
00146   {
00147     s << indent << "behavior: ";
00148     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.behavior);
00149     s << indent << "arm: ";
00150     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.arm);
00151     s << indent << "min_errors[]" << std::endl;
00152     for (size_t i = 0; i < v.min_errors.size(); ++i)
00153     {
00154       s << indent << "  min_errors[" << i << "]: ";
00155       Printer<float>::stream(s, indent + "  ", v.min_errors[i]);
00156     }
00157     s << indent << "max_errors[]" << std::endl;
00158     for (size_t i = 0; i < v.max_errors.size(); ++i)
00159     {
00160       s << indent << "  max_errors[" << i << "]: ";
00161       Printer<float>::stream(s, indent + "  ", v.max_errors[i]);
00162     }
00163   }
00164 };
00165 
00166 
00167 } // namespace message_operations
00168 } // namespace ros
00169 
00170 #endif // PR2_COLLISION_MONITOR_MESSAGE_JOINTERRORDATA_H
00171 


pr2_collision_monitor
Author(s): Kelsey Hawkins, Advisor: Prof. Charlie Kemp (Healthcare Robotics Lab at Georgia Tech)
autogenerated on Wed Nov 27 2013 11:40:10