ShadowPST.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-shadow_robot/doc_stacks/2014-01-03_11-55-43.997996/shadow_robot/sr_robot_msgs/msg/ShadowPST.msg */
00002 #ifndef SR_ROBOT_MSGS_MESSAGE_SHADOWPST_H
00003 #define SR_ROBOT_MSGS_MESSAGE_SHADOWPST_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 sr_robot_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct ShadowPST_ {
00023   typedef ShadowPST_<ContainerAllocator> Type;
00024 
00025   ShadowPST_()
00026   : header()
00027   , pressure()
00028   , temperature()
00029   {
00030   }
00031 
00032   ShadowPST_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , pressure(_alloc)
00035   , temperature(_alloc)
00036   {
00037   }
00038 
00039   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00040    ::std_msgs::Header_<ContainerAllocator>  header;
00041 
00042   typedef std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other >  _pressure_type;
00043   std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other >  pressure;
00044 
00045   typedef std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other >  _temperature_type;
00046   std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other >  temperature;
00047 
00048 
00049   typedef boost::shared_ptr< ::sr_robot_msgs::ShadowPST_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::sr_robot_msgs::ShadowPST_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct ShadowPST
00053 typedef  ::sr_robot_msgs::ShadowPST_<std::allocator<void> > ShadowPST;
00054 
00055 typedef boost::shared_ptr< ::sr_robot_msgs::ShadowPST> ShadowPSTPtr;
00056 typedef boost::shared_ptr< ::sr_robot_msgs::ShadowPST const> ShadowPSTConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::sr_robot_msgs::ShadowPST_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::sr_robot_msgs::ShadowPST_<ContainerAllocator> >::stream(s, "", v);
00063   return s;}
00064 
00065 } // namespace sr_robot_msgs
00066 
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::ShadowPST_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::ShadowPST_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::sr_robot_msgs::ShadowPST_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "ab86b3368a7316c12291b90583e1910e";
00078   }
00079 
00080   static const char* value(const  ::sr_robot_msgs::ShadowPST_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0xab86b3368a7316c1ULL;
00082   static const uint64_t static_value2 = 0x2291b90583e1910eULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::sr_robot_msgs::ShadowPST_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "sr_robot_msgs/ShadowPST";
00090   }
00091 
00092   static const char* value(const  ::sr_robot_msgs::ShadowPST_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::sr_robot_msgs::ShadowPST_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "Header header\n\
00100 int16[] pressure\n\
00101 int16[] temperature\n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: std_msgs/Header\n\
00105 # Standard metadata for higher-level stamped data types.\n\
00106 # This is generally used to communicate timestamped data \n\
00107 # in a particular coordinate frame.\n\
00108 # \n\
00109 # sequence ID: consecutively increasing ID \n\
00110 uint32 seq\n\
00111 #Two-integer timestamp that is expressed as:\n\
00112 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00113 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00114 # time-handling sugar is provided by the client library\n\
00115 time stamp\n\
00116 #Frame this data is associated with\n\
00117 # 0: no frame\n\
00118 # 1: global frame\n\
00119 string frame_id\n\
00120 \n\
00121 ";
00122   }
00123 
00124   static const char* value(const  ::sr_robot_msgs::ShadowPST_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 template<class ContainerAllocator> struct HasHeader< ::sr_robot_msgs::ShadowPST_<ContainerAllocator> > : public TrueType {};
00128 template<class ContainerAllocator> struct HasHeader< const ::sr_robot_msgs::ShadowPST_<ContainerAllocator> > : public TrueType {};
00129 } // namespace message_traits
00130 } // namespace ros
00131 
00132 namespace ros
00133 {
00134 namespace serialization
00135 {
00136 
00137 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::ShadowPST_<ContainerAllocator> >
00138 {
00139   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00140   {
00141     stream.next(m.header);
00142     stream.next(m.pressure);
00143     stream.next(m.temperature);
00144   }
00145 
00146   ROS_DECLARE_ALLINONE_SERIALIZER;
00147 }; // struct ShadowPST_
00148 } // namespace serialization
00149 } // namespace ros
00150 
00151 namespace ros
00152 {
00153 namespace message_operations
00154 {
00155 
00156 template<class ContainerAllocator>
00157 struct Printer< ::sr_robot_msgs::ShadowPST_<ContainerAllocator> >
00158 {
00159   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::sr_robot_msgs::ShadowPST_<ContainerAllocator> & v) 
00160   {
00161     s << indent << "header: ";
00162 s << std::endl;
00163     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00164     s << indent << "pressure[]" << std::endl;
00165     for (size_t i = 0; i < v.pressure.size(); ++i)
00166     {
00167       s << indent << "  pressure[" << i << "]: ";
00168       Printer<int16_t>::stream(s, indent + "  ", v.pressure[i]);
00169     }
00170     s << indent << "temperature[]" << std::endl;
00171     for (size_t i = 0; i < v.temperature.size(); ++i)
00172     {
00173       s << indent << "  temperature[" << i << "]: ";
00174       Printer<int16_t>::stream(s, indent + "  ", v.temperature[i]);
00175     }
00176   }
00177 };
00178 
00179 
00180 } // namespace message_operations
00181 } // namespace ros
00182 
00183 #endif // SR_ROBOT_MSGS_MESSAGE_SHADOWPST_H
00184 


sr_robot_msgs
Author(s): Ugo Cupcic/ugo@shadowrobot.com
autogenerated on Fri Jan 3 2014 12:01:41