SingleJointPositionGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_controllers/doc_stacks/2014-01-03_11-37-53.226877/pr2_controllers/pr2_controllers_msgs/msg/SingleJointPositionGoal.msg */
00002 #ifndef PR2_CONTROLLERS_MSGS_MESSAGE_SINGLEJOINTPOSITIONGOAL_H
00003 #define PR2_CONTROLLERS_MSGS_MESSAGE_SINGLEJOINTPOSITIONGOAL_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 pr2_controllers_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct SingleJointPositionGoal_ {
00022   typedef SingleJointPositionGoal_<ContainerAllocator> Type;
00023 
00024   SingleJointPositionGoal_()
00025   : position(0.0)
00026   , min_duration()
00027   , max_velocity(0.0)
00028   {
00029   }
00030 
00031   SingleJointPositionGoal_(const ContainerAllocator& _alloc)
00032   : position(0.0)
00033   , min_duration()
00034   , max_velocity(0.0)
00035   {
00036   }
00037 
00038   typedef double _position_type;
00039   double position;
00040 
00041   typedef ros::Duration _min_duration_type;
00042   ros::Duration min_duration;
00043 
00044   typedef double _max_velocity_type;
00045   double max_velocity;
00046 
00047 
00048   typedef boost::shared_ptr< ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct SingleJointPositionGoal
00052 typedef  ::pr2_controllers_msgs::SingleJointPositionGoal_<std::allocator<void> > SingleJointPositionGoal;
00053 
00054 typedef boost::shared_ptr< ::pr2_controllers_msgs::SingleJointPositionGoal> SingleJointPositionGoalPtr;
00055 typedef boost::shared_ptr< ::pr2_controllers_msgs::SingleJointPositionGoal const> SingleJointPositionGoalConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace pr2_controllers_msgs
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "fbaaa562a23a013fd5053e5f72cbb35c";
00077   }
00078 
00079   static const char* value(const  ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0xfbaaa562a23a013fULL;
00081   static const uint64_t static_value2 = 0xd5053e5f72cbb35cULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "pr2_controllers_msgs/SingleJointPositionGoal";
00089   }
00090 
00091   static const char* value(const  ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00099 float64 position\n\
00100 duration min_duration\n\
00101 float64 max_velocity\n\
00102 \n\
00103 ";
00104   }
00105 
00106   static const char* value(const  ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> &) { return value(); } 
00107 };
00108 
00109 template<class ContainerAllocator> struct IsFixedSize< ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> > : public TrueType {};
00110 } // namespace message_traits
00111 } // namespace ros
00112 
00113 namespace ros
00114 {
00115 namespace serialization
00116 {
00117 
00118 template<class ContainerAllocator> struct Serializer< ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> >
00119 {
00120   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00121   {
00122     stream.next(m.position);
00123     stream.next(m.min_duration);
00124     stream.next(m.max_velocity);
00125   }
00126 
00127   ROS_DECLARE_ALLINONE_SERIALIZER;
00128 }; // struct SingleJointPositionGoal_
00129 } // namespace serialization
00130 } // namespace ros
00131 
00132 namespace ros
00133 {
00134 namespace message_operations
00135 {
00136 
00137 template<class ContainerAllocator>
00138 struct Printer< ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> >
00139 {
00140   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_controllers_msgs::SingleJointPositionGoal_<ContainerAllocator> & v) 
00141   {
00142     s << indent << "position: ";
00143     Printer<double>::stream(s, indent + "  ", v.position);
00144     s << indent << "min_duration: ";
00145     Printer<ros::Duration>::stream(s, indent + "  ", v.min_duration);
00146     s << indent << "max_velocity: ";
00147     Printer<double>::stream(s, indent + "  ", v.max_velocity);
00148   }
00149 };
00150 
00151 
00152 } // namespace message_operations
00153 } // namespace ros
00154 
00155 #endif // PR2_CONTROLLERS_MSGS_MESSAGE_SINGLEJOINTPOSITIONGOAL_H
00156 


pr2_controllers_msgs
Author(s): Stuart Glaser
autogenerated on Fri Jan 3 2014 11:41:03