Axis.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-axis_camera/doc_stacks/2013-05-13_10-14-34.148478/axis_camera/msg/Axis.msg */
00002 #ifndef AXIS_CAMERA_MESSAGE_AXIS_H
00003 #define AXIS_CAMERA_MESSAGE_AXIS_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 axis_camera
00019 {
00020 template <class ContainerAllocator>
00021 struct Axis_ {
00022   typedef Axis_<ContainerAllocator> Type;
00023 
00024   Axis_()
00025   : pan(0.0)
00026   , tilt(0.0)
00027   , zoom(0.0)
00028   , focus(0.0)
00029   , brightness(0.0)
00030   , iris(0.0)
00031   , autofocus(false)
00032   {
00033   }
00034 
00035   Axis_(const ContainerAllocator& _alloc)
00036   : pan(0.0)
00037   , tilt(0.0)
00038   , zoom(0.0)
00039   , focus(0.0)
00040   , brightness(0.0)
00041   , iris(0.0)
00042   , autofocus(false)
00043   {
00044   }
00045 
00046   typedef float _pan_type;
00047   float pan;
00048 
00049   typedef float _tilt_type;
00050   float tilt;
00051 
00052   typedef float _zoom_type;
00053   float zoom;
00054 
00055   typedef float _focus_type;
00056   float focus;
00057 
00058   typedef float _brightness_type;
00059   float brightness;
00060 
00061   typedef float _iris_type;
00062   float iris;
00063 
00064   typedef uint8_t _autofocus_type;
00065   uint8_t autofocus;
00066 
00067 
00068   typedef boost::shared_ptr< ::axis_camera::Axis_<ContainerAllocator> > Ptr;
00069   typedef boost::shared_ptr< ::axis_camera::Axis_<ContainerAllocator>  const> ConstPtr;
00070   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00071 }; // struct Axis
00072 typedef  ::axis_camera::Axis_<std::allocator<void> > Axis;
00073 
00074 typedef boost::shared_ptr< ::axis_camera::Axis> AxisPtr;
00075 typedef boost::shared_ptr< ::axis_camera::Axis const> AxisConstPtr;
00076 
00077 
00078 template<typename ContainerAllocator>
00079 std::ostream& operator<<(std::ostream& s, const  ::axis_camera::Axis_<ContainerAllocator> & v)
00080 {
00081   ros::message_operations::Printer< ::axis_camera::Axis_<ContainerAllocator> >::stream(s, "", v);
00082   return s;}
00083 
00084 } // namespace axis_camera
00085 
00086 namespace ros
00087 {
00088 namespace message_traits
00089 {
00090 template<class ContainerAllocator> struct IsMessage< ::axis_camera::Axis_<ContainerAllocator> > : public TrueType {};
00091 template<class ContainerAllocator> struct IsMessage< ::axis_camera::Axis_<ContainerAllocator>  const> : public TrueType {};
00092 template<class ContainerAllocator>
00093 struct MD5Sum< ::axis_camera::Axis_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "7559be9cb80074f71cea3a03f4b3abe0";
00097   }
00098 
00099   static const char* value(const  ::axis_camera::Axis_<ContainerAllocator> &) { return value(); } 
00100   static const uint64_t static_value1 = 0x7559be9cb80074f7ULL;
00101   static const uint64_t static_value2 = 0x1cea3a03f4b3abe0ULL;
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct DataType< ::axis_camera::Axis_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "axis_camera/Axis";
00109   }
00110 
00111   static const char* value(const  ::axis_camera::Axis_<ContainerAllocator> &) { return value(); } 
00112 };
00113 
00114 template<class ContainerAllocator>
00115 struct Definition< ::axis_camera::Axis_<ContainerAllocator> > {
00116   static const char* value() 
00117   {
00118     return "float32 pan\n\
00119 float32 tilt\n\
00120 float32 zoom\n\
00121 float32 focus\n\
00122 float32 brightness\n\
00123 float32 iris\n\
00124 bool autofocus\n\
00125 \n\
00126 ";
00127   }
00128 
00129   static const char* value(const  ::axis_camera::Axis_<ContainerAllocator> &) { return value(); } 
00130 };
00131 
00132 template<class ContainerAllocator> struct IsFixedSize< ::axis_camera::Axis_<ContainerAllocator> > : public TrueType {};
00133 } // namespace message_traits
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace serialization
00139 {
00140 
00141 template<class ContainerAllocator> struct Serializer< ::axis_camera::Axis_<ContainerAllocator> >
00142 {
00143   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00144   {
00145     stream.next(m.pan);
00146     stream.next(m.tilt);
00147     stream.next(m.zoom);
00148     stream.next(m.focus);
00149     stream.next(m.brightness);
00150     stream.next(m.iris);
00151     stream.next(m.autofocus);
00152   }
00153 
00154   ROS_DECLARE_ALLINONE_SERIALIZER;
00155 }; // struct Axis_
00156 } // namespace serialization
00157 } // namespace ros
00158 
00159 namespace ros
00160 {
00161 namespace message_operations
00162 {
00163 
00164 template<class ContainerAllocator>
00165 struct Printer< ::axis_camera::Axis_<ContainerAllocator> >
00166 {
00167   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::axis_camera::Axis_<ContainerAllocator> & v) 
00168   {
00169     s << indent << "pan: ";
00170     Printer<float>::stream(s, indent + "  ", v.pan);
00171     s << indent << "tilt: ";
00172     Printer<float>::stream(s, indent + "  ", v.tilt);
00173     s << indent << "zoom: ";
00174     Printer<float>::stream(s, indent + "  ", v.zoom);
00175     s << indent << "focus: ";
00176     Printer<float>::stream(s, indent + "  ", v.focus);
00177     s << indent << "brightness: ";
00178     Printer<float>::stream(s, indent + "  ", v.brightness);
00179     s << indent << "iris: ";
00180     Printer<float>::stream(s, indent + "  ", v.iris);
00181     s << indent << "autofocus: ";
00182     Printer<uint8_t>::stream(s, indent + "  ", v.autofocus);
00183   }
00184 };
00185 
00186 
00187 } // namespace message_operations
00188 } // namespace ros
00189 
00190 #endif // AXIS_CAMERA_MESSAGE_AXIS_H
00191 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


axis_camera
Author(s): Ryan Gariepy
autogenerated on Mon May 13 2013 10:15:52