GraspPlanningErrorCode.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-object_manipulation/doc_stacks/2014-01-02_11-30-37.444899/object_manipulation/object_manipulation_msgs/msg/GraspPlanningErrorCode.msg */
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_GRASPPLANNINGERRORCODE_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_GRASPPLANNINGERRORCODE_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 GraspPlanningErrorCode_ {
00022   typedef GraspPlanningErrorCode_<ContainerAllocator> Type;
00023 
00024   GraspPlanningErrorCode_()
00025   : value(0)
00026   {
00027   }
00028 
00029   GraspPlanningErrorCode_(const ContainerAllocator& _alloc)
00030   : value(0)
00031   {
00032   }
00033 
00034   typedef int32_t _value_type;
00035   int32_t value;
00036 
00037   enum { SUCCESS = 0 };
00038   enum { TF_ERROR = 1 };
00039   enum { OTHER_ERROR = 2 };
00040 
00041   typedef boost::shared_ptr< ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> > Ptr;
00042   typedef boost::shared_ptr< ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator>  const> ConstPtr;
00043   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00044 }; // struct GraspPlanningErrorCode
00045 typedef  ::object_manipulation_msgs::GraspPlanningErrorCode_<std::allocator<void> > GraspPlanningErrorCode;
00046 
00047 typedef boost::shared_ptr< ::object_manipulation_msgs::GraspPlanningErrorCode> GraspPlanningErrorCodePtr;
00048 typedef boost::shared_ptr< ::object_manipulation_msgs::GraspPlanningErrorCode const> GraspPlanningErrorCodeConstPtr;
00049 
00050 
00051 template<typename ContainerAllocator>
00052 std::ostream& operator<<(std::ostream& s, const  ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> & v)
00053 {
00054   ros::message_operations::Printer< ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> >::stream(s, "", v);
00055   return s;}
00056 
00057 } // namespace object_manipulation_msgs
00058 
00059 namespace ros
00060 {
00061 namespace message_traits
00062 {
00063 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> > : public TrueType {};
00064 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator>  const> : public TrueType {};
00065 template<class ContainerAllocator>
00066 struct MD5Sum< ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> > {
00067   static const char* value() 
00068   {
00069     return "d0cbf262cc3d8075a46b994eef1bdb2a";
00070   }
00071 
00072   static const char* value(const  ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> &) { return value(); } 
00073   static const uint64_t static_value1 = 0xd0cbf262cc3d8075ULL;
00074   static const uint64_t static_value2 = 0xa46b994eef1bdb2aULL;
00075 };
00076 
00077 template<class ContainerAllocator>
00078 struct DataType< ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "object_manipulation_msgs/GraspPlanningErrorCode";
00082   }
00083 
00084   static const char* value(const  ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> &) { return value(); } 
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct Definition< ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "# Error codes for grasp and place planning\n\
00092 \n\
00093 # plan completed as expected\n\
00094 int32 SUCCESS = 0\n\
00095 \n\
00096 # tf error encountered while transforming\n\
00097 int32 TF_ERROR = 1 \n\
00098 \n\
00099 # some other error\n\
00100 int32 OTHER_ERROR = 2\n\
00101 \n\
00102 # the actual value of this error code\n\
00103 int32 value\n\
00104 ";
00105   }
00106 
00107   static const char* value(const  ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 template<class ContainerAllocator> struct IsFixedSize< ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> > : public TrueType {};
00111 } // namespace message_traits
00112 } // namespace ros
00113 
00114 namespace ros
00115 {
00116 namespace serialization
00117 {
00118 
00119 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> >
00120 {
00121   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00122   {
00123     stream.next(m.value);
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct GraspPlanningErrorCode_
00128 } // namespace serialization
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135 
00136 template<class ContainerAllocator>
00137 struct Printer< ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::object_manipulation_msgs::GraspPlanningErrorCode_<ContainerAllocator> & v) 
00140   {
00141     s << indent << "value: ";
00142     Printer<int32_t>::stream(s, indent + "  ", v.value);
00143   }
00144 };
00145 
00146 
00147 } // namespace message_operations
00148 } // namespace ros
00149 
00150 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_GRASPPLANNINGERRORCODE_H
00151 


object_manipulation_msgs
Author(s): Matei Ciocarlie
autogenerated on Thu Jan 2 2014 11:38:12