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