DeviceSensor.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/doc_stacks/2013-03-23_12-16-27.483192/jsk-ros-pkg/jsk_smart_apps/jsk_gui_msgs/msg/DeviceSensor.msg */
00002 #ifndef JSK_GUI_MSGS_MESSAGE_DEVICESENSOR_H
00003 #define JSK_GUI_MSGS_MESSAGE_DEVICESENSOR_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 jsk_gui_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct DeviceSensor_ {
00022   typedef DeviceSensor_<ContainerAllocator> Type;
00023 
00024   DeviceSensor_()
00025   : temperature(0.0)
00026   , relative_humidity(0.0)
00027   , light(0.0)
00028   , pressure(0.0)
00029   , proximity(0.0)
00030   {
00031   }
00032 
00033   DeviceSensor_(const ContainerAllocator& _alloc)
00034   : temperature(0.0)
00035   , relative_humidity(0.0)
00036   , light(0.0)
00037   , pressure(0.0)
00038   , proximity(0.0)
00039   {
00040   }
00041 
00042   typedef double _temperature_type;
00043   double temperature;
00044 
00045   typedef double _relative_humidity_type;
00046   double relative_humidity;
00047 
00048   typedef double _light_type;
00049   double light;
00050 
00051   typedef double _pressure_type;
00052   double pressure;
00053 
00054   typedef double _proximity_type;
00055   double proximity;
00056 
00057 
00058   typedef boost::shared_ptr< ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct DeviceSensor
00062 typedef  ::jsk_gui_msgs::DeviceSensor_<std::allocator<void> > DeviceSensor;
00063 
00064 typedef boost::shared_ptr< ::jsk_gui_msgs::DeviceSensor> DeviceSensorPtr;
00065 typedef boost::shared_ptr< ::jsk_gui_msgs::DeviceSensor const> DeviceSensorConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace jsk_gui_msgs
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "d3861ba768b988b4c249337d4dc6552d";
00087   }
00088 
00089   static const char* value(const  ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0xd3861ba768b988b4ULL;
00091   static const uint64_t static_value2 = 0xc249337d4dc6552dULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "jsk_gui_msgs/DeviceSensor";
00099   }
00100 
00101   static const char* value(const  ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "float64 temperature\n\
00109 float64 relative_humidity\n\
00110 float64 light\n\
00111 float64 pressure\n\
00112 float64 proximity\n\
00113 \n\
00114 \n\
00115 \n\
00116 \n\
00117 ";
00118   }
00119 
00120   static const char* value(const  ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> &) { return value(); } 
00121 };
00122 
00123 template<class ContainerAllocator> struct IsFixedSize< ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> > : public TrueType {};
00124 } // namespace message_traits
00125 } // namespace ros
00126 
00127 namespace ros
00128 {
00129 namespace serialization
00130 {
00131 
00132 template<class ContainerAllocator> struct Serializer< ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> >
00133 {
00134   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00135   {
00136     stream.next(m.temperature);
00137     stream.next(m.relative_humidity);
00138     stream.next(m.light);
00139     stream.next(m.pressure);
00140     stream.next(m.proximity);
00141   }
00142 
00143   ROS_DECLARE_ALLINONE_SERIALIZER;
00144 }; // struct DeviceSensor_
00145 } // namespace serialization
00146 } // namespace ros
00147 
00148 namespace ros
00149 {
00150 namespace message_operations
00151 {
00152 
00153 template<class ContainerAllocator>
00154 struct Printer< ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> >
00155 {
00156   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::jsk_gui_msgs::DeviceSensor_<ContainerAllocator> & v) 
00157   {
00158     s << indent << "temperature: ";
00159     Printer<double>::stream(s, indent + "  ", v.temperature);
00160     s << indent << "relative_humidity: ";
00161     Printer<double>::stream(s, indent + "  ", v.relative_humidity);
00162     s << indent << "light: ";
00163     Printer<double>::stream(s, indent + "  ", v.light);
00164     s << indent << "pressure: ";
00165     Printer<double>::stream(s, indent + "  ", v.pressure);
00166     s << indent << "proximity: ";
00167     Printer<double>::stream(s, indent + "  ", v.proximity);
00168   }
00169 };
00170 
00171 
00172 } // namespace message_operations
00173 } // namespace ros
00174 
00175 #endif // JSK_GUI_MSGS_MESSAGE_DEVICESENSOR_H
00176 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


jsk_gui_msgs
Author(s): chen
autogenerated on Sat Mar 23 2013 16:13:09