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


test_roslisp
Author(s): Bhaskara Marthi
autogenerated on Thu Jan 2 2014 11:55:57