DeviceSensorALL.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/DeviceSensorALL.msg */
00002 #ifndef JSK_GUI_MSGS_MESSAGE_DEVICESENSORALL_H
00003 #define JSK_GUI_MSGS_MESSAGE_DEVICESENSORALL_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 DeviceSensorALL_ {
00022   typedef DeviceSensorALL_<ContainerAllocator> Type;
00023 
00024   DeviceSensorALL_()
00025   : accelerometer_x(0.0)
00026   , accelerometer_y(0.0)
00027   , accelerometer_z(0.0)
00028   , magneticfield_x(0.0)
00029   , magneticfield_y(0.0)
00030   , magneticfield_z(0.0)
00031   , gyroscope_x(0.0)
00032   , gyroscope_y(0.0)
00033   , gyroscope_z(0.0)
00034   , light(0.0)
00035   , pressure(0.0)
00036   , proximity(false)
00037   , gravity_x(0.0)
00038   , gravity_y(0.0)
00039   , gravity_z(0.0)
00040   , linear_acceleration_x(0.0)
00041   , linear_acceleration_y(0.0)
00042   , linear_acceleration_z(0.0)
00043   , rotation_vector_x(0.0)
00044   , rotation_vector_y(0.0)
00045   , rotation_vector_z(0.0)
00046   , rotation_vector_optional(0.0)
00047   , orientation_x(0.0)
00048   , orientation_y(0.0)
00049   , orientation_z(0.0)
00050   , relative_humidity(0.0)
00051   , temperature(0.0)
00052   , ambient_temperature(0.0)
00053   {
00054   }
00055 
00056   DeviceSensorALL_(const ContainerAllocator& _alloc)
00057   : accelerometer_x(0.0)
00058   , accelerometer_y(0.0)
00059   , accelerometer_z(0.0)
00060   , magneticfield_x(0.0)
00061   , magneticfield_y(0.0)
00062   , magneticfield_z(0.0)
00063   , gyroscope_x(0.0)
00064   , gyroscope_y(0.0)
00065   , gyroscope_z(0.0)
00066   , light(0.0)
00067   , pressure(0.0)
00068   , proximity(false)
00069   , gravity_x(0.0)
00070   , gravity_y(0.0)
00071   , gravity_z(0.0)
00072   , linear_acceleration_x(0.0)
00073   , linear_acceleration_y(0.0)
00074   , linear_acceleration_z(0.0)
00075   , rotation_vector_x(0.0)
00076   , rotation_vector_y(0.0)
00077   , rotation_vector_z(0.0)
00078   , rotation_vector_optional(0.0)
00079   , orientation_x(0.0)
00080   , orientation_y(0.0)
00081   , orientation_z(0.0)
00082   , relative_humidity(0.0)
00083   , temperature(0.0)
00084   , ambient_temperature(0.0)
00085   {
00086   }
00087 
00088   typedef double _accelerometer_x_type;
00089   double accelerometer_x;
00090 
00091   typedef double _accelerometer_y_type;
00092   double accelerometer_y;
00093 
00094   typedef double _accelerometer_z_type;
00095   double accelerometer_z;
00096 
00097   typedef double _magneticfield_x_type;
00098   double magneticfield_x;
00099 
00100   typedef double _magneticfield_y_type;
00101   double magneticfield_y;
00102 
00103   typedef double _magneticfield_z_type;
00104   double magneticfield_z;
00105 
00106   typedef double _gyroscope_x_type;
00107   double gyroscope_x;
00108 
00109   typedef double _gyroscope_y_type;
00110   double gyroscope_y;
00111 
00112   typedef double _gyroscope_z_type;
00113   double gyroscope_z;
00114 
00115   typedef double _light_type;
00116   double light;
00117 
00118   typedef double _pressure_type;
00119   double pressure;
00120 
00121   typedef uint8_t _proximity_type;
00122   uint8_t proximity;
00123 
00124   typedef double _gravity_x_type;
00125   double gravity_x;
00126 
00127   typedef double _gravity_y_type;
00128   double gravity_y;
00129 
00130   typedef double _gravity_z_type;
00131   double gravity_z;
00132 
00133   typedef double _linear_acceleration_x_type;
00134   double linear_acceleration_x;
00135 
00136   typedef double _linear_acceleration_y_type;
00137   double linear_acceleration_y;
00138 
00139   typedef double _linear_acceleration_z_type;
00140   double linear_acceleration_z;
00141 
00142   typedef double _rotation_vector_x_type;
00143   double rotation_vector_x;
00144 
00145   typedef double _rotation_vector_y_type;
00146   double rotation_vector_y;
00147 
00148   typedef double _rotation_vector_z_type;
00149   double rotation_vector_z;
00150 
00151   typedef double _rotation_vector_optional_type;
00152   double rotation_vector_optional;
00153 
00154   typedef double _orientation_x_type;
00155   double orientation_x;
00156 
00157   typedef double _orientation_y_type;
00158   double orientation_y;
00159 
00160   typedef double _orientation_z_type;
00161   double orientation_z;
00162 
00163   typedef double _relative_humidity_type;
00164   double relative_humidity;
00165 
00166   typedef double _temperature_type;
00167   double temperature;
00168 
00169   typedef double _ambient_temperature_type;
00170   double ambient_temperature;
00171 
00172 
00173   typedef boost::shared_ptr< ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> > Ptr;
00174   typedef boost::shared_ptr< ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator>  const> ConstPtr;
00175   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00176 }; // struct DeviceSensorALL
00177 typedef  ::jsk_gui_msgs::DeviceSensorALL_<std::allocator<void> > DeviceSensorALL;
00178 
00179 typedef boost::shared_ptr< ::jsk_gui_msgs::DeviceSensorALL> DeviceSensorALLPtr;
00180 typedef boost::shared_ptr< ::jsk_gui_msgs::DeviceSensorALL const> DeviceSensorALLConstPtr;
00181 
00182 
00183 template<typename ContainerAllocator>
00184 std::ostream& operator<<(std::ostream& s, const  ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> & v)
00185 {
00186   ros::message_operations::Printer< ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> >::stream(s, "", v);
00187   return s;}
00188 
00189 } // namespace jsk_gui_msgs
00190 
00191 namespace ros
00192 {
00193 namespace message_traits
00194 {
00195 template<class ContainerAllocator> struct IsMessage< ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> > : public TrueType {};
00196 template<class ContainerAllocator> struct IsMessage< ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator>  const> : public TrueType {};
00197 template<class ContainerAllocator>
00198 struct MD5Sum< ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> > {
00199   static const char* value() 
00200   {
00201     return "c6760fdd899a253540b8dfd19f6a9ed4";
00202   }
00203 
00204   static const char* value(const  ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> &) { return value(); } 
00205   static const uint64_t static_value1 = 0xc6760fdd899a2535ULL;
00206   static const uint64_t static_value2 = 0x40b8dfd19f6a9ed4ULL;
00207 };
00208 
00209 template<class ContainerAllocator>
00210 struct DataType< ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> > {
00211   static const char* value() 
00212   {
00213     return "jsk_gui_msgs/DeviceSensorALL";
00214   }
00215 
00216   static const char* value(const  ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> &) { return value(); } 
00217 };
00218 
00219 template<class ContainerAllocator>
00220 struct Definition< ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> > {
00221   static const char* value() 
00222   {
00223     return "# sensor for Tablet\n\
00224 \n\
00225 float64 accelerometer_x\n\
00226 float64 accelerometer_y\n\
00227 float64 accelerometer_z\n\
00228 \n\
00229 float64 magneticfield_x\n\
00230 float64 magneticfield_y\n\
00231 float64 magneticfield_z\n\
00232 \n\
00233 float64 gyroscope_x\n\
00234 float64 gyroscope_y\n\
00235 float64 gyroscope_z\n\
00236 \n\
00237 float64 light\n\
00238 \n\
00239 float64 pressure\n\
00240 \n\
00241 bool proximity\n\
00242 \n\
00243 float64 gravity_x\n\
00244 float64 gravity_y\n\
00245 float64 gravity_z\n\
00246 \n\
00247 float64 linear_acceleration_x\n\
00248 float64 linear_acceleration_y\n\
00249 float64 linear_acceleration_z\n\
00250 \n\
00251 float64 rotation_vector_x\n\
00252 float64 rotation_vector_y\n\
00253 float64 rotation_vector_z\n\
00254 float64 rotation_vector_optional\n\
00255 \n\
00256 float64 orientation_x\n\
00257 float64 orientation_y\n\
00258 float64 orientation_z\n\
00259 \n\
00260 float64 relative_humidity\n\
00261 \n\
00262 float64 temperature\n\
00263 \n\
00264 float64 ambient_temperature\n\
00265 \n\
00266 \n\
00267 \n\
00268 \n\
00269 \n\
00270 \n\
00271 ";
00272   }
00273 
00274   static const char* value(const  ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> &) { return value(); } 
00275 };
00276 
00277 template<class ContainerAllocator> struct IsFixedSize< ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> > : public TrueType {};
00278 } // namespace message_traits
00279 } // namespace ros
00280 
00281 namespace ros
00282 {
00283 namespace serialization
00284 {
00285 
00286 template<class ContainerAllocator> struct Serializer< ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> >
00287 {
00288   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00289   {
00290     stream.next(m.accelerometer_x);
00291     stream.next(m.accelerometer_y);
00292     stream.next(m.accelerometer_z);
00293     stream.next(m.magneticfield_x);
00294     stream.next(m.magneticfield_y);
00295     stream.next(m.magneticfield_z);
00296     stream.next(m.gyroscope_x);
00297     stream.next(m.gyroscope_y);
00298     stream.next(m.gyroscope_z);
00299     stream.next(m.light);
00300     stream.next(m.pressure);
00301     stream.next(m.proximity);
00302     stream.next(m.gravity_x);
00303     stream.next(m.gravity_y);
00304     stream.next(m.gravity_z);
00305     stream.next(m.linear_acceleration_x);
00306     stream.next(m.linear_acceleration_y);
00307     stream.next(m.linear_acceleration_z);
00308     stream.next(m.rotation_vector_x);
00309     stream.next(m.rotation_vector_y);
00310     stream.next(m.rotation_vector_z);
00311     stream.next(m.rotation_vector_optional);
00312     stream.next(m.orientation_x);
00313     stream.next(m.orientation_y);
00314     stream.next(m.orientation_z);
00315     stream.next(m.relative_humidity);
00316     stream.next(m.temperature);
00317     stream.next(m.ambient_temperature);
00318   }
00319 
00320   ROS_DECLARE_ALLINONE_SERIALIZER;
00321 }; // struct DeviceSensorALL_
00322 } // namespace serialization
00323 } // namespace ros
00324 
00325 namespace ros
00326 {
00327 namespace message_operations
00328 {
00329 
00330 template<class ContainerAllocator>
00331 struct Printer< ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> >
00332 {
00333   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::jsk_gui_msgs::DeviceSensorALL_<ContainerAllocator> & v) 
00334   {
00335     s << indent << "accelerometer_x: ";
00336     Printer<double>::stream(s, indent + "  ", v.accelerometer_x);
00337     s << indent << "accelerometer_y: ";
00338     Printer<double>::stream(s, indent + "  ", v.accelerometer_y);
00339     s << indent << "accelerometer_z: ";
00340     Printer<double>::stream(s, indent + "  ", v.accelerometer_z);
00341     s << indent << "magneticfield_x: ";
00342     Printer<double>::stream(s, indent + "  ", v.magneticfield_x);
00343     s << indent << "magneticfield_y: ";
00344     Printer<double>::stream(s, indent + "  ", v.magneticfield_y);
00345     s << indent << "magneticfield_z: ";
00346     Printer<double>::stream(s, indent + "  ", v.magneticfield_z);
00347     s << indent << "gyroscope_x: ";
00348     Printer<double>::stream(s, indent + "  ", v.gyroscope_x);
00349     s << indent << "gyroscope_y: ";
00350     Printer<double>::stream(s, indent + "  ", v.gyroscope_y);
00351     s << indent << "gyroscope_z: ";
00352     Printer<double>::stream(s, indent + "  ", v.gyroscope_z);
00353     s << indent << "light: ";
00354     Printer<double>::stream(s, indent + "  ", v.light);
00355     s << indent << "pressure: ";
00356     Printer<double>::stream(s, indent + "  ", v.pressure);
00357     s << indent << "proximity: ";
00358     Printer<uint8_t>::stream(s, indent + "  ", v.proximity);
00359     s << indent << "gravity_x: ";
00360     Printer<double>::stream(s, indent + "  ", v.gravity_x);
00361     s << indent << "gravity_y: ";
00362     Printer<double>::stream(s, indent + "  ", v.gravity_y);
00363     s << indent << "gravity_z: ";
00364     Printer<double>::stream(s, indent + "  ", v.gravity_z);
00365     s << indent << "linear_acceleration_x: ";
00366     Printer<double>::stream(s, indent + "  ", v.linear_acceleration_x);
00367     s << indent << "linear_acceleration_y: ";
00368     Printer<double>::stream(s, indent + "  ", v.linear_acceleration_y);
00369     s << indent << "linear_acceleration_z: ";
00370     Printer<double>::stream(s, indent + "  ", v.linear_acceleration_z);
00371     s << indent << "rotation_vector_x: ";
00372     Printer<double>::stream(s, indent + "  ", v.rotation_vector_x);
00373     s << indent << "rotation_vector_y: ";
00374     Printer<double>::stream(s, indent + "  ", v.rotation_vector_y);
00375     s << indent << "rotation_vector_z: ";
00376     Printer<double>::stream(s, indent + "  ", v.rotation_vector_z);
00377     s << indent << "rotation_vector_optional: ";
00378     Printer<double>::stream(s, indent + "  ", v.rotation_vector_optional);
00379     s << indent << "orientation_x: ";
00380     Printer<double>::stream(s, indent + "  ", v.orientation_x);
00381     s << indent << "orientation_y: ";
00382     Printer<double>::stream(s, indent + "  ", v.orientation_y);
00383     s << indent << "orientation_z: ";
00384     Printer<double>::stream(s, indent + "  ", v.orientation_z);
00385     s << indent << "relative_humidity: ";
00386     Printer<double>::stream(s, indent + "  ", v.relative_humidity);
00387     s << indent << "temperature: ";
00388     Printer<double>::stream(s, indent + "  ", v.temperature);
00389     s << indent << "ambient_temperature: ";
00390     Printer<double>::stream(s, indent + "  ", v.ambient_temperature);
00391   }
00392 };
00393 
00394 
00395 } // namespace message_operations
00396 } // namespace ros
00397 
00398 #endif // JSK_GUI_MSGS_MESSAGE_DEVICESENSORALL_H
00399 
 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