TestResult.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/srv/TestResult.srv */
00002 #ifndef PR2_SELF_TEST_MSGS_SERVICE_TESTRESULT_H
00003 #define PR2_SELF_TEST_MSGS_SERVICE_TESTRESULT_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 "ros/service_traits.h"
00018 
00019 #include "pr2_self_test_msgs/Plot.h"
00020 #include "pr2_self_test_msgs/TestParam.h"
00021 #include "pr2_self_test_msgs/TestValue.h"
00022 
00023 
00024 
00025 namespace pr2_self_test_msgs
00026 {
00027 template <class ContainerAllocator>
00028 struct TestResultRequest_ {
00029   typedef TestResultRequest_<ContainerAllocator> Type;
00030 
00031   TestResultRequest_()
00032   : html_result()
00033   , text_summary()
00034   , result(0)
00035   , plots()
00036   , params()
00037   , values()
00038   {
00039   }
00040 
00041   TestResultRequest_(const ContainerAllocator& _alloc)
00042   : html_result(_alloc)
00043   , text_summary(_alloc)
00044   , result(0)
00045   , plots(_alloc)
00046   , params(_alloc)
00047   , values(_alloc)
00048   {
00049   }
00050 
00051   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _html_result_type;
00052   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  html_result;
00053 
00054   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _text_summary_type;
00055   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  text_summary;
00056 
00057   typedef int8_t _result_type;
00058   int8_t result;
00059 
00060   typedef std::vector< ::pr2_self_test_msgs::Plot_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::pr2_self_test_msgs::Plot_<ContainerAllocator> >::other >  _plots_type;
00061   std::vector< ::pr2_self_test_msgs::Plot_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::pr2_self_test_msgs::Plot_<ContainerAllocator> >::other >  plots;
00062 
00063   typedef std::vector< ::pr2_self_test_msgs::TestParam_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::pr2_self_test_msgs::TestParam_<ContainerAllocator> >::other >  _params_type;
00064   std::vector< ::pr2_self_test_msgs::TestParam_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::pr2_self_test_msgs::TestParam_<ContainerAllocator> >::other >  params;
00065 
00066   typedef std::vector< ::pr2_self_test_msgs::TestValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::pr2_self_test_msgs::TestValue_<ContainerAllocator> >::other >  _values_type;
00067   std::vector< ::pr2_self_test_msgs::TestValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::pr2_self_test_msgs::TestValue_<ContainerAllocator> >::other >  values;
00068 
00069   enum { RESULT_PASS = 0 };
00070   enum { RESULT_FAIL = 1 };
00071   enum { RESULT_HUMAN_REQUIRED = 2 };
00072 
00073   typedef boost::shared_ptr< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> > Ptr;
00074   typedef boost::shared_ptr< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator>  const> ConstPtr;
00075   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00076 }; // struct TestResultRequest
00077 typedef  ::pr2_self_test_msgs::TestResultRequest_<std::allocator<void> > TestResultRequest;
00078 
00079 typedef boost::shared_ptr< ::pr2_self_test_msgs::TestResultRequest> TestResultRequestPtr;
00080 typedef boost::shared_ptr< ::pr2_self_test_msgs::TestResultRequest const> TestResultRequestConstPtr;
00081 
00082 
00083 
00084 template <class ContainerAllocator>
00085 struct TestResultResponse_ {
00086   typedef TestResultResponse_<ContainerAllocator> Type;
00087 
00088   TestResultResponse_()
00089   {
00090   }
00091 
00092   TestResultResponse_(const ContainerAllocator& _alloc)
00093   {
00094   }
00095 
00096 
00097   typedef boost::shared_ptr< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > Ptr;
00098   typedef boost::shared_ptr< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator>  const> ConstPtr;
00099   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00100 }; // struct TestResultResponse
00101 typedef  ::pr2_self_test_msgs::TestResultResponse_<std::allocator<void> > TestResultResponse;
00102 
00103 typedef boost::shared_ptr< ::pr2_self_test_msgs::TestResultResponse> TestResultResponsePtr;
00104 typedef boost::shared_ptr< ::pr2_self_test_msgs::TestResultResponse const> TestResultResponseConstPtr;
00105 
00106 
00107 struct TestResult
00108 {
00109 
00110 typedef TestResultRequest Request;
00111 typedef TestResultResponse Response;
00112 Request request;
00113 Response response;
00114 
00115 typedef Request RequestType;
00116 typedef Response ResponseType;
00117 }; // struct TestResult
00118 } // namespace pr2_self_test_msgs
00119 
00120 namespace ros
00121 {
00122 namespace message_traits
00123 {
00124 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> > : public TrueType {};
00125 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator>  const> : public TrueType {};
00126 template<class ContainerAllocator>
00127 struct MD5Sum< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> > {
00128   static const char* value() 
00129   {
00130     return "3bc5fb8af85db1b7baaa0efa94b53344";
00131   }
00132 
00133   static const char* value(const  ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> &) { return value(); } 
00134   static const uint64_t static_value1 = 0x3bc5fb8af85db1b7ULL;
00135   static const uint64_t static_value2 = 0xbaaa0efa94b53344ULL;
00136 };
00137 
00138 template<class ContainerAllocator>
00139 struct DataType< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> > {
00140   static const char* value() 
00141   {
00142     return "pr2_self_test_msgs/TestResultRequest";
00143   }
00144 
00145   static const char* value(const  ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> &) { return value(); } 
00146 };
00147 
00148 template<class ContainerAllocator>
00149 struct Definition< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> > {
00150   static const char* value() 
00151   {
00152     return "\n\
00153 byte RESULT_PASS = 0\n\
00154 byte RESULT_FAIL = 1\n\
00155 byte RESULT_HUMAN_REQUIRED = 2\n\
00156 \n\
00157 string html_result\n\
00158 string text_summary\n\
00159 byte result\n\
00160 Plot[] plots\n\
00161 TestParam[] params\n\
00162 TestValue[] values\n\
00163 \n\
00164 ================================================================================\n\
00165 MSG: pr2_self_test_msgs/Plot\n\
00166 # Plot data, used for PR2 self tests\n\
00167 string title\n\
00168 byte[] image\n\
00169 string image_format\n\
00170 \n\
00171 ================================================================================\n\
00172 MSG: pr2_self_test_msgs/TestParam\n\
00173 # Test param is value that is set during qualification\n\
00174 string key\n\
00175 string value\n\
00176 ================================================================================\n\
00177 MSG: pr2_self_test_msgs/TestValue\n\
00178 # TestValue is recorded value during PR2 qualification\n\
00179 string key\n\
00180 string value\n\
00181 string min\n\
00182 string max\n\
00183 ";
00184   }
00185 
00186   static const char* value(const  ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> &) { return value(); } 
00187 };
00188 
00189 } // namespace message_traits
00190 } // namespace ros
00191 
00192 
00193 namespace ros
00194 {
00195 namespace message_traits
00196 {
00197 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > : public TrueType {};
00198 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator>  const> : public TrueType {};
00199 template<class ContainerAllocator>
00200 struct MD5Sum< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > {
00201   static const char* value() 
00202   {
00203     return "d41d8cd98f00b204e9800998ecf8427e";
00204   }
00205 
00206   static const char* value(const  ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> &) { return value(); } 
00207   static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00208   static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00209 };
00210 
00211 template<class ContainerAllocator>
00212 struct DataType< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > {
00213   static const char* value() 
00214   {
00215     return "pr2_self_test_msgs/TestResultResponse";
00216   }
00217 
00218   static const char* value(const  ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> &) { return value(); } 
00219 };
00220 
00221 template<class ContainerAllocator>
00222 struct Definition< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > {
00223   static const char* value() 
00224   {
00225     return "\n\
00226 \n\
00227 ";
00228   }
00229 
00230   static const char* value(const  ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> &) { return value(); } 
00231 };
00232 
00233 template<class ContainerAllocator> struct IsFixedSize< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > : public TrueType {};
00234 } // namespace message_traits
00235 } // namespace ros
00236 
00237 namespace ros
00238 {
00239 namespace serialization
00240 {
00241 
00242 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> >
00243 {
00244   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00245   {
00246     stream.next(m.html_result);
00247     stream.next(m.text_summary);
00248     stream.next(m.result);
00249     stream.next(m.plots);
00250     stream.next(m.params);
00251     stream.next(m.values);
00252   }
00253 
00254   ROS_DECLARE_ALLINONE_SERIALIZER;
00255 }; // struct TestResultRequest_
00256 } // namespace serialization
00257 } // namespace ros
00258 
00259 
00260 namespace ros
00261 {
00262 namespace serialization
00263 {
00264 
00265 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> >
00266 {
00267   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00268   {
00269   }
00270 
00271   ROS_DECLARE_ALLINONE_SERIALIZER;
00272 }; // struct TestResultResponse_
00273 } // namespace serialization
00274 } // namespace ros
00275 
00276 namespace ros
00277 {
00278 namespace service_traits
00279 {
00280 template<>
00281 struct MD5Sum<pr2_self_test_msgs::TestResult> {
00282   static const char* value() 
00283   {
00284     return "3bc5fb8af85db1b7baaa0efa94b53344";
00285   }
00286 
00287   static const char* value(const pr2_self_test_msgs::TestResult&) { return value(); } 
00288 };
00289 
00290 template<>
00291 struct DataType<pr2_self_test_msgs::TestResult> {
00292   static const char* value() 
00293   {
00294     return "pr2_self_test_msgs/TestResult";
00295   }
00296 
00297   static const char* value(const pr2_self_test_msgs::TestResult&) { return value(); } 
00298 };
00299 
00300 template<class ContainerAllocator>
00301 struct MD5Sum<pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> > {
00302   static const char* value() 
00303   {
00304     return "3bc5fb8af85db1b7baaa0efa94b53344";
00305   }
00306 
00307   static const char* value(const pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> &) { return value(); } 
00308 };
00309 
00310 template<class ContainerAllocator>
00311 struct DataType<pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> > {
00312   static const char* value() 
00313   {
00314     return "pr2_self_test_msgs/TestResult";
00315   }
00316 
00317   static const char* value(const pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> &) { return value(); } 
00318 };
00319 
00320 template<class ContainerAllocator>
00321 struct MD5Sum<pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > {
00322   static const char* value() 
00323   {
00324     return "3bc5fb8af85db1b7baaa0efa94b53344";
00325   }
00326 
00327   static const char* value(const pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> &) { return value(); } 
00328 };
00329 
00330 template<class ContainerAllocator>
00331 struct DataType<pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > {
00332   static const char* value() 
00333   {
00334     return "pr2_self_test_msgs/TestResult";
00335   }
00336 
00337   static const char* value(const pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> &) { return value(); } 
00338 };
00339 
00340 } // namespace service_traits
00341 } // namespace ros
00342 
00343 #endif // PR2_SELF_TEST_MSGS_SERVICE_TESTRESULT_H
00344 


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