SingleJointPositionFeedback.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_controllers/doc_stacks/2014-04-24_15-41-20.176555/pr2_controllers/pr2_controllers_msgs/msg/SingleJointPositionFeedback.msg */
00002 #ifndef PR2_CONTROLLERS_MSGS_MESSAGE_SINGLEJOINTPOSITIONFEEDBACK_H
00003 #define PR2_CONTROLLERS_MSGS_MESSAGE_SINGLEJOINTPOSITIONFEEDBACK_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 "std_msgs/Header.h"
00018 
00019 namespace pr2_controllers_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct SingleJointPositionFeedback_ {
00023   typedef SingleJointPositionFeedback_<ContainerAllocator> Type;
00024 
00025   SingleJointPositionFeedback_()
00026   : header()
00027   , position(0.0)
00028   , velocity(0.0)
00029   , error(0.0)
00030   {
00031   }
00032 
00033   SingleJointPositionFeedback_(const ContainerAllocator& _alloc)
00034   : header(_alloc)
00035   , position(0.0)
00036   , velocity(0.0)
00037   , error(0.0)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00042    ::std_msgs::Header_<ContainerAllocator>  header;
00043 
00044   typedef double _position_type;
00045   double position;
00046 
00047   typedef double _velocity_type;
00048   double velocity;
00049 
00050   typedef double _error_type;
00051   double error;
00052 
00053 
00054   typedef boost::shared_ptr< ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> > Ptr;
00055   typedef boost::shared_ptr< ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator>  const> ConstPtr;
00056   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00057 }; // struct SingleJointPositionFeedback
00058 typedef  ::pr2_controllers_msgs::SingleJointPositionFeedback_<std::allocator<void> > SingleJointPositionFeedback;
00059 
00060 typedef boost::shared_ptr< ::pr2_controllers_msgs::SingleJointPositionFeedback> SingleJointPositionFeedbackPtr;
00061 typedef boost::shared_ptr< ::pr2_controllers_msgs::SingleJointPositionFeedback const> SingleJointPositionFeedbackConstPtr;
00062 
00063 
00064 template<typename ContainerAllocator>
00065 std::ostream& operator<<(std::ostream& s, const  ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> & v)
00066 {
00067   ros::message_operations::Printer< ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> >::stream(s, "", v);
00068   return s;}
00069 
00070 } // namespace pr2_controllers_msgs
00071 
00072 namespace ros
00073 {
00074 namespace message_traits
00075 {
00076 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> > : public TrueType {};
00077 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator>  const> : public TrueType {};
00078 template<class ContainerAllocator>
00079 struct MD5Sum< ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> > {
00080   static const char* value() 
00081   {
00082     return "8cee65610a3d08e0a1bded82f146f1fd";
00083   }
00084 
00085   static const char* value(const  ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> &) { return value(); } 
00086   static const uint64_t static_value1 = 0x8cee65610a3d08e0ULL;
00087   static const uint64_t static_value2 = 0xa1bded82f146f1fdULL;
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct DataType< ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "pr2_controllers_msgs/SingleJointPositionFeedback";
00095   }
00096 
00097   static const char* value(const  ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> &) { return value(); } 
00098 };
00099 
00100 template<class ContainerAllocator>
00101 struct Definition< ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00105 Header header\n\
00106 float64 position\n\
00107 float64 velocity\n\
00108 float64 error\n\
00109 \n\
00110 \n\
00111 ================================================================================\n\
00112 MSG: std_msgs/Header\n\
00113 # Standard metadata for higher-level stamped data types.\n\
00114 # This is generally used to communicate timestamped data \n\
00115 # in a particular coordinate frame.\n\
00116 # \n\
00117 # sequence ID: consecutively increasing ID \n\
00118 uint32 seq\n\
00119 #Two-integer timestamp that is expressed as:\n\
00120 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00121 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00122 # time-handling sugar is provided by the client library\n\
00123 time stamp\n\
00124 #Frame this data is associated with\n\
00125 # 0: no frame\n\
00126 # 1: global frame\n\
00127 string frame_id\n\
00128 \n\
00129 ";
00130   }
00131 
00132   static const char* value(const  ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> &) { return value(); } 
00133 };
00134 
00135 template<class ContainerAllocator> struct HasHeader< ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> > : public TrueType {};
00136 template<class ContainerAllocator> struct HasHeader< const ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> > : public TrueType {};
00137 } // namespace message_traits
00138 } // namespace ros
00139 
00140 namespace ros
00141 {
00142 namespace serialization
00143 {
00144 
00145 template<class ContainerAllocator> struct Serializer< ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> >
00146 {
00147   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00148   {
00149     stream.next(m.header);
00150     stream.next(m.position);
00151     stream.next(m.velocity);
00152     stream.next(m.error);
00153   }
00154 
00155   ROS_DECLARE_ALLINONE_SERIALIZER;
00156 }; // struct SingleJointPositionFeedback_
00157 } // namespace serialization
00158 } // namespace ros
00159 
00160 namespace ros
00161 {
00162 namespace message_operations
00163 {
00164 
00165 template<class ContainerAllocator>
00166 struct Printer< ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> >
00167 {
00168   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_controllers_msgs::SingleJointPositionFeedback_<ContainerAllocator> & v) 
00169   {
00170     s << indent << "header: ";
00171 s << std::endl;
00172     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00173     s << indent << "position: ";
00174     Printer<double>::stream(s, indent + "  ", v.position);
00175     s << indent << "velocity: ";
00176     Printer<double>::stream(s, indent + "  ", v.velocity);
00177     s << indent << "error: ";
00178     Printer<double>::stream(s, indent + "  ", v.error);
00179   }
00180 };
00181 
00182 
00183 } // namespace message_operations
00184 } // namespace ros
00185 
00186 #endif // PR2_CONTROLLERS_MSGS_MESSAGE_SINGLEJOINTPOSITIONFEEDBACK_H
00187 


pr2_controllers_msgs
Author(s): Stuart Glaser
autogenerated on Thu Apr 24 2014 15:44:13