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


test_roslisp
Author(s): Bhaskara Marthi
autogenerated on Wed Apr 23 2014 10:27:57