Go to the documentation of this file.00001
00002 #ifndef DOOR_PERCEPTION_MSGS_SERVICE_DOORSTATESRV_H
00003 #define DOOR_PERCEPTION_MSGS_SERVICE_DOORSTATESRV_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 #include "door_perception_msgs/DoorState.h"
00022
00023 namespace door_perception_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct DoorStateSrvRequest_ {
00027 typedef DoorStateSrvRequest_<ContainerAllocator> Type;
00028
00029 DoorStateSrvRequest_()
00030 {
00031 }
00032
00033 DoorStateSrvRequest_(const ContainerAllocator& _alloc)
00034 {
00035 }
00036
00037
00038 typedef boost::shared_ptr< ::door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> > Ptr;
00039 typedef boost::shared_ptr< ::door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> const> ConstPtr;
00040 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00041 };
00042 typedef ::door_perception_msgs::DoorStateSrvRequest_<std::allocator<void> > DoorStateSrvRequest;
00043
00044 typedef boost::shared_ptr< ::door_perception_msgs::DoorStateSrvRequest> DoorStateSrvRequestPtr;
00045 typedef boost::shared_ptr< ::door_perception_msgs::DoorStateSrvRequest const> DoorStateSrvRequestConstPtr;
00046
00047
00048 template <class ContainerAllocator>
00049 struct DoorStateSrvResponse_ {
00050 typedef DoorStateSrvResponse_<ContainerAllocator> Type;
00051
00052 DoorStateSrvResponse_()
00053 : state()
00054 {
00055 }
00056
00057 DoorStateSrvResponse_(const ContainerAllocator& _alloc)
00058 : state(_alloc)
00059 {
00060 }
00061
00062 typedef ::door_perception_msgs::DoorState_<ContainerAllocator> _state_type;
00063 ::door_perception_msgs::DoorState_<ContainerAllocator> state;
00064
00065
00066 typedef boost::shared_ptr< ::door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> > Ptr;
00067 typedef boost::shared_ptr< ::door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> const> ConstPtr;
00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 };
00070 typedef ::door_perception_msgs::DoorStateSrvResponse_<std::allocator<void> > DoorStateSrvResponse;
00071
00072 typedef boost::shared_ptr< ::door_perception_msgs::DoorStateSrvResponse> DoorStateSrvResponsePtr;
00073 typedef boost::shared_ptr< ::door_perception_msgs::DoorStateSrvResponse const> DoorStateSrvResponseConstPtr;
00074
00075 struct DoorStateSrv
00076 {
00077
00078 typedef DoorStateSrvRequest Request;
00079 typedef DoorStateSrvResponse Response;
00080 Request request;
00081 Response response;
00082
00083 typedef Request RequestType;
00084 typedef Response ResponseType;
00085 };
00086 }
00087
00088 namespace ros
00089 {
00090 namespace message_traits
00091 {
00092 template<class ContainerAllocator> struct IsMessage< ::door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "d41d8cd98f00b204e9800998ecf8427e";
00099 }
00100
00101 static const char* value(const ::door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> &) { return value(); }
00102 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00103 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00104 };
00105
00106 template<class ContainerAllocator>
00107 struct DataType< ::door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "door_perception_msgs/DoorStateSrvRequest";
00111 }
00112
00113 static const char* value(const ::door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct Definition< ::door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "\n\
00121 ";
00122 }
00123
00124 static const char* value(const ::door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> &) { return value(); }
00125 };
00126
00127 template<class ContainerAllocator> struct IsFixedSize< ::door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> > : public TrueType {};
00128 }
00129 }
00130
00131
00132 namespace ros
00133 {
00134 namespace message_traits
00135 {
00136 template<class ContainerAllocator> struct IsMessage< ::door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> > : public TrueType {};
00137 template<class ContainerAllocator> struct IsMessage< ::door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> const> : public TrueType {};
00138 template<class ContainerAllocator>
00139 struct MD5Sum< ::door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> > {
00140 static const char* value()
00141 {
00142 return "37530d10263f735dadac82953dab2863";
00143 }
00144
00145 static const char* value(const ::door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> &) { return value(); }
00146 static const uint64_t static_value1 = 0x37530d10263f735dULL;
00147 static const uint64_t static_value2 = 0xadac82953dab2863ULL;
00148 };
00149
00150 template<class ContainerAllocator>
00151 struct DataType< ::door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> > {
00152 static const char* value()
00153 {
00154 return "door_perception_msgs/DoorStateSrvResponse";
00155 }
00156
00157 static const char* value(const ::door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> &) { return value(); }
00158 };
00159
00160 template<class ContainerAllocator>
00161 struct Definition< ::door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> > {
00162 static const char* value()
00163 {
00164 return "door_perception_msgs/DoorState state\n\
00165 \n\
00166 \n\
00167 ================================================================================\n\
00168 MSG: door_perception_msgs/DoorState\n\
00169 Header header\n\
00170 #Door is considered latched at this angle\n\
00171 float64 DOOR_OPEN_ANGLE=1.5708\n\
00172 #Door is considered traversable at this angle (or above)\n\
00173 float64 DOOR_CLOSED_ANGLE=0.0\n\
00174 #Indicates whether a line could be fit to the sensor data\n\
00175 bool door_found\n\
00176 #Only meaningful if door_found is true\n\
00177 float64 angle\n\
00178 \n\
00179 \n\
00180 ================================================================================\n\
00181 MSG: std_msgs/Header\n\
00182 # Standard metadata for higher-level stamped data types.\n\
00183 # This is generally used to communicate timestamped data \n\
00184 # in a particular coordinate frame.\n\
00185 # \n\
00186 # sequence ID: consecutively increasing ID \n\
00187 uint32 seq\n\
00188 #Two-integer timestamp that is expressed as:\n\
00189 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00190 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00191 # time-handling sugar is provided by the client library\n\
00192 time stamp\n\
00193 #Frame this data is associated with\n\
00194 # 0: no frame\n\
00195 # 1: global frame\n\
00196 string frame_id\n\
00197 \n\
00198 ";
00199 }
00200
00201 static const char* value(const ::door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> &) { return value(); }
00202 };
00203
00204 }
00205 }
00206
00207 namespace ros
00208 {
00209 namespace serialization
00210 {
00211
00212 template<class ContainerAllocator> struct Serializer< ::door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> >
00213 {
00214 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00215 {
00216 }
00217
00218 ROS_DECLARE_ALLINONE_SERIALIZER;
00219 };
00220 }
00221 }
00222
00223
00224 namespace ros
00225 {
00226 namespace serialization
00227 {
00228
00229 template<class ContainerAllocator> struct Serializer< ::door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> >
00230 {
00231 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00232 {
00233 stream.next(m.state);
00234 }
00235
00236 ROS_DECLARE_ALLINONE_SERIALIZER;
00237 };
00238 }
00239 }
00240
00241 namespace ros
00242 {
00243 namespace service_traits
00244 {
00245 template<>
00246 struct MD5Sum<door_perception_msgs::DoorStateSrv> {
00247 static const char* value()
00248 {
00249 return "37530d10263f735dadac82953dab2863";
00250 }
00251
00252 static const char* value(const door_perception_msgs::DoorStateSrv&) { return value(); }
00253 };
00254
00255 template<>
00256 struct DataType<door_perception_msgs::DoorStateSrv> {
00257 static const char* value()
00258 {
00259 return "door_perception_msgs/DoorStateSrv";
00260 }
00261
00262 static const char* value(const door_perception_msgs::DoorStateSrv&) { return value(); }
00263 };
00264
00265 template<class ContainerAllocator>
00266 struct MD5Sum<door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> > {
00267 static const char* value()
00268 {
00269 return "37530d10263f735dadac82953dab2863";
00270 }
00271
00272 static const char* value(const door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> &) { return value(); }
00273 };
00274
00275 template<class ContainerAllocator>
00276 struct DataType<door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> > {
00277 static const char* value()
00278 {
00279 return "door_perception_msgs/DoorStateSrv";
00280 }
00281
00282 static const char* value(const door_perception_msgs::DoorStateSrvRequest_<ContainerAllocator> &) { return value(); }
00283 };
00284
00285 template<class ContainerAllocator>
00286 struct MD5Sum<door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> > {
00287 static const char* value()
00288 {
00289 return "37530d10263f735dadac82953dab2863";
00290 }
00291
00292 static const char* value(const door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> &) { return value(); }
00293 };
00294
00295 template<class ContainerAllocator>
00296 struct DataType<door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> > {
00297 static const char* value()
00298 {
00299 return "door_perception_msgs/DoorStateSrv";
00300 }
00301
00302 static const char* value(const door_perception_msgs::DoorStateSrvResponse_<ContainerAllocator> &) { return value(); }
00303 };
00304
00305 }
00306 }
00307
00308 #endif // DOOR_PERCEPTION_MSGS_SERVICE_DOORSTATESRV_H
00309