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