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


lfd_common
Author(s): Russell Toris
autogenerated on Thu Jan 2 2014 11:23:52