JointPositionData.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_self_test/doc_stacks/2013-12-28_17-26-17.231482/pr2_self_test/joint_qualification_controllers/msg/JointPositionData.msg */
00002 #ifndef JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_JOINTPOSITIONDATA_H
00003 #define JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_JOINTPOSITIONDATA_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 joint_qualification_controllers
00019 {
00020 template <class ContainerAllocator>
00021 struct JointPositionData_ {
00022   typedef JointPositionData_<ContainerAllocator> Type;
00023 
00024   JointPositionData_()
00025   : time()
00026   , position()
00027   , velocity()
00028   , effort()
00029   {
00030   }
00031 
00032   JointPositionData_(const ContainerAllocator& _alloc)
00033   : time(_alloc)
00034   , position(_alloc)
00035   , velocity(_alloc)
00036   , effort(_alloc)
00037   {
00038   }
00039 
00040   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _time_type;
00041   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  time;
00042 
00043   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _position_type;
00044   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  position;
00045 
00046   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _velocity_type;
00047   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  velocity;
00048 
00049   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _effort_type;
00050   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  effort;
00051 
00052 
00053   typedef boost::shared_ptr< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct JointPositionData
00057 typedef  ::joint_qualification_controllers::JointPositionData_<std::allocator<void> > JointPositionData;
00058 
00059 typedef boost::shared_ptr< ::joint_qualification_controllers::JointPositionData> JointPositionDataPtr;
00060 typedef boost::shared_ptr< ::joint_qualification_controllers::JointPositionData const> JointPositionDataConstPtr;
00061 
00062 
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const  ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> & v)
00065 {
00066   ros::message_operations::Printer< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> >::stream(s, "", v);
00067   return s;}
00068 
00069 } // namespace joint_qualification_controllers
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator>  const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "20b7d551f5d22afac44b59b748c57bdb";
00082   }
00083 
00084   static const char* value(const  ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> &) { return value(); } 
00085   static const uint64_t static_value1 = 0x20b7d551f5d22afaULL;
00086   static const uint64_t static_value2 = 0xc44b59b748c57bdbULL;
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct DataType< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "joint_qualification_controllers/JointPositionData";
00094   }
00095 
00096   static const char* value(const  ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct Definition< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "float32[] time\n\
00104 float32[] position\n\
00105 float32[] velocity\n\
00106 float32[] effort\n\
00107 ";
00108   }
00109 
00110   static const char* value(const  ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> &) { return value(); } 
00111 };
00112 
00113 } // namespace message_traits
00114 } // namespace ros
00115 
00116 namespace ros
00117 {
00118 namespace serialization
00119 {
00120 
00121 template<class ContainerAllocator> struct Serializer< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> >
00122 {
00123   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00124   {
00125     stream.next(m.time);
00126     stream.next(m.position);
00127     stream.next(m.velocity);
00128     stream.next(m.effort);
00129   }
00130 
00131   ROS_DECLARE_ALLINONE_SERIALIZER;
00132 }; // struct JointPositionData_
00133 } // namespace serialization
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace message_operations
00139 {
00140 
00141 template<class ContainerAllocator>
00142 struct Printer< ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> >
00143 {
00144   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::joint_qualification_controllers::JointPositionData_<ContainerAllocator> & v) 
00145   {
00146     s << indent << "time[]" << std::endl;
00147     for (size_t i = 0; i < v.time.size(); ++i)
00148     {
00149       s << indent << "  time[" << i << "]: ";
00150       Printer<float>::stream(s, indent + "  ", v.time[i]);
00151     }
00152     s << indent << "position[]" << std::endl;
00153     for (size_t i = 0; i < v.position.size(); ++i)
00154     {
00155       s << indent << "  position[" << i << "]: ";
00156       Printer<float>::stream(s, indent + "  ", v.position[i]);
00157     }
00158     s << indent << "velocity[]" << std::endl;
00159     for (size_t i = 0; i < v.velocity.size(); ++i)
00160     {
00161       s << indent << "  velocity[" << i << "]: ";
00162       Printer<float>::stream(s, indent + "  ", v.velocity[i]);
00163     }
00164     s << indent << "effort[]" << std::endl;
00165     for (size_t i = 0; i < v.effort.size(); ++i)
00166     {
00167       s << indent << "  effort[" << i << "]: ";
00168       Printer<float>::stream(s, indent + "  ", v.effort[i]);
00169     }
00170   }
00171 };
00172 
00173 
00174 } // namespace message_operations
00175 } // namespace ros
00176 
00177 #endif // JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_JOINTPOSITIONDATA_H
00178 


joint_qualification_controllers
Author(s): Kevin Watts, Melonee Wise
autogenerated on Sat Dec 28 2013 17:29:55