00001
00002 #ifndef VREP_COMMON_SERVICE_SIMROSGETINFO_H
00003 #define VREP_COMMON_SERVICE_SIMROSGETINFO_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 #include "std_msgs/Header.h"
00022
00023 namespace vrep_common
00024 {
00025 template <class ContainerAllocator>
00026 struct simRosGetInfoRequest_ {
00027 typedef simRosGetInfoRequest_<ContainerAllocator> Type;
00028
00029 simRosGetInfoRequest_()
00030 {
00031 }
00032
00033 simRosGetInfoRequest_(const ContainerAllocator& _alloc)
00034 {
00035 }
00036
00037
00038 typedef boost::shared_ptr< ::vrep_common::simRosGetInfoRequest_<ContainerAllocator> > Ptr;
00039 typedef boost::shared_ptr< ::vrep_common::simRosGetInfoRequest_<ContainerAllocator> const> ConstPtr;
00040 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00041 };
00042 typedef ::vrep_common::simRosGetInfoRequest_<std::allocator<void> > simRosGetInfoRequest;
00043
00044 typedef boost::shared_ptr< ::vrep_common::simRosGetInfoRequest> simRosGetInfoRequestPtr;
00045 typedef boost::shared_ptr< ::vrep_common::simRosGetInfoRequest const> simRosGetInfoRequestConstPtr;
00046
00047
00048 template <class ContainerAllocator>
00049 struct simRosGetInfoResponse_ {
00050 typedef simRosGetInfoResponse_<ContainerAllocator> Type;
00051
00052 simRosGetInfoResponse_()
00053 : headerInfo()
00054 , simulatorState(0)
00055 , simulationTime(0.0)
00056 , timeStep(0.0)
00057 {
00058 }
00059
00060 simRosGetInfoResponse_(const ContainerAllocator& _alloc)
00061 : headerInfo(_alloc)
00062 , simulatorState(0)
00063 , simulationTime(0.0)
00064 , timeStep(0.0)
00065 {
00066 }
00067
00068 typedef ::std_msgs::Header_<ContainerAllocator> _headerInfo_type;
00069 ::std_msgs::Header_<ContainerAllocator> headerInfo;
00070
00071 typedef int32_t _simulatorState_type;
00072 int32_t simulatorState;
00073
00074 typedef float _simulationTime_type;
00075 float simulationTime;
00076
00077 typedef float _timeStep_type;
00078 float timeStep;
00079
00080
00081 typedef boost::shared_ptr< ::vrep_common::simRosGetInfoResponse_<ContainerAllocator> > Ptr;
00082 typedef boost::shared_ptr< ::vrep_common::simRosGetInfoResponse_<ContainerAllocator> const> ConstPtr;
00083 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00084 };
00085 typedef ::vrep_common::simRosGetInfoResponse_<std::allocator<void> > simRosGetInfoResponse;
00086
00087 typedef boost::shared_ptr< ::vrep_common::simRosGetInfoResponse> simRosGetInfoResponsePtr;
00088 typedef boost::shared_ptr< ::vrep_common::simRosGetInfoResponse const> simRosGetInfoResponseConstPtr;
00089
00090 struct simRosGetInfo
00091 {
00092
00093 typedef simRosGetInfoRequest Request;
00094 typedef simRosGetInfoResponse Response;
00095 Request request;
00096 Response response;
00097
00098 typedef Request RequestType;
00099 typedef Response ResponseType;
00100 };
00101 }
00102
00103 namespace ros
00104 {
00105 namespace message_traits
00106 {
00107 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosGetInfoRequest_<ContainerAllocator> > : public TrueType {};
00108 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosGetInfoRequest_<ContainerAllocator> const> : public TrueType {};
00109 template<class ContainerAllocator>
00110 struct MD5Sum< ::vrep_common::simRosGetInfoRequest_<ContainerAllocator> > {
00111 static const char* value()
00112 {
00113 return "d41d8cd98f00b204e9800998ecf8427e";
00114 }
00115
00116 static const char* value(const ::vrep_common::simRosGetInfoRequest_<ContainerAllocator> &) { return value(); }
00117 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00118 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct DataType< ::vrep_common::simRosGetInfoRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "vrep_common/simRosGetInfoRequest";
00126 }
00127
00128 static const char* value(const ::vrep_common::simRosGetInfoRequest_<ContainerAllocator> &) { return value(); }
00129 };
00130
00131 template<class ContainerAllocator>
00132 struct Definition< ::vrep_common::simRosGetInfoRequest_<ContainerAllocator> > {
00133 static const char* value()
00134 {
00135 return "\n\
00136 \n\
00137 \n\
00138 \n\
00139 \n\
00140 \n\
00141 ";
00142 }
00143
00144 static const char* value(const ::vrep_common::simRosGetInfoRequest_<ContainerAllocator> &) { return value(); }
00145 };
00146
00147 template<class ContainerAllocator> struct IsFixedSize< ::vrep_common::simRosGetInfoRequest_<ContainerAllocator> > : public TrueType {};
00148 }
00149 }
00150
00151
00152 namespace ros
00153 {
00154 namespace message_traits
00155 {
00156 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosGetInfoResponse_<ContainerAllocator> > : public TrueType {};
00157 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosGetInfoResponse_<ContainerAllocator> const> : public TrueType {};
00158 template<class ContainerAllocator>
00159 struct MD5Sum< ::vrep_common::simRosGetInfoResponse_<ContainerAllocator> > {
00160 static const char* value()
00161 {
00162 return "2ab24cc264f8f17af7e013147c57dbc0";
00163 }
00164
00165 static const char* value(const ::vrep_common::simRosGetInfoResponse_<ContainerAllocator> &) { return value(); }
00166 static const uint64_t static_value1 = 0x2ab24cc264f8f17aULL;
00167 static const uint64_t static_value2 = 0xf7e013147c57dbc0ULL;
00168 };
00169
00170 template<class ContainerAllocator>
00171 struct DataType< ::vrep_common::simRosGetInfoResponse_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "vrep_common/simRosGetInfoResponse";
00175 }
00176
00177 static const char* value(const ::vrep_common::simRosGetInfoResponse_<ContainerAllocator> &) { return value(); }
00178 };
00179
00180 template<class ContainerAllocator>
00181 struct Definition< ::vrep_common::simRosGetInfoResponse_<ContainerAllocator> > {
00182 static const char* value()
00183 {
00184 return "Header headerInfo\n\
00185 int32 simulatorState\n\
00186 float32 simulationTime\n\
00187 float32 timeStep\n\
00188 \n\
00189 \n\
00190 ================================================================================\n\
00191 MSG: std_msgs/Header\n\
00192 # Standard metadata for higher-level stamped data types.\n\
00193 # This is generally used to communicate timestamped data \n\
00194 # in a particular coordinate frame.\n\
00195 # \n\
00196 # sequence ID: consecutively increasing ID \n\
00197 uint32 seq\n\
00198 #Two-integer timestamp that is expressed as:\n\
00199 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00200 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00201 # time-handling sugar is provided by the client library\n\
00202 time stamp\n\
00203 #Frame this data is associated with\n\
00204 # 0: no frame\n\
00205 # 1: global frame\n\
00206 string frame_id\n\
00207 \n\
00208 ";
00209 }
00210
00211 static const char* value(const ::vrep_common::simRosGetInfoResponse_<ContainerAllocator> &) { return value(); }
00212 };
00213
00214 }
00215 }
00216
00217 namespace ros
00218 {
00219 namespace serialization
00220 {
00221
00222 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosGetInfoRequest_<ContainerAllocator> >
00223 {
00224 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00225 {
00226 }
00227
00228 ROS_DECLARE_ALLINONE_SERIALIZER;
00229 };
00230 }
00231 }
00232
00233
00234 namespace ros
00235 {
00236 namespace serialization
00237 {
00238
00239 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosGetInfoResponse_<ContainerAllocator> >
00240 {
00241 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00242 {
00243 stream.next(m.headerInfo);
00244 stream.next(m.simulatorState);
00245 stream.next(m.simulationTime);
00246 stream.next(m.timeStep);
00247 }
00248
00249 ROS_DECLARE_ALLINONE_SERIALIZER;
00250 };
00251 }
00252 }
00253
00254 namespace ros
00255 {
00256 namespace service_traits
00257 {
00258 template<>
00259 struct MD5Sum<vrep_common::simRosGetInfo> {
00260 static const char* value()
00261 {
00262 return "2ab24cc264f8f17af7e013147c57dbc0";
00263 }
00264
00265 static const char* value(const vrep_common::simRosGetInfo&) { return value(); }
00266 };
00267
00268 template<>
00269 struct DataType<vrep_common::simRosGetInfo> {
00270 static const char* value()
00271 {
00272 return "vrep_common/simRosGetInfo";
00273 }
00274
00275 static const char* value(const vrep_common::simRosGetInfo&) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct MD5Sum<vrep_common::simRosGetInfoRequest_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "2ab24cc264f8f17af7e013147c57dbc0";
00283 }
00284
00285 static const char* value(const vrep_common::simRosGetInfoRequest_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 template<class ContainerAllocator>
00289 struct DataType<vrep_common::simRosGetInfoRequest_<ContainerAllocator> > {
00290 static const char* value()
00291 {
00292 return "vrep_common/simRosGetInfo";
00293 }
00294
00295 static const char* value(const vrep_common::simRosGetInfoRequest_<ContainerAllocator> &) { return value(); }
00296 };
00297
00298 template<class ContainerAllocator>
00299 struct MD5Sum<vrep_common::simRosGetInfoResponse_<ContainerAllocator> > {
00300 static const char* value()
00301 {
00302 return "2ab24cc264f8f17af7e013147c57dbc0";
00303 }
00304
00305 static const char* value(const vrep_common::simRosGetInfoResponse_<ContainerAllocator> &) { return value(); }
00306 };
00307
00308 template<class ContainerAllocator>
00309 struct DataType<vrep_common::simRosGetInfoResponse_<ContainerAllocator> > {
00310 static const char* value()
00311 {
00312 return "vrep_common/simRosGetInfo";
00313 }
00314
00315 static const char* value(const vrep_common::simRosGetInfoResponse_<ContainerAllocator> &) { return value(); }
00316 };
00317
00318 }
00319 }
00320
00321 #endif // VREP_COMMON_SERVICE_SIMROSGETINFO_H
00322