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