TestInfoArray.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_self_test/doc_stacks/2014-04-22_19-33-54.770728/pr2_self_test/pr2_self_test_msgs/msg/TestInfoArray.msg */
00002 #ifndef PR2_SELF_TEST_MSGS_MESSAGE_TESTINFOARRAY_H
00003 #define PR2_SELF_TEST_MSGS_MESSAGE_TESTINFOARRAY_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 "pr2_self_test_msgs/TestInfo.h"
00018 
00019 namespace pr2_self_test_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct TestInfoArray_ {
00023   typedef TestInfoArray_<ContainerAllocator> Type;
00024 
00025   TestInfoArray_()
00026   : data()
00027   {
00028   }
00029 
00030   TestInfoArray_(const ContainerAllocator& _alloc)
00031   : data(_alloc)
00032   {
00033   }
00034 
00035   typedef std::vector< ::pr2_self_test_msgs::TestInfo_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::pr2_self_test_msgs::TestInfo_<ContainerAllocator> >::other >  _data_type;
00036   std::vector< ::pr2_self_test_msgs::TestInfo_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::pr2_self_test_msgs::TestInfo_<ContainerAllocator> >::other >  data;
00037 
00038 
00039   typedef boost::shared_ptr< ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct TestInfoArray
00043 typedef  ::pr2_self_test_msgs::TestInfoArray_<std::allocator<void> > TestInfoArray;
00044 
00045 typedef boost::shared_ptr< ::pr2_self_test_msgs::TestInfoArray> TestInfoArrayPtr;
00046 typedef boost::shared_ptr< ::pr2_self_test_msgs::TestInfoArray const> TestInfoArrayConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace pr2_self_test_msgs
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "1ed4c76da9520649c668cc322d33542a";
00068   }
00069 
00070   static const char* value(const  ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0x1ed4c76da9520649ULL;
00072   static const uint64_t static_value2 = 0xc668cc322d33542aULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "pr2_self_test_msgs/TestInfoArray";
00080   }
00081 
00082   static const char* value(const  ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "TestInfo[] data\n\
00090 ================================================================================\n\
00091 MSG: pr2_self_test_msgs/TestInfo\n\
00092 string serial\n\
00093 string test_name\n\
00094 byte test_status # 127, not launched, 0, ok; 1, warn; 2, error; 3, stale\n\
00095 string bay_name\n\
00096 string machine\n\
00097 int32 board\n\
00098 int32 breaker\n\
00099 string power_status\n\
00100 byte estop # 0, off; 1, on\n\
00101 int32 elapsed\n\
00102 string status_msg\n\
00103 ";
00104   }
00105 
00106   static const char* value(const  ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator> &) { return value(); } 
00107 };
00108 
00109 } // namespace message_traits
00110 } // namespace ros
00111 
00112 namespace ros
00113 {
00114 namespace serialization
00115 {
00116 
00117 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator> >
00118 {
00119   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00120   {
00121     stream.next(m.data);
00122   }
00123 
00124   ROS_DECLARE_ALLINONE_SERIALIZER;
00125 }; // struct TestInfoArray_
00126 } // namespace serialization
00127 } // namespace ros
00128 
00129 namespace ros
00130 {
00131 namespace message_operations
00132 {
00133 
00134 template<class ContainerAllocator>
00135 struct Printer< ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator> >
00136 {
00137   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_self_test_msgs::TestInfoArray_<ContainerAllocator> & v) 
00138   {
00139     s << indent << "data[]" << std::endl;
00140     for (size_t i = 0; i < v.data.size(); ++i)
00141     {
00142       s << indent << "  data[" << i << "]: ";
00143       s << std::endl;
00144       s << indent;
00145       Printer< ::pr2_self_test_msgs::TestInfo_<ContainerAllocator> >::stream(s, indent + "    ", v.data[i]);
00146     }
00147   }
00148 };
00149 
00150 
00151 } // namespace message_operations
00152 } // namespace ros
00153 
00154 #endif // PR2_SELF_TEST_MSGS_MESSAGE_TESTINFOARRAY_H
00155 


pr2_self_test_msgs
Author(s): Kevin Watts
autogenerated on Tue Apr 22 2014 19:38:26