PlaceFeedback.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/PlaceFeedback.msg */
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_PLACEFEEDBACK_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_PLACEFEEDBACK_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 PlaceFeedback_ {
00022   typedef PlaceFeedback_<ContainerAllocator> Type;
00023 
00024   PlaceFeedback_()
00025   : current_location(0)
00026   , total_locations(0)
00027   {
00028   }
00029 
00030   PlaceFeedback_(const ContainerAllocator& _alloc)
00031   : current_location(0)
00032   , total_locations(0)
00033   {
00034   }
00035 
00036   typedef int32_t _current_location_type;
00037   int32_t current_location;
00038 
00039   typedef int32_t _total_locations_type;
00040   int32_t total_locations;
00041 
00042 
00043   typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct PlaceFeedback
00047 typedef  ::object_manipulation_msgs::PlaceFeedback_<std::allocator<void> > PlaceFeedback;
00048 
00049 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceFeedback> PlaceFeedbackPtr;
00050 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceFeedback const> PlaceFeedbackConstPtr;
00051 
00052 
00053 template<typename ContainerAllocator>
00054 std::ostream& operator<<(std::ostream& s, const  ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> & v)
00055 {
00056   ros::message_operations::Printer< ::object_manipulation_msgs::PlaceFeedback_<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::PlaceFeedback_<ContainerAllocator> > : public TrueType {};
00066 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator>  const> : public TrueType {};
00067 template<class ContainerAllocator>
00068 struct MD5Sum< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> > {
00069   static const char* value() 
00070   {
00071     return "5976b498bfb9532a526a0e0e50282d2f";
00072   }
00073 
00074   static const char* value(const  ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> &) { return value(); } 
00075   static const uint64_t static_value1 = 0x5976b498bfb9532aULL;
00076   static const uint64_t static_value2 = 0x526a0e0e50282d2fULL;
00077 };
00078 
00079 template<class ContainerAllocator>
00080 struct DataType< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> > {
00081   static const char* value() 
00082   {
00083     return "object_manipulation_msgs/PlaceFeedback";
00084   }
00085 
00086   static const char* value(const  ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> &) { return value(); } 
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct Definition< ::object_manipulation_msgs::PlaceFeedback_<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 place location currently being attempted\n\
00096 int32 current_location\n\
00097 \n\
00098 # The total number of locations that will be attempted\n\
00099 int32 total_locations\n\
00100 \n\
00101 \n\
00102 ";
00103   }
00104 
00105   static const char* value(const  ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> &) { return value(); } 
00106 };
00107 
00108 template<class ContainerAllocator> struct IsFixedSize< ::object_manipulation_msgs::PlaceFeedback_<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::PlaceFeedback_<ContainerAllocator> >
00118 {
00119   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00120   {
00121     stream.next(m.current_location);
00122     stream.next(m.total_locations);
00123   }
00124 
00125   ROS_DECLARE_ALLINONE_SERIALIZER;
00126 }; // struct PlaceFeedback_
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::PlaceFeedback_<ContainerAllocator> >
00137 {
00138   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> & v) 
00139   {
00140     s << indent << "current_location: ";
00141     Printer<int32_t>::stream(s, indent + "  ", v.current_location);
00142     s << indent << "total_locations: ";
00143     Printer<int32_t>::stream(s, indent + "  ", v.total_locations);
00144   }
00145 };
00146 
00147 
00148 } // namespace message_operations
00149 } // namespace ros
00150 
00151 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_PLACEFEEDBACK_H
00152 


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