PrologNextSolution.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-knowrob/doc_stacks/2014-10-06_01-25-35.828101/knowrob/json_prolog_msgs/srv/PrologNextSolution.srv */
00002 #ifndef JSON_PROLOG_MSGS_SERVICE_PROLOGNEXTSOLUTION_H
00003 #define JSON_PROLOG_MSGS_SERVICE_PROLOGNEXTSOLUTION_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 json_prolog_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct PrologNextSolutionRequest_ {
00026   typedef PrologNextSolutionRequest_<ContainerAllocator> Type;
00027 
00028   PrologNextSolutionRequest_()
00029   : id()
00030   {
00031   }
00032 
00033   PrologNextSolutionRequest_(const ContainerAllocator& _alloc)
00034   : id(_alloc)
00035   {
00036   }
00037 
00038   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _id_type;
00039   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  id;
00040 
00041 
00042   typedef boost::shared_ptr< ::json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator> > Ptr;
00043   typedef boost::shared_ptr< ::json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator>  const> ConstPtr;
00044   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 }; // struct PrologNextSolutionRequest
00046 typedef  ::json_prolog_msgs::PrologNextSolutionRequest_<std::allocator<void> > PrologNextSolutionRequest;
00047 
00048 typedef boost::shared_ptr< ::json_prolog_msgs::PrologNextSolutionRequest> PrologNextSolutionRequestPtr;
00049 typedef boost::shared_ptr< ::json_prolog_msgs::PrologNextSolutionRequest const> PrologNextSolutionRequestConstPtr;
00050 
00051 
00052 
00053 template <class ContainerAllocator>
00054 struct PrologNextSolutionResponse_ {
00055   typedef PrologNextSolutionResponse_<ContainerAllocator> Type;
00056 
00057   PrologNextSolutionResponse_()
00058   : status(0)
00059   , solution()
00060   {
00061   }
00062 
00063   PrologNextSolutionResponse_(const ContainerAllocator& _alloc)
00064   : status(0)
00065   , solution(_alloc)
00066   {
00067   }
00068 
00069   typedef int8_t _status_type;
00070   int8_t status;
00071 
00072   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _solution_type;
00073   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  solution;
00074 
00075   enum { NO_SOLUTION = 0 };
00076   enum { WRONG_ID = 1 };
00077   enum { QUERY_FAILED = 2 };
00078   enum { OK = 3 };
00079 
00080   typedef boost::shared_ptr< ::json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator> > Ptr;
00081   typedef boost::shared_ptr< ::json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator>  const> ConstPtr;
00082   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00083 }; // struct PrologNextSolutionResponse
00084 typedef  ::json_prolog_msgs::PrologNextSolutionResponse_<std::allocator<void> > PrologNextSolutionResponse;
00085 
00086 typedef boost::shared_ptr< ::json_prolog_msgs::PrologNextSolutionResponse> PrologNextSolutionResponsePtr;
00087 typedef boost::shared_ptr< ::json_prolog_msgs::PrologNextSolutionResponse const> PrologNextSolutionResponseConstPtr;
00088 
00089 
00090 struct PrologNextSolution
00091 {
00092 
00093 typedef PrologNextSolutionRequest Request;
00094 typedef PrologNextSolutionResponse Response;
00095 Request request;
00096 Response response;
00097 
00098 typedef Request RequestType;
00099 typedef Response ResponseType;
00100 }; // struct PrologNextSolution
00101 } // namespace json_prolog_msgs
00102 
00103 namespace ros
00104 {
00105 namespace message_traits
00106 {
00107 template<class ContainerAllocator> struct IsMessage< ::json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator> > : public TrueType {};
00108 template<class ContainerAllocator> struct IsMessage< ::json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator>  const> : public TrueType {};
00109 template<class ContainerAllocator>
00110 struct MD5Sum< ::json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator> > {
00111   static const char* value() 
00112   {
00113     return "bbfcda76036ebbe3d36caf7af80b260c";
00114   }
00115 
00116   static const char* value(const  ::json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator> &) { return value(); } 
00117   static const uint64_t static_value1 = 0xbbfcda76036ebbe3ULL;
00118   static const uint64_t static_value2 = 0xd36caf7af80b260cULL;
00119 };
00120 
00121 template<class ContainerAllocator>
00122 struct DataType< ::json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator> > {
00123   static const char* value() 
00124   {
00125     return "json_prolog_msgs/PrologNextSolutionRequest";
00126   }
00127 
00128   static const char* value(const  ::json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator> &) { return value(); } 
00129 };
00130 
00131 template<class ContainerAllocator>
00132 struct Definition< ::json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator> > {
00133   static const char* value() 
00134   {
00135     return "string id\n\
00136 \n\
00137 ";
00138   }
00139 
00140   static const char* value(const  ::json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator> &) { return value(); } 
00141 };
00142 
00143 } // namespace message_traits
00144 } // namespace ros
00145 
00146 
00147 namespace ros
00148 {
00149 namespace message_traits
00150 {
00151 template<class ContainerAllocator> struct IsMessage< ::json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator> > : public TrueType {};
00152 template<class ContainerAllocator> struct IsMessage< ::json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator>  const> : public TrueType {};
00153 template<class ContainerAllocator>
00154 struct MD5Sum< ::json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator> > {
00155   static const char* value() 
00156   {
00157     return "13aa54b7380a45414b5c48869ecbe7c8";
00158   }
00159 
00160   static const char* value(const  ::json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator> &) { return value(); } 
00161   static const uint64_t static_value1 = 0x13aa54b7380a4541ULL;
00162   static const uint64_t static_value2 = 0x4b5c48869ecbe7c8ULL;
00163 };
00164 
00165 template<class ContainerAllocator>
00166 struct DataType< ::json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator> > {
00167   static const char* value() 
00168   {
00169     return "json_prolog_msgs/PrologNextSolutionResponse";
00170   }
00171 
00172   static const char* value(const  ::json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator> &) { return value(); } 
00173 };
00174 
00175 template<class ContainerAllocator>
00176 struct Definition< ::json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator> > {
00177   static const char* value() 
00178   {
00179     return "byte NO_SOLUTION = 0\n\
00180 byte WRONG_ID = 1\n\
00181 byte QUERY_FAILED = 2\n\
00182 byte OK = 3\n\
00183 \n\
00184 byte status\n\
00185 string solution\n\
00186 \n\
00187 \n\
00188 ";
00189   }
00190 
00191   static const char* value(const  ::json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator> &) { return value(); } 
00192 };
00193 
00194 } // namespace message_traits
00195 } // namespace ros
00196 
00197 namespace ros
00198 {
00199 namespace serialization
00200 {
00201 
00202 template<class ContainerAllocator> struct Serializer< ::json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator> >
00203 {
00204   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00205   {
00206     stream.next(m.id);
00207   }
00208 
00209   ROS_DECLARE_ALLINONE_SERIALIZER;
00210 }; // struct PrologNextSolutionRequest_
00211 } // namespace serialization
00212 } // namespace ros
00213 
00214 
00215 namespace ros
00216 {
00217 namespace serialization
00218 {
00219 
00220 template<class ContainerAllocator> struct Serializer< ::json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator> >
00221 {
00222   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00223   {
00224     stream.next(m.status);
00225     stream.next(m.solution);
00226   }
00227 
00228   ROS_DECLARE_ALLINONE_SERIALIZER;
00229 }; // struct PrologNextSolutionResponse_
00230 } // namespace serialization
00231 } // namespace ros
00232 
00233 namespace ros
00234 {
00235 namespace service_traits
00236 {
00237 template<>
00238 struct MD5Sum<json_prolog_msgs::PrologNextSolution> {
00239   static const char* value() 
00240   {
00241     return "b101f472df7bcb78cc53cd5a17ecbda9";
00242   }
00243 
00244   static const char* value(const json_prolog_msgs::PrologNextSolution&) { return value(); } 
00245 };
00246 
00247 template<>
00248 struct DataType<json_prolog_msgs::PrologNextSolution> {
00249   static const char* value() 
00250   {
00251     return "json_prolog_msgs/PrologNextSolution";
00252   }
00253 
00254   static const char* value(const json_prolog_msgs::PrologNextSolution&) { return value(); } 
00255 };
00256 
00257 template<class ContainerAllocator>
00258 struct MD5Sum<json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator> > {
00259   static const char* value() 
00260   {
00261     return "b101f472df7bcb78cc53cd5a17ecbda9";
00262   }
00263 
00264   static const char* value(const json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator> &) { return value(); } 
00265 };
00266 
00267 template<class ContainerAllocator>
00268 struct DataType<json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator> > {
00269   static const char* value() 
00270   {
00271     return "json_prolog_msgs/PrologNextSolution";
00272   }
00273 
00274   static const char* value(const json_prolog_msgs::PrologNextSolutionRequest_<ContainerAllocator> &) { return value(); } 
00275 };
00276 
00277 template<class ContainerAllocator>
00278 struct MD5Sum<json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator> > {
00279   static const char* value() 
00280   {
00281     return "b101f472df7bcb78cc53cd5a17ecbda9";
00282   }
00283 
00284   static const char* value(const json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator> &) { return value(); } 
00285 };
00286 
00287 template<class ContainerAllocator>
00288 struct DataType<json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator> > {
00289   static const char* value() 
00290   {
00291     return "json_prolog_msgs/PrologNextSolution";
00292   }
00293 
00294   static const char* value(const json_prolog_msgs::PrologNextSolutionResponse_<ContainerAllocator> &) { return value(); } 
00295 };
00296 
00297 } // namespace service_traits
00298 } // namespace ros
00299 
00300 #endif // JSON_PROLOG_MSGS_SERVICE_PROLOGNEXTSOLUTION_H
00301 


json_prolog_msgs
Author(s): Georg Bartels
autogenerated on Mon Oct 6 2014 01:29:47