$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-arm_navigation_experimental/doc_stacks/2013-03-01_14-08-43.137802/arm_navigation_experimental/head_monitor_msgs/msg/HeadMonitorGoal.msg */ 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 private: 00055 static const char* __s_getDataType_() { return "head_monitor_msgs/HeadMonitorGoal"; } 00056 public: 00057 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00058 00059 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00060 00061 private: 00062 static const char* __s_getMD5Sum_() { return "da6613cef6b451043ab9d9442aa95deb"; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00065 00066 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00067 00068 private: 00069 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00070 string group_name\n\ 00071 trajectory_msgs/JointTrajectory joint_trajectory\n\ 00072 \n\ 00073 #goal definition\n\ 00074 duration time_offset\n\ 00075 string target_link\n\ 00076 \n\ 00077 ================================================================================\n\ 00078 MSG: trajectory_msgs/JointTrajectory\n\ 00079 Header header\n\ 00080 string[] joint_names\n\ 00081 JointTrajectoryPoint[] points\n\ 00082 ================================================================================\n\ 00083 MSG: std_msgs/Header\n\ 00084 # Standard metadata for higher-level stamped data types.\n\ 00085 # This is generally used to communicate timestamped data \n\ 00086 # in a particular coordinate frame.\n\ 00087 # \n\ 00088 # sequence ID: consecutively increasing ID \n\ 00089 uint32 seq\n\ 00090 #Two-integer timestamp that is expressed as:\n\ 00091 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00092 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00093 # time-handling sugar is provided by the client library\n\ 00094 time stamp\n\ 00095 #Frame this data is associated with\n\ 00096 # 0: no frame\n\ 00097 # 1: global frame\n\ 00098 string frame_id\n\ 00099 \n\ 00100 ================================================================================\n\ 00101 MSG: trajectory_msgs/JointTrajectoryPoint\n\ 00102 float64[] positions\n\ 00103 float64[] velocities\n\ 00104 float64[] accelerations\n\ 00105 duration time_from_start\n\ 00106 "; } 00107 public: 00108 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00109 00110 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00111 00112 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00113 { 00114 ros::serialization::OStream stream(write_ptr, 1000000000); 00115 ros::serialization::serialize(stream, group_name); 00116 ros::serialization::serialize(stream, joint_trajectory); 00117 ros::serialization::serialize(stream, time_offset); 00118 ros::serialization::serialize(stream, target_link); 00119 return stream.getData(); 00120 } 00121 00122 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00123 { 00124 ros::serialization::IStream stream(read_ptr, 1000000000); 00125 ros::serialization::deserialize(stream, group_name); 00126 ros::serialization::deserialize(stream, joint_trajectory); 00127 ros::serialization::deserialize(stream, time_offset); 00128 ros::serialization::deserialize(stream, target_link); 00129 return stream.getData(); 00130 } 00131 00132 ROS_DEPRECATED virtual uint32_t serializationLength() const 00133 { 00134 uint32_t size = 0; 00135 size += ros::serialization::serializationLength(group_name); 00136 size += ros::serialization::serializationLength(joint_trajectory); 00137 size += ros::serialization::serializationLength(time_offset); 00138 size += ros::serialization::serializationLength(target_link); 00139 return size; 00140 } 00141 00142 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> > Ptr; 00143 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> const> ConstPtr; 00144 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00145 }; // struct HeadMonitorGoal 00146 typedef ::head_monitor_msgs::HeadMonitorGoal_<std::allocator<void> > HeadMonitorGoal; 00147 00148 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorGoal> HeadMonitorGoalPtr; 00149 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorGoal const> HeadMonitorGoalConstPtr; 00150 00151 00152 template<typename ContainerAllocator> 00153 std::ostream& operator<<(std::ostream& s, const ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> & v) 00154 { 00155 ros::message_operations::Printer< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> >::stream(s, "", v); 00156 return s;} 00157 00158 } // namespace head_monitor_msgs 00159 00160 namespace ros 00161 { 00162 namespace message_traits 00163 { 00164 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> > : public TrueType {}; 00165 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> const> : public TrueType {}; 00166 template<class ContainerAllocator> 00167 struct MD5Sum< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> > { 00168 static const char* value() 00169 { 00170 return "da6613cef6b451043ab9d9442aa95deb"; 00171 } 00172 00173 static const char* value(const ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> &) { return value(); } 00174 static const uint64_t static_value1 = 0xda6613cef6b45104ULL; 00175 static const uint64_t static_value2 = 0x3ab9d9442aa95debULL; 00176 }; 00177 00178 template<class ContainerAllocator> 00179 struct DataType< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> > { 00180 static const char* value() 00181 { 00182 return "head_monitor_msgs/HeadMonitorGoal"; 00183 } 00184 00185 static const char* value(const ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> &) { return value(); } 00186 }; 00187 00188 template<class ContainerAllocator> 00189 struct Definition< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> > { 00190 static const char* value() 00191 { 00192 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00193 string group_name\n\ 00194 trajectory_msgs/JointTrajectory joint_trajectory\n\ 00195 \n\ 00196 #goal definition\n\ 00197 duration time_offset\n\ 00198 string target_link\n\ 00199 \n\ 00200 ================================================================================\n\ 00201 MSG: trajectory_msgs/JointTrajectory\n\ 00202 Header header\n\ 00203 string[] joint_names\n\ 00204 JointTrajectoryPoint[] points\n\ 00205 ================================================================================\n\ 00206 MSG: std_msgs/Header\n\ 00207 # Standard metadata for higher-level stamped data types.\n\ 00208 # This is generally used to communicate timestamped data \n\ 00209 # in a particular coordinate frame.\n\ 00210 # \n\ 00211 # sequence ID: consecutively increasing ID \n\ 00212 uint32 seq\n\ 00213 #Two-integer timestamp that is expressed as:\n\ 00214 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00215 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00216 # time-handling sugar is provided by the client library\n\ 00217 time stamp\n\ 00218 #Frame this data is associated with\n\ 00219 # 0: no frame\n\ 00220 # 1: global frame\n\ 00221 string frame_id\n\ 00222 \n\ 00223 ================================================================================\n\ 00224 MSG: trajectory_msgs/JointTrajectoryPoint\n\ 00225 float64[] positions\n\ 00226 float64[] velocities\n\ 00227 float64[] accelerations\n\ 00228 duration time_from_start\n\ 00229 "; 00230 } 00231 00232 static const char* value(const ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> &) { return value(); } 00233 }; 00234 00235 } // namespace message_traits 00236 } // namespace ros 00237 00238 namespace ros 00239 { 00240 namespace serialization 00241 { 00242 00243 template<class ContainerAllocator> struct Serializer< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> > 00244 { 00245 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00246 { 00247 stream.next(m.group_name); 00248 stream.next(m.joint_trajectory); 00249 stream.next(m.time_offset); 00250 stream.next(m.target_link); 00251 } 00252 00253 ROS_DECLARE_ALLINONE_SERIALIZER; 00254 }; // struct HeadMonitorGoal_ 00255 } // namespace serialization 00256 } // namespace ros 00257 00258 namespace ros 00259 { 00260 namespace message_operations 00261 { 00262 00263 template<class ContainerAllocator> 00264 struct Printer< ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> > 00265 { 00266 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::head_monitor_msgs::HeadMonitorGoal_<ContainerAllocator> & v) 00267 { 00268 s << indent << "group_name: "; 00269 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.group_name); 00270 s << indent << "joint_trajectory: "; 00271 s << std::endl; 00272 Printer< ::trajectory_msgs::JointTrajectory_<ContainerAllocator> >::stream(s, indent + " ", v.joint_trajectory); 00273 s << indent << "time_offset: "; 00274 Printer<ros::Duration>::stream(s, indent + " ", v.time_offset); 00275 s << indent << "target_link: "; 00276 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.target_link); 00277 } 00278 }; 00279 00280 00281 } // namespace message_operations 00282 } // namespace ros 00283 00284 #endif // HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORGOAL_H 00285