system_error.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-ias_common/doc_stacks/2014-01-02_11-18-36.813960/ias_common/vision_msgs/msg/system_error.msg */
00002 #ifndef VISION_MSGS_MESSAGE_SYSTEM_ERROR_H
00003 #define VISION_MSGS_MESSAGE_SYSTEM_ERROR_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 vision_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct system_error_ {
00022   typedef system_error_<ContainerAllocator> Type;
00023 
00024   system_error_()
00025   : error_id(0)
00026   , node_name()
00027   , error_description()
00028   {
00029   }
00030 
00031   system_error_(const ContainerAllocator& _alloc)
00032   : error_id(0)
00033   , node_name(_alloc)
00034   , error_description(_alloc)
00035   {
00036   }
00037 
00038   typedef uint64_t _error_id_type;
00039   uint64_t error_id;
00040 
00041   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _node_name_type;
00042   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  node_name;
00043 
00044   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _error_description_type;
00045   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  error_description;
00046 
00047   enum { MANIPULATION_POSE_UNREACHABLE = 64 };
00048   enum { GRASP_FAILED = 128 };
00049   enum { OBJECT_NOT_FOUND = 256 };
00050   enum { VISION_PRIMITIVE_FAILED = 512 };
00051   enum { CONTRADICTING_TACTILE_FEEDBACK = 1024 };
00052   enum { CONTRADICTING_VISION_RESULTS = 2048 };
00053   enum { GRASP_FAILED_AND_CRASHED = 4096 };
00054   enum { JLO_ERROR = 8192 };
00055   enum { VECTOR_FIELD_CANT_REACH = 16384 };
00056 
00057   typedef boost::shared_ptr< ::vision_msgs::system_error_<ContainerAllocator> > Ptr;
00058   typedef boost::shared_ptr< ::vision_msgs::system_error_<ContainerAllocator>  const> ConstPtr;
00059   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 }; // struct system_error
00061 typedef  ::vision_msgs::system_error_<std::allocator<void> > system_error;
00062 
00063 typedef boost::shared_ptr< ::vision_msgs::system_error> system_errorPtr;
00064 typedef boost::shared_ptr< ::vision_msgs::system_error const> system_errorConstPtr;
00065 
00066 
00067 template<typename ContainerAllocator>
00068 std::ostream& operator<<(std::ostream& s, const  ::vision_msgs::system_error_<ContainerAllocator> & v)
00069 {
00070   ros::message_operations::Printer< ::vision_msgs::system_error_<ContainerAllocator> >::stream(s, "", v);
00071   return s;}
00072 
00073 } // namespace vision_msgs
00074 
00075 namespace ros
00076 {
00077 namespace message_traits
00078 {
00079 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::system_error_<ContainerAllocator> > : public TrueType {};
00080 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::system_error_<ContainerAllocator>  const> : public TrueType {};
00081 template<class ContainerAllocator>
00082 struct MD5Sum< ::vision_msgs::system_error_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "a26e239d3a42fd6822d79621c90c2d42";
00086   }
00087 
00088   static const char* value(const  ::vision_msgs::system_error_<ContainerAllocator> &) { return value(); } 
00089   static const uint64_t static_value1 = 0xa26e239d3a42fd68ULL;
00090   static const uint64_t static_value2 = 0x22d79621c90c2d42ULL;
00091 };
00092 
00093 template<class ContainerAllocator>
00094 struct DataType< ::vision_msgs::system_error_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "vision_msgs/system_error";
00098   }
00099 
00100   static const char* value(const  ::vision_msgs::system_error_<ContainerAllocator> &) { return value(); } 
00101 };
00102 
00103 template<class ContainerAllocator>
00104 struct Definition< ::vision_msgs::system_error_<ContainerAllocator> > {
00105   static const char* value() 
00106   {
00107     return "uint64 MANIPULATION_POSE_UNREACHABLE = 64\n\
00108 uint64 GRASP_FAILED = 128  # Grasp into the void\n\
00109 uint64 OBJECT_NOT_FOUND = 256\n\
00110 uint64 VISION_PRIMITIVE_FAILED = 512\n\
00111 uint64 CONTRADICTING_TACTILE_FEEDBACK = 1024  # Collide without expecting it\n\
00112 uint64 CONTRADICTING_VISION_RESULTS = 2048\n\
00113 uint64 GRASP_FAILED_AND_CRASHED = 4096  # Throwing something out of the way\n\
00114 uint64 JLO_ERROR = 8192  # Could not get position\n\
00115 uint64 VECTOR_FIELD_CANT_REACH = 16384  # The arm got stuck along the way, did not reach the final grasping pose\n\
00116 \n\
00117 uint64  error_id                # One of the error constants defined above\n\
00118 string  node_name               # The node causing this error\n\
00119 string  error_description       # Further information about the error\n\
00120 \n\
00121 ";
00122   }
00123 
00124   static const char* value(const  ::vision_msgs::system_error_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 } // namespace message_traits
00128 } // namespace ros
00129 
00130 namespace ros
00131 {
00132 namespace serialization
00133 {
00134 
00135 template<class ContainerAllocator> struct Serializer< ::vision_msgs::system_error_<ContainerAllocator> >
00136 {
00137   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00138   {
00139     stream.next(m.error_id);
00140     stream.next(m.node_name);
00141     stream.next(m.error_description);
00142   }
00143 
00144   ROS_DECLARE_ALLINONE_SERIALIZER;
00145 }; // struct system_error_
00146 } // namespace serialization
00147 } // namespace ros
00148 
00149 namespace ros
00150 {
00151 namespace message_operations
00152 {
00153 
00154 template<class ContainerAllocator>
00155 struct Printer< ::vision_msgs::system_error_<ContainerAllocator> >
00156 {
00157   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::vision_msgs::system_error_<ContainerAllocator> & v) 
00158   {
00159     s << indent << "error_id: ";
00160     Printer<uint64_t>::stream(s, indent + "  ", v.error_id);
00161     s << indent << "node_name: ";
00162     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.node_name);
00163     s << indent << "error_description: ";
00164     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.error_description);
00165   }
00166 };
00167 
00168 
00169 } // namespace message_operations
00170 } // namespace ros
00171 
00172 #endif // VISION_MSGS_MESSAGE_SYSTEM_ERROR_H
00173 


vision_msgs
Author(s): Ulrich F Klank
autogenerated on Thu Jan 2 2014 11:21:43