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 <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 move_arm_head_monitor
00015 {
00016 template <class ContainerAllocator>
00017 struct HeadLookGoal_ : public ros::Message
00018 {
00019 typedef HeadLookGoal_<ContainerAllocator> Type;
00020
00021 HeadLookGoal_()
00022 : target_time()
00023 , target_link()
00024 , target_x(0.0)
00025 , target_y(0.0)
00026 , target_z(0.0)
00027 {
00028 }
00029
00030 HeadLookGoal_(const ContainerAllocator& _alloc)
00031 : target_time()
00032 , target_link(_alloc)
00033 , target_x(0.0)
00034 , target_y(0.0)
00035 , target_z(0.0)
00036 {
00037 }
00038
00039 typedef ros::Time _target_time_type;
00040 ros::Time target_time;
00041
00042 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _target_link_type;
00043 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > target_link;
00044
00045 typedef float _target_x_type;
00046 float target_x;
00047
00048 typedef float _target_y_type;
00049 float target_y;
00050
00051 typedef float _target_z_type;
00052 float target_z;
00053
00054
00055 private:
00056 static const char* __s_getDataType_() { return "move_arm_head_monitor/HeadLookGoal"; }
00057 public:
00058 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00059
00060 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00061
00062 private:
00063 static const char* __s_getMD5Sum_() { return "ccb46f4d202beba6b2107eb8dcfa33ea"; }
00064 public:
00065 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00066
00067 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00068
00069 private:
00070 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00071 #goal definition\n\
00072 time target_time\n\
00073 string target_link\n\
00074 float32 target_x\n\
00075 float32 target_y\n\
00076 float32 target_z\n\
00077 \n\
00078 "; }
00079 public:
00080 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00081
00082 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00083
00084 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00085 {
00086 ros::serialization::OStream stream(write_ptr, 1000000000);
00087 ros::serialization::serialize(stream, target_time);
00088 ros::serialization::serialize(stream, target_link);
00089 ros::serialization::serialize(stream, target_x);
00090 ros::serialization::serialize(stream, target_y);
00091 ros::serialization::serialize(stream, target_z);
00092 return stream.getData();
00093 }
00094
00095 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00096 {
00097 ros::serialization::IStream stream(read_ptr, 1000000000);
00098 ros::serialization::deserialize(stream, target_time);
00099 ros::serialization::deserialize(stream, target_link);
00100 ros::serialization::deserialize(stream, target_x);
00101 ros::serialization::deserialize(stream, target_y);
00102 ros::serialization::deserialize(stream, target_z);
00103 return stream.getData();
00104 }
00105
00106 ROS_DEPRECATED virtual uint32_t serializationLength() const
00107 {
00108 uint32_t size = 0;
00109 size += ros::serialization::serializationLength(target_time);
00110 size += ros::serialization::serializationLength(target_link);
00111 size += ros::serialization::serializationLength(target_x);
00112 size += ros::serialization::serializationLength(target_y);
00113 size += ros::serialization::serializationLength(target_z);
00114 return size;
00115 }
00116
00117 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> > Ptr;
00118 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> const> ConstPtr;
00119 };
00120 typedef ::move_arm_head_monitor::HeadLookGoal_<std::allocator<void> > HeadLookGoal;
00121
00122 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadLookGoal> HeadLookGoalPtr;
00123 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadLookGoal const> HeadLookGoalConstPtr;
00124
00125
00126 template<typename ContainerAllocator>
00127 std::ostream& operator<<(std::ostream& s, const ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> & v)
00128 {
00129 ros::message_operations::Printer< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> >::stream(s, "", v);
00130 return s;}
00131
00132 }
00133
00134 namespace ros
00135 {
00136 namespace message_traits
00137 {
00138 template<class ContainerAllocator>
00139 struct MD5Sum< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> > {
00140 static const char* value()
00141 {
00142 return "ccb46f4d202beba6b2107eb8dcfa33ea";
00143 }
00144
00145 static const char* value(const ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> &) { return value(); }
00146 static const uint64_t static_value1 = 0xccb46f4d202beba6ULL;
00147 static const uint64_t static_value2 = 0xb2107eb8dcfa33eaULL;
00148 };
00149
00150 template<class ContainerAllocator>
00151 struct DataType< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> > {
00152 static const char* value()
00153 {
00154 return "move_arm_head_monitor/HeadLookGoal";
00155 }
00156
00157 static const char* value(const ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> &) { return value(); }
00158 };
00159
00160 template<class ContainerAllocator>
00161 struct Definition< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> > {
00162 static const char* value()
00163 {
00164 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00165 #goal definition\n\
00166 time target_time\n\
00167 string target_link\n\
00168 float32 target_x\n\
00169 float32 target_y\n\
00170 float32 target_z\n\
00171 \n\
00172 ";
00173 }
00174
00175 static const char* value(const ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> &) { return value(); }
00176 };
00177
00178 }
00179 }
00180
00181 namespace ros
00182 {
00183 namespace serialization
00184 {
00185
00186 template<class ContainerAllocator> struct Serializer< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> >
00187 {
00188 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00189 {
00190 stream.next(m.target_time);
00191 stream.next(m.target_link);
00192 stream.next(m.target_x);
00193 stream.next(m.target_y);
00194 stream.next(m.target_z);
00195 }
00196
00197 ROS_DECLARE_ALLINONE_SERIALIZER;
00198 };
00199 }
00200 }
00201
00202 namespace ros
00203 {
00204 namespace message_operations
00205 {
00206
00207 template<class ContainerAllocator>
00208 struct Printer< ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> >
00209 {
00210 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::move_arm_head_monitor::HeadLookGoal_<ContainerAllocator> & v)
00211 {
00212 s << indent << "target_time: ";
00213 Printer<ros::Time>::stream(s, indent + " ", v.target_time);
00214 s << indent << "target_link: ";
00215 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.target_link);
00216 s << indent << "target_x: ";
00217 Printer<float>::stream(s, indent + " ", v.target_x);
00218 s << indent << "target_y: ";
00219 Printer<float>::stream(s, indent + " ", v.target_y);
00220 s << indent << "target_z: ";
00221 Printer<float>::stream(s, indent + " ", v.target_z);
00222 }
00223 };
00224
00225
00226 }
00227 }
00228
00229 #endif // MOVE_ARM_HEAD_MONITOR_MESSAGE_HEADLOOKGOAL_H
00230