$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-shadow_robot/doc_stacks/2013-03-02_13-32-28.994675/shadow_robot/sr_robot_msgs/srv/NullifyDemand.srv */ 00002 #ifndef SR_ROBOT_MSGS_SERVICE_NULLIFYDEMAND_H 00003 #define SR_ROBOT_MSGS_SERVICE_NULLIFYDEMAND_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 sr_robot_msgs 00023 { 00024 template <class ContainerAllocator> 00025 struct NullifyDemandRequest_ { 00026 typedef NullifyDemandRequest_<ContainerAllocator> Type; 00027 00028 NullifyDemandRequest_() 00029 : nullify_demand(false) 00030 { 00031 } 00032 00033 NullifyDemandRequest_(const ContainerAllocator& _alloc) 00034 : nullify_demand(false) 00035 { 00036 } 00037 00038 typedef uint8_t _nullify_demand_type; 00039 uint8_t nullify_demand; 00040 00041 00042 private: 00043 static const char* __s_getDataType_() { return "sr_robot_msgs/NullifyDemandRequest"; } 00044 public: 00045 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00046 00047 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00048 00049 private: 00050 static const char* __s_getMD5Sum_() { return "e776288d81b4da212263a7a8b3f035b3"; } 00051 public: 00052 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00053 00054 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00055 00056 private: 00057 static const char* __s_getServerMD5Sum_() { return "e776288d81b4da212263a7a8b3f035b3"; } 00058 public: 00059 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00060 00061 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00062 00063 private: 00064 static const char* __s_getMessageDefinition_() { return "\n\ 00065 \n\ 00066 \n\ 00067 \n\ 00068 \n\ 00069 bool nullify_demand\n\ 00070 \n\ 00071 "; } 00072 public: 00073 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00074 00075 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00076 00077 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00078 { 00079 ros::serialization::OStream stream(write_ptr, 1000000000); 00080 ros::serialization::serialize(stream, nullify_demand); 00081 return stream.getData(); 00082 } 00083 00084 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00085 { 00086 ros::serialization::IStream stream(read_ptr, 1000000000); 00087 ros::serialization::deserialize(stream, nullify_demand); 00088 return stream.getData(); 00089 } 00090 00091 ROS_DEPRECATED virtual uint32_t serializationLength() const 00092 { 00093 uint32_t size = 0; 00094 size += ros::serialization::serializationLength(nullify_demand); 00095 return size; 00096 } 00097 00098 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > Ptr; 00099 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> const> ConstPtr; 00100 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00101 }; // struct NullifyDemandRequest 00102 typedef ::sr_robot_msgs::NullifyDemandRequest_<std::allocator<void> > NullifyDemandRequest; 00103 00104 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandRequest> NullifyDemandRequestPtr; 00105 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandRequest const> NullifyDemandRequestConstPtr; 00106 00107 00108 template <class ContainerAllocator> 00109 struct NullifyDemandResponse_ { 00110 typedef NullifyDemandResponse_<ContainerAllocator> Type; 00111 00112 NullifyDemandResponse_() 00113 { 00114 } 00115 00116 NullifyDemandResponse_(const ContainerAllocator& _alloc) 00117 { 00118 } 00119 00120 00121 private: 00122 static const char* __s_getDataType_() { return "sr_robot_msgs/NullifyDemandResponse"; } 00123 public: 00124 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00125 00126 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00127 00128 private: 00129 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00130 public: 00131 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00132 00133 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00134 00135 private: 00136 static const char* __s_getServerMD5Sum_() { return "e776288d81b4da212263a7a8b3f035b3"; } 00137 public: 00138 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00139 00140 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00141 00142 private: 00143 static const char* __s_getMessageDefinition_() { return "\n\ 00144 \n\ 00145 "; } 00146 public: 00147 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00148 00149 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00150 00151 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00152 { 00153 ros::serialization::OStream stream(write_ptr, 1000000000); 00154 return stream.getData(); 00155 } 00156 00157 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00158 { 00159 ros::serialization::IStream stream(read_ptr, 1000000000); 00160 return stream.getData(); 00161 } 00162 00163 ROS_DEPRECATED virtual uint32_t serializationLength() const 00164 { 00165 uint32_t size = 0; 00166 return size; 00167 } 00168 00169 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > Ptr; 00170 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> const> ConstPtr; 00171 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00172 }; // struct NullifyDemandResponse 00173 typedef ::sr_robot_msgs::NullifyDemandResponse_<std::allocator<void> > NullifyDemandResponse; 00174 00175 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandResponse> NullifyDemandResponsePtr; 00176 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandResponse const> NullifyDemandResponseConstPtr; 00177 00178 struct NullifyDemand 00179 { 00180 00181 typedef NullifyDemandRequest Request; 00182 typedef NullifyDemandResponse Response; 00183 Request request; 00184 Response response; 00185 00186 typedef Request RequestType; 00187 typedef Response ResponseType; 00188 }; // struct NullifyDemand 00189 } // namespace sr_robot_msgs 00190 00191 namespace ros 00192 { 00193 namespace message_traits 00194 { 00195 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > : public TrueType {}; 00196 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> const> : public TrueType {}; 00197 template<class ContainerAllocator> 00198 struct MD5Sum< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > { 00199 static const char* value() 00200 { 00201 return "e776288d81b4da212263a7a8b3f035b3"; 00202 } 00203 00204 static const char* value(const ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> &) { return value(); } 00205 static const uint64_t static_value1 = 0xe776288d81b4da21ULL; 00206 static const uint64_t static_value2 = 0x2263a7a8b3f035b3ULL; 00207 }; 00208 00209 template<class ContainerAllocator> 00210 struct DataType< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > { 00211 static const char* value() 00212 { 00213 return "sr_robot_msgs/NullifyDemandRequest"; 00214 } 00215 00216 static const char* value(const ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> &) { return value(); } 00217 }; 00218 00219 template<class ContainerAllocator> 00220 struct Definition< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > { 00221 static const char* value() 00222 { 00223 return "\n\ 00224 \n\ 00225 \n\ 00226 \n\ 00227 \n\ 00228 bool nullify_demand\n\ 00229 \n\ 00230 "; 00231 } 00232 00233 static const char* value(const ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> &) { return value(); } 00234 }; 00235 00236 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > : public TrueType {}; 00237 } // namespace message_traits 00238 } // namespace ros 00239 00240 00241 namespace ros 00242 { 00243 namespace message_traits 00244 { 00245 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > : public TrueType {}; 00246 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> const> : public TrueType {}; 00247 template<class ContainerAllocator> 00248 struct MD5Sum< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > { 00249 static const char* value() 00250 { 00251 return "d41d8cd98f00b204e9800998ecf8427e"; 00252 } 00253 00254 static const char* value(const ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> &) { return value(); } 00255 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00256 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00257 }; 00258 00259 template<class ContainerAllocator> 00260 struct DataType< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > { 00261 static const char* value() 00262 { 00263 return "sr_robot_msgs/NullifyDemandResponse"; 00264 } 00265 00266 static const char* value(const ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> &) { return value(); } 00267 }; 00268 00269 template<class ContainerAllocator> 00270 struct Definition< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > { 00271 static const char* value() 00272 { 00273 return "\n\ 00274 \n\ 00275 "; 00276 } 00277 00278 static const char* value(const ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> &) { return value(); } 00279 }; 00280 00281 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > : public TrueType {}; 00282 } // namespace message_traits 00283 } // namespace ros 00284 00285 namespace ros 00286 { 00287 namespace serialization 00288 { 00289 00290 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > 00291 { 00292 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00293 { 00294 stream.next(m.nullify_demand); 00295 } 00296 00297 ROS_DECLARE_ALLINONE_SERIALIZER; 00298 }; // struct NullifyDemandRequest_ 00299 } // namespace serialization 00300 } // namespace ros 00301 00302 00303 namespace ros 00304 { 00305 namespace serialization 00306 { 00307 00308 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > 00309 { 00310 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00311 { 00312 } 00313 00314 ROS_DECLARE_ALLINONE_SERIALIZER; 00315 }; // struct NullifyDemandResponse_ 00316 } // namespace serialization 00317 } // namespace ros 00318 00319 namespace ros 00320 { 00321 namespace service_traits 00322 { 00323 template<> 00324 struct MD5Sum<sr_robot_msgs::NullifyDemand> { 00325 static const char* value() 00326 { 00327 return "e776288d81b4da212263a7a8b3f035b3"; 00328 } 00329 00330 static const char* value(const sr_robot_msgs::NullifyDemand&) { return value(); } 00331 }; 00332 00333 template<> 00334 struct DataType<sr_robot_msgs::NullifyDemand> { 00335 static const char* value() 00336 { 00337 return "sr_robot_msgs/NullifyDemand"; 00338 } 00339 00340 static const char* value(const sr_robot_msgs::NullifyDemand&) { return value(); } 00341 }; 00342 00343 template<class ContainerAllocator> 00344 struct MD5Sum<sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > { 00345 static const char* value() 00346 { 00347 return "e776288d81b4da212263a7a8b3f035b3"; 00348 } 00349 00350 static const char* value(const sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> &) { return value(); } 00351 }; 00352 00353 template<class ContainerAllocator> 00354 struct DataType<sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > { 00355 static const char* value() 00356 { 00357 return "sr_robot_msgs/NullifyDemand"; 00358 } 00359 00360 static const char* value(const sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> &) { return value(); } 00361 }; 00362 00363 template<class ContainerAllocator> 00364 struct MD5Sum<sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > { 00365 static const char* value() 00366 { 00367 return "e776288d81b4da212263a7a8b3f035b3"; 00368 } 00369 00370 static const char* value(const sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> &) { return value(); } 00371 }; 00372 00373 template<class ContainerAllocator> 00374 struct DataType<sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > { 00375 static const char* value() 00376 { 00377 return "sr_robot_msgs/NullifyDemand"; 00378 } 00379 00380 static const char* value(const sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> &) { return value(); } 00381 }; 00382 00383 } // namespace service_traits 00384 } // namespace ros 00385 00386 #endif // SR_ROBOT_MSGS_SERVICE_NULLIFYDEMAND_H 00387