Dialog.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-cob_robots/doc_stacks/2013-03-01_17-49-57.752287/cob_robots/cob_hardware_test/srv/Dialog.srv */
00002 #ifndef COB_HARDWARE_TEST_SERVICE_DIALOG_H
00003 #define COB_HARDWARE_TEST_SERVICE_DIALOG_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 cob_hardware_test
00023 {
00024 template <class ContainerAllocator>
00025 struct DialogRequest_ {
00026   typedef DialogRequest_<ContainerAllocator> Type;
00027 
00028   DialogRequest_()
00029   : type(0)
00030   , message()
00031   {
00032   }
00033 
00034   DialogRequest_(const ContainerAllocator& _alloc)
00035   : type(0)
00036   , message(_alloc)
00037   {
00038   }
00039 
00040   typedef uint8_t _type_type;
00041   uint8_t type;
00042 
00043   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _message_type;
00044   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  message;
00045 
00046   enum { CONFIRM = 0 };
00047   enum { QUESTION = 0 };
00048 
00049   typedef boost::shared_ptr< ::cob_hardware_test::DialogRequest_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::cob_hardware_test::DialogRequest_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct DialogRequest
00053 typedef  ::cob_hardware_test::DialogRequest_<std::allocator<void> > DialogRequest;
00054 
00055 typedef boost::shared_ptr< ::cob_hardware_test::DialogRequest> DialogRequestPtr;
00056 typedef boost::shared_ptr< ::cob_hardware_test::DialogRequest const> DialogRequestConstPtr;
00057 
00058 
00059 template <class ContainerAllocator>
00060 struct DialogResponse_ {
00061   typedef DialogResponse_<ContainerAllocator> Type;
00062 
00063   DialogResponse_()
00064   : answer(false)
00065   {
00066   }
00067 
00068   DialogResponse_(const ContainerAllocator& _alloc)
00069   : answer(false)
00070   {
00071   }
00072 
00073   typedef uint8_t _answer_type;
00074   uint8_t answer;
00075 
00076 
00077   typedef boost::shared_ptr< ::cob_hardware_test::DialogResponse_<ContainerAllocator> > Ptr;
00078   typedef boost::shared_ptr< ::cob_hardware_test::DialogResponse_<ContainerAllocator>  const> ConstPtr;
00079   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00080 }; // struct DialogResponse
00081 typedef  ::cob_hardware_test::DialogResponse_<std::allocator<void> > DialogResponse;
00082 
00083 typedef boost::shared_ptr< ::cob_hardware_test::DialogResponse> DialogResponsePtr;
00084 typedef boost::shared_ptr< ::cob_hardware_test::DialogResponse const> DialogResponseConstPtr;
00085 
00086 struct Dialog
00087 {
00088 
00089 typedef DialogRequest Request;
00090 typedef DialogResponse Response;
00091 Request request;
00092 Response response;
00093 
00094 typedef Request RequestType;
00095 typedef Response ResponseType;
00096 }; // struct Dialog
00097 } // namespace cob_hardware_test
00098 
00099 namespace ros
00100 {
00101 namespace message_traits
00102 {
00103 template<class ContainerAllocator> struct IsMessage< ::cob_hardware_test::DialogRequest_<ContainerAllocator> > : public TrueType {};
00104 template<class ContainerAllocator> struct IsMessage< ::cob_hardware_test::DialogRequest_<ContainerAllocator>  const> : public TrueType {};
00105 template<class ContainerAllocator>
00106 struct MD5Sum< ::cob_hardware_test::DialogRequest_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "a114ea5669631329625767b345da8854";
00110   }
00111 
00112   static const char* value(const  ::cob_hardware_test::DialogRequest_<ContainerAllocator> &) { return value(); } 
00113   static const uint64_t static_value1 = 0xa114ea5669631329ULL;
00114   static const uint64_t static_value2 = 0x625767b345da8854ULL;
00115 };
00116 
00117 template<class ContainerAllocator>
00118 struct DataType< ::cob_hardware_test::DialogRequest_<ContainerAllocator> > {
00119   static const char* value() 
00120   {
00121     return "cob_hardware_test/DialogRequest";
00122   }
00123 
00124   static const char* value(const  ::cob_hardware_test::DialogRequest_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 template<class ContainerAllocator>
00128 struct Definition< ::cob_hardware_test::DialogRequest_<ContainerAllocator> > {
00129   static const char* value() 
00130   {
00131     return "uint8 type\n\
00132 uint8 CONFIRM         = 0\n\
00133 uint8 QUESTION        = 0\n\
00134 \n\
00135 string message\n\
00136 \n\
00137 ";
00138   }
00139 
00140   static const char* value(const  ::cob_hardware_test::DialogRequest_<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< ::cob_hardware_test::DialogResponse_<ContainerAllocator> > : public TrueType {};
00152 template<class ContainerAllocator> struct IsMessage< ::cob_hardware_test::DialogResponse_<ContainerAllocator>  const> : public TrueType {};
00153 template<class ContainerAllocator>
00154 struct MD5Sum< ::cob_hardware_test::DialogResponse_<ContainerAllocator> > {
00155   static const char* value() 
00156   {
00157     return "00a50c1bd863054691f197c515f4e922";
00158   }
00159 
00160   static const char* value(const  ::cob_hardware_test::DialogResponse_<ContainerAllocator> &) { return value(); } 
00161   static const uint64_t static_value1 = 0x00a50c1bd8630546ULL;
00162   static const uint64_t static_value2 = 0x91f197c515f4e922ULL;
00163 };
00164 
00165 template<class ContainerAllocator>
00166 struct DataType< ::cob_hardware_test::DialogResponse_<ContainerAllocator> > {
00167   static const char* value() 
00168   {
00169     return "cob_hardware_test/DialogResponse";
00170   }
00171 
00172   static const char* value(const  ::cob_hardware_test::DialogResponse_<ContainerAllocator> &) { return value(); } 
00173 };
00174 
00175 template<class ContainerAllocator>
00176 struct Definition< ::cob_hardware_test::DialogResponse_<ContainerAllocator> > {
00177   static const char* value() 
00178   {
00179     return "bool answer\n\
00180 \n\
00181 \n\
00182 ";
00183   }
00184 
00185   static const char* value(const  ::cob_hardware_test::DialogResponse_<ContainerAllocator> &) { return value(); } 
00186 };
00187 
00188 template<class ContainerAllocator> struct IsFixedSize< ::cob_hardware_test::DialogResponse_<ContainerAllocator> > : public TrueType {};
00189 } // namespace message_traits
00190 } // namespace ros
00191 
00192 namespace ros
00193 {
00194 namespace serialization
00195 {
00196 
00197 template<class ContainerAllocator> struct Serializer< ::cob_hardware_test::DialogRequest_<ContainerAllocator> >
00198 {
00199   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00200   {
00201     stream.next(m.type);
00202     stream.next(m.message);
00203   }
00204 
00205   ROS_DECLARE_ALLINONE_SERIALIZER;
00206 }; // struct DialogRequest_
00207 } // namespace serialization
00208 } // namespace ros
00209 
00210 
00211 namespace ros
00212 {
00213 namespace serialization
00214 {
00215 
00216 template<class ContainerAllocator> struct Serializer< ::cob_hardware_test::DialogResponse_<ContainerAllocator> >
00217 {
00218   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00219   {
00220     stream.next(m.answer);
00221   }
00222 
00223   ROS_DECLARE_ALLINONE_SERIALIZER;
00224 }; // struct DialogResponse_
00225 } // namespace serialization
00226 } // namespace ros
00227 
00228 namespace ros
00229 {
00230 namespace service_traits
00231 {
00232 template<>
00233 struct MD5Sum<cob_hardware_test::Dialog> {
00234   static const char* value() 
00235   {
00236     return "55ca5c42769f23444b15de98003dd260";
00237   }
00238 
00239   static const char* value(const cob_hardware_test::Dialog&) { return value(); } 
00240 };
00241 
00242 template<>
00243 struct DataType<cob_hardware_test::Dialog> {
00244   static const char* value() 
00245   {
00246     return "cob_hardware_test/Dialog";
00247   }
00248 
00249   static const char* value(const cob_hardware_test::Dialog&) { return value(); } 
00250 };
00251 
00252 template<class ContainerAllocator>
00253 struct MD5Sum<cob_hardware_test::DialogRequest_<ContainerAllocator> > {
00254   static const char* value() 
00255   {
00256     return "55ca5c42769f23444b15de98003dd260";
00257   }
00258 
00259   static const char* value(const cob_hardware_test::DialogRequest_<ContainerAllocator> &) { return value(); } 
00260 };
00261 
00262 template<class ContainerAllocator>
00263 struct DataType<cob_hardware_test::DialogRequest_<ContainerAllocator> > {
00264   static const char* value() 
00265   {
00266     return "cob_hardware_test/Dialog";
00267   }
00268 
00269   static const char* value(const cob_hardware_test::DialogRequest_<ContainerAllocator> &) { return value(); } 
00270 };
00271 
00272 template<class ContainerAllocator>
00273 struct MD5Sum<cob_hardware_test::DialogResponse_<ContainerAllocator> > {
00274   static const char* value() 
00275   {
00276     return "55ca5c42769f23444b15de98003dd260";
00277   }
00278 
00279   static const char* value(const cob_hardware_test::DialogResponse_<ContainerAllocator> &) { return value(); } 
00280 };
00281 
00282 template<class ContainerAllocator>
00283 struct DataType<cob_hardware_test::DialogResponse_<ContainerAllocator> > {
00284   static const char* value() 
00285   {
00286     return "cob_hardware_test/Dialog";
00287   }
00288 
00289   static const char* value(const cob_hardware_test::DialogResponse_<ContainerAllocator> &) { return value(); } 
00290 };
00291 
00292 } // namespace service_traits
00293 } // namespace ros
00294 
00295 #endif // COB_HARDWARE_TEST_SERVICE_DIALOG_H
00296 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


cob_hardware_test
Author(s): Florian Weisshardt
autogenerated on Fri Mar 1 2013 18:00:26