thermo_info.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/shekhovt/nifti/nifti_vision/openni_cam/msg/thermo_info.msg */
00002 #ifndef OPENNI_CAM_MESSAGE_THERMO_INFO_H
00003 #define OPENNI_CAM_MESSAGE_THERMO_INFO_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 #include "std_msgs/Header.h"
00018 
00019 namespace openni_cam
00020 {
00021 template <class ContainerAllocator>
00022 struct thermo_info_ {
00023   typedef thermo_info_<ContainerAllocator> Type;
00024 
00025   thermo_info_()
00026   : header()
00027   , serial(0)
00028   , t_min(0.0)
00029   , t_max(0.0)
00030   , t_chip(0.0)
00031   , t_flag(0.0)
00032   , t_box(0.0)
00033   {
00034   }
00035 
00036   thermo_info_(const ContainerAllocator& _alloc)
00037   : header(_alloc)
00038   , serial(0)
00039   , t_min(0.0)
00040   , t_max(0.0)
00041   , t_chip(0.0)
00042   , t_flag(0.0)
00043   , t_box(0.0)
00044   {
00045   }
00046 
00047   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00048    ::std_msgs::Header_<ContainerAllocator>  header;
00049 
00050   typedef uint32_t _serial_type;
00051   uint32_t serial;
00052 
00053   typedef float _t_min_type;
00054   float t_min;
00055 
00056   typedef float _t_max_type;
00057   float t_max;
00058 
00059   typedef float _t_chip_type;
00060   float t_chip;
00061 
00062   typedef float _t_flag_type;
00063   float t_flag;
00064 
00065   typedef float _t_box_type;
00066   float t_box;
00067 
00068 
00069   typedef boost::shared_ptr< ::openni_cam::thermo_info_<ContainerAllocator> > Ptr;
00070   typedef boost::shared_ptr< ::openni_cam::thermo_info_<ContainerAllocator>  const> ConstPtr;
00071   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00072 }; // struct thermo_info
00073 typedef  ::openni_cam::thermo_info_<std::allocator<void> > thermo_info;
00074 
00075 typedef boost::shared_ptr< ::openni_cam::thermo_info> thermo_infoPtr;
00076 typedef boost::shared_ptr< ::openni_cam::thermo_info const> thermo_infoConstPtr;
00077 
00078 
00079 template<typename ContainerAllocator>
00080 std::ostream& operator<<(std::ostream& s, const  ::openni_cam::thermo_info_<ContainerAllocator> & v)
00081 {
00082   ros::message_operations::Printer< ::openni_cam::thermo_info_<ContainerAllocator> >::stream(s, "", v);
00083   return s;}
00084 
00085 } // namespace openni_cam
00086 
00087 namespace ros
00088 {
00089 namespace message_traits
00090 {
00091 template<class ContainerAllocator> struct IsMessage< ::openni_cam::thermo_info_<ContainerAllocator> > : public TrueType {};
00092 template<class ContainerAllocator> struct IsMessage< ::openni_cam::thermo_info_<ContainerAllocator>  const> : public TrueType {};
00093 template<class ContainerAllocator>
00094 struct MD5Sum< ::openni_cam::thermo_info_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "431cd650b658dc748ebe16455d4d7643";
00098   }
00099 
00100   static const char* value(const  ::openni_cam::thermo_info_<ContainerAllocator> &) { return value(); } 
00101   static const uint64_t static_value1 = 0x431cd650b658dc74ULL;
00102   static const uint64_t static_value2 = 0x8ebe16455d4d7643ULL;
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct DataType< ::openni_cam::thermo_info_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "openni_cam/thermo_info";
00110   }
00111 
00112   static const char* value(const  ::openni_cam::thermo_info_<ContainerAllocator> &) { return value(); } 
00113 };
00114 
00115 template<class ContainerAllocator>
00116 struct Definition< ::openni_cam::thermo_info_<ContainerAllocator> > {
00117   static const char* value() 
00118   {
00119     return "#Information from the thermo camera, other than the temperature matrix\n\
00120 #\n\
00121 Header header\n\
00122 #\n\
00123 # camera serial number\n\
00124 uint32 serial\n\
00125 #\n\
00126 # min and max observed temperature\n\
00127 float32 t_min\n\
00128 float32 t_max\n\
00129 #\n\
00130 # other camera temperature sensors\n\
00131 float32 t_chip\n\
00132 float32 t_flag\n\
00133 float32 t_box\n\
00134 #\n\
00135 ================================================================================\n\
00136 MSG: std_msgs/Header\n\
00137 # Standard metadata for higher-level stamped data types.\n\
00138 # This is generally used to communicate timestamped data \n\
00139 # in a particular coordinate frame.\n\
00140 # \n\
00141 # sequence ID: consecutively increasing ID \n\
00142 uint32 seq\n\
00143 #Two-integer timestamp that is expressed as:\n\
00144 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00145 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00146 # time-handling sugar is provided by the client library\n\
00147 time stamp\n\
00148 #Frame this data is associated with\n\
00149 # 0: no frame\n\
00150 # 1: global frame\n\
00151 string frame_id\n\
00152 \n\
00153 ";
00154   }
00155 
00156   static const char* value(const  ::openni_cam::thermo_info_<ContainerAllocator> &) { return value(); } 
00157 };
00158 
00159 template<class ContainerAllocator> struct HasHeader< ::openni_cam::thermo_info_<ContainerAllocator> > : public TrueType {};
00160 template<class ContainerAllocator> struct HasHeader< const ::openni_cam::thermo_info_<ContainerAllocator> > : public TrueType {};
00161 } // namespace message_traits
00162 } // namespace ros
00163 
00164 namespace ros
00165 {
00166 namespace serialization
00167 {
00168 
00169 template<class ContainerAllocator> struct Serializer< ::openni_cam::thermo_info_<ContainerAllocator> >
00170 {
00171   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00172   {
00173     stream.next(m.header);
00174     stream.next(m.serial);
00175     stream.next(m.t_min);
00176     stream.next(m.t_max);
00177     stream.next(m.t_chip);
00178     stream.next(m.t_flag);
00179     stream.next(m.t_box);
00180   }
00181 
00182   ROS_DECLARE_ALLINONE_SERIALIZER;
00183 }; // struct thermo_info_
00184 } // namespace serialization
00185 } // namespace ros
00186 
00187 namespace ros
00188 {
00189 namespace message_operations
00190 {
00191 
00192 template<class ContainerAllocator>
00193 struct Printer< ::openni_cam::thermo_info_<ContainerAllocator> >
00194 {
00195   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::openni_cam::thermo_info_<ContainerAllocator> & v) 
00196   {
00197     s << indent << "header: ";
00198 s << std::endl;
00199     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00200     s << indent << "serial: ";
00201     Printer<uint32_t>::stream(s, indent + "  ", v.serial);
00202     s << indent << "t_min: ";
00203     Printer<float>::stream(s, indent + "  ", v.t_min);
00204     s << indent << "t_max: ";
00205     Printer<float>::stream(s, indent + "  ", v.t_max);
00206     s << indent << "t_chip: ";
00207     Printer<float>::stream(s, indent + "  ", v.t_chip);
00208     s << indent << "t_flag: ";
00209     Printer<float>::stream(s, indent + "  ", v.t_flag);
00210     s << indent << "t_box: ";
00211     Printer<float>::stream(s, indent + "  ", v.t_box);
00212   }
00213 };
00214 
00215 
00216 } // namespace message_operations
00217 } // namespace ros
00218 
00219 #endif // OPENNI_CAM_MESSAGE_THERMO_INFO_H
00220 
 All Classes Namespaces Files Functions Variables Typedefs Defines


openni_cam
Author(s): Alexander Shekhovtsov
autogenerated on Sun Dec 1 2013 17:19:20