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