00001
00002 #ifndef MOVE_ARM_HEAD_MONITOR_MESSAGE_HEADMONITORGOAL_H
00003 #define MOVE_ARM_HEAD_MONITOR_MESSAGE_HEADMONITORGOAL_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 HeadMonitorGoal_ : public ros::Message
00018 {
00019 typedef HeadMonitorGoal_<ContainerAllocator> Type;
00020
00021 HeadMonitorGoal_()
00022 : stop_time()
00023 , max_frequency(0.0)
00024 , time_offset()
00025 , target_link()
00026 , target_x(0.0)
00027 , target_y(0.0)
00028 , target_z(0.0)
00029 {
00030 }
00031
00032 HeadMonitorGoal_(const ContainerAllocator& _alloc)
00033 : stop_time()
00034 , max_frequency(0.0)
00035 , time_offset()
00036 , target_link(_alloc)
00037 , target_x(0.0)
00038 , target_y(0.0)
00039 , target_z(0.0)
00040 {
00041 }
00042
00043 typedef ros::Time _stop_time_type;
00044 ros::Time stop_time;
00045
00046 typedef float _max_frequency_type;
00047 float max_frequency;
00048
00049 typedef ros::Duration _time_offset_type;
00050 ros::Duration time_offset;
00051
00052 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _target_link_type;
00053 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > target_link;
00054
00055 typedef float _target_x_type;
00056 float target_x;
00057
00058 typedef float _target_y_type;
00059 float target_y;
00060
00061 typedef float _target_z_type;
00062 float target_z;
00063
00064
00065 private:
00066 static const char* __s_getDataType_() { return "move_arm_head_monitor/HeadMonitorGoal"; }
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 "d91d67751e9588f062802fb3978b7e79"; }
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 #goal definition\n\
00082 time stop_time\n\
00083 float32 max_frequency\n\
00084 duration time_offset\n\
00085 string target_link\n\
00086 float32 target_x\n\
00087 float32 target_y\n\
00088 float32 target_z\n\
00089 \n\
00090 "; }
00091 public:
00092 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00093
00094 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00095
00096 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00097 {
00098 ros::serialization::OStream stream(write_ptr, 1000000000);
00099 ros::serialization::serialize(stream, stop_time);
00100 ros::serialization::serialize(stream, max_frequency);
00101 ros::serialization::serialize(stream, time_offset);
00102 ros::serialization::serialize(stream, target_link);
00103 ros::serialization::serialize(stream, target_x);
00104 ros::serialization::serialize(stream, target_y);
00105 ros::serialization::serialize(stream, target_z);
00106 return stream.getData();
00107 }
00108
00109 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00110 {
00111 ros::serialization::IStream stream(read_ptr, 1000000000);
00112 ros::serialization::deserialize(stream, stop_time);
00113 ros::serialization::deserialize(stream, max_frequency);
00114 ros::serialization::deserialize(stream, time_offset);
00115 ros::serialization::deserialize(stream, target_link);
00116 ros::serialization::deserialize(stream, target_x);
00117 ros::serialization::deserialize(stream, target_y);
00118 ros::serialization::deserialize(stream, target_z);
00119 return stream.getData();
00120 }
00121
00122 ROS_DEPRECATED virtual uint32_t serializationLength() const
00123 {
00124 uint32_t size = 0;
00125 size += ros::serialization::serializationLength(stop_time);
00126 size += ros::serialization::serializationLength(max_frequency);
00127 size += ros::serialization::serializationLength(time_offset);
00128 size += ros::serialization::serializationLength(target_link);
00129 size += ros::serialization::serializationLength(target_x);
00130 size += ros::serialization::serializationLength(target_y);
00131 size += ros::serialization::serializationLength(target_z);
00132 return size;
00133 }
00134
00135 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadMonitorGoal_<ContainerAllocator> > Ptr;
00136 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadMonitorGoal_<ContainerAllocator> const> ConstPtr;
00137 };
00138 typedef ::move_arm_head_monitor::HeadMonitorGoal_<std::allocator<void> > HeadMonitorGoal;
00139
00140 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadMonitorGoal> HeadMonitorGoalPtr;
00141 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadMonitorGoal const> HeadMonitorGoalConstPtr;
00142
00143
00144 template<typename ContainerAllocator>
00145 std::ostream& operator<<(std::ostream& s, const ::move_arm_head_monitor::HeadMonitorGoal_<ContainerAllocator> & v)
00146 {
00147 ros::message_operations::Printer< ::move_arm_head_monitor::HeadMonitorGoal_<ContainerAllocator> >::stream(s, "", v);
00148 return s;}
00149
00150 }
00151
00152 namespace ros
00153 {
00154 namespace message_traits
00155 {
00156 template<class ContainerAllocator>
00157 struct MD5Sum< ::move_arm_head_monitor::HeadMonitorGoal_<ContainerAllocator> > {
00158 static const char* value()
00159 {
00160 return "d91d67751e9588f062802fb3978b7e79";
00161 }
00162
00163 static const char* value(const ::move_arm_head_monitor::HeadMonitorGoal_<ContainerAllocator> &) { return value(); }
00164 static const uint64_t static_value1 = 0xd91d67751e9588f0ULL;
00165 static const uint64_t static_value2 = 0x62802fb3978b7e79ULL;
00166 };
00167
00168 template<class ContainerAllocator>
00169 struct DataType< ::move_arm_head_monitor::HeadMonitorGoal_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "move_arm_head_monitor/HeadMonitorGoal";
00173 }
00174
00175 static const char* value(const ::move_arm_head_monitor::HeadMonitorGoal_<ContainerAllocator> &) { return value(); }
00176 };
00177
00178 template<class ContainerAllocator>
00179 struct Definition< ::move_arm_head_monitor::HeadMonitorGoal_<ContainerAllocator> > {
00180 static const char* value()
00181 {
00182 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00183 #goal definition\n\
00184 time stop_time\n\
00185 float32 max_frequency\n\
00186 duration time_offset\n\
00187 string target_link\n\
00188 float32 target_x\n\
00189 float32 target_y\n\
00190 float32 target_z\n\
00191 \n\
00192 ";
00193 }
00194
00195 static const char* value(const ::move_arm_head_monitor::HeadMonitorGoal_<ContainerAllocator> &) { return value(); }
00196 };
00197
00198 }
00199 }
00200
00201 namespace ros
00202 {
00203 namespace serialization
00204 {
00205
00206 template<class ContainerAllocator> struct Serializer< ::move_arm_head_monitor::HeadMonitorGoal_<ContainerAllocator> >
00207 {
00208 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00209 {
00210 stream.next(m.stop_time);
00211 stream.next(m.max_frequency);
00212 stream.next(m.time_offset);
00213 stream.next(m.target_link);
00214 stream.next(m.target_x);
00215 stream.next(m.target_y);
00216 stream.next(m.target_z);
00217 }
00218
00219 ROS_DECLARE_ALLINONE_SERIALIZER;
00220 };
00221 }
00222 }
00223
00224 namespace ros
00225 {
00226 namespace message_operations
00227 {
00228
00229 template<class ContainerAllocator>
00230 struct Printer< ::move_arm_head_monitor::HeadMonitorGoal_<ContainerAllocator> >
00231 {
00232 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::move_arm_head_monitor::HeadMonitorGoal_<ContainerAllocator> & v)
00233 {
00234 s << indent << "stop_time: ";
00235 Printer<ros::Time>::stream(s, indent + " ", v.stop_time);
00236 s << indent << "max_frequency: ";
00237 Printer<float>::stream(s, indent + " ", v.max_frequency);
00238 s << indent << "time_offset: ";
00239 Printer<ros::Duration>::stream(s, indent + " ", v.time_offset);
00240 s << indent << "target_link: ";
00241 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.target_link);
00242 s << indent << "target_x: ";
00243 Printer<float>::stream(s, indent + " ", v.target_x);
00244 s << indent << "target_y: ";
00245 Printer<float>::stream(s, indent + " ", v.target_y);
00246 s << indent << "target_z: ";
00247 Printer<float>::stream(s, indent + " ", v.target_z);
00248 }
00249 };
00250
00251
00252 }
00253 }
00254
00255 #endif // MOVE_ARM_HEAD_MONITOR_MESSAGE_HEADMONITORGOAL_H
00256