ModelObjectInHandFeedback.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_object_manipulation/doc_stacks/2014-10-06_11-30-38.833395/pr2_object_manipulation/applications/pr2_create_object_model/msg/ModelObjectInHandFeedback.msg */
00002 #ifndef PR2_CREATE_OBJECT_MODEL_MESSAGE_MODELOBJECTINHANDFEEDBACK_H
00003 #define PR2_CREATE_OBJECT_MODEL_MESSAGE_MODELOBJECTINHANDFEEDBACK_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_create_object_model
00019 {
00020 template <class ContainerAllocator>
00021 struct ModelObjectInHandFeedback_ {
00022   typedef ModelObjectInHandFeedback_<ContainerAllocator> Type;
00023 
00024   ModelObjectInHandFeedback_()
00025   : phase(0)
00026   , rotate_ind(0)
00027   {
00028   }
00029 
00030   ModelObjectInHandFeedback_(const ContainerAllocator& _alloc)
00031   : phase(0)
00032   , rotate_ind(0)
00033   {
00034   }
00035 
00036   typedef int32_t _phase_type;
00037   int32_t phase;
00038 
00039   typedef int32_t _rotate_ind_type;
00040   int32_t rotate_ind;
00041 
00042   enum { BEFORE_MOVE = 0 };
00043   enum { CLEAR_MOVE = 1 };
00044   enum { MOVE_TO_ROTATE_POSE = 2 };
00045   enum { ROTATING = 3 };
00046   enum { DONE = 4 };
00047 
00048   typedef boost::shared_ptr< ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct ModelObjectInHandFeedback
00052 typedef  ::pr2_create_object_model::ModelObjectInHandFeedback_<std::allocator<void> > ModelObjectInHandFeedback;
00053 
00054 typedef boost::shared_ptr< ::pr2_create_object_model::ModelObjectInHandFeedback> ModelObjectInHandFeedbackPtr;
00055 typedef boost::shared_ptr< ::pr2_create_object_model::ModelObjectInHandFeedback const> ModelObjectInHandFeedbackConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace pr2_create_object_model
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "cfc629925fff8facecf764939ad9a751";
00077   }
00078 
00079   static const char* value(const  ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0xcfc629925fff8facULL;
00081   static const uint64_t static_value2 = 0xecf764939ad9a751ULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "pr2_create_object_model/ModelObjectInHandFeedback";
00089   }
00090 
00091   static const char* value(const  ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00099 \n\
00100 # which phase the process is in\n\
00101 int32 phase\n\
00102 int32 BEFORE_MOVE=0\n\
00103 int32 CLEAR_MOVE=1\n\
00104 int32 MOVE_TO_ROTATE_POSE=2\n\
00105 int32 ROTATING=3\n\
00106 int32 DONE=4\n\
00107 \n\
00108 # how many rotate-poses have we gone to/are we in now\n\
00109 int32 rotate_ind\n\
00110 \n\
00111 \n\
00112 ";
00113   }
00114 
00115   static const char* value(const  ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator> &) { return value(); } 
00116 };
00117 
00118 template<class ContainerAllocator> struct IsFixedSize< ::pr2_create_object_model::ModelObjectInHandFeedback_<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< ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator> >
00128 {
00129   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00130   {
00131     stream.next(m.phase);
00132     stream.next(m.rotate_ind);
00133   }
00134 
00135   ROS_DECLARE_ALLINONE_SERIALIZER;
00136 }; // struct ModelObjectInHandFeedback_
00137 } // namespace serialization
00138 } // namespace ros
00139 
00140 namespace ros
00141 {
00142 namespace message_operations
00143 {
00144 
00145 template<class ContainerAllocator>
00146 struct Printer< ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator> >
00147 {
00148   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_create_object_model::ModelObjectInHandFeedback_<ContainerAllocator> & v) 
00149   {
00150     s << indent << "phase: ";
00151     Printer<int32_t>::stream(s, indent + "  ", v.phase);
00152     s << indent << "rotate_ind: ";
00153     Printer<int32_t>::stream(s, indent + "  ", v.rotate_ind);
00154   }
00155 };
00156 
00157 
00158 } // namespace message_operations
00159 } // namespace ros
00160 
00161 #endif // PR2_CREATE_OBJECT_MODEL_MESSAGE_MODELOBJECTINHANDFEEDBACK_H
00162 


pr2_create_object_model
Author(s): Kaijen Hsiao
autogenerated on Mon Oct 6 2014 11:49:24