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


irobot_create_2_1
Author(s): Graylin Trevor Jay, Brian Thomas
autogenerated on Fri Jan 3 2014 11:10:15