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