00001
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 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> > Ptr;
00069 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> const> ConstPtr;
00070 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00071 };
00072 typedef ::tf2_msgs::LookupTransformGoal_<std::allocator<void> > LookupTransformGoal;
00073
00074 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformGoal> LookupTransformGoalPtr;
00075 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformGoal const> LookupTransformGoalConstPtr;
00076
00077
00078 template<typename ContainerAllocator>
00079 std::ostream& operator<<(std::ostream& s, const ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> & v)
00080 {
00081 ros::message_operations::Printer< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> >::stream(s, "", v);
00082 return s;}
00083
00084 }
00085
00086 namespace ros
00087 {
00088 namespace message_traits
00089 {
00090 template<class ContainerAllocator> struct IsMessage< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> > : public TrueType {};
00091 template<class ContainerAllocator> struct IsMessage< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> const> : public TrueType {};
00092 template<class ContainerAllocator>
00093 struct MD5Sum< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> > {
00094 static const char* value()
00095 {
00096 return "35e3720468131d675a18bb6f3e5f22f8";
00097 }
00098
00099 static const char* value(const ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> &) { return value(); }
00100 static const uint64_t static_value1 = 0x35e3720468131d67ULL;
00101 static const uint64_t static_value2 = 0x5a18bb6f3e5f22f8ULL;
00102 };
00103
00104 template<class ContainerAllocator>
00105 struct DataType< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "tf2_msgs/LookupTransformGoal";
00109 }
00110
00111 static const char* value(const ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> &) { return value(); }
00112 };
00113
00114 template<class ContainerAllocator>
00115 struct Definition< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00119 #Simple API\n\
00120 string target_frame\n\
00121 string source_frame\n\
00122 time source_time\n\
00123 duration timeout\n\
00124 \n\
00125 #Advanced API\n\
00126 time target_time\n\
00127 string fixed_frame\n\
00128 \n\
00129 #Whether or not to use the advanced API\n\
00130 bool advanced\n\
00131 \n\
00132 \n\
00133 ";
00134 }
00135
00136 static const char* value(const ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> &) { return value(); }
00137 };
00138
00139 }
00140 }
00141
00142 namespace ros
00143 {
00144 namespace serialization
00145 {
00146
00147 template<class ContainerAllocator> struct Serializer< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> >
00148 {
00149 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00150 {
00151 stream.next(m.target_frame);
00152 stream.next(m.source_frame);
00153 stream.next(m.source_time);
00154 stream.next(m.timeout);
00155 stream.next(m.target_time);
00156 stream.next(m.fixed_frame);
00157 stream.next(m.advanced);
00158 }
00159
00160 ROS_DECLARE_ALLINONE_SERIALIZER;
00161 };
00162 }
00163 }
00164
00165 namespace ros
00166 {
00167 namespace message_operations
00168 {
00169
00170 template<class ContainerAllocator>
00171 struct Printer< ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> >
00172 {
00173 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tf2_msgs::LookupTransformGoal_<ContainerAllocator> & v)
00174 {
00175 s << indent << "target_frame: ";
00176 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.target_frame);
00177 s << indent << "source_frame: ";
00178 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.source_frame);
00179 s << indent << "source_time: ";
00180 Printer<ros::Time>::stream(s, indent + " ", v.source_time);
00181 s << indent << "timeout: ";
00182 Printer<ros::Duration>::stream(s, indent + " ", v.timeout);
00183 s << indent << "target_time: ";
00184 Printer<ros::Time>::stream(s, indent + " ", v.target_time);
00185 s << indent << "fixed_frame: ";
00186 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.fixed_frame);
00187 s << indent << "advanced: ";
00188 Printer<uint8_t>::stream(s, indent + " ", v.advanced);
00189 }
00190 };
00191
00192
00193 }
00194 }
00195
00196 #endif // TF2_MSGS_MESSAGE_LOOKUPTRANSFORMGOAL_H
00197