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