Connect.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/Connect.srv */
00002 #ifndef SHARED_SERIAL_SERVICE_CONNECT_H
00003 #define SHARED_SERIAL_SERVICE_CONNECT_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 ConnectRequest_ {
00026   typedef ConnectRequest_<ContainerAllocator> Type;
00027 
00028   ConnectRequest_()
00029   : timeout(0.0)
00030   {
00031   }
00032 
00033   ConnectRequest_(const ContainerAllocator& _alloc)
00034   : timeout(0.0)
00035   {
00036   }
00037 
00038   typedef float _timeout_type;
00039   float timeout;
00040 
00041 
00042   typedef boost::shared_ptr< ::shared_serial::ConnectRequest_<ContainerAllocator> > Ptr;
00043   typedef boost::shared_ptr< ::shared_serial::ConnectRequest_<ContainerAllocator>  const> ConstPtr;
00044   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 }; // struct ConnectRequest
00046 typedef  ::shared_serial::ConnectRequest_<std::allocator<void> > ConnectRequest;
00047 
00048 typedef boost::shared_ptr< ::shared_serial::ConnectRequest> ConnectRequestPtr;
00049 typedef boost::shared_ptr< ::shared_serial::ConnectRequest const> ConnectRequestConstPtr;
00050 
00051 
00052 template <class ContainerAllocator>
00053 struct ConnectResponse_ {
00054   typedef ConnectResponse_<ContainerAllocator> Type;
00055 
00056   ConnectResponse_()
00057   : socket(0)
00058   {
00059   }
00060 
00061   ConnectResponse_(const ContainerAllocator& _alloc)
00062   : socket(0)
00063   {
00064   }
00065 
00066   typedef int32_t _socket_type;
00067   int32_t socket;
00068 
00069 
00070   typedef boost::shared_ptr< ::shared_serial::ConnectResponse_<ContainerAllocator> > Ptr;
00071   typedef boost::shared_ptr< ::shared_serial::ConnectResponse_<ContainerAllocator>  const> ConstPtr;
00072   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00073 }; // struct ConnectResponse
00074 typedef  ::shared_serial::ConnectResponse_<std::allocator<void> > ConnectResponse;
00075 
00076 typedef boost::shared_ptr< ::shared_serial::ConnectResponse> ConnectResponsePtr;
00077 typedef boost::shared_ptr< ::shared_serial::ConnectResponse const> ConnectResponseConstPtr;
00078 
00079 struct Connect
00080 {
00081 
00082 typedef ConnectRequest Request;
00083 typedef ConnectResponse Response;
00084 Request request;
00085 Response response;
00086 
00087 typedef Request RequestType;
00088 typedef Response ResponseType;
00089 }; // struct Connect
00090 } // namespace shared_serial
00091 
00092 namespace ros
00093 {
00094 namespace message_traits
00095 {
00096 template<class ContainerAllocator> struct IsMessage< ::shared_serial::ConnectRequest_<ContainerAllocator> > : public TrueType {};
00097 template<class ContainerAllocator> struct IsMessage< ::shared_serial::ConnectRequest_<ContainerAllocator>  const> : public TrueType {};
00098 template<class ContainerAllocator>
00099 struct MD5Sum< ::shared_serial::ConnectRequest_<ContainerAllocator> > {
00100   static const char* value() 
00101   {
00102     return "8e929ace7fd80dc265b8b96078f41e82";
00103   }
00104 
00105   static const char* value(const  ::shared_serial::ConnectRequest_<ContainerAllocator> &) { return value(); } 
00106   static const uint64_t static_value1 = 0x8e929ace7fd80dc2ULL;
00107   static const uint64_t static_value2 = 0x65b8b96078f41e82ULL;
00108 };
00109 
00110 template<class ContainerAllocator>
00111 struct DataType< ::shared_serial::ConnectRequest_<ContainerAllocator> > {
00112   static const char* value() 
00113   {
00114     return "shared_serial/ConnectRequest";
00115   }
00116 
00117   static const char* value(const  ::shared_serial::ConnectRequest_<ContainerAllocator> &) { return value(); } 
00118 };
00119 
00120 template<class ContainerAllocator>
00121 struct Definition< ::shared_serial::ConnectRequest_<ContainerAllocator> > {
00122   static const char* value() 
00123   {
00124     return "\n\
00125 \n\
00126 \n\
00127 float32 timeout\n\
00128 \n\
00129 \n\
00130 ";
00131   }
00132 
00133   static const char* value(const  ::shared_serial::ConnectRequest_<ContainerAllocator> &) { return value(); } 
00134 };
00135 
00136 template<class ContainerAllocator> struct IsFixedSize< ::shared_serial::ConnectRequest_<ContainerAllocator> > : public TrueType {};
00137 } // namespace message_traits
00138 } // namespace ros
00139 
00140 
00141 namespace ros
00142 {
00143 namespace message_traits
00144 {
00145 template<class ContainerAllocator> struct IsMessage< ::shared_serial::ConnectResponse_<ContainerAllocator> > : public TrueType {};
00146 template<class ContainerAllocator> struct IsMessage< ::shared_serial::ConnectResponse_<ContainerAllocator>  const> : public TrueType {};
00147 template<class ContainerAllocator>
00148 struct MD5Sum< ::shared_serial::ConnectResponse_<ContainerAllocator> > {
00149   static const char* value() 
00150   {
00151     return "89a3ab074876917505d8ad961102ef9f";
00152   }
00153 
00154   static const char* value(const  ::shared_serial::ConnectResponse_<ContainerAllocator> &) { return value(); } 
00155   static const uint64_t static_value1 = 0x89a3ab0748769175ULL;
00156   static const uint64_t static_value2 = 0x05d8ad961102ef9fULL;
00157 };
00158 
00159 template<class ContainerAllocator>
00160 struct DataType< ::shared_serial::ConnectResponse_<ContainerAllocator> > {
00161   static const char* value() 
00162   {
00163     return "shared_serial/ConnectResponse";
00164   }
00165 
00166   static const char* value(const  ::shared_serial::ConnectResponse_<ContainerAllocator> &) { return value(); } 
00167 };
00168 
00169 template<class ContainerAllocator>
00170 struct Definition< ::shared_serial::ConnectResponse_<ContainerAllocator> > {
00171   static const char* value() 
00172   {
00173     return "\n\
00174 \n\
00175 int32   socket\n\
00176 \n\
00177 \n\
00178 ";
00179   }
00180 
00181   static const char* value(const  ::shared_serial::ConnectResponse_<ContainerAllocator> &) { return value(); } 
00182 };
00183 
00184 template<class ContainerAllocator> struct IsFixedSize< ::shared_serial::ConnectResponse_<ContainerAllocator> > : public TrueType {};
00185 } // namespace message_traits
00186 } // namespace ros
00187 
00188 namespace ros
00189 {
00190 namespace serialization
00191 {
00192 
00193 template<class ContainerAllocator> struct Serializer< ::shared_serial::ConnectRequest_<ContainerAllocator> >
00194 {
00195   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00196   {
00197     stream.next(m.timeout);
00198   }
00199 
00200   ROS_DECLARE_ALLINONE_SERIALIZER;
00201 }; // struct ConnectRequest_
00202 } // namespace serialization
00203 } // namespace ros
00204 
00205 
00206 namespace ros
00207 {
00208 namespace serialization
00209 {
00210 
00211 template<class ContainerAllocator> struct Serializer< ::shared_serial::ConnectResponse_<ContainerAllocator> >
00212 {
00213   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00214   {
00215     stream.next(m.socket);
00216   }
00217 
00218   ROS_DECLARE_ALLINONE_SERIALIZER;
00219 }; // struct ConnectResponse_
00220 } // namespace serialization
00221 } // namespace ros
00222 
00223 namespace ros
00224 {
00225 namespace service_traits
00226 {
00227 template<>
00228 struct MD5Sum<shared_serial::Connect> {
00229   static const char* value() 
00230   {
00231     return "0f077aa46d26c0b33419647f84d73b59";
00232   }
00233 
00234   static const char* value(const shared_serial::Connect&) { return value(); } 
00235 };
00236 
00237 template<>
00238 struct DataType<shared_serial::Connect> {
00239   static const char* value() 
00240   {
00241     return "shared_serial/Connect";
00242   }
00243 
00244   static const char* value(const shared_serial::Connect&) { return value(); } 
00245 };
00246 
00247 template<class ContainerAllocator>
00248 struct MD5Sum<shared_serial::ConnectRequest_<ContainerAllocator> > {
00249   static const char* value() 
00250   {
00251     return "0f077aa46d26c0b33419647f84d73b59";
00252   }
00253 
00254   static const char* value(const shared_serial::ConnectRequest_<ContainerAllocator> &) { return value(); } 
00255 };
00256 
00257 template<class ContainerAllocator>
00258 struct DataType<shared_serial::ConnectRequest_<ContainerAllocator> > {
00259   static const char* value() 
00260   {
00261     return "shared_serial/Connect";
00262   }
00263 
00264   static const char* value(const shared_serial::ConnectRequest_<ContainerAllocator> &) { return value(); } 
00265 };
00266 
00267 template<class ContainerAllocator>
00268 struct MD5Sum<shared_serial::ConnectResponse_<ContainerAllocator> > {
00269   static const char* value() 
00270   {
00271     return "0f077aa46d26c0b33419647f84d73b59";
00272   }
00273 
00274   static const char* value(const shared_serial::ConnectResponse_<ContainerAllocator> &) { return value(); } 
00275 };
00276 
00277 template<class ContainerAllocator>
00278 struct DataType<shared_serial::ConnectResponse_<ContainerAllocator> > {
00279   static const char* value() 
00280   {
00281     return "shared_serial/Connect";
00282   }
00283 
00284   static const char* value(const shared_serial::ConnectResponse_<ContainerAllocator> &) { return value(); } 
00285 };
00286 
00287 } // namespace service_traits
00288 } // namespace ros
00289 
00290 #endif // SHARED_SERIAL_SERVICE_CONNECT_H
00291 


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