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


shared_serial
Author(s): Wouter Caarls
autogenerated on Sun Jan 5 2014 11:06:47