Go to the documentation of this file.00001
00002 #ifndef SR_ROBOT_MSGS_MESSAGE_UBI0_H
00003 #define SR_ROBOT_MSGS_MESSAGE_UBI0_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 UBI0_ {
00022 typedef UBI0_<ContainerAllocator> Type;
00023
00024 UBI0_()
00025 : distal()
00026 {
00027 distal.assign(0);
00028 }
00029
00030 UBI0_(const ContainerAllocator& _alloc)
00031 : distal()
00032 {
00033 distal.assign(0);
00034 }
00035
00036 typedef boost::array<uint16_t, 12> _distal_type;
00037 boost::array<uint16_t, 12> distal;
00038
00039
00040 typedef boost::shared_ptr< ::sr_robot_msgs::UBI0_<ContainerAllocator> > Ptr;
00041 typedef boost::shared_ptr< ::sr_robot_msgs::UBI0_<ContainerAllocator> const> ConstPtr;
00042 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00043 };
00044 typedef ::sr_robot_msgs::UBI0_<std::allocator<void> > UBI0;
00045
00046 typedef boost::shared_ptr< ::sr_robot_msgs::UBI0> UBI0Ptr;
00047 typedef boost::shared_ptr< ::sr_robot_msgs::UBI0 const> UBI0ConstPtr;
00048
00049
00050 template<typename ContainerAllocator>
00051 std::ostream& operator<<(std::ostream& s, const ::sr_robot_msgs::UBI0_<ContainerAllocator> & v)
00052 {
00053 ros::message_operations::Printer< ::sr_robot_msgs::UBI0_<ContainerAllocator> >::stream(s, "", v);
00054 return s;}
00055
00056 }
00057
00058 namespace ros
00059 {
00060 namespace message_traits
00061 {
00062 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::UBI0_<ContainerAllocator> > : public TrueType {};
00063 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::UBI0_<ContainerAllocator> const> : public TrueType {};
00064 template<class ContainerAllocator>
00065 struct MD5Sum< ::sr_robot_msgs::UBI0_<ContainerAllocator> > {
00066 static const char* value()
00067 {
00068 return "f8ba754182dd029f486767184963c485";
00069 }
00070
00071 static const char* value(const ::sr_robot_msgs::UBI0_<ContainerAllocator> &) { return value(); }
00072 static const uint64_t static_value1 = 0xf8ba754182dd029fULL;
00073 static const uint64_t static_value2 = 0x486767184963c485ULL;
00074 };
00075
00076 template<class ContainerAllocator>
00077 struct DataType< ::sr_robot_msgs::UBI0_<ContainerAllocator> > {
00078 static const char* value()
00079 {
00080 return "sr_robot_msgs/UBI0";
00081 }
00082
00083 static const char* value(const ::sr_robot_msgs::UBI0_<ContainerAllocator> &) { return value(); }
00084 };
00085
00086 template<class ContainerAllocator>
00087 struct Definition< ::sr_robot_msgs::UBI0_<ContainerAllocator> > {
00088 static const char* value()
00089 {
00090 return "uint16[12] distal\n\
00091 \n\
00092 ";
00093 }
00094
00095 static const char* value(const ::sr_robot_msgs::UBI0_<ContainerAllocator> &) { return value(); }
00096 };
00097
00098 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::UBI0_<ContainerAllocator> > : public TrueType {};
00099 }
00100 }
00101
00102 namespace ros
00103 {
00104 namespace serialization
00105 {
00106
00107 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::UBI0_<ContainerAllocator> >
00108 {
00109 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00110 {
00111 stream.next(m.distal);
00112 }
00113
00114 ROS_DECLARE_ALLINONE_SERIALIZER;
00115 };
00116 }
00117 }
00118
00119 namespace ros
00120 {
00121 namespace message_operations
00122 {
00123
00124 template<class ContainerAllocator>
00125 struct Printer< ::sr_robot_msgs::UBI0_<ContainerAllocator> >
00126 {
00127 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sr_robot_msgs::UBI0_<ContainerAllocator> & v)
00128 {
00129 s << indent << "distal[]" << std::endl;
00130 for (size_t i = 0; i < v.distal.size(); ++i)
00131 {
00132 s << indent << " distal[" << i << "]: ";
00133 Printer<uint16_t>::stream(s, indent + " ", v.distal[i]);
00134 }
00135 }
00136 };
00137
00138
00139 }
00140 }
00141
00142 #endif // SR_ROBOT_MSGS_MESSAGE_UBI0_H
00143