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