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


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