Test.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-rosserial/doc_stacks/2013-12-06_20-33-42.647564/rosserial/rosserial_arduino/srv/Test.srv */
00002 #ifndef ROSSERIAL_ARDUINO_SERVICE_TEST_H
00003 #define ROSSERIAL_ARDUINO_SERVICE_TEST_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 rosserial_arduino
00023 {
00024 template <class ContainerAllocator>
00025 struct TestRequest_ {
00026   typedef TestRequest_<ContainerAllocator> Type;
00027 
00028   TestRequest_()
00029   : input()
00030   {
00031   }
00032 
00033   TestRequest_(const ContainerAllocator& _alloc)
00034   : input(_alloc)
00035   {
00036   }
00037 
00038   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _input_type;
00039   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  input;
00040 
00041 
00042   typedef boost::shared_ptr< ::rosserial_arduino::TestRequest_<ContainerAllocator> > Ptr;
00043   typedef boost::shared_ptr< ::rosserial_arduino::TestRequest_<ContainerAllocator>  const> ConstPtr;
00044   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 }; // struct TestRequest
00046 typedef  ::rosserial_arduino::TestRequest_<std::allocator<void> > TestRequest;
00047 
00048 typedef boost::shared_ptr< ::rosserial_arduino::TestRequest> TestRequestPtr;
00049 typedef boost::shared_ptr< ::rosserial_arduino::TestRequest const> TestRequestConstPtr;
00050 
00051 
00052 template <class ContainerAllocator>
00053 struct TestResponse_ {
00054   typedef TestResponse_<ContainerAllocator> Type;
00055 
00056   TestResponse_()
00057   : output()
00058   {
00059   }
00060 
00061   TestResponse_(const ContainerAllocator& _alloc)
00062   : output(_alloc)
00063   {
00064   }
00065 
00066   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _output_type;
00067   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  output;
00068 
00069 
00070   typedef boost::shared_ptr< ::rosserial_arduino::TestResponse_<ContainerAllocator> > Ptr;
00071   typedef boost::shared_ptr< ::rosserial_arduino::TestResponse_<ContainerAllocator>  const> ConstPtr;
00072   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00073 }; // struct TestResponse
00074 typedef  ::rosserial_arduino::TestResponse_<std::allocator<void> > TestResponse;
00075 
00076 typedef boost::shared_ptr< ::rosserial_arduino::TestResponse> TestResponsePtr;
00077 typedef boost::shared_ptr< ::rosserial_arduino::TestResponse const> TestResponseConstPtr;
00078 
00079 struct Test
00080 {
00081 
00082 typedef TestRequest Request;
00083 typedef TestResponse Response;
00084 Request request;
00085 Response response;
00086 
00087 typedef Request RequestType;
00088 typedef Response ResponseType;
00089 }; // struct Test
00090 } // namespace rosserial_arduino
00091 
00092 namespace ros
00093 {
00094 namespace message_traits
00095 {
00096 template<class ContainerAllocator> struct IsMessage< ::rosserial_arduino::TestRequest_<ContainerAllocator> > : public TrueType {};
00097 template<class ContainerAllocator> struct IsMessage< ::rosserial_arduino::TestRequest_<ContainerAllocator>  const> : public TrueType {};
00098 template<class ContainerAllocator>
00099 struct MD5Sum< ::rosserial_arduino::TestRequest_<ContainerAllocator> > {
00100   static const char* value() 
00101   {
00102     return "39e92f1778057359c64c7b8a7d7b19de";
00103   }
00104 
00105   static const char* value(const  ::rosserial_arduino::TestRequest_<ContainerAllocator> &) { return value(); } 
00106   static const uint64_t static_value1 = 0x39e92f1778057359ULL;
00107   static const uint64_t static_value2 = 0xc64c7b8a7d7b19deULL;
00108 };
00109 
00110 template<class ContainerAllocator>
00111 struct DataType< ::rosserial_arduino::TestRequest_<ContainerAllocator> > {
00112   static const char* value() 
00113   {
00114     return "rosserial_arduino/TestRequest";
00115   }
00116 
00117   static const char* value(const  ::rosserial_arduino::TestRequest_<ContainerAllocator> &) { return value(); } 
00118 };
00119 
00120 template<class ContainerAllocator>
00121 struct Definition< ::rosserial_arduino::TestRequest_<ContainerAllocator> > {
00122   static const char* value() 
00123   {
00124     return "string input\n\
00125 \n\
00126 ";
00127   }
00128 
00129   static const char* value(const  ::rosserial_arduino::TestRequest_<ContainerAllocator> &) { return value(); } 
00130 };
00131 
00132 } // namespace message_traits
00133 } // namespace ros
00134 
00135 
00136 namespace ros
00137 {
00138 namespace message_traits
00139 {
00140 template<class ContainerAllocator> struct IsMessage< ::rosserial_arduino::TestResponse_<ContainerAllocator> > : public TrueType {};
00141 template<class ContainerAllocator> struct IsMessage< ::rosserial_arduino::TestResponse_<ContainerAllocator>  const> : public TrueType {};
00142 template<class ContainerAllocator>
00143 struct MD5Sum< ::rosserial_arduino::TestResponse_<ContainerAllocator> > {
00144   static const char* value() 
00145   {
00146     return "0825d95fdfa2c8f4bbb4e9c74bccd3fd";
00147   }
00148 
00149   static const char* value(const  ::rosserial_arduino::TestResponse_<ContainerAllocator> &) { return value(); } 
00150   static const uint64_t static_value1 = 0x0825d95fdfa2c8f4ULL;
00151   static const uint64_t static_value2 = 0xbbb4e9c74bccd3fdULL;
00152 };
00153 
00154 template<class ContainerAllocator>
00155 struct DataType< ::rosserial_arduino::TestResponse_<ContainerAllocator> > {
00156   static const char* value() 
00157   {
00158     return "rosserial_arduino/TestResponse";
00159   }
00160 
00161   static const char* value(const  ::rosserial_arduino::TestResponse_<ContainerAllocator> &) { return value(); } 
00162 };
00163 
00164 template<class ContainerAllocator>
00165 struct Definition< ::rosserial_arduino::TestResponse_<ContainerAllocator> > {
00166   static const char* value() 
00167   {
00168     return "string output\n\
00169 \n\
00170 \n\
00171 ";
00172   }
00173 
00174   static const char* value(const  ::rosserial_arduino::TestResponse_<ContainerAllocator> &) { return value(); } 
00175 };
00176 
00177 } // namespace message_traits
00178 } // namespace ros
00179 
00180 namespace ros
00181 {
00182 namespace serialization
00183 {
00184 
00185 template<class ContainerAllocator> struct Serializer< ::rosserial_arduino::TestRequest_<ContainerAllocator> >
00186 {
00187   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00188   {
00189     stream.next(m.input);
00190   }
00191 
00192   ROS_DECLARE_ALLINONE_SERIALIZER;
00193 }; // struct TestRequest_
00194 } // namespace serialization
00195 } // namespace ros
00196 
00197 
00198 namespace ros
00199 {
00200 namespace serialization
00201 {
00202 
00203 template<class ContainerAllocator> struct Serializer< ::rosserial_arduino::TestResponse_<ContainerAllocator> >
00204 {
00205   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00206   {
00207     stream.next(m.output);
00208   }
00209 
00210   ROS_DECLARE_ALLINONE_SERIALIZER;
00211 }; // struct TestResponse_
00212 } // namespace serialization
00213 } // namespace ros
00214 
00215 namespace ros
00216 {
00217 namespace service_traits
00218 {
00219 template<>
00220 struct MD5Sum<rosserial_arduino::Test> {
00221   static const char* value() 
00222   {
00223     return "c63e85f503b805d84df783e71c6bb0d2";
00224   }
00225 
00226   static const char* value(const rosserial_arduino::Test&) { return value(); } 
00227 };
00228 
00229 template<>
00230 struct DataType<rosserial_arduino::Test> {
00231   static const char* value() 
00232   {
00233     return "rosserial_arduino/Test";
00234   }
00235 
00236   static const char* value(const rosserial_arduino::Test&) { return value(); } 
00237 };
00238 
00239 template<class ContainerAllocator>
00240 struct MD5Sum<rosserial_arduino::TestRequest_<ContainerAllocator> > {
00241   static const char* value() 
00242   {
00243     return "c63e85f503b805d84df783e71c6bb0d2";
00244   }
00245 
00246   static const char* value(const rosserial_arduino::TestRequest_<ContainerAllocator> &) { return value(); } 
00247 };
00248 
00249 template<class ContainerAllocator>
00250 struct DataType<rosserial_arduino::TestRequest_<ContainerAllocator> > {
00251   static const char* value() 
00252   {
00253     return "rosserial_arduino/Test";
00254   }
00255 
00256   static const char* value(const rosserial_arduino::TestRequest_<ContainerAllocator> &) { return value(); } 
00257 };
00258 
00259 template<class ContainerAllocator>
00260 struct MD5Sum<rosserial_arduino::TestResponse_<ContainerAllocator> > {
00261   static const char* value() 
00262   {
00263     return "c63e85f503b805d84df783e71c6bb0d2";
00264   }
00265 
00266   static const char* value(const rosserial_arduino::TestResponse_<ContainerAllocator> &) { return value(); } 
00267 };
00268 
00269 template<class ContainerAllocator>
00270 struct DataType<rosserial_arduino::TestResponse_<ContainerAllocator> > {
00271   static const char* value() 
00272   {
00273     return "rosserial_arduino/Test";
00274   }
00275 
00276   static const char* value(const rosserial_arduino::TestResponse_<ContainerAllocator> &) { return value(); } 
00277 };
00278 
00279 } // namespace service_traits
00280 } // namespace ros
00281 
00282 #endif // ROSSERIAL_ARDUINO_SERVICE_TEST_H
00283 


rosserial_arduino
Author(s): Michael Ferguson, Adam Stambler
autogenerated on Fri Dec 6 2013 20:35:55