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