$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-geometry_experimental/doc_stacks/2013-03-05_11-55-48.510119/geometry_experimental/tf2_msgs/msg/LookupTransformGoal.msg */ 00002 #ifndef TF2_MSGS_MESSAGE_LOOKUPTRANSFORMGOAL_H 00003 #define TF2_MSGS_MESSAGE_LOOKUPTRANSFORMGOAL_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 00018 namespace tf2_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct LookupTransformGoal_ { 00022 typedef LookupTransformGoal_<ContainerAllocator> Type; 00023 00024 LookupTransformGoal_() 00025 : target_frame() 00026 , source_frame() 00027 , source_time() 00028 , timeout() 00029 , target_time() 00030 , fixed_frame() 00031 , advanced(false) 00032 { 00033 } 00034 00035 LookupTransformGoal_(const ContainerAllocator& _alloc) 00036 : target_frame(_alloc) 00037 , source_frame(_alloc) 00038 , source_time() 00039 , timeout() 00040 , target_time() 00041 , fixed_frame(_alloc) 00042 , advanced(false) 00043 { 00044 } 00045 00046 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _target_frame_type; 00047 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > target_frame; 00048 00049 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _source_frame_type; 00050 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > source_frame; 00051 00052 typedef ros::Time _source_time_type; 00053 ros::Time source_time; 00054 00055 typedef ros::Duration _timeout_type; 00056 ros::Duration timeout; 00057 00058 typedef ros::Time _target_time_type; 00059 ros::Time target_time; 00060 00061 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _fixed_frame_type; 00062 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > fixed_frame; 00063 00064 typedef uint8_t _advanced_type; 00065 uint8_t advanced; 00066 00067 00068 private: 00069 static const char* __s_getDataType_() { return "tf2_msgs/LookupTransformGoal"; } 00070 public: 00071 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00072 00073 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00074 00075 private: 00076 static const char* __s_getMD5Sum_() { return "35e3720468131d675a18bb6f3e5f22f8"; } 00077 public: 00078 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00079 00080 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00081 00082 private: 00083 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00084 #Simple API\n\ 00085 string target_frame\n\ 00086 string source_frame\n\ 00087 time source_time\n\ 00088 duration timeout\n\ 00089 \n\ 00090 #Advanced API\n\ 00091 time target_time\n\ 00092 string fixed_frame\n\ 00093 \n\ 00094 #Whether or not to use the advanced API\n\ 00095 bool advanced\n\ 00096 \n\ 00097 \n\ 00098 "; } 00099 public: 00100 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00101 00102 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00103 00104 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00105 { 00106 ros::serialization::OStream stream(write_ptr, 1000000000); 00107 ros::serialization::serialize(stream, target_frame); 00108 ros::serialization::serialize(stream, source_frame); 00109 ros::serialization::serialize(stream, source_time); 00110 ros::serialization::serialize(stream, timeout); 00111 ros::serialization::serialize(stream, target_time); 00112 ros::serialization::serialize(stream, fixed_frame); 00113 ros::serialization::serialize(stream, advanced); 00114 return stream.getData(); 00115 } 00116 00117 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00118 { 00119 ros::serialization::IStream stream(read_ptr, 1000000000); 00120 ros::serialization::deserialize(stream, target_frame); 00121 ros::serialization::deserialize(stream, source_frame); 00122 ros::serialization::deserialize(stream, source_time); 00123 ros::serialization::deserialize(stream, timeout); 00124 ros::serialization::deserialize(stream, target_time); 00125 ros::serialization::deserialize(stream, fixed_frame); 00126 ros::serialization::deserialize(stream, advanced); 00127 return stream.getData(); 00128 } 00129 00130 ROS_DEPRECATED virtual uint32_t serializationLength() const 00131 { 00132 uint32_t size = 0; 00133 size += ros::serialization::serializationLength(target_frame); 00134 size += ros::serialization::serializationLength(source_frame); 00135 size += ros::serialization::serializationLength(source_time); 00136 size += ros::serialization::serializationLength(timeout); 00137 size += ros::serialization::serializationLength(target_time); 00138 size += ros::serialization::serializationLength(fixed_frame); 00139 size += ros::serialization::serializationLength(advanced); 00140 return size; 00141 } 00142 00143 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> > Ptr; 00144 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> const> ConstPtr; 00145 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00146 }; // struct LookupTransformGoal 00147 typedef ::tf2_msgs::LookupTransformGoal_<std::allocator<void> > LookupTransformGoal; 00148 00149 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformGoal> LookupTransformGoalPtr; 00150 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformGoal const> LookupTransformGoalConstPtr; 00151 00152 00153 template<typename ContainerAllocator> 00154 std::ostream& operator<<(std::ostream& s, const ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> & v) 00155 { 00156 ros::message_operations::Printer< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> >::stream(s, "", v); 00157 return s;} 00158 00159 } // namespace tf2_msgs 00160 00161 namespace ros 00162 { 00163 namespace message_traits 00164 { 00165 template<class ContainerAllocator> struct IsMessage< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> > : public TrueType {}; 00166 template<class ContainerAllocator> struct IsMessage< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> const> : public TrueType {}; 00167 template<class ContainerAllocator> 00168 struct MD5Sum< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> > { 00169 static const char* value() 00170 { 00171 return "35e3720468131d675a18bb6f3e5f22f8"; 00172 } 00173 00174 static const char* value(const ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> &) { return value(); } 00175 static const uint64_t static_value1 = 0x35e3720468131d67ULL; 00176 static const uint64_t static_value2 = 0x5a18bb6f3e5f22f8ULL; 00177 }; 00178 00179 template<class ContainerAllocator> 00180 struct DataType< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> > { 00181 static const char* value() 00182 { 00183 return "tf2_msgs/LookupTransformGoal"; 00184 } 00185 00186 static const char* value(const ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> &) { return value(); } 00187 }; 00188 00189 template<class ContainerAllocator> 00190 struct Definition< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> > { 00191 static const char* value() 00192 { 00193 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00194 #Simple API\n\ 00195 string target_frame\n\ 00196 string source_frame\n\ 00197 time source_time\n\ 00198 duration timeout\n\ 00199 \n\ 00200 #Advanced API\n\ 00201 time target_time\n\ 00202 string fixed_frame\n\ 00203 \n\ 00204 #Whether or not to use the advanced API\n\ 00205 bool advanced\n\ 00206 \n\ 00207 \n\ 00208 "; 00209 } 00210 00211 static const char* value(const ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> &) { return value(); } 00212 }; 00213 00214 } // namespace message_traits 00215 } // namespace ros 00216 00217 namespace ros 00218 { 00219 namespace serialization 00220 { 00221 00222 template<class ContainerAllocator> struct Serializer< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> > 00223 { 00224 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00225 { 00226 stream.next(m.target_frame); 00227 stream.next(m.source_frame); 00228 stream.next(m.source_time); 00229 stream.next(m.timeout); 00230 stream.next(m.target_time); 00231 stream.next(m.fixed_frame); 00232 stream.next(m.advanced); 00233 } 00234 00235 ROS_DECLARE_ALLINONE_SERIALIZER; 00236 }; // struct LookupTransformGoal_ 00237 } // namespace serialization 00238 } // namespace ros 00239 00240 namespace ros 00241 { 00242 namespace message_operations 00243 { 00244 00245 template<class ContainerAllocator> 00246 struct Printer< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> > 00247 { 00248 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> & v) 00249 { 00250 s << indent << "target_frame: "; 00251 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.target_frame); 00252 s << indent << "source_frame: "; 00253 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.source_frame); 00254 s << indent << "source_time: "; 00255 Printer<ros::Time>::stream(s, indent + " ", v.source_time); 00256 s << indent << "timeout: "; 00257 Printer<ros::Duration>::stream(s, indent + " ", v.timeout); 00258 s << indent << "target_time: "; 00259 Printer<ros::Time>::stream(s, indent + " ", v.target_time); 00260 s << indent << "fixed_frame: "; 00261 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.fixed_frame); 00262 s << indent << "advanced: "; 00263 Printer<uint8_t>::stream(s, indent + " ", v.advanced); 00264 } 00265 }; 00266 00267 00268 } // namespace message_operations 00269 } // namespace ros 00270 00271 #endif // TF2_MSGS_MESSAGE_LOOKUPTRANSFORMGOAL_H 00272