Go to the documentation of this file.00001
00002 #ifndef HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORGOAL_H
00003 #define HEAD_MONITOR_MSGS_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 #include "trajectory_msgs/JointTrajectory.h"
00018
00019 namespace head_monitor_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct HeadMonitorGoal_ {
00023 typedef HeadMonitorGoal_<ContainerAllocator> Type;
00024
00025 HeadMonitorGoal_()
00026 : group_name()
00027 , joint_trajectory()
00028 , time_offset()
00029 , target_link()
00030 {
00031 }
00032
00033 HeadMonitorGoal_(const ContainerAllocator& _alloc)
00034 : group_name(_alloc)
00035 , joint_trajectory(_alloc)
00036 , time_offset()
00037 , target_link(_alloc)
00038 {
00039 }
00040
00041 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _group_name_type;
00042 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > group_name;
00043
00044 typedef ::trajectory_msgs::JointTrajectory_<ContainerAllocator> _joint_trajectory_type;
00045 ::trajectory_msgs::JointTrajectory_<ContainerAllocator> joint_trajectory;
00046
00047 typedef ros::Duration _time_offset_type;
00048 ros::Duration time_offset;
00049
00050 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _target_link_type;
00051 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > target_link;
00052
00053
00054 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> > Ptr;
00055 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> const> ConstPtr;
00056 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00057 };
00058 typedef ::head_monitor_msgs::HeadMonitorGoal_<std::allocator<void> > HeadMonitorGoal;
00059
00060 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorGoal> HeadMonitorGoalPtr;
00061 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorGoal const> HeadMonitorGoalConstPtr;
00062
00063
00064 template<typename ContainerAllocator>
00065 std::ostream& operator<<(std::ostream& s, const ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> & v)
00066 {
00067 ros::message_operations::Printer< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> >::stream(s, "", v);
00068 return s;}
00069
00070 }
00071
00072 namespace ros
00073 {
00074 namespace message_traits
00075 {
00076 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> > : public TrueType {};
00077 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> const> : public TrueType {};
00078 template<class ContainerAllocator>
00079 struct MD5Sum< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> > {
00080 static const char* value()
00081 {
00082 return "da6613cef6b451043ab9d9442aa95deb";
00083 }
00084
00085 static const char* value(const ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> &) { return value(); }
00086 static const uint64_t static_value1 = 0xda6613cef6b45104ULL;
00087 static const uint64_t static_value2 = 0x3ab9d9442aa95debULL;
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct DataType< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "head_monitor_msgs/HeadMonitorGoal";
00095 }
00096
00097 static const char* value(const ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> &) { return value(); }
00098 };
00099
00100 template<class ContainerAllocator>
00101 struct Definition< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00105 string group_name\n\
00106 trajectory_msgs/JointTrajectory joint_trajectory\n\
00107 \n\
00108 #goal definition\n\
00109 duration time_offset\n\
00110 string target_link\n\
00111 \n\
00112 ================================================================================\n\
00113 MSG: trajectory_msgs/JointTrajectory\n\
00114 Header header\n\
00115 string[] joint_names\n\
00116 JointTrajectoryPoint[] points\n\
00117 ================================================================================\n\
00118 MSG: std_msgs/Header\n\
00119 # Standard metadata for higher-level stamped data types.\n\
00120 # This is generally used to communicate timestamped data \n\
00121 # in a particular coordinate frame.\n\
00122 # \n\
00123 # sequence ID: consecutively increasing ID \n\
00124 uint32 seq\n\
00125 #Two-integer timestamp that is expressed as:\n\
00126 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00127 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00128 # time-handling sugar is provided by the client library\n\
00129 time stamp\n\
00130 #Frame this data is associated with\n\
00131 # 0: no frame\n\
00132 # 1: global frame\n\
00133 string frame_id\n\
00134 \n\
00135 ================================================================================\n\
00136 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00137 float64[] positions\n\
00138 float64[] velocities\n\
00139 float64[] accelerations\n\
00140 duration time_from_start\n\
00141 ";
00142 }
00143
00144 static const char* value(const ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> &) { return value(); }
00145 };
00146
00147 }
00148 }
00149
00150 namespace ros
00151 {
00152 namespace serialization
00153 {
00154
00155 template<class ContainerAllocator> struct Serializer< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> >
00156 {
00157 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00158 {
00159 stream.next(m.group_name);
00160 stream.next(m.joint_trajectory);
00161 stream.next(m.time_offset);
00162 stream.next(m.target_link);
00163 }
00164
00165 ROS_DECLARE_ALLINONE_SERIALIZER;
00166 };
00167 }
00168 }
00169
00170 namespace ros
00171 {
00172 namespace message_operations
00173 {
00174
00175 template<class ContainerAllocator>
00176 struct Printer< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> >
00177 {
00178 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> & v)
00179 {
00180 s << indent << "group_name: ";
00181 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.group_name);
00182 s << indent << "joint_trajectory: ";
00183 s << std::endl;
00184 Printer< ::trajectory_msgs::JointTrajectory_<ContainerAllocator> >::stream(s, indent + " ", v.joint_trajectory);
00185 s << indent << "time_offset: ";
00186 Printer<ros::Duration>::stream(s, indent + " ", v.time_offset);
00187 s << indent << "target_link: ";
00188 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.target_link);
00189 }
00190 };
00191
00192
00193 }
00194 }
00195
00196 #endif // HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORGOAL_H
00197