DoorState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-alufr-ros-pkg/doc_stacks/2012-12-26_15-13-16.045312/tidyup_robot/tidyup_msgs/srv/DoorState.srv */
00002 #ifndef TIDYUP_MSGS_SERVICE_DOORSTATE_H
00003 #define TIDYUP_MSGS_SERVICE_DOORSTATE_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 tidyup_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct DoorStateRequest_ {
00026   typedef DoorStateRequest_<ContainerAllocator> Type;
00027 
00028   DoorStateRequest_()
00029   {
00030   }
00031 
00032   DoorStateRequest_(const ContainerAllocator& _alloc)
00033   {
00034   }
00035 
00036 
00037   typedef boost::shared_ptr< ::tidyup_msgs::DoorStateRequest_<ContainerAllocator> > Ptr;
00038   typedef boost::shared_ptr< ::tidyup_msgs::DoorStateRequest_<ContainerAllocator>  const> ConstPtr;
00039   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00040 }; // struct DoorStateRequest
00041 typedef  ::tidyup_msgs::DoorStateRequest_<std::allocator<void> > DoorStateRequest;
00042 
00043 typedef boost::shared_ptr< ::tidyup_msgs::DoorStateRequest> DoorStateRequestPtr;
00044 typedef boost::shared_ptr< ::tidyup_msgs::DoorStateRequest const> DoorStateRequestConstPtr;
00045 
00046 
00047 template <class ContainerAllocator>
00048 struct DoorStateResponse_ {
00049   typedef DoorStateResponse_<ContainerAllocator> Type;
00050 
00051   DoorStateResponse_()
00052   : DOOR_OPEN_ANGLE(0.0)
00053   , DOOR_CLOSED_ANGLE(0.0)
00054   , door_found(false)
00055   , angle(0.0)
00056   {
00057   }
00058 
00059   DoorStateResponse_(const ContainerAllocator& _alloc)
00060   : DOOR_OPEN_ANGLE(0.0)
00061   , DOOR_CLOSED_ANGLE(0.0)
00062   , door_found(false)
00063   , angle(0.0)
00064   {
00065   }
00066 
00067   typedef double _DOOR_OPEN_ANGLE_type;
00068   double DOOR_OPEN_ANGLE;
00069 
00070   typedef double _DOOR_CLOSED_ANGLE_type;
00071   double DOOR_CLOSED_ANGLE;
00072 
00073   typedef uint8_t _door_found_type;
00074   uint8_t door_found;
00075 
00076   typedef double _angle_type;
00077   double angle;
00078 
00079 
00080   typedef boost::shared_ptr< ::tidyup_msgs::DoorStateResponse_<ContainerAllocator> > Ptr;
00081   typedef boost::shared_ptr< ::tidyup_msgs::DoorStateResponse_<ContainerAllocator>  const> ConstPtr;
00082   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00083 }; // struct DoorStateResponse
00084 typedef  ::tidyup_msgs::DoorStateResponse_<std::allocator<void> > DoorStateResponse;
00085 
00086 typedef boost::shared_ptr< ::tidyup_msgs::DoorStateResponse> DoorStateResponsePtr;
00087 typedef boost::shared_ptr< ::tidyup_msgs::DoorStateResponse const> DoorStateResponseConstPtr;
00088 
00089 struct DoorState
00090 {
00091 
00092 typedef DoorStateRequest Request;
00093 typedef DoorStateResponse Response;
00094 Request request;
00095 Response response;
00096 
00097 typedef Request RequestType;
00098 typedef Response ResponseType;
00099 }; // struct DoorState
00100 } // namespace tidyup_msgs
00101 
00102 namespace ros
00103 {
00104 namespace message_traits
00105 {
00106 template<class ContainerAllocator> struct IsMessage< ::tidyup_msgs::DoorStateRequest_<ContainerAllocator> > : public TrueType {};
00107 template<class ContainerAllocator> struct IsMessage< ::tidyup_msgs::DoorStateRequest_<ContainerAllocator>  const> : public TrueType {};
00108 template<class ContainerAllocator>
00109 struct MD5Sum< ::tidyup_msgs::DoorStateRequest_<ContainerAllocator> > {
00110   static const char* value() 
00111   {
00112     return "d41d8cd98f00b204e9800998ecf8427e";
00113   }
00114 
00115   static const char* value(const  ::tidyup_msgs::DoorStateRequest_<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< ::tidyup_msgs::DoorStateRequest_<ContainerAllocator> > {
00122   static const char* value() 
00123   {
00124     return "tidyup_msgs/DoorStateRequest";
00125   }
00126 
00127   static const char* value(const  ::tidyup_msgs::DoorStateRequest_<ContainerAllocator> &) { return value(); } 
00128 };
00129 
00130 template<class ContainerAllocator>
00131 struct Definition< ::tidyup_msgs::DoorStateRequest_<ContainerAllocator> > {
00132   static const char* value() 
00133   {
00134     return "\n\
00135 ";
00136   }
00137 
00138   static const char* value(const  ::tidyup_msgs::DoorStateRequest_<ContainerAllocator> &) { return value(); } 
00139 };
00140 
00141 template<class ContainerAllocator> struct IsFixedSize< ::tidyup_msgs::DoorStateRequest_<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< ::tidyup_msgs::DoorStateResponse_<ContainerAllocator> > : public TrueType {};
00151 template<class ContainerAllocator> struct IsMessage< ::tidyup_msgs::DoorStateResponse_<ContainerAllocator>  const> : public TrueType {};
00152 template<class ContainerAllocator>
00153 struct MD5Sum< ::tidyup_msgs::DoorStateResponse_<ContainerAllocator> > {
00154   static const char* value() 
00155   {
00156     return "8ac3e17586b819f7fe8cda96c1d24108";
00157   }
00158 
00159   static const char* value(const  ::tidyup_msgs::DoorStateResponse_<ContainerAllocator> &) { return value(); } 
00160   static const uint64_t static_value1 = 0x8ac3e17586b819f7ULL;
00161   static const uint64_t static_value2 = 0xfe8cda96c1d24108ULL;
00162 };
00163 
00164 template<class ContainerAllocator>
00165 struct DataType< ::tidyup_msgs::DoorStateResponse_<ContainerAllocator> > {
00166   static const char* value() 
00167   {
00168     return "tidyup_msgs/DoorStateResponse";
00169   }
00170 
00171   static const char* value(const  ::tidyup_msgs::DoorStateResponse_<ContainerAllocator> &) { return value(); } 
00172 };
00173 
00174 template<class ContainerAllocator>
00175 struct Definition< ::tidyup_msgs::DoorStateResponse_<ContainerAllocator> > {
00176   static const char* value() 
00177   {
00178     return "float64 DOOR_OPEN_ANGLE\n\
00179 float64 DOOR_CLOSED_ANGLE\n\
00180 bool door_found\n\
00181 float64 angle\n\
00182 \n\
00183 \n\
00184 ";
00185   }
00186 
00187   static const char* value(const  ::tidyup_msgs::DoorStateResponse_<ContainerAllocator> &) { return value(); } 
00188 };
00189 
00190 template<class ContainerAllocator> struct IsFixedSize< ::tidyup_msgs::DoorStateResponse_<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< ::tidyup_msgs::DoorStateRequest_<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 DoorStateRequest_
00207 } // namespace serialization
00208 } // namespace ros
00209 
00210 
00211 namespace ros
00212 {
00213 namespace serialization
00214 {
00215 
00216 template<class ContainerAllocator> struct Serializer< ::tidyup_msgs::DoorStateResponse_<ContainerAllocator> >
00217 {
00218   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00219   {
00220     stream.next(m.DOOR_OPEN_ANGLE);
00221     stream.next(m.DOOR_CLOSED_ANGLE);
00222     stream.next(m.door_found);
00223     stream.next(m.angle);
00224   }
00225 
00226   ROS_DECLARE_ALLINONE_SERIALIZER;
00227 }; // struct DoorStateResponse_
00228 } // namespace serialization
00229 } // namespace ros
00230 
00231 namespace ros
00232 {
00233 namespace service_traits
00234 {
00235 template<>
00236 struct MD5Sum<tidyup_msgs::DoorState> {
00237   static const char* value() 
00238   {
00239     return "8ac3e17586b819f7fe8cda96c1d24108";
00240   }
00241 
00242   static const char* value(const tidyup_msgs::DoorState&) { return value(); } 
00243 };
00244 
00245 template<>
00246 struct DataType<tidyup_msgs::DoorState> {
00247   static const char* value() 
00248   {
00249     return "tidyup_msgs/DoorState";
00250   }
00251 
00252   static const char* value(const tidyup_msgs::DoorState&) { return value(); } 
00253 };
00254 
00255 template<class ContainerAllocator>
00256 struct MD5Sum<tidyup_msgs::DoorStateRequest_<ContainerAllocator> > {
00257   static const char* value() 
00258   {
00259     return "8ac3e17586b819f7fe8cda96c1d24108";
00260   }
00261 
00262   static const char* value(const tidyup_msgs::DoorStateRequest_<ContainerAllocator> &) { return value(); } 
00263 };
00264 
00265 template<class ContainerAllocator>
00266 struct DataType<tidyup_msgs::DoorStateRequest_<ContainerAllocator> > {
00267   static const char* value() 
00268   {
00269     return "tidyup_msgs/DoorState";
00270   }
00271 
00272   static const char* value(const tidyup_msgs::DoorStateRequest_<ContainerAllocator> &) { return value(); } 
00273 };
00274 
00275 template<class ContainerAllocator>
00276 struct MD5Sum<tidyup_msgs::DoorStateResponse_<ContainerAllocator> > {
00277   static const char* value() 
00278   {
00279     return "8ac3e17586b819f7fe8cda96c1d24108";
00280   }
00281 
00282   static const char* value(const tidyup_msgs::DoorStateResponse_<ContainerAllocator> &) { return value(); } 
00283 };
00284 
00285 template<class ContainerAllocator>
00286 struct DataType<tidyup_msgs::DoorStateResponse_<ContainerAllocator> > {
00287   static const char* value() 
00288   {
00289     return "tidyup_msgs/DoorState";
00290   }
00291 
00292   static const char* value(const tidyup_msgs::DoorStateResponse_<ContainerAllocator> &) { return value(); } 
00293 };
00294 
00295 } // namespace service_traits
00296 } // namespace ros
00297 
00298 #endif // TIDYUP_MSGS_SERVICE_DOORSTATE_H
00299 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


tidyup_msgs
Author(s): Maintained by Christian Dornhege
autogenerated on Wed Dec 26 2012 15:47:07