TestResult.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_self_test/doc_stacks/2013-12-28_17-26-17.231482/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 template <class ContainerAllocator>
00084 struct TestResultResponse_ {
00085   typedef TestResultResponse_<ContainerAllocator> Type;
00086 
00087   TestResultResponse_()
00088   {
00089   }
00090 
00091   TestResultResponse_(const ContainerAllocator& _alloc)
00092   {
00093   }
00094 
00095 
00096   typedef boost::shared_ptr< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > Ptr;
00097   typedef boost::shared_ptr< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator>  const> ConstPtr;
00098   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00099 }; // struct TestResultResponse
00100 typedef  ::pr2_self_test_msgs::TestResultResponse_<std::allocator<void> > TestResultResponse;
00101 
00102 typedef boost::shared_ptr< ::pr2_self_test_msgs::TestResultResponse> TestResultResponsePtr;
00103 typedef boost::shared_ptr< ::pr2_self_test_msgs::TestResultResponse const> TestResultResponseConstPtr;
00104 
00105 struct TestResult
00106 {
00107 
00108 typedef TestResultRequest Request;
00109 typedef TestResultResponse Response;
00110 Request request;
00111 Response response;
00112 
00113 typedef Request RequestType;
00114 typedef Response ResponseType;
00115 }; // struct TestResult
00116 } // namespace pr2_self_test_msgs
00117 
00118 namespace ros
00119 {
00120 namespace message_traits
00121 {
00122 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> > : public TrueType {};
00123 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator>  const> : public TrueType {};
00124 template<class ContainerAllocator>
00125 struct MD5Sum< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> > {
00126   static const char* value() 
00127   {
00128     return "3bc5fb8af85db1b7baaa0efa94b53344";
00129   }
00130 
00131   static const char* value(const  ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> &) { return value(); } 
00132   static const uint64_t static_value1 = 0x3bc5fb8af85db1b7ULL;
00133   static const uint64_t static_value2 = 0xbaaa0efa94b53344ULL;
00134 };
00135 
00136 template<class ContainerAllocator>
00137 struct DataType< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> > {
00138   static const char* value() 
00139   {
00140     return "pr2_self_test_msgs/TestResultRequest";
00141   }
00142 
00143   static const char* value(const  ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> &) { return value(); } 
00144 };
00145 
00146 template<class ContainerAllocator>
00147 struct Definition< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> > {
00148   static const char* value() 
00149   {
00150     return "\n\
00151 byte RESULT_PASS = 0\n\
00152 byte RESULT_FAIL = 1\n\
00153 byte RESULT_HUMAN_REQUIRED = 2\n\
00154 \n\
00155 string html_result\n\
00156 string text_summary\n\
00157 byte result\n\
00158 Plot[] plots\n\
00159 TestParam[] params\n\
00160 TestValue[] values\n\
00161 \n\
00162 ================================================================================\n\
00163 MSG: pr2_self_test_msgs/Plot\n\
00164 # Plot data, used for PR2 self tests\n\
00165 string title\n\
00166 byte[] image\n\
00167 string image_format\n\
00168 \n\
00169 ================================================================================\n\
00170 MSG: pr2_self_test_msgs/TestParam\n\
00171 # Test param is value that is set during qualification\n\
00172 string key\n\
00173 string value\n\
00174 ================================================================================\n\
00175 MSG: pr2_self_test_msgs/TestValue\n\
00176 # TestValue is recorded value during PR2 qualification\n\
00177 string key\n\
00178 string value\n\
00179 string min\n\
00180 string max\n\
00181 ";
00182   }
00183 
00184   static const char* value(const  ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> &) { return value(); } 
00185 };
00186 
00187 } // namespace message_traits
00188 } // namespace ros
00189 
00190 
00191 namespace ros
00192 {
00193 namespace message_traits
00194 {
00195 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > : public TrueType {};
00196 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator>  const> : public TrueType {};
00197 template<class ContainerAllocator>
00198 struct MD5Sum< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > {
00199   static const char* value() 
00200   {
00201     return "d41d8cd98f00b204e9800998ecf8427e";
00202   }
00203 
00204   static const char* value(const  ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> &) { return value(); } 
00205   static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00206   static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00207 };
00208 
00209 template<class ContainerAllocator>
00210 struct DataType< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > {
00211   static const char* value() 
00212   {
00213     return "pr2_self_test_msgs/TestResultResponse";
00214   }
00215 
00216   static const char* value(const  ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> &) { return value(); } 
00217 };
00218 
00219 template<class ContainerAllocator>
00220 struct Definition< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > {
00221   static const char* value() 
00222   {
00223     return "\n\
00224 \n\
00225 ";
00226   }
00227 
00228   static const char* value(const  ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> &) { return value(); } 
00229 };
00230 
00231 template<class ContainerAllocator> struct IsFixedSize< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > : public TrueType {};
00232 } // namespace message_traits
00233 } // namespace ros
00234 
00235 namespace ros
00236 {
00237 namespace serialization
00238 {
00239 
00240 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> >
00241 {
00242   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00243   {
00244     stream.next(m.html_result);
00245     stream.next(m.text_summary);
00246     stream.next(m.result);
00247     stream.next(m.plots);
00248     stream.next(m.params);
00249     stream.next(m.values);
00250   }
00251 
00252   ROS_DECLARE_ALLINONE_SERIALIZER;
00253 }; // struct TestResultRequest_
00254 } // namespace serialization
00255 } // namespace ros
00256 
00257 
00258 namespace ros
00259 {
00260 namespace serialization
00261 {
00262 
00263 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> >
00264 {
00265   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00266   {
00267   }
00268 
00269   ROS_DECLARE_ALLINONE_SERIALIZER;
00270 }; // struct TestResultResponse_
00271 } // namespace serialization
00272 } // namespace ros
00273 
00274 namespace ros
00275 {
00276 namespace service_traits
00277 {
00278 template<>
00279 struct MD5Sum<pr2_self_test_msgs::TestResult> {
00280   static const char* value() 
00281   {
00282     return "3bc5fb8af85db1b7baaa0efa94b53344";
00283   }
00284 
00285   static const char* value(const pr2_self_test_msgs::TestResult&) { return value(); } 
00286 };
00287 
00288 template<>
00289 struct DataType<pr2_self_test_msgs::TestResult> {
00290   static const char* value() 
00291   {
00292     return "pr2_self_test_msgs/TestResult";
00293   }
00294 
00295   static const char* value(const pr2_self_test_msgs::TestResult&) { return value(); } 
00296 };
00297 
00298 template<class ContainerAllocator>
00299 struct MD5Sum<pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> > {
00300   static const char* value() 
00301   {
00302     return "3bc5fb8af85db1b7baaa0efa94b53344";
00303   }
00304 
00305   static const char* value(const pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> &) { return value(); } 
00306 };
00307 
00308 template<class ContainerAllocator>
00309 struct DataType<pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> > {
00310   static const char* value() 
00311   {
00312     return "pr2_self_test_msgs/TestResult";
00313   }
00314 
00315   static const char* value(const pr2_self_test_msgs::TestResultRequest_<ContainerAllocator> &) { return value(); } 
00316 };
00317 
00318 template<class ContainerAllocator>
00319 struct MD5Sum<pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > {
00320   static const char* value() 
00321   {
00322     return "3bc5fb8af85db1b7baaa0efa94b53344";
00323   }
00324 
00325   static const char* value(const pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> &) { return value(); } 
00326 };
00327 
00328 template<class ContainerAllocator>
00329 struct DataType<pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> > {
00330   static const char* value() 
00331   {
00332     return "pr2_self_test_msgs/TestResult";
00333   }
00334 
00335   static const char* value(const pr2_self_test_msgs::TestResultResponse_<ContainerAllocator> &) { return value(); } 
00336 };
00337 
00338 } // namespace service_traits
00339 } // namespace ros
00340 
00341 #endif // PR2_SELF_TEST_MSGS_SERVICE_TESTRESULT_H
00342 


pr2_self_test_msgs
Author(s): Kevin Watts
autogenerated on Sat Dec 28 2013 17:29:33