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


arbotix_msgs
Author(s): Michael Ferguson
autogenerated on Sat Dec 28 2013 16:46:08