00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-shadow_robot/doc_stacks/2014-01-03_11-55-43.997996/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 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > Ptr; 00043 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> const> ConstPtr; 00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00045 }; // struct NullifyDemandRequest 00046 typedef ::sr_robot_msgs::NullifyDemandRequest_<std::allocator<void> > NullifyDemandRequest; 00047 00048 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandRequest> NullifyDemandRequestPtr; 00049 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandRequest const> NullifyDemandRequestConstPtr; 00050 00051 00052 template <class ContainerAllocator> 00053 struct NullifyDemandResponse_ { 00054 typedef NullifyDemandResponse_<ContainerAllocator> Type; 00055 00056 NullifyDemandResponse_() 00057 { 00058 } 00059 00060 NullifyDemandResponse_(const ContainerAllocator& _alloc) 00061 { 00062 } 00063 00064 00065 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > Ptr; 00066 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> const> ConstPtr; 00067 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00068 }; // struct NullifyDemandResponse 00069 typedef ::sr_robot_msgs::NullifyDemandResponse_<std::allocator<void> > NullifyDemandResponse; 00070 00071 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandResponse> NullifyDemandResponsePtr; 00072 typedef boost::shared_ptr< ::sr_robot_msgs::NullifyDemandResponse const> NullifyDemandResponseConstPtr; 00073 00074 struct NullifyDemand 00075 { 00076 00077 typedef NullifyDemandRequest Request; 00078 typedef NullifyDemandResponse Response; 00079 Request request; 00080 Response response; 00081 00082 typedef Request RequestType; 00083 typedef Response ResponseType; 00084 }; // struct NullifyDemand 00085 } // namespace sr_robot_msgs 00086 00087 namespace ros 00088 { 00089 namespace message_traits 00090 { 00091 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > : public TrueType {}; 00092 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> const> : public TrueType {}; 00093 template<class ContainerAllocator> 00094 struct MD5Sum< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > { 00095 static const char* value() 00096 { 00097 return "e776288d81b4da212263a7a8b3f035b3"; 00098 } 00099 00100 static const char* value(const ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> &) { return value(); } 00101 static const uint64_t static_value1 = 0xe776288d81b4da21ULL; 00102 static const uint64_t static_value2 = 0x2263a7a8b3f035b3ULL; 00103 }; 00104 00105 template<class ContainerAllocator> 00106 struct DataType< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > { 00107 static const char* value() 00108 { 00109 return "sr_robot_msgs/NullifyDemandRequest"; 00110 } 00111 00112 static const char* value(const ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> &) { return value(); } 00113 }; 00114 00115 template<class ContainerAllocator> 00116 struct Definition< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > { 00117 static const char* value() 00118 { 00119 return "\n\ 00120 \n\ 00121 \n\ 00122 \n\ 00123 \n\ 00124 bool nullify_demand\n\ 00125 \n\ 00126 "; 00127 } 00128 00129 static const char* value(const ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> &) { return value(); } 00130 }; 00131 00132 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > : public TrueType {}; 00133 } // namespace message_traits 00134 } // namespace ros 00135 00136 00137 namespace ros 00138 { 00139 namespace message_traits 00140 { 00141 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > : public TrueType {}; 00142 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> const> : public TrueType {}; 00143 template<class ContainerAllocator> 00144 struct MD5Sum< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > { 00145 static const char* value() 00146 { 00147 return "d41d8cd98f00b204e9800998ecf8427e"; 00148 } 00149 00150 static const char* value(const ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> &) { return value(); } 00151 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00152 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00153 }; 00154 00155 template<class ContainerAllocator> 00156 struct DataType< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > { 00157 static const char* value() 00158 { 00159 return "sr_robot_msgs/NullifyDemandResponse"; 00160 } 00161 00162 static const char* value(const ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> &) { return value(); } 00163 }; 00164 00165 template<class ContainerAllocator> 00166 struct Definition< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > { 00167 static const char* value() 00168 { 00169 return "\n\ 00170 \n\ 00171 "; 00172 } 00173 00174 static const char* value(const ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> &) { return value(); } 00175 }; 00176 00177 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > : public TrueType {}; 00178 } // namespace message_traits 00179 } // namespace ros 00180 00181 namespace ros 00182 { 00183 namespace serialization 00184 { 00185 00186 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > 00187 { 00188 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00189 { 00190 stream.next(m.nullify_demand); 00191 } 00192 00193 ROS_DECLARE_ALLINONE_SERIALIZER; 00194 }; // struct NullifyDemandRequest_ 00195 } // namespace serialization 00196 } // namespace ros 00197 00198 00199 namespace ros 00200 { 00201 namespace serialization 00202 { 00203 00204 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > 00205 { 00206 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00207 { 00208 } 00209 00210 ROS_DECLARE_ALLINONE_SERIALIZER; 00211 }; // struct NullifyDemandResponse_ 00212 } // namespace serialization 00213 } // namespace ros 00214 00215 namespace ros 00216 { 00217 namespace service_traits 00218 { 00219 template<> 00220 struct MD5Sum<sr_robot_msgs::NullifyDemand> { 00221 static const char* value() 00222 { 00223 return "e776288d81b4da212263a7a8b3f035b3"; 00224 } 00225 00226 static const char* value(const sr_robot_msgs::NullifyDemand&) { return value(); } 00227 }; 00228 00229 template<> 00230 struct DataType<sr_robot_msgs::NullifyDemand> { 00231 static const char* value() 00232 { 00233 return "sr_robot_msgs/NullifyDemand"; 00234 } 00235 00236 static const char* value(const sr_robot_msgs::NullifyDemand&) { return value(); } 00237 }; 00238 00239 template<class ContainerAllocator> 00240 struct MD5Sum<sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > { 00241 static const char* value() 00242 { 00243 return "e776288d81b4da212263a7a8b3f035b3"; 00244 } 00245 00246 static const char* value(const sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> &) { return value(); } 00247 }; 00248 00249 template<class ContainerAllocator> 00250 struct DataType<sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> > { 00251 static const char* value() 00252 { 00253 return "sr_robot_msgs/NullifyDemand"; 00254 } 00255 00256 static const char* value(const sr_robot_msgs::NullifyDemandRequest_<ContainerAllocator> &) { return value(); } 00257 }; 00258 00259 template<class ContainerAllocator> 00260 struct MD5Sum<sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > { 00261 static const char* value() 00262 { 00263 return "e776288d81b4da212263a7a8b3f035b3"; 00264 } 00265 00266 static const char* value(const sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> &) { return value(); } 00267 }; 00268 00269 template<class ContainerAllocator> 00270 struct DataType<sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> > { 00271 static const char* value() 00272 { 00273 return "sr_robot_msgs/NullifyDemand"; 00274 } 00275 00276 static const char* value(const sr_robot_msgs::NullifyDemandResponse_<ContainerAllocator> &) { return value(); } 00277 }; 00278 00279 } // namespace service_traits 00280 } // namespace ros 00281 00282 #endif // SR_ROBOT_MSGS_SERVICE_NULLIFYDEMAND_H 00283