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