$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-tum-ros-pkg/doc_stacks/2012-12-03_20-44-47.528296/tum-ros-pkg/stacks/ias_visualization/tf_trajectory_visualization/srv/VisualizeTFTrajectory.srv */ 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 private: 00059 static const char* __s_getDataType_() { return "tf_trajectory_visualization/VisualizeTFTrajectoryRequest"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00062 00063 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00064 00065 private: 00066 static const char* __s_getMD5Sum_() { return "16b36f15aeb3dc7a80d54d835f28b5a8"; } 00067 public: 00068 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00069 00070 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00071 00072 private: 00073 static const char* __s_getServerMD5Sum_() { return "b792b08a8485aef0c6937c00861e6de9"; } 00074 public: 00075 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00076 00077 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00078 00079 private: 00080 static const char* __s_getMessageDefinition_() { return "\n\ 00081 time start_time\n\ 00082 time end_time\n\ 00083 string tf_frame\n\ 00084 bool publish\n\ 00085 \n\ 00086 "; } 00087 public: 00088 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00089 00090 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00091 00092 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00093 { 00094 ros::serialization::OStream stream(write_ptr, 1000000000); 00095 ros::serialization::serialize(stream, start_time); 00096 ros::serialization::serialize(stream, end_time); 00097 ros::serialization::serialize(stream, tf_frame); 00098 ros::serialization::serialize(stream, publish); 00099 return stream.getData(); 00100 } 00101 00102 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00103 { 00104 ros::serialization::IStream stream(read_ptr, 1000000000); 00105 ros::serialization::deserialize(stream, start_time); 00106 ros::serialization::deserialize(stream, end_time); 00107 ros::serialization::deserialize(stream, tf_frame); 00108 ros::serialization::deserialize(stream, publish); 00109 return stream.getData(); 00110 } 00111 00112 ROS_DEPRECATED virtual uint32_t serializationLength() const 00113 { 00114 uint32_t size = 0; 00115 size += ros::serialization::serializationLength(start_time); 00116 size += ros::serialization::serializationLength(end_time); 00117 size += ros::serialization::serializationLength(tf_frame); 00118 size += ros::serialization::serializationLength(publish); 00119 return size; 00120 } 00121 00122 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > Ptr; 00123 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> const> ConstPtr; 00124 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00125 }; // struct VisualizeTFTrajectoryRequest 00126 typedef ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<std::allocator<void> > VisualizeTFTrajectoryRequest; 00127 00128 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest> VisualizeTFTrajectoryRequestPtr; 00129 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest const> VisualizeTFTrajectoryRequestConstPtr; 00130 00131 00132 template <class ContainerAllocator> 00133 struct VisualizeTFTrajectoryResponse_ { 00134 typedef VisualizeTFTrajectoryResponse_<ContainerAllocator> Type; 00135 00136 VisualizeTFTrajectoryResponse_() 00137 : points() 00138 { 00139 } 00140 00141 VisualizeTFTrajectoryResponse_(const ContainerAllocator& _alloc) 00142 : points(_alloc) 00143 { 00144 } 00145 00146 typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > _points_type; 00147 std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > points; 00148 00149 00150 ROS_DEPRECATED uint32_t get_points_size() const { return (uint32_t)points.size(); } 00151 ROS_DEPRECATED void set_points_size(uint32_t size) { points.resize((size_t)size); } 00152 ROS_DEPRECATED void get_points_vec(std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > & vec) const { vec = this->points; } 00153 ROS_DEPRECATED void set_points_vec(const std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > & vec) { this->points = vec; } 00154 private: 00155 static const char* __s_getDataType_() { return "tf_trajectory_visualization/VisualizeTFTrajectoryResponse"; } 00156 public: 00157 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00158 00159 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00160 00161 private: 00162 static const char* __s_getMD5Sum_() { return "3fb3f9dacc279b964c4c8341122c34df"; } 00163 public: 00164 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00165 00166 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00167 00168 private: 00169 static const char* __s_getServerMD5Sum_() { return "b792b08a8485aef0c6937c00861e6de9"; } 00170 public: 00171 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00172 00173 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00174 00175 private: 00176 static const char* __s_getMessageDefinition_() { return "geometry_msgs/Point[] points\n\ 00177 \n\ 00178 \n\ 00179 ================================================================================\n\ 00180 MSG: geometry_msgs/Point\n\ 00181 # This contains the position of a point in free space\n\ 00182 float64 x\n\ 00183 float64 y\n\ 00184 float64 z\n\ 00185 \n\ 00186 "; } 00187 public: 00188 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00189 00190 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00191 00192 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00193 { 00194 ros::serialization::OStream stream(write_ptr, 1000000000); 00195 ros::serialization::serialize(stream, points); 00196 return stream.getData(); 00197 } 00198 00199 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00200 { 00201 ros::serialization::IStream stream(read_ptr, 1000000000); 00202 ros::serialization::deserialize(stream, points); 00203 return stream.getData(); 00204 } 00205 00206 ROS_DEPRECATED virtual uint32_t serializationLength() const 00207 { 00208 uint32_t size = 0; 00209 size += ros::serialization::serializationLength(points); 00210 return size; 00211 } 00212 00213 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > Ptr; 00214 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> const> ConstPtr; 00215 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00216 }; // struct VisualizeTFTrajectoryResponse 00217 typedef ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<std::allocator<void> > VisualizeTFTrajectoryResponse; 00218 00219 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse> VisualizeTFTrajectoryResponsePtr; 00220 typedef boost::shared_ptr< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse const> VisualizeTFTrajectoryResponseConstPtr; 00221 00222 struct VisualizeTFTrajectory 00223 { 00224 00225 typedef VisualizeTFTrajectoryRequest Request; 00226 typedef VisualizeTFTrajectoryResponse Response; 00227 Request request; 00228 Response response; 00229 00230 typedef Request RequestType; 00231 typedef Response ResponseType; 00232 }; // struct VisualizeTFTrajectory 00233 } // namespace tf_trajectory_visualization 00234 00235 namespace ros 00236 { 00237 namespace message_traits 00238 { 00239 template<class ContainerAllocator> struct IsMessage< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > : public TrueType {}; 00240 template<class ContainerAllocator> struct IsMessage< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> const> : public TrueType {}; 00241 template<class ContainerAllocator> 00242 struct MD5Sum< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > { 00243 static const char* value() 00244 { 00245 return "16b36f15aeb3dc7a80d54d835f28b5a8"; 00246 } 00247 00248 static const char* value(const ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> &) { return value(); } 00249 static const uint64_t static_value1 = 0x16b36f15aeb3dc7aULL; 00250 static const uint64_t static_value2 = 0x80d54d835f28b5a8ULL; 00251 }; 00252 00253 template<class ContainerAllocator> 00254 struct DataType< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > { 00255 static const char* value() 00256 { 00257 return "tf_trajectory_visualization/VisualizeTFTrajectoryRequest"; 00258 } 00259 00260 static const char* value(const ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> &) { return value(); } 00261 }; 00262 00263 template<class ContainerAllocator> 00264 struct Definition< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > { 00265 static const char* value() 00266 { 00267 return "\n\ 00268 time start_time\n\ 00269 time end_time\n\ 00270 string tf_frame\n\ 00271 bool publish\n\ 00272 \n\ 00273 "; 00274 } 00275 00276 static const char* value(const ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> &) { return value(); } 00277 }; 00278 00279 } // namespace message_traits 00280 } // namespace ros 00281 00282 00283 namespace ros 00284 { 00285 namespace message_traits 00286 { 00287 template<class ContainerAllocator> struct IsMessage< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > : public TrueType {}; 00288 template<class ContainerAllocator> struct IsMessage< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> const> : public TrueType {}; 00289 template<class ContainerAllocator> 00290 struct MD5Sum< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > { 00291 static const char* value() 00292 { 00293 return "3fb3f9dacc279b964c4c8341122c34df"; 00294 } 00295 00296 static const char* value(const ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> &) { return value(); } 00297 static const uint64_t static_value1 = 0x3fb3f9dacc279b96ULL; 00298 static const uint64_t static_value2 = 0x4c4c8341122c34dfULL; 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/VisualizeTFTrajectoryResponse"; 00306 } 00307 00308 static const char* value(const ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> &) { return value(); } 00309 }; 00310 00311 template<class ContainerAllocator> 00312 struct Definition< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > { 00313 static const char* value() 00314 { 00315 return "geometry_msgs/Point[] points\n\ 00316 \n\ 00317 \n\ 00318 ================================================================================\n\ 00319 MSG: geometry_msgs/Point\n\ 00320 # This contains the position of a point in free space\n\ 00321 float64 x\n\ 00322 float64 y\n\ 00323 float64 z\n\ 00324 \n\ 00325 "; 00326 } 00327 00328 static const char* value(const ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> &) { return value(); } 00329 }; 00330 00331 } // namespace message_traits 00332 } // namespace ros 00333 00334 namespace ros 00335 { 00336 namespace serialization 00337 { 00338 00339 template<class ContainerAllocator> struct Serializer< ::tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > 00340 { 00341 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00342 { 00343 stream.next(m.start_time); 00344 stream.next(m.end_time); 00345 stream.next(m.tf_frame); 00346 stream.next(m.publish); 00347 } 00348 00349 ROS_DECLARE_ALLINONE_SERIALIZER; 00350 }; // struct VisualizeTFTrajectoryRequest_ 00351 } // namespace serialization 00352 } // namespace ros 00353 00354 00355 namespace ros 00356 { 00357 namespace serialization 00358 { 00359 00360 template<class ContainerAllocator> struct Serializer< ::tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > 00361 { 00362 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00363 { 00364 stream.next(m.points); 00365 } 00366 00367 ROS_DECLARE_ALLINONE_SERIALIZER; 00368 }; // struct VisualizeTFTrajectoryResponse_ 00369 } // namespace serialization 00370 } // namespace ros 00371 00372 namespace ros 00373 { 00374 namespace service_traits 00375 { 00376 template<> 00377 struct MD5Sum<tf_trajectory_visualization::VisualizeTFTrajectory> { 00378 static const char* value() 00379 { 00380 return "b792b08a8485aef0c6937c00861e6de9"; 00381 } 00382 00383 static const char* value(const tf_trajectory_visualization::VisualizeTFTrajectory&) { return value(); } 00384 }; 00385 00386 template<> 00387 struct DataType<tf_trajectory_visualization::VisualizeTFTrajectory> { 00388 static const char* value() 00389 { 00390 return "tf_trajectory_visualization/VisualizeTFTrajectory"; 00391 } 00392 00393 static const char* value(const tf_trajectory_visualization::VisualizeTFTrajectory&) { return value(); } 00394 }; 00395 00396 template<class ContainerAllocator> 00397 struct MD5Sum<tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > { 00398 static const char* value() 00399 { 00400 return "b792b08a8485aef0c6937c00861e6de9"; 00401 } 00402 00403 static const char* value(const tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> &) { return value(); } 00404 }; 00405 00406 template<class ContainerAllocator> 00407 struct DataType<tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> > { 00408 static const char* value() 00409 { 00410 return "tf_trajectory_visualization/VisualizeTFTrajectory"; 00411 } 00412 00413 static const char* value(const tf_trajectory_visualization::VisualizeTFTrajectoryRequest_<ContainerAllocator> &) { return value(); } 00414 }; 00415 00416 template<class ContainerAllocator> 00417 struct MD5Sum<tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > { 00418 static const char* value() 00419 { 00420 return "b792b08a8485aef0c6937c00861e6de9"; 00421 } 00422 00423 static const char* value(const tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> &) { return value(); } 00424 }; 00425 00426 template<class ContainerAllocator> 00427 struct DataType<tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> > { 00428 static const char* value() 00429 { 00430 return "tf_trajectory_visualization/VisualizeTFTrajectory"; 00431 } 00432 00433 static const char* value(const tf_trajectory_visualization::VisualizeTFTrajectoryResponse_<ContainerAllocator> &) { return value(); } 00434 }; 00435 00436 } // namespace service_traits 00437 } // namespace ros 00438 00439 #endif // TF_TRAJECTORY_VISUALIZATION_SERVICE_VISUALIZETFTRAJECTORY_H 00440