TF2Error.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-geometry_experimental/doc_stacks/2013-08-19_10-25-31.207980/geometry_experimental/tf2_msgs/msg/TF2Error.msg */
00002 #ifndef TF2_MSGS_MESSAGE_TF2ERROR_H
00003 #define TF2_MSGS_MESSAGE_TF2ERROR_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 tf2_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct TF2Error_ {
00022   typedef TF2Error_<ContainerAllocator> Type;
00023 
00024   TF2Error_()
00025   : error(0)
00026   , error_string()
00027   {
00028   }
00029 
00030   TF2Error_(const ContainerAllocator& _alloc)
00031   : error(0)
00032   , error_string(_alloc)
00033   {
00034   }
00035 
00036   typedef uint8_t _error_type;
00037   uint8_t error;
00038 
00039   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _error_string_type;
00040   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  error_string;
00041 
00042   enum { NO_ERROR = 0 };
00043   enum { LOOKUP_ERROR = 1 };
00044   enum { CONNECTIVITY_ERROR = 2 };
00045   enum { EXTRAPOLATION_ERROR = 3 };
00046   enum { INVALID_ARGUMENT_ERROR = 4 };
00047   enum { TIMEOUT_ERROR = 5 };
00048   enum { TRANSFORM_ERROR = 6 };
00049 
00050   typedef boost::shared_ptr< ::tf2_msgs::TF2Error_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::tf2_msgs::TF2Error_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct TF2Error
00054 typedef  ::tf2_msgs::TF2Error_<std::allocator<void> > TF2Error;
00055 
00056 typedef boost::shared_ptr< ::tf2_msgs::TF2Error> TF2ErrorPtr;
00057 typedef boost::shared_ptr< ::tf2_msgs::TF2Error const> TF2ErrorConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::tf2_msgs::TF2Error_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::tf2_msgs::TF2Error_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace tf2_msgs
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::tf2_msgs::TF2Error_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::tf2_msgs::TF2Error_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::tf2_msgs::TF2Error_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "bc6848fd6fd750c92e38575618a4917d";
00079   }
00080 
00081   static const char* value(const  ::tf2_msgs::TF2Error_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0xbc6848fd6fd750c9ULL;
00083   static const uint64_t static_value2 = 0x2e38575618a4917dULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::tf2_msgs::TF2Error_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "tf2_msgs/TF2Error";
00091   }
00092 
00093   static const char* value(const  ::tf2_msgs::TF2Error_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::tf2_msgs::TF2Error_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "uint8 NO_ERROR = 0\n\
00101 uint8 LOOKUP_ERROR = 1\n\
00102 uint8 CONNECTIVITY_ERROR = 2\n\
00103 uint8 EXTRAPOLATION_ERROR = 3\n\
00104 uint8 INVALID_ARGUMENT_ERROR = 4\n\
00105 uint8 TIMEOUT_ERROR = 5\n\
00106 uint8 TRANSFORM_ERROR = 6\n\
00107 \n\
00108 uint8 error\n\
00109 string error_string\n\
00110 \n\
00111 ";
00112   }
00113 
00114   static const char* value(const  ::tf2_msgs::TF2Error_<ContainerAllocator> &) { return value(); } 
00115 };
00116 
00117 } // namespace message_traits
00118 } // namespace ros
00119 
00120 namespace ros
00121 {
00122 namespace serialization
00123 {
00124 
00125 template<class ContainerAllocator> struct Serializer< ::tf2_msgs::TF2Error_<ContainerAllocator> >
00126 {
00127   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00128   {
00129     stream.next(m.error);
00130     stream.next(m.error_string);
00131   }
00132 
00133   ROS_DECLARE_ALLINONE_SERIALIZER;
00134 }; // struct TF2Error_
00135 } // namespace serialization
00136 } // namespace ros
00137 
00138 namespace ros
00139 {
00140 namespace message_operations
00141 {
00142 
00143 template<class ContainerAllocator>
00144 struct Printer< ::tf2_msgs::TF2Error_<ContainerAllocator> >
00145 {
00146   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::tf2_msgs::TF2Error_<ContainerAllocator> & v) 
00147   {
00148     s << indent << "error: ";
00149     Printer<uint8_t>::stream(s, indent + "  ", v.error);
00150     s << indent << "error_string: ";
00151     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.error_string);
00152   }
00153 };
00154 
00155 
00156 } // namespace message_operations
00157 } // namespace ros
00158 
00159 #endif // TF2_MSGS_MESSAGE_TF2ERROR_H
00160 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


tf2_msgs
Author(s): Eitan Marder-Eppstein
autogenerated on Mon Aug 19 2013 10:26:46