Go to the documentation of this file.00001
00002 #ifndef MOVE_ARM_HEAD_MONITOR_MESSAGE_HEADLOOKGOAL_H
00003 #define MOVE_ARM_HEAD_MONITOR_MESSAGE_HEADLOOKGOAL_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 move_arm_head_monitor
00019 {
00020 template <class ContainerAllocator>
00021 struct HeadLookGoal_ {
00022 typedef HeadLookGoal_<ContainerAllocator> Type;
00023
00024 HeadLookGoal_()
00025 : target_time()
00026 , target_link()
00027 , target_x(0.0)
00028 , target_y(0.0)
00029 , target_z(0.0)
00030 {
00031 }
00032
00033 HeadLookGoal_(const ContainerAllocator& _alloc)
00034 : target_time()
00035 , target_link(_alloc)
00036 , target_x(0.0)
00037 , target_y(0.0)
00038 , target_z(0.0)
00039 {
00040 }
00041
00042 typedef ros::Time _target_time_type;
00043 ros::Time target_time;
00044
00045 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _target_link_type;
00046 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > target_link;
00047
00048 typedef float _target_x_type;
00049 float target_x;
00050
00051 typedef float _target_y_type;
00052 float target_y;
00053
00054 typedef float _target_z_type;
00055 float target_z;
00056
00057
00058 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> > Ptr;
00059 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> const> ConstPtr;
00060 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 };
00062 typedef ::move_arm_head_monitor::HeadLookGoal_<std::allocator<void> > HeadLookGoal;
00063
00064 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadLookGoal> HeadLookGoalPtr;
00065 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadLookGoal const> HeadLookGoalConstPtr;
00066
00067
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> & v)
00070 {
00071 ros::message_operations::Printer< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> >::stream(s, "", v);
00072 return s;}
00073
00074 }
00075
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> > {
00084 static const char* value()
00085 {
00086 return "ccb46f4d202beba6b2107eb8dcfa33ea";
00087 }
00088
00089 static const char* value(const ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> &) { return value(); }
00090 static const uint64_t static_value1 = 0xccb46f4d202beba6ULL;
00091 static const uint64_t static_value2 = 0xb2107eb8dcfa33eaULL;
00092 };
00093
00094 template<class ContainerAllocator>
00095 struct DataType< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "move_arm_head_monitor/HeadLookGoal";
00099 }
00100
00101 static const char* value(const ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> &) { return value(); }
00102 };
00103
00104 template<class ContainerAllocator>
00105 struct Definition< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00109 #goal definition\n\
00110 time target_time\n\
00111 string target_link\n\
00112 float32 target_x\n\
00113 float32 target_y\n\
00114 float32 target_z\n\
00115 \n\
00116 ";
00117 }
00118
00119 static const char* value(const ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> &) { return value(); }
00120 };
00121
00122 }
00123 }
00124
00125 namespace ros
00126 {
00127 namespace serialization
00128 {
00129
00130 template<class ContainerAllocator> struct Serializer< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> >
00131 {
00132 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00133 {
00134 stream.next(m.target_time);
00135 stream.next(m.target_link);
00136 stream.next(m.target_x);
00137 stream.next(m.target_y);
00138 stream.next(m.target_z);
00139 }
00140
00141 ROS_DECLARE_ALLINONE_SERIALIZER;
00142 };
00143 }
00144 }
00145
00146 namespace ros
00147 {
00148 namespace message_operations
00149 {
00150
00151 template<class ContainerAllocator>
00152 struct Printer< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> >
00153 {
00154 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> & v)
00155 {
00156 s << indent << "target_time: ";
00157 Printer<ros::Time>::stream(s, indent + " ", v.target_time);
00158 s << indent << "target_link: ";
00159 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.target_link);
00160 s << indent << "target_x: ";
00161 Printer<float>::stream(s, indent + " ", v.target_x);
00162 s << indent << "target_y: ";
00163 Printer<float>::stream(s, indent + " ", v.target_y);
00164 s << indent << "target_z: ";
00165 Printer<float>::stream(s, indent + " ", v.target_z);
00166 }
00167 };
00168
00169
00170 }
00171 }
00172
00173 #endif // MOVE_ARM_HEAD_MONITOR_MESSAGE_HEADLOOKGOAL_H
00174