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


schunk_sdh
Author(s): Florian Weisshardt
autogenerated on Tue Mar 5 2013 14:44:11