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