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


joint_qualification_controllers
Author(s): Kevin Watts, Melonee Wise
autogenerated on Tue Apr 22 2014 19:39:16