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