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