PickupFeedback.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-object_manipulation/doc_stacks/2014-10-06_02-51-20.607186/object_manipulation/object_manipulation_msgs/msg/PickupFeedback.msg */
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_PICKUPFEEDBACK_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_PICKUPFEEDBACK_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 object_manipulation_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct PickupFeedback_ {
00022   typedef PickupFeedback_<ContainerAllocator> Type;
00023 
00024   PickupFeedback_()
00025   : current_grasp(0)
00026   , total_grasps(0)
00027   {
00028   }
00029 
00030   PickupFeedback_(const ContainerAllocator& _alloc)
00031   : current_grasp(0)
00032   , total_grasps(0)
00033   {
00034   }
00035 
00036   typedef int32_t _current_grasp_type;
00037   int32_t current_grasp;
00038 
00039   typedef int32_t _total_grasps_type;
00040   int32_t total_grasps;
00041 
00042 
00043   typedef boost::shared_ptr< ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct PickupFeedback
00047 typedef  ::object_manipulation_msgs::PickupFeedback_<std::allocator<void> > PickupFeedback;
00048 
00049 typedef boost::shared_ptr< ::object_manipulation_msgs::PickupFeedback> PickupFeedbackPtr;
00050 typedef boost::shared_ptr< ::object_manipulation_msgs::PickupFeedback const> PickupFeedbackConstPtr;
00051 
00052 
00053 template<typename ContainerAllocator>
00054 std::ostream& operator<<(std::ostream& s, const  ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> & v)
00055 {
00056   ros::message_operations::Printer< ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> >::stream(s, "", v);
00057   return s;}
00058 
00059 } // namespace object_manipulation_msgs
00060 
00061 namespace ros
00062 {
00063 namespace message_traits
00064 {
00065 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> > : public TrueType {};
00066 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator>  const> : public TrueType {};
00067 template<class ContainerAllocator>
00068 struct MD5Sum< ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> > {
00069   static const char* value() 
00070   {
00071     return "864c83eb233aaa8fcbe0d88caed02501";
00072   }
00073 
00074   static const char* value(const  ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> &) { return value(); } 
00075   static const uint64_t static_value1 = 0x864c83eb233aaa8fULL;
00076   static const uint64_t static_value2 = 0xcbe0d88caed02501ULL;
00077 };
00078 
00079 template<class ContainerAllocator>
00080 struct DataType< ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> > {
00081   static const char* value() 
00082   {
00083     return "object_manipulation_msgs/PickupFeedback";
00084   }
00085 
00086   static const char* value(const  ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> &) { return value(); } 
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct Definition< ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00094 \n\
00095 # The number of the grasp currently being attempted\n\
00096 int32 current_grasp\n\
00097 \n\
00098 # The total number of grasps that will be attempted\n\
00099 int32 total_grasps\n\
00100 \n\
00101 \n\
00102 ";
00103   }
00104 
00105   static const char* value(const  ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> &) { return value(); } 
00106 };
00107 
00108 template<class ContainerAllocator> struct IsFixedSize< ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> > : public TrueType {};
00109 } // namespace message_traits
00110 } // namespace ros
00111 
00112 namespace ros
00113 {
00114 namespace serialization
00115 {
00116 
00117 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> >
00118 {
00119   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00120   {
00121     stream.next(m.current_grasp);
00122     stream.next(m.total_grasps);
00123   }
00124 
00125   ROS_DECLARE_ALLINONE_SERIALIZER;
00126 }; // struct PickupFeedback_
00127 } // namespace serialization
00128 } // namespace ros
00129 
00130 namespace ros
00131 {
00132 namespace message_operations
00133 {
00134 
00135 template<class ContainerAllocator>
00136 struct Printer< ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> >
00137 {
00138   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::object_manipulation_msgs::PickupFeedback_<ContainerAllocator> & v) 
00139   {
00140     s << indent << "current_grasp: ";
00141     Printer<int32_t>::stream(s, indent + "  ", v.current_grasp);
00142     s << indent << "total_grasps: ";
00143     Printer<int32_t>::stream(s, indent + "  ", v.total_grasps);
00144   }
00145 };
00146 
00147 
00148 } // namespace message_operations
00149 } // namespace ros
00150 
00151 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_PICKUPFEEDBACK_H
00152 


object_manipulation_msgs
Author(s): Matei Ciocarlie
autogenerated on Mon Oct 6 2014 02:58:11