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


corobot_srvs
Author(s): Morgan Cormier/mcormier@coroware.com
autogenerated on Tue Jan 7 2014 11:38:11