Tactile.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/Tactile.msg */
00002 #ifndef SR_ROBOT_MSGS_MESSAGE_TACTILE_H
00003 #define SR_ROBOT_MSGS_MESSAGE_TACTILE_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/Int16.h"
00018 
00019 namespace sr_robot_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct Tactile_ {
00023   typedef Tactile_<ContainerAllocator> Type;
00024 
00025   Tactile_()
00026   : data()
00027   {
00028   }
00029 
00030   Tactile_(const ContainerAllocator& _alloc)
00031   : data(_alloc)
00032   {
00033   }
00034 
00035   typedef std::vector< ::std_msgs::Int16_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::std_msgs::Int16_<ContainerAllocator> >::other >  _data_type;
00036   std::vector< ::std_msgs::Int16_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::std_msgs::Int16_<ContainerAllocator> >::other >  data;
00037 
00038 
00039   typedef boost::shared_ptr< ::sr_robot_msgs::Tactile_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::sr_robot_msgs::Tactile_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct Tactile
00043 typedef  ::sr_robot_msgs::Tactile_<std::allocator<void> > Tactile;
00044 
00045 typedef boost::shared_ptr< ::sr_robot_msgs::Tactile> TactilePtr;
00046 typedef boost::shared_ptr< ::sr_robot_msgs::Tactile const> TactileConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::sr_robot_msgs::Tactile_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::sr_robot_msgs::Tactile_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace sr_robot_msgs
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::Tactile_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::Tactile_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::sr_robot_msgs::Tactile_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "0f9585f47779b9607f760bef85a254c0";
00068   }
00069 
00070   static const char* value(const  ::sr_robot_msgs::Tactile_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0x0f9585f47779b960ULL;
00072   static const uint64_t static_value2 = 0x7f760bef85a254c0ULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::sr_robot_msgs::Tactile_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "sr_robot_msgs/Tactile";
00080   }
00081 
00082   static const char* value(const  ::sr_robot_msgs::Tactile_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::sr_robot_msgs::Tactile_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "std_msgs/Int16[] data\n\
00090 \n\
00091 ================================================================================\n\
00092 MSG: std_msgs/Int16\n\
00093 int16 data\n\
00094 \n\
00095 ";
00096   }
00097 
00098   static const char* value(const  ::sr_robot_msgs::Tactile_<ContainerAllocator> &) { return value(); } 
00099 };
00100 
00101 } // namespace message_traits
00102 } // namespace ros
00103 
00104 namespace ros
00105 {
00106 namespace serialization
00107 {
00108 
00109 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::Tactile_<ContainerAllocator> >
00110 {
00111   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00112   {
00113     stream.next(m.data);
00114   }
00115 
00116   ROS_DECLARE_ALLINONE_SERIALIZER;
00117 }; // struct Tactile_
00118 } // namespace serialization
00119 } // namespace ros
00120 
00121 namespace ros
00122 {
00123 namespace message_operations
00124 {
00125 
00126 template<class ContainerAllocator>
00127 struct Printer< ::sr_robot_msgs::Tactile_<ContainerAllocator> >
00128 {
00129   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::sr_robot_msgs::Tactile_<ContainerAllocator> & v) 
00130   {
00131     s << indent << "data[]" << std::endl;
00132     for (size_t i = 0; i < v.data.size(); ++i)
00133     {
00134       s << indent << "  data[" << i << "]: ";
00135       s << std::endl;
00136       s << indent;
00137       Printer< ::std_msgs::Int16_<ContainerAllocator> >::stream(s, indent + "    ", v.data[i]);
00138     }
00139   }
00140 };
00141 
00142 
00143 } // namespace message_operations
00144 } // namespace ros
00145 
00146 #endif // SR_ROBOT_MSGS_MESSAGE_TACTILE_H
00147 


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