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