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