MidProxData.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-shadow_robot/doc_stacks/2014-10-06_07-33-10.674696/shadow_robot/sr_robot_msgs/msg/MidProxData.msg */
00002 #ifndef SR_ROBOT_MSGS_MESSAGE_MIDPROXDATA_H
00003 #define SR_ROBOT_MSGS_MESSAGE_MIDPROXDATA_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 sr_robot_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct MidProxData_ {
00022   typedef MidProxData_<ContainerAllocator> Type;
00023 
00024   MidProxData_()
00025   : middle()
00026   , proximal()
00027   {
00028     middle.assign(0);
00029     proximal.assign(0);
00030   }
00031 
00032   MidProxData_(const ContainerAllocator& _alloc)
00033   : middle()
00034   , proximal()
00035   {
00036     middle.assign(0);
00037     proximal.assign(0);
00038   }
00039 
00040   typedef boost::array<uint16_t, 4>  _middle_type;
00041   boost::array<uint16_t, 4>  middle;
00042 
00043   typedef boost::array<uint16_t, 4>  _proximal_type;
00044   boost::array<uint16_t, 4>  proximal;
00045 
00046 
00047   typedef boost::shared_ptr< ::sr_robot_msgs::MidProxData_<ContainerAllocator> > Ptr;
00048   typedef boost::shared_ptr< ::sr_robot_msgs::MidProxData_<ContainerAllocator>  const> ConstPtr;
00049   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 }; // struct MidProxData
00051 typedef  ::sr_robot_msgs::MidProxData_<std::allocator<void> > MidProxData;
00052 
00053 typedef boost::shared_ptr< ::sr_robot_msgs::MidProxData> MidProxDataPtr;
00054 typedef boost::shared_ptr< ::sr_robot_msgs::MidProxData const> MidProxDataConstPtr;
00055 
00056 
00057 template<typename ContainerAllocator>
00058 std::ostream& operator<<(std::ostream& s, const  ::sr_robot_msgs::MidProxData_<ContainerAllocator> & v)
00059 {
00060   ros::message_operations::Printer< ::sr_robot_msgs::MidProxData_<ContainerAllocator> >::stream(s, "", v);
00061   return s;}
00062 
00063 } // namespace sr_robot_msgs
00064 
00065 namespace ros
00066 {
00067 namespace message_traits
00068 {
00069 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::MidProxData_<ContainerAllocator> > : public TrueType {};
00070 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::MidProxData_<ContainerAllocator>  const> : public TrueType {};
00071 template<class ContainerAllocator>
00072 struct MD5Sum< ::sr_robot_msgs::MidProxData_<ContainerAllocator> > {
00073   static const char* value() 
00074   {
00075     return "8ae5331748e57fcbdb20b7e2f086fcbf";
00076   }
00077 
00078   static const char* value(const  ::sr_robot_msgs::MidProxData_<ContainerAllocator> &) { return value(); } 
00079   static const uint64_t static_value1 = 0x8ae5331748e57fcbULL;
00080   static const uint64_t static_value2 = 0xdb20b7e2f086fcbfULL;
00081 };
00082 
00083 template<class ContainerAllocator>
00084 struct DataType< ::sr_robot_msgs::MidProxData_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "sr_robot_msgs/MidProxData";
00088   }
00089 
00090   static const char* value(const  ::sr_robot_msgs::MidProxData_<ContainerAllocator> &) { return value(); } 
00091 };
00092 
00093 template<class ContainerAllocator>
00094 struct Definition< ::sr_robot_msgs::MidProxData_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "uint16[4] middle\n\
00098 uint16[4] proximal\n\
00099 \n\
00100 ";
00101   }
00102 
00103   static const char* value(const  ::sr_robot_msgs::MidProxData_<ContainerAllocator> &) { return value(); } 
00104 };
00105 
00106 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::MidProxData_<ContainerAllocator> > : public TrueType {};
00107 } // namespace message_traits
00108 } // namespace ros
00109 
00110 namespace ros
00111 {
00112 namespace serialization
00113 {
00114 
00115 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::MidProxData_<ContainerAllocator> >
00116 {
00117   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00118   {
00119     stream.next(m.middle);
00120     stream.next(m.proximal);
00121   }
00122 
00123   ROS_DECLARE_ALLINONE_SERIALIZER;
00124 }; // struct MidProxData_
00125 } // namespace serialization
00126 } // namespace ros
00127 
00128 namespace ros
00129 {
00130 namespace message_operations
00131 {
00132 
00133 template<class ContainerAllocator>
00134 struct Printer< ::sr_robot_msgs::MidProxData_<ContainerAllocator> >
00135 {
00136   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::sr_robot_msgs::MidProxData_<ContainerAllocator> & v) 
00137   {
00138     s << indent << "middle[]" << std::endl;
00139     for (size_t i = 0; i < v.middle.size(); ++i)
00140     {
00141       s << indent << "  middle[" << i << "]: ";
00142       Printer<uint16_t>::stream(s, indent + "  ", v.middle[i]);
00143     }
00144     s << indent << "proximal[]" << std::endl;
00145     for (size_t i = 0; i < v.proximal.size(); ++i)
00146     {
00147       s << indent << "  proximal[" << i << "]: ";
00148       Printer<uint16_t>::stream(s, indent + "  ", v.proximal[i]);
00149     }
00150   }
00151 };
00152 
00153 
00154 } // namespace message_operations
00155 } // namespace ros
00156 
00157 #endif // SR_ROBOT_MSGS_MESSAGE_MIDPROXDATA_H
00158 


sr_robot_msgs
Author(s): Ugo Cupcic/ugo@shadowrobot.com
autogenerated on Mon Oct 6 2014 07:40:06