GraspingErrorCodes.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-srs_public/doc_stacks/2014-10-06_07-45-36.510262/srs_public/srs_msgs/msg/GraspingErrorCodes.msg */
00002 #ifndef SRS_MSGS_MESSAGE_GRASPINGERRORCODES_H
00003 #define SRS_MSGS_MESSAGE_GRASPINGERRORCODES_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 srs_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct GraspingErrorCodes_ {
00022   typedef GraspingErrorCodes_<ContainerAllocator> Type;
00023 
00024   GraspingErrorCodes_()
00025   : val(0)
00026   {
00027   }
00028 
00029   GraspingErrorCodes_(const ContainerAllocator& _alloc)
00030   : val(0)
00031   {
00032   }
00033 
00034   typedef int32_t _val_type;
00035   int32_t val;
00036 
00037   enum { SUCCESS = 1 };
00038   enum { SERVICE_DID_NOT_PROCESS_REQUEST = -1 };
00039   enum { UNKNOWN_OBJECT = -2 };
00040   enum { CORRUPTED_MESH_FILE = -3 };
00041   enum { CORRUPTED_ROBOT_MESH_FILE = -4 };
00042   enum { CORRUPTED_GRASP_FILE = -5 };
00043   enum { NON_GENERATED_INFO = -6 };
00044   enum { OBJECT_INFO_NOT_FOUND = -7 };
00045   enum { UNKNOWN_CATEGORY = -8 };
00046   enum { GOAL_UNREACHABLE = -9 };
00047 
00048   typedef boost::shared_ptr< ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::srs_msgs::GraspingErrorCodes_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct GraspingErrorCodes
00052 typedef  ::srs_msgs::GraspingErrorCodes_<std::allocator<void> > GraspingErrorCodes;
00053 
00054 typedef boost::shared_ptr< ::srs_msgs::GraspingErrorCodes> GraspingErrorCodesPtr;
00055 typedef boost::shared_ptr< ::srs_msgs::GraspingErrorCodes const> GraspingErrorCodesConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace srs_msgs
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::srs_msgs::GraspingErrorCodes_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "fb4ddaa7ec6360421a2ce5489765a099";
00077   }
00078 
00079   static const char* value(const  ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0xfb4ddaa7ec636042ULL;
00081   static const uint64_t static_value2 = 0x1a2ce5489765a099ULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "srs_msgs/GraspingErrorCodes";
00089   }
00090 
00091   static const char* value(const  ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "int32 val\n\
00099 \n\
00100 int32 SUCCESS=1\n\
00101 int32 SERVICE_DID_NOT_PROCESS_REQUEST=-1\n\
00102 int32 UNKNOWN_OBJECT=-2\n\
00103 int32 CORRUPTED_MESH_FILE=-3\n\
00104 int32 CORRUPTED_ROBOT_MESH_FILE=-4\n\
00105 int32 CORRUPTED_GRASP_FILE=-5\n\
00106 int32 NON_GENERATED_INFO=-6\n\
00107 int32 OBJECT_INFO_NOT_FOUND=-7\n\
00108 int32 UNKNOWN_CATEGORY=-8\n\
00109 int32 GOAL_UNREACHABLE=-9\n\
00110 \n\
00111 ";
00112   }
00113 
00114   static const char* value(const  ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> &) { return value(); } 
00115 };
00116 
00117 template<class ContainerAllocator> struct IsFixedSize< ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> > : public TrueType {};
00118 } // namespace message_traits
00119 } // namespace ros
00120 
00121 namespace ros
00122 {
00123 namespace serialization
00124 {
00125 
00126 template<class ContainerAllocator> struct Serializer< ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> >
00127 {
00128   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00129   {
00130     stream.next(m.val);
00131   }
00132 
00133   ROS_DECLARE_ALLINONE_SERIALIZER;
00134 }; // struct GraspingErrorCodes_
00135 } // namespace serialization
00136 } // namespace ros
00137 
00138 namespace ros
00139 {
00140 namespace message_operations
00141 {
00142 
00143 template<class ContainerAllocator>
00144 struct Printer< ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> >
00145 {
00146   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::srs_msgs::GraspingErrorCodes_<ContainerAllocator> & v) 
00147   {
00148     s << indent << "val: ";
00149     Printer<int32_t>::stream(s, indent + "  ", v.val);
00150   }
00151 };
00152 
00153 
00154 } // namespace message_operations
00155 } // namespace ros
00156 
00157 #endif // SRS_MSGS_MESSAGE_GRASPINGERRORCODES_H
00158 


srs_msgs
Author(s): renxi
autogenerated on Mon Oct 6 2014 08:20:53