00001
00002 #ifndef TF2_MSGS_SERVICE_FRAMEGRAPH_H
00003 #define TF2_MSGS_SERVICE_FRAMEGRAPH_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/service_traits.h"
00014
00015
00016
00017
00018 namespace tf2_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct FrameGraphRequest_ : public ros::Message
00022 {
00023 typedef FrameGraphRequest_<ContainerAllocator> Type;
00024
00025 FrameGraphRequest_()
00026 {
00027 }
00028
00029 FrameGraphRequest_(const ContainerAllocator& _alloc)
00030 {
00031 }
00032
00033
00034 private:
00035 static const char* __s_getDataType_() { return "tf2_msgs/FrameGraphRequest"; }
00036 public:
00037 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00038
00039 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00040
00041 private:
00042 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00043 public:
00044 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00045
00046 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00047
00048 private:
00049 static const char* __s_getServerMD5Sum_() { return "437ea58e9463815a0d511c7326b686b0"; }
00050 public:
00051 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00052
00053 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00054
00055 private:
00056 static const char* __s_getMessageDefinition_() { return "\n\
00057 "; }
00058 public:
00059 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00060
00061 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00062
00063 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00064 {
00065 ros::serialization::OStream stream(write_ptr, 1000000000);
00066 return stream.getData();
00067 }
00068
00069 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00070 {
00071 ros::serialization::IStream stream(read_ptr, 1000000000);
00072 return stream.getData();
00073 }
00074
00075 ROS_DEPRECATED virtual uint32_t serializationLength() const
00076 {
00077 uint32_t size = 0;
00078 return size;
00079 }
00080
00081 typedef boost::shared_ptr< ::tf2_msgs::FrameGraphRequest_<ContainerAllocator> > Ptr;
00082 typedef boost::shared_ptr< ::tf2_msgs::FrameGraphRequest_<ContainerAllocator> const> ConstPtr;
00083 };
00084 typedef ::tf2_msgs::FrameGraphRequest_<std::allocator<void> > FrameGraphRequest;
00085
00086 typedef boost::shared_ptr< ::tf2_msgs::FrameGraphRequest> FrameGraphRequestPtr;
00087 typedef boost::shared_ptr< ::tf2_msgs::FrameGraphRequest const> FrameGraphRequestConstPtr;
00088
00089
00090 template <class ContainerAllocator>
00091 struct FrameGraphResponse_ : public ros::Message
00092 {
00093 typedef FrameGraphResponse_<ContainerAllocator> Type;
00094
00095 FrameGraphResponse_()
00096 : frame_yaml()
00097 {
00098 }
00099
00100 FrameGraphResponse_(const ContainerAllocator& _alloc)
00101 : frame_yaml(_alloc)
00102 {
00103 }
00104
00105 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _frame_yaml_type;
00106 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > frame_yaml;
00107
00108
00109 private:
00110 static const char* __s_getDataType_() { return "tf2_msgs/FrameGraphResponse"; }
00111 public:
00112 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00113
00114 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00115
00116 private:
00117 static const char* __s_getMD5Sum_() { return "437ea58e9463815a0d511c7326b686b0"; }
00118 public:
00119 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00120
00121 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00122
00123 private:
00124 static const char* __s_getServerMD5Sum_() { return "437ea58e9463815a0d511c7326b686b0"; }
00125 public:
00126 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00127
00128 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00129
00130 private:
00131 static const char* __s_getMessageDefinition_() { return "string frame_yaml\n\
00132 \n\
00133 \n\
00134 "; }
00135 public:
00136 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00137
00138 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00139
00140 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00141 {
00142 ros::serialization::OStream stream(write_ptr, 1000000000);
00143 ros::serialization::serialize(stream, frame_yaml);
00144 return stream.getData();
00145 }
00146
00147 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00148 {
00149 ros::serialization::IStream stream(read_ptr, 1000000000);
00150 ros::serialization::deserialize(stream, frame_yaml);
00151 return stream.getData();
00152 }
00153
00154 ROS_DEPRECATED virtual uint32_t serializationLength() const
00155 {
00156 uint32_t size = 0;
00157 size += ros::serialization::serializationLength(frame_yaml);
00158 return size;
00159 }
00160
00161 typedef boost::shared_ptr< ::tf2_msgs::FrameGraphResponse_<ContainerAllocator> > Ptr;
00162 typedef boost::shared_ptr< ::tf2_msgs::FrameGraphResponse_<ContainerAllocator> const> ConstPtr;
00163 };
00164 typedef ::tf2_msgs::FrameGraphResponse_<std::allocator<void> > FrameGraphResponse;
00165
00166 typedef boost::shared_ptr< ::tf2_msgs::FrameGraphResponse> FrameGraphResponsePtr;
00167 typedef boost::shared_ptr< ::tf2_msgs::FrameGraphResponse const> FrameGraphResponseConstPtr;
00168
00169 struct FrameGraph
00170 {
00171
00172 typedef FrameGraphRequest Request;
00173 typedef FrameGraphResponse Response;
00174 Request request;
00175 Response response;
00176
00177 typedef Request RequestType;
00178 typedef Response ResponseType;
00179 };
00180 }
00181
00182 namespace ros
00183 {
00184 namespace message_traits
00185 {
00186 template<class ContainerAllocator>
00187 struct MD5Sum< ::tf2_msgs::FrameGraphRequest_<ContainerAllocator> > {
00188 static const char* value()
00189 {
00190 return "d41d8cd98f00b204e9800998ecf8427e";
00191 }
00192
00193 static const char* value(const ::tf2_msgs::FrameGraphRequest_<ContainerAllocator> &) { return value(); }
00194 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00195 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00196 };
00197
00198 template<class ContainerAllocator>
00199 struct DataType< ::tf2_msgs::FrameGraphRequest_<ContainerAllocator> > {
00200 static const char* value()
00201 {
00202 return "tf2_msgs/FrameGraphRequest";
00203 }
00204
00205 static const char* value(const ::tf2_msgs::FrameGraphRequest_<ContainerAllocator> &) { return value(); }
00206 };
00207
00208 template<class ContainerAllocator>
00209 struct Definition< ::tf2_msgs::FrameGraphRequest_<ContainerAllocator> > {
00210 static const char* value()
00211 {
00212 return "\n\
00213 ";
00214 }
00215
00216 static const char* value(const ::tf2_msgs::FrameGraphRequest_<ContainerAllocator> &) { return value(); }
00217 };
00218
00219 template<class ContainerAllocator> struct IsFixedSize< ::tf2_msgs::FrameGraphRequest_<ContainerAllocator> > : public TrueType {};
00220 }
00221 }
00222
00223
00224 namespace ros
00225 {
00226 namespace message_traits
00227 {
00228 template<class ContainerAllocator>
00229 struct MD5Sum< ::tf2_msgs::FrameGraphResponse_<ContainerAllocator> > {
00230 static const char* value()
00231 {
00232 return "437ea58e9463815a0d511c7326b686b0";
00233 }
00234
00235 static const char* value(const ::tf2_msgs::FrameGraphResponse_<ContainerAllocator> &) { return value(); }
00236 static const uint64_t static_value1 = 0x437ea58e9463815aULL;
00237 static const uint64_t static_value2 = 0x0d511c7326b686b0ULL;
00238 };
00239
00240 template<class ContainerAllocator>
00241 struct DataType< ::tf2_msgs::FrameGraphResponse_<ContainerAllocator> > {
00242 static const char* value()
00243 {
00244 return "tf2_msgs/FrameGraphResponse";
00245 }
00246
00247 static const char* value(const ::tf2_msgs::FrameGraphResponse_<ContainerAllocator> &) { return value(); }
00248 };
00249
00250 template<class ContainerAllocator>
00251 struct Definition< ::tf2_msgs::FrameGraphResponse_<ContainerAllocator> > {
00252 static const char* value()
00253 {
00254 return "string frame_yaml\n\
00255 \n\
00256 \n\
00257 ";
00258 }
00259
00260 static const char* value(const ::tf2_msgs::FrameGraphResponse_<ContainerAllocator> &) { return value(); }
00261 };
00262
00263 }
00264 }
00265
00266 namespace ros
00267 {
00268 namespace serialization
00269 {
00270
00271 template<class ContainerAllocator> struct Serializer< ::tf2_msgs::FrameGraphRequest_<ContainerAllocator> >
00272 {
00273 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00274 {
00275 }
00276
00277 ROS_DECLARE_ALLINONE_SERIALIZER;
00278 };
00279 }
00280 }
00281
00282
00283 namespace ros
00284 {
00285 namespace serialization
00286 {
00287
00288 template<class ContainerAllocator> struct Serializer< ::tf2_msgs::FrameGraphResponse_<ContainerAllocator> >
00289 {
00290 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00291 {
00292 stream.next(m.frame_yaml);
00293 }
00294
00295 ROS_DECLARE_ALLINONE_SERIALIZER;
00296 };
00297 }
00298 }
00299
00300 namespace ros
00301 {
00302 namespace service_traits
00303 {
00304 template<>
00305 struct MD5Sum<tf2_msgs::FrameGraph> {
00306 static const char* value()
00307 {
00308 return "437ea58e9463815a0d511c7326b686b0";
00309 }
00310
00311 static const char* value(const tf2_msgs::FrameGraph&) { return value(); }
00312 };
00313
00314 template<>
00315 struct DataType<tf2_msgs::FrameGraph> {
00316 static const char* value()
00317 {
00318 return "tf2_msgs/FrameGraph";
00319 }
00320
00321 static const char* value(const tf2_msgs::FrameGraph&) { return value(); }
00322 };
00323
00324 template<class ContainerAllocator>
00325 struct MD5Sum<tf2_msgs::FrameGraphRequest_<ContainerAllocator> > {
00326 static const char* value()
00327 {
00328 return "437ea58e9463815a0d511c7326b686b0";
00329 }
00330
00331 static const char* value(const tf2_msgs::FrameGraphRequest_<ContainerAllocator> &) { return value(); }
00332 };
00333
00334 template<class ContainerAllocator>
00335 struct DataType<tf2_msgs::FrameGraphRequest_<ContainerAllocator> > {
00336 static const char* value()
00337 {
00338 return "tf2_msgs/FrameGraph";
00339 }
00340
00341 static const char* value(const tf2_msgs::FrameGraphRequest_<ContainerAllocator> &) { return value(); }
00342 };
00343
00344 template<class ContainerAllocator>
00345 struct MD5Sum<tf2_msgs::FrameGraphResponse_<ContainerAllocator> > {
00346 static const char* value()
00347 {
00348 return "437ea58e9463815a0d511c7326b686b0";
00349 }
00350
00351 static const char* value(const tf2_msgs::FrameGraphResponse_<ContainerAllocator> &) { return value(); }
00352 };
00353
00354 template<class ContainerAllocator>
00355 struct DataType<tf2_msgs::FrameGraphResponse_<ContainerAllocator> > {
00356 static const char* value()
00357 {
00358 return "tf2_msgs/FrameGraph";
00359 }
00360
00361 static const char* value(const tf2_msgs::FrameGraphResponse_<ContainerAllocator> &) { return value(); }
00362 };
00363
00364 }
00365 }
00366
00367 #endif // TF2_MSGS_SERVICE_FRAMEGRAPH_H
00368