TaskRequest.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-srs_public/doc_stacks/2014-01-05_11-35-06.523601/srs_public/srs_knowledge/srv/TaskRequest.srv */
00002 #ifndef SRS_KNOWLEDGE_SERVICE_TASKREQUEST_H
00003 #define SRS_KNOWLEDGE_SERVICE_TASKREQUEST_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 srs_knowledge
00023 {
00024 template <class ContainerAllocator>
00025 struct TaskRequestRequest_ {
00026   typedef TaskRequestRequest_<ContainerAllocator> Type;
00027 
00028   TaskRequestRequest_()
00029   : task()
00030   , content()
00031   , json_parameters()
00032   , userPose()
00033   {
00034   }
00035 
00036   TaskRequestRequest_(const ContainerAllocator& _alloc)
00037   : task(_alloc)
00038   , content(_alloc)
00039   , json_parameters(_alloc)
00040   , userPose(_alloc)
00041   {
00042   }
00043 
00044   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _task_type;
00045   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  task;
00046 
00047   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _content_type;
00048   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  content;
00049 
00050   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _json_parameters_type;
00051   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  json_parameters;
00052 
00053   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _userPose_type;
00054   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  userPose;
00055 
00056 
00057   typedef boost::shared_ptr< ::srs_knowledge::TaskRequestRequest_<ContainerAllocator> > Ptr;
00058   typedef boost::shared_ptr< ::srs_knowledge::TaskRequestRequest_<ContainerAllocator>  const> ConstPtr;
00059   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 }; // struct TaskRequestRequest
00061 typedef  ::srs_knowledge::TaskRequestRequest_<std::allocator<void> > TaskRequestRequest;
00062 
00063 typedef boost::shared_ptr< ::srs_knowledge::TaskRequestRequest> TaskRequestRequestPtr;
00064 typedef boost::shared_ptr< ::srs_knowledge::TaskRequestRequest const> TaskRequestRequestConstPtr;
00065 
00066 
00067 template <class ContainerAllocator>
00068 struct TaskRequestResponse_ {
00069   typedef TaskRequestResponse_<ContainerAllocator> Type;
00070 
00071   TaskRequestResponse_()
00072   : result(0)
00073   , sessionId(0)
00074   , description()
00075   {
00076   }
00077 
00078   TaskRequestResponse_(const ContainerAllocator& _alloc)
00079   : result(0)
00080   , sessionId(0)
00081   , description(_alloc)
00082   {
00083   }
00084 
00085   typedef int32_t _result_type;
00086   int32_t result;
00087 
00088   typedef int32_t _sessionId_type;
00089   int32_t sessionId;
00090 
00091   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _description_type;
00092   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  description;
00093 
00094 
00095   typedef boost::shared_ptr< ::srs_knowledge::TaskRequestResponse_<ContainerAllocator> > Ptr;
00096   typedef boost::shared_ptr< ::srs_knowledge::TaskRequestResponse_<ContainerAllocator>  const> ConstPtr;
00097   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00098 }; // struct TaskRequestResponse
00099 typedef  ::srs_knowledge::TaskRequestResponse_<std::allocator<void> > TaskRequestResponse;
00100 
00101 typedef boost::shared_ptr< ::srs_knowledge::TaskRequestResponse> TaskRequestResponsePtr;
00102 typedef boost::shared_ptr< ::srs_knowledge::TaskRequestResponse const> TaskRequestResponseConstPtr;
00103 
00104 struct TaskRequest
00105 {
00106 
00107 typedef TaskRequestRequest Request;
00108 typedef TaskRequestResponse Response;
00109 Request request;
00110 Response response;
00111 
00112 typedef Request RequestType;
00113 typedef Response ResponseType;
00114 }; // struct TaskRequest
00115 } // namespace srs_knowledge
00116 
00117 namespace ros
00118 {
00119 namespace message_traits
00120 {
00121 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::TaskRequestRequest_<ContainerAllocator> > : public TrueType {};
00122 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::TaskRequestRequest_<ContainerAllocator>  const> : public TrueType {};
00123 template<class ContainerAllocator>
00124 struct MD5Sum< ::srs_knowledge::TaskRequestRequest_<ContainerAllocator> > {
00125   static const char* value() 
00126   {
00127     return "7e3d775419da798c607d4939563bd225";
00128   }
00129 
00130   static const char* value(const  ::srs_knowledge::TaskRequestRequest_<ContainerAllocator> &) { return value(); } 
00131   static const uint64_t static_value1 = 0x7e3d775419da798cULL;
00132   static const uint64_t static_value2 = 0x607d4939563bd225ULL;
00133 };
00134 
00135 template<class ContainerAllocator>
00136 struct DataType< ::srs_knowledge::TaskRequestRequest_<ContainerAllocator> > {
00137   static const char* value() 
00138   {
00139     return "srs_knowledge/TaskRequestRequest";
00140   }
00141 
00142   static const char* value(const  ::srs_knowledge::TaskRequestRequest_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 template<class ContainerAllocator>
00146 struct Definition< ::srs_knowledge::TaskRequestRequest_<ContainerAllocator> > {
00147   static const char* value() 
00148   {
00149     return "\n\
00150 \n\
00151 \n\
00152 \n\
00153 string task\n\
00154 \n\
00155 \n\
00156 string content\n\
00157 \n\
00158 string json_parameters\n\
00159 \n\
00160 \n\
00161 \n\
00162 \n\
00163 \n\
00164 string userPose\n\
00165 \n\
00166 \n\
00167 ";
00168   }
00169 
00170   static const char* value(const  ::srs_knowledge::TaskRequestRequest_<ContainerAllocator> &) { return value(); } 
00171 };
00172 
00173 } // namespace message_traits
00174 } // namespace ros
00175 
00176 
00177 namespace ros
00178 {
00179 namespace message_traits
00180 {
00181 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::TaskRequestResponse_<ContainerAllocator> > : public TrueType {};
00182 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::TaskRequestResponse_<ContainerAllocator>  const> : public TrueType {};
00183 template<class ContainerAllocator>
00184 struct MD5Sum< ::srs_knowledge::TaskRequestResponse_<ContainerAllocator> > {
00185   static const char* value() 
00186   {
00187     return "db978a873040c67d04a65b0bd9ae7146";
00188   }
00189 
00190   static const char* value(const  ::srs_knowledge::TaskRequestResponse_<ContainerAllocator> &) { return value(); } 
00191   static const uint64_t static_value1 = 0xdb978a873040c67dULL;
00192   static const uint64_t static_value2 = 0x04a65b0bd9ae7146ULL;
00193 };
00194 
00195 template<class ContainerAllocator>
00196 struct DataType< ::srs_knowledge::TaskRequestResponse_<ContainerAllocator> > {
00197   static const char* value() 
00198   {
00199     return "srs_knowledge/TaskRequestResponse";
00200   }
00201 
00202   static const char* value(const  ::srs_knowledge::TaskRequestResponse_<ContainerAllocator> &) { return value(); } 
00203 };
00204 
00205 template<class ContainerAllocator>
00206 struct Definition< ::srs_knowledge::TaskRequestResponse_<ContainerAllocator> > {
00207   static const char* value() 
00208   {
00209     return "\n\
00210 \n\
00211 int32 result\n\
00212 \n\
00213 \n\
00214 int32 sessionId\n\
00215 \n\
00216 \n\
00217 string description\n\
00218 \n\
00219 \n\
00220 ";
00221   }
00222 
00223   static const char* value(const  ::srs_knowledge::TaskRequestResponse_<ContainerAllocator> &) { return value(); } 
00224 };
00225 
00226 } // namespace message_traits
00227 } // namespace ros
00228 
00229 namespace ros
00230 {
00231 namespace serialization
00232 {
00233 
00234 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::TaskRequestRequest_<ContainerAllocator> >
00235 {
00236   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00237   {
00238     stream.next(m.task);
00239     stream.next(m.content);
00240     stream.next(m.json_parameters);
00241     stream.next(m.userPose);
00242   }
00243 
00244   ROS_DECLARE_ALLINONE_SERIALIZER;
00245 }; // struct TaskRequestRequest_
00246 } // namespace serialization
00247 } // namespace ros
00248 
00249 
00250 namespace ros
00251 {
00252 namespace serialization
00253 {
00254 
00255 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::TaskRequestResponse_<ContainerAllocator> >
00256 {
00257   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00258   {
00259     stream.next(m.result);
00260     stream.next(m.sessionId);
00261     stream.next(m.description);
00262   }
00263 
00264   ROS_DECLARE_ALLINONE_SERIALIZER;
00265 }; // struct TaskRequestResponse_
00266 } // namespace serialization
00267 } // namespace ros
00268 
00269 namespace ros
00270 {
00271 namespace service_traits
00272 {
00273 template<>
00274 struct MD5Sum<srs_knowledge::TaskRequest> {
00275   static const char* value() 
00276   {
00277     return "1c55d07cc3cf6a5f7566797040a765f2";
00278   }
00279 
00280   static const char* value(const srs_knowledge::TaskRequest&) { return value(); } 
00281 };
00282 
00283 template<>
00284 struct DataType<srs_knowledge::TaskRequest> {
00285   static const char* value() 
00286   {
00287     return "srs_knowledge/TaskRequest";
00288   }
00289 
00290   static const char* value(const srs_knowledge::TaskRequest&) { return value(); } 
00291 };
00292 
00293 template<class ContainerAllocator>
00294 struct MD5Sum<srs_knowledge::TaskRequestRequest_<ContainerAllocator> > {
00295   static const char* value() 
00296   {
00297     return "1c55d07cc3cf6a5f7566797040a765f2";
00298   }
00299 
00300   static const char* value(const srs_knowledge::TaskRequestRequest_<ContainerAllocator> &) { return value(); } 
00301 };
00302 
00303 template<class ContainerAllocator>
00304 struct DataType<srs_knowledge::TaskRequestRequest_<ContainerAllocator> > {
00305   static const char* value() 
00306   {
00307     return "srs_knowledge/TaskRequest";
00308   }
00309 
00310   static const char* value(const srs_knowledge::TaskRequestRequest_<ContainerAllocator> &) { return value(); } 
00311 };
00312 
00313 template<class ContainerAllocator>
00314 struct MD5Sum<srs_knowledge::TaskRequestResponse_<ContainerAllocator> > {
00315   static const char* value() 
00316   {
00317     return "1c55d07cc3cf6a5f7566797040a765f2";
00318   }
00319 
00320   static const char* value(const srs_knowledge::TaskRequestResponse_<ContainerAllocator> &) { return value(); } 
00321 };
00322 
00323 template<class ContainerAllocator>
00324 struct DataType<srs_knowledge::TaskRequestResponse_<ContainerAllocator> > {
00325   static const char* value() 
00326   {
00327     return "srs_knowledge/TaskRequest";
00328   }
00329 
00330   static const char* value(const srs_knowledge::TaskRequestResponse_<ContainerAllocator> &) { return value(); } 
00331 };
00332 
00333 } // namespace service_traits
00334 } // namespace ros
00335 
00336 #endif // SRS_KNOWLEDGE_SERVICE_TASKREQUEST_H
00337 


srs_knowledge
Author(s): Ze Ji
autogenerated on Sun Jan 5 2014 12:03:29