Go to the documentation of this file.00001
00002 #ifndef TF_TRAJECTORY_VISUALIZATION_SERVICE_VISUALIZETFTRAJECTORY_H
00003 #define TF_TRAJECTORY_VISUALIZATION_SERVICE_VISUALIZETFTRAJECTORY_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 "geometry_msgs/Point.h"
00022
00023 namespace tf_trajectory_visualization
00024 {
00025 template <class ContainerAllocator>
00026 struct VisualizeTFTrajectoryRequest_ {
00027 typedef VisualizeTFTrajectoryRequest_<ContainerAllocator> Type;
00028
00029 VisualizeTFTrajectoryRequest_()
00030 : start_time()
00031 , end_time()
00032 , tf_frame()
00033 , publish(false)
00034 {
00035 }
00036
00037 VisualizeTFTrajectoryRequest_(const ContainerAllocator& _alloc)
00038 : start_time()
00039 , end_time()
00040 , tf_frame(_alloc)
00041 , publish(false)
00042 {
00043 }
00044
00045 typedef ros::Time _start_time_type;
00046 ros::Time start_time;
00047
00048 typedef ros::Time _end_time_type;
00049 ros::Time end_time;
00050
00051 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _tf_frame_type;
00052 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > tf_frame;
00053
00054 typedef uint8_t _publish_type;
00055 uint8_t publish;
00056
00057
00058 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > Ptr;
00059 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> const> ConstPtr;
00060 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 };
00062 typedef ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<std::allocator<void> > VisualizeTFTrajectoryRequest;
00063
00064 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest> VisualizeTFTrajectoryRequestPtr;
00065 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest const> VisualizeTFTrajectoryRequestConstPtr;
00066
00067
00068
00069 template <class ContainerAllocator>
00070 struct VisualizeTFTrajectoryResponse_ {
00071 typedef VisualizeTFTrajectoryResponse_<ContainerAllocator> Type;
00072
00073 VisualizeTFTrajectoryResponse_()
00074 : points()
00075 {
00076 }
00077
00078 VisualizeTFTrajectoryResponse_(const ContainerAllocator& _alloc)
00079 : points(_alloc)
00080 {
00081 }
00082
00083 typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > _points_type;
00084 std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > points;
00085
00086
00087 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > Ptr;
00088 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> const> ConstPtr;
00089 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00090 };
00091 typedef ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<std::allocator<void> > VisualizeTFTrajectoryResponse;
00092
00093 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse> VisualizeTFTrajectoryResponsePtr;
00094 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse const> VisualizeTFTrajectoryResponseConstPtr;
00095
00096
00097 struct VisualizeTFTrajectory
00098 {
00099
00100 typedef VisualizeTFTrajectoryRequest Request;
00101 typedef VisualizeTFTrajectoryResponse Response;
00102 Request request;
00103 Response response;
00104
00105 typedef Request RequestType;
00106 typedef Response ResponseType;
00107 };
00108 }
00109
00110 namespace ros
00111 {
00112 namespace message_traits
00113 {
00114 template<class ContainerAllocator> struct IsMessage< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > : public TrueType {};
00115 template<class ContainerAllocator> struct IsMessage< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> const> : public TrueType {};
00116 template<class ContainerAllocator>
00117 struct MD5Sum< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "16b36f15aeb3dc7a80d54d835f28b5a8";
00121 }
00122
00123 static const char* value(const ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00124 static const uint64_t static_value1 = 0x16b36f15aeb3dc7aULL;
00125 static const uint64_t static_value2 = 0x80d54d835f28b5a8ULL;
00126 };
00127
00128 template<class ContainerAllocator>
00129 struct DataType< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > {
00130 static const char* value()
00131 {
00132 return "tf_trajectory_visualization/VisualizeTFTrajectoryRequest";
00133 }
00134
00135 static const char* value(const ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00136 };
00137
00138 template<class ContainerAllocator>
00139 struct Definition< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > {
00140 static const char* value()
00141 {
00142 return "\n\
00143 time start_time\n\
00144 time end_time\n\
00145 string tf_frame\n\
00146 bool publish\n\
00147 \n\
00148 ";
00149 }
00150
00151 static const char* value(const ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00152 };
00153
00154 }
00155 }
00156
00157
00158 namespace ros
00159 {
00160 namespace message_traits
00161 {
00162 template<class ContainerAllocator> struct IsMessage< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > : public TrueType {};
00163 template<class ContainerAllocator> struct IsMessage< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> const> : public TrueType {};
00164 template<class ContainerAllocator>
00165 struct MD5Sum< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > {
00166 static const char* value()
00167 {
00168 return "3fb3f9dacc279b964c4c8341122c34df";
00169 }
00170
00171 static const char* value(const ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00172 static const uint64_t static_value1 = 0x3fb3f9dacc279b96ULL;
00173 static const uint64_t static_value2 = 0x4c4c8341122c34dfULL;
00174 };
00175
00176 template<class ContainerAllocator>
00177 struct DataType< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > {
00178 static const char* value()
00179 {
00180 return "tf_trajectory_visualization/VisualizeTFTrajectoryResponse";
00181 }
00182
00183 static const char* value(const ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00184 };
00185
00186 template<class ContainerAllocator>
00187 struct Definition< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > {
00188 static const char* value()
00189 {
00190 return "geometry_msgs/Point[] points\n\
00191 \n\
00192 \n\
00193 ================================================================================\n\
00194 MSG: geometry_msgs/Point\n\
00195 # This contains the position of a point in free space\n\
00196 float64 x\n\
00197 float64 y\n\
00198 float64 z\n\
00199 \n\
00200 ";
00201 }
00202
00203 static const char* value(const ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00204 };
00205
00206 }
00207 }
00208
00209 namespace ros
00210 {
00211 namespace serialization
00212 {
00213
00214 template<class ContainerAllocator> struct Serializer< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> >
00215 {
00216 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00217 {
00218 stream.next(m.start_time);
00219 stream.next(m.end_time);
00220 stream.next(m.tf_frame);
00221 stream.next(m.publish);
00222 }
00223
00224 ROS_DECLARE_ALLINONE_SERIALIZER;
00225 };
00226 }
00227 }
00228
00229
00230 namespace ros
00231 {
00232 namespace serialization
00233 {
00234
00235 template<class ContainerAllocator> struct Serializer< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> >
00236 {
00237 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00238 {
00239 stream.next(m.points);
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<tf_trajectory_visualization::VisualizeTFTrajectory> {
00253 static const char* value()
00254 {
00255 return "b792b08a8485aef0c6937c00861e6de9";
00256 }
00257
00258 static const char* value(const tf_trajectory_visualization::VisualizeTFTrajectory&) { return value(); }
00259 };
00260
00261 template<>
00262 struct DataType<tf_trajectory_visualization::VisualizeTFTrajectory> {
00263 static const char* value()
00264 {
00265 return "tf_trajectory_visualization/VisualizeTFTrajectory";
00266 }
00267
00268 static const char* value(const tf_trajectory_visualization::VisualizeTFTrajectory&) { return value(); }
00269 };
00270
00271 template<class ContainerAllocator>
00272 struct MD5Sum<tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > {
00273 static const char* value()
00274 {
00275 return "b792b08a8485aef0c6937c00861e6de9";
00276 }
00277
00278 static const char* value(const tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00279 };
00280
00281 template<class ContainerAllocator>
00282 struct DataType<tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > {
00283 static const char* value()
00284 {
00285 return "tf_trajectory_visualization/VisualizeTFTrajectory";
00286 }
00287
00288 static const char* value(const tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00289 };
00290
00291 template<class ContainerAllocator>
00292 struct MD5Sum<tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > {
00293 static const char* value()
00294 {
00295 return "b792b08a8485aef0c6937c00861e6de9";
00296 }
00297
00298 static const char* value(const tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00299 };
00300
00301 template<class ContainerAllocator>
00302 struct DataType<tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > {
00303 static const char* value()
00304 {
00305 return "tf_trajectory_visualization/VisualizeTFTrajectory";
00306 }
00307
00308 static const char* value(const tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00309 };
00310
00311 }
00312 }
00313
00314 #endif // TF_TRAJECTORY_VISUALIZATION_SERVICE_VISUALIZETFTRAJECTORY_H
00315