Pipe Inpection Robot / Mbed OS GPG_motor

Dependencies:   BufferedSerial sn7544

Fork of GPG_motor by Kang mingyo

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers flaw_info.h Source File

flaw_info.h

00001 // Generated by gencpp from file stringlb/flaw_info.msg
00002 // DO NOT EDIT!
00003 
00004 
00005 #ifndef STRINGLB_MESSAGE_FLAW_INFO_H
00006 #define STRINGLB_MESSAGE_FLAW_INFO_H
00007 
00008 
00009 #include <string>
00010 #include <vector>
00011 #include <map>
00012 
00013 #include <ros/types.h>
00014 #include <ros/serialization.h>
00015 #include <ros/builtin_message_traits.h>
00016 #include <ros/message_operations.h>
00017 
00018 
00019 namespace stringlb
00020 {
00021 template <class ContainerAllocator>
00022 struct flaw_info_
00023 {
00024   typedef flaw_info_<ContainerAllocator> Type;
00025 
00026   flaw_info_()
00027     : cum_dist(0.0)
00028     , flaw_loca(0.0)  {
00029     }
00030   flaw_info_(const ContainerAllocator& _alloc)
00031     : cum_dist(0.0)
00032     , flaw_loca(0.0)  {
00033   (void)_alloc;
00034     }
00035 
00036 
00037 
00038    typedef double _cum_dist_type;
00039   _cum_dist_type cum_dist;
00040 
00041    typedef double _flaw_loca_type;
00042   _flaw_loca_type flaw_loca;
00043 
00044 
00045 
00046 
00047 
00048   typedef boost::shared_ptr< ::stringlb::flaw_info_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::stringlb::flaw_info_<ContainerAllocator> const> ConstPtr;
00050 
00051 }; // struct flaw_info_
00052 
00053 typedef ::stringlb::flaw_info_<std::allocator<void> > flaw_info;
00054 
00055 typedef boost::shared_ptr< ::stringlb::flaw_info > flaw_infoPtr;
00056 typedef boost::shared_ptr< ::stringlb::flaw_info const> flaw_infoConstPtr;
00057 
00058 // constants requiring out of line definition
00059 
00060 
00061 
00062 template<typename ContainerAllocator>
00063 std::ostream& operator<<(std::ostream& s, const ::stringlb::flaw_info_<ContainerAllocator> & v)
00064 {
00065 ros::message_operations::Printer< ::stringlb::flaw_info_<ContainerAllocator> >::stream(s, "", v);
00066 return s;
00067 }
00068 
00069 } // namespace stringlb
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 
00076 
00077 
00078 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
00079 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'stringlb': ['/home/hdmmic/catkin_ws/src/stringlb/msg']}
00080 
00081 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
00082 
00083 
00084 
00085 
00086 template <class ContainerAllocator>
00087 struct IsFixedSize< ::stringlb::flaw_info_<ContainerAllocator> >
00088   : TrueType
00089   { };
00090 
00091 template <class ContainerAllocator>
00092 struct IsFixedSize< ::stringlb::flaw_info_<ContainerAllocator> const>
00093   : TrueType
00094   { };
00095 
00096 template <class ContainerAllocator>
00097 struct IsMessage< ::stringlb::flaw_info_<ContainerAllocator> >
00098   : TrueType
00099   { };
00100 
00101 template <class ContainerAllocator>
00102 struct IsMessage< ::stringlb::flaw_info_<ContainerAllocator> const>
00103   : TrueType
00104   { };
00105 
00106 template <class ContainerAllocator>
00107 struct HasHeader< ::stringlb::flaw_info_<ContainerAllocator> >
00108   : FalseType
00109   { };
00110 
00111 template <class ContainerAllocator>
00112 struct HasHeader< ::stringlb::flaw_info_<ContainerAllocator> const>
00113   : FalseType
00114   { };
00115 
00116 
00117 template<class ContainerAllocator>
00118 struct MD5Sum< ::stringlb::flaw_info_<ContainerAllocator> >
00119 {
00120   static const char* value()
00121   {
00122     return "6f77fb297fa2be6bf375bba6047af121";
00123   }
00124 
00125   static const char* value(const ::stringlb::flaw_info_<ContainerAllocator>&) { return value(); }
00126   static const uint64_t static_value1 = 0x6f77fb297fa2be6bULL;
00127   static const uint64_t static_value2 = 0xf375bba6047af121ULL;
00128 };
00129 
00130 template<class ContainerAllocator>
00131 struct DataType< ::stringlb::flaw_info_<ContainerAllocator> >
00132 {
00133   static const char* value()
00134   {
00135     return "stringlb/flaw_info";
00136   }
00137 
00138   static const char* value(const ::stringlb::flaw_info_<ContainerAllocator>&) { return value(); }
00139 };
00140 
00141 template<class ContainerAllocator>
00142 struct Definition< ::stringlb::flaw_info_<ContainerAllocator> >
00143 {
00144   static const char* value()
00145   {
00146     return "float64 cum_dist\n\
00147 float64 flaw_loca\n\
00148 ";
00149   }
00150 
00151   static const char* value(const ::stringlb::flaw_info_<ContainerAllocator>&) { return value(); }
00152 };
00153 
00154 } // namespace message_traits
00155 } // namespace ros
00156 
00157 namespace ros
00158 {
00159 namespace serialization
00160 {
00161 
00162   template<class ContainerAllocator> struct Serializer< ::stringlb::flaw_info_<ContainerAllocator> >
00163   {
00164     template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00165     {
00166       stream.next(m.cum_dist);
00167       stream.next(m.flaw_loca);
00168     }
00169 
00170     ROS_DECLARE_ALLINONE_SERIALIZER
00171   }; // struct flaw_info_
00172 
00173 } // namespace serialization
00174 } // namespace ros
00175 
00176 namespace ros
00177 {
00178 namespace message_operations
00179 {
00180 
00181 template<class ContainerAllocator>
00182 struct Printer< ::stringlb::flaw_info_<ContainerAllocator> >
00183 {
00184   template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::stringlb::flaw_info_<ContainerAllocator>& v)
00185   {
00186     s << indent << "cum_dist: ";
00187     Printer<double>::stream(s, indent + "  ", v.cum_dist);
00188     s << indent << "flaw_loca: ";
00189     Printer<double>::stream(s, indent + "  ", v.flaw_loca);
00190   }
00191 };
00192 
00193 } // namespace message_operations
00194 } // namespace ros
00195 
00196 #endif // STRINGLB_MESSAGE_FLAW_INFO_H