ScriptDone.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/ScriptDone.srv */
00002 #ifndef PR2_SELF_TEST_MSGS_SERVICE_SCRIPTDONE_H
00003 #define PR2_SELF_TEST_MSGS_SERVICE_SCRIPTDONE_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 
00020 
00021 
00022 namespace pr2_self_test_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct ScriptDoneRequest_ {
00026   typedef ScriptDoneRequest_<ContainerAllocator> Type;
00027 
00028   ScriptDoneRequest_()
00029   : result(0)
00030   , failure_msg()
00031   {
00032   }
00033 
00034   ScriptDoneRequest_(const ContainerAllocator& _alloc)
00035   : result(0)
00036   , failure_msg(_alloc)
00037   {
00038   }
00039 
00040   typedef int8_t _result_type;
00041   int8_t result;
00042 
00043   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _failure_msg_type;
00044   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  failure_msg;
00045 
00046   enum { RESULT_OK = 0 };
00047   enum { RESULT_FAIL = 1 };
00048   enum { RESULT_ERROR = 2 };
00049 
00050   typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct ScriptDoneRequest
00054 typedef  ::pr2_self_test_msgs::ScriptDoneRequest_<std::allocator<void> > ScriptDoneRequest;
00055 
00056 typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneRequest> ScriptDoneRequestPtr;
00057 typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneRequest const> ScriptDoneRequestConstPtr;
00058 
00059 
00060 template <class ContainerAllocator>
00061 struct ScriptDoneResponse_ {
00062   typedef ScriptDoneResponse_<ContainerAllocator> Type;
00063 
00064   ScriptDoneResponse_()
00065   {
00066   }
00067 
00068   ScriptDoneResponse_(const ContainerAllocator& _alloc)
00069   {
00070   }
00071 
00072 
00073   typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > Ptr;
00074   typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator>  const> ConstPtr;
00075   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00076 }; // struct ScriptDoneResponse
00077 typedef  ::pr2_self_test_msgs::ScriptDoneResponse_<std::allocator<void> > ScriptDoneResponse;
00078 
00079 typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneResponse> ScriptDoneResponsePtr;
00080 typedef boost::shared_ptr< ::pr2_self_test_msgs::ScriptDoneResponse const> ScriptDoneResponseConstPtr;
00081 
00082 struct ScriptDone
00083 {
00084 
00085 typedef ScriptDoneRequest Request;
00086 typedef ScriptDoneResponse Response;
00087 Request request;
00088 Response response;
00089 
00090 typedef Request RequestType;
00091 typedef Response ResponseType;
00092 }; // struct ScriptDone
00093 } // namespace pr2_self_test_msgs
00094 
00095 namespace ros
00096 {
00097 namespace message_traits
00098 {
00099 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > : public TrueType {};
00100 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator>  const> : public TrueType {};
00101 template<class ContainerAllocator>
00102 struct MD5Sum< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > {
00103   static const char* value() 
00104   {
00105     return "5ba149050d1d4dafdca40945725022b3";
00106   }
00107 
00108   static const char* value(const  ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> &) { return value(); } 
00109   static const uint64_t static_value1 = 0x5ba149050d1d4dafULL;
00110   static const uint64_t static_value2 = 0xdca40945725022b3ULL;
00111 };
00112 
00113 template<class ContainerAllocator>
00114 struct DataType< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > {
00115   static const char* value() 
00116   {
00117     return "pr2_self_test_msgs/ScriptDoneRequest";
00118   }
00119 
00120   static const char* value(const  ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> &) { return value(); } 
00121 };
00122 
00123 template<class ContainerAllocator>
00124 struct Definition< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > {
00125   static const char* value() 
00126   {
00127     return "byte RESULT_OK = 0\n\
00128 byte RESULT_FAIL = 1\n\
00129 byte RESULT_ERROR = 2\n\
00130 \n\
00131 byte result\n\
00132 string failure_msg\n\
00133 \n\
00134 ";
00135   }
00136 
00137   static const char* value(const  ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> &) { return value(); } 
00138 };
00139 
00140 } // namespace message_traits
00141 } // namespace ros
00142 
00143 
00144 namespace ros
00145 {
00146 namespace message_traits
00147 {
00148 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > : public TrueType {};
00149 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator>  const> : public TrueType {};
00150 template<class ContainerAllocator>
00151 struct MD5Sum< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > {
00152   static const char* value() 
00153   {
00154     return "d41d8cd98f00b204e9800998ecf8427e";
00155   }
00156 
00157   static const char* value(const  ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> &) { return value(); } 
00158   static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00159   static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00160 };
00161 
00162 template<class ContainerAllocator>
00163 struct DataType< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > {
00164   static const char* value() 
00165   {
00166     return "pr2_self_test_msgs/ScriptDoneResponse";
00167   }
00168 
00169   static const char* value(const  ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> &) { return value(); } 
00170 };
00171 
00172 template<class ContainerAllocator>
00173 struct Definition< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > {
00174   static const char* value() 
00175   {
00176     return "\n\
00177 ";
00178   }
00179 
00180   static const char* value(const  ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> &) { return value(); } 
00181 };
00182 
00183 template<class ContainerAllocator> struct IsFixedSize< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > : public TrueType {};
00184 } // namespace message_traits
00185 } // namespace ros
00186 
00187 namespace ros
00188 {
00189 namespace serialization
00190 {
00191 
00192 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> >
00193 {
00194   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00195   {
00196     stream.next(m.result);
00197     stream.next(m.failure_msg);
00198   }
00199 
00200   ROS_DECLARE_ALLINONE_SERIALIZER;
00201 }; // struct ScriptDoneRequest_
00202 } // namespace serialization
00203 } // namespace ros
00204 
00205 
00206 namespace ros
00207 {
00208 namespace serialization
00209 {
00210 
00211 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> >
00212 {
00213   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00214   {
00215   }
00216 
00217   ROS_DECLARE_ALLINONE_SERIALIZER;
00218 }; // struct ScriptDoneResponse_
00219 } // namespace serialization
00220 } // namespace ros
00221 
00222 namespace ros
00223 {
00224 namespace service_traits
00225 {
00226 template<>
00227 struct MD5Sum<pr2_self_test_msgs::ScriptDone> {
00228   static const char* value() 
00229   {
00230     return "5ba149050d1d4dafdca40945725022b3";
00231   }
00232 
00233   static const char* value(const pr2_self_test_msgs::ScriptDone&) { return value(); } 
00234 };
00235 
00236 template<>
00237 struct DataType<pr2_self_test_msgs::ScriptDone> {
00238   static const char* value() 
00239   {
00240     return "pr2_self_test_msgs/ScriptDone";
00241   }
00242 
00243   static const char* value(const pr2_self_test_msgs::ScriptDone&) { return value(); } 
00244 };
00245 
00246 template<class ContainerAllocator>
00247 struct MD5Sum<pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > {
00248   static const char* value() 
00249   {
00250     return "5ba149050d1d4dafdca40945725022b3";
00251   }
00252 
00253   static const char* value(const pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> &) { return value(); } 
00254 };
00255 
00256 template<class ContainerAllocator>
00257 struct DataType<pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> > {
00258   static const char* value() 
00259   {
00260     return "pr2_self_test_msgs/ScriptDone";
00261   }
00262 
00263   static const char* value(const pr2_self_test_msgs::ScriptDoneRequest_<ContainerAllocator> &) { return value(); } 
00264 };
00265 
00266 template<class ContainerAllocator>
00267 struct MD5Sum<pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > {
00268   static const char* value() 
00269   {
00270     return "5ba149050d1d4dafdca40945725022b3";
00271   }
00272 
00273   static const char* value(const pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> &) { return value(); } 
00274 };
00275 
00276 template<class ContainerAllocator>
00277 struct DataType<pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> > {
00278   static const char* value() 
00279   {
00280     return "pr2_self_test_msgs/ScriptDone";
00281   }
00282 
00283   static const char* value(const pr2_self_test_msgs::ScriptDoneResponse_<ContainerAllocator> &) { return value(); } 
00284 };
00285 
00286 } // namespace service_traits
00287 } // namespace ros
00288 
00289 #endif // PR2_SELF_TEST_MSGS_SERVICE_SCRIPTDONE_H
00290 


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