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


amtec
Author(s): Charles DuHadway, Benjamin Pitzer (Maintained by Benjamin Pitzer)
autogenerated on Sat Dec 28 2013 16:49:55