00001 
00002 #ifndef MONOCAM_SETTLER_MESSAGE_CONFIGGOAL_H
00003 #define MONOCAM_SETTLER_MESSAGE_CONFIGGOAL_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012 
00013 
00014 namespace monocam_settler
00015 {
00016 template <class ContainerAllocator>
00017 struct ConfigGoal_ : public ros::Message
00018 {
00019   typedef ConfigGoal_<ContainerAllocator> Type;
00020 
00021   ConfigGoal_()
00022   : tolerance(0.0)
00023   , ignore_failures(0)
00024   , max_step()
00025   , cache_size(0)
00026   {
00027   }
00028 
00029   ConfigGoal_(const ContainerAllocator& _alloc)
00030   : tolerance(0.0)
00031   , ignore_failures(0)
00032   , max_step()
00033   , cache_size(0)
00034   {
00035   }
00036 
00037   typedef double _tolerance_type;
00038   double tolerance;
00039 
00040   typedef uint8_t _ignore_failures_type;
00041   uint8_t ignore_failures;
00042 
00043   typedef ros::Duration _max_step_type;
00044   ros::Duration max_step;
00045 
00046   typedef uint32_t _cache_size_type;
00047   uint32_t cache_size;
00048 
00049 
00050 private:
00051   static const char* __s_getDataType_() { return "monocam_settler/ConfigGoal"; }
00052 public:
00053   ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00054 
00055   ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00056 
00057 private:
00058   static const char* __s_getMD5Sum_() { return "f2b47726560448f0dada94e01ba65594"; }
00059 public:
00060   ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00061 
00062   ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00063 
00064 private:
00065   static const char* __s_getMessageDefinition_() { return "float64 tolerance      # Tolerance on each of the features\n\
00066 uint8 ignore_failures  # True if we discard\n\
00067 duration max_step      # The maximum timestep between two elements in an interval\n\
00068 uint32 cache_size      # The size of our cache when searching for an interval\n\
00069 \n\
00070 "; }
00071 public:
00072   ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00073 
00074   ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00075 
00076   ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00077   {
00078     ros::serialization::OStream stream(write_ptr, 1000000000);
00079     ros::serialization::serialize(stream, tolerance);
00080     ros::serialization::serialize(stream, ignore_failures);
00081     ros::serialization::serialize(stream, max_step);
00082     ros::serialization::serialize(stream, cache_size);
00083     return stream.getData();
00084   }
00085 
00086   ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00087   {
00088     ros::serialization::IStream stream(read_ptr, 1000000000);
00089     ros::serialization::deserialize(stream, tolerance);
00090     ros::serialization::deserialize(stream, ignore_failures);
00091     ros::serialization::deserialize(stream, max_step);
00092     ros::serialization::deserialize(stream, cache_size);
00093     return stream.getData();
00094   }
00095 
00096   ROS_DEPRECATED virtual uint32_t serializationLength() const
00097   {
00098     uint32_t size = 0;
00099     size += ros::serialization::serializationLength(tolerance);
00100     size += ros::serialization::serializationLength(ignore_failures);
00101     size += ros::serialization::serializationLength(max_step);
00102     size += ros::serialization::serializationLength(cache_size);
00103     return size;
00104   }
00105 
00106   typedef boost::shared_ptr< ::monocam_settler::ConfigGoal_<ContainerAllocator> > Ptr;
00107   typedef boost::shared_ptr< ::monocam_settler::ConfigGoal_<ContainerAllocator>  const> ConstPtr;
00108 }; 
00109 typedef  ::monocam_settler::ConfigGoal_<std::allocator<void> > ConfigGoal;
00110 
00111 typedef boost::shared_ptr< ::monocam_settler::ConfigGoal> ConfigGoalPtr;
00112 typedef boost::shared_ptr< ::monocam_settler::ConfigGoal const> ConfigGoalConstPtr;
00113 
00114 
00115 template<typename ContainerAllocator>
00116 std::ostream& operator<<(std::ostream& s, const  ::monocam_settler::ConfigGoal_<ContainerAllocator> & v)
00117 {
00118   ros::message_operations::Printer< ::monocam_settler::ConfigGoal_<ContainerAllocator> >::stream(s, "", v);
00119   return s;}
00120 
00121 } 
00122 
00123 namespace ros
00124 {
00125 namespace message_traits
00126 {
00127 template<class ContainerAllocator>
00128 struct MD5Sum< ::monocam_settler::ConfigGoal_<ContainerAllocator> > {
00129   static const char* value() 
00130   {
00131     return "f2b47726560448f0dada94e01ba65594";
00132   }
00133 
00134   static const char* value(const  ::monocam_settler::ConfigGoal_<ContainerAllocator> &) { return value(); } 
00135   static const uint64_t static_value1 = 0xf2b47726560448f0ULL;
00136   static const uint64_t static_value2 = 0xdada94e01ba65594ULL;
00137 };
00138 
00139 template<class ContainerAllocator>
00140 struct DataType< ::monocam_settler::ConfigGoal_<ContainerAllocator> > {
00141   static const char* value() 
00142   {
00143     return "monocam_settler/ConfigGoal";
00144   }
00145 
00146   static const char* value(const  ::monocam_settler::ConfigGoal_<ContainerAllocator> &) { return value(); } 
00147 };
00148 
00149 template<class ContainerAllocator>
00150 struct Definition< ::monocam_settler::ConfigGoal_<ContainerAllocator> > {
00151   static const char* value() 
00152   {
00153     return "float64 tolerance      # Tolerance on each of the features\n\
00154 uint8 ignore_failures  # True if we discard\n\
00155 duration max_step      # The maximum timestep between two elements in an interval\n\
00156 uint32 cache_size      # The size of our cache when searching for an interval\n\
00157 \n\
00158 ";
00159   }
00160 
00161   static const char* value(const  ::monocam_settler::ConfigGoal_<ContainerAllocator> &) { return value(); } 
00162 };
00163 
00164 template<class ContainerAllocator> struct IsFixedSize< ::monocam_settler::ConfigGoal_<ContainerAllocator> > : public TrueType {};
00165 } 
00166 } 
00167 
00168 namespace ros
00169 {
00170 namespace serialization
00171 {
00172 
00173 template<class ContainerAllocator> struct Serializer< ::monocam_settler::ConfigGoal_<ContainerAllocator> >
00174 {
00175   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00176   {
00177     stream.next(m.tolerance);
00178     stream.next(m.ignore_failures);
00179     stream.next(m.max_step);
00180     stream.next(m.cache_size);
00181   }
00182 
00183   ROS_DECLARE_ALLINONE_SERIALIZER;
00184 }; 
00185 } 
00186 } 
00187 
00188 namespace ros
00189 {
00190 namespace message_operations
00191 {
00192 
00193 template<class ContainerAllocator>
00194 struct Printer< ::monocam_settler::ConfigGoal_<ContainerAllocator> >
00195 {
00196   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::monocam_settler::ConfigGoal_<ContainerAllocator> & v) 
00197   {
00198     s << indent << "tolerance: ";
00199     Printer<double>::stream(s, indent + "  ", v.tolerance);
00200     s << indent << "ignore_failures: ";
00201     Printer<uint8_t>::stream(s, indent + "  ", v.ignore_failures);
00202     s << indent << "max_step: ";
00203     Printer<ros::Duration>::stream(s, indent + "  ", v.max_step);
00204     s << indent << "cache_size: ";
00205     Printer<uint32_t>::stream(s, indent + "  ", v.cache_size);
00206   }
00207 };
00208 
00209 
00210 } 
00211 } 
00212 
00213 #endif // MONOCAM_SETTLER_MESSAGE_CONFIGGOAL_H
00214