HysteresisData.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/HysteresisData.msg */
00002 #ifndef JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_HYSTERESISDATA_H
00003 #define JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_HYSTERESISDATA_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 HysteresisData_ {
00022   typedef HysteresisData_<ContainerAllocator> Type;
00023 
00024   HysteresisData_()
00025   : joint_name()
00026   , time_up()
00027   , effort_up()
00028   , position_up()
00029   , velocity_up()
00030   , time_down()
00031   , effort_down()
00032   , position_down()
00033   , velocity_down()
00034   , arg_name()
00035   , arg_value()
00036   {
00037   }
00038 
00039   HysteresisData_(const ContainerAllocator& _alloc)
00040   : joint_name(_alloc)
00041   , time_up(_alloc)
00042   , effort_up(_alloc)
00043   , position_up(_alloc)
00044   , velocity_up(_alloc)
00045   , time_down(_alloc)
00046   , effort_down(_alloc)
00047   , position_down(_alloc)
00048   , velocity_down(_alloc)
00049   , arg_name(_alloc)
00050   , arg_value(_alloc)
00051   {
00052   }
00053 
00054   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _joint_name_type;
00055   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  joint_name;
00056 
00057   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _time_up_type;
00058   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  time_up;
00059 
00060   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _effort_up_type;
00061   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  effort_up;
00062 
00063   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _position_up_type;
00064   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  position_up;
00065 
00066   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _velocity_up_type;
00067   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  velocity_up;
00068 
00069   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _time_down_type;
00070   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  time_down;
00071 
00072   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _effort_down_type;
00073   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  effort_down;
00074 
00075   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _position_down_type;
00076   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  position_down;
00077 
00078   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _velocity_down_type;
00079   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  velocity_down;
00080 
00081   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _arg_name_type;
00082   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  arg_name;
00083 
00084   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _arg_value_type;
00085   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  arg_value;
00086 
00087 
00088   typedef boost::shared_ptr< ::joint_qualification_controllers::HysteresisData_<ContainerAllocator> > Ptr;
00089   typedef boost::shared_ptr< ::joint_qualification_controllers::HysteresisData_<ContainerAllocator>  const> ConstPtr;
00090   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00091 }; // struct HysteresisData
00092 typedef  ::joint_qualification_controllers::HysteresisData_<std::allocator<void> > HysteresisData;
00093 
00094 typedef boost::shared_ptr< ::joint_qualification_controllers::HysteresisData> HysteresisDataPtr;
00095 typedef boost::shared_ptr< ::joint_qualification_controllers::HysteresisData const> HysteresisDataConstPtr;
00096 
00097 
00098 template<typename ContainerAllocator>
00099 std::ostream& operator<<(std::ostream& s, const  ::joint_qualification_controllers::HysteresisData_<ContainerAllocator> & v)
00100 {
00101   ros::message_operations::Printer< ::joint_qualification_controllers::HysteresisData_<ContainerAllocator> >::stream(s, "", v);
00102   return s;}
00103 
00104 } // namespace joint_qualification_controllers
00105 
00106 namespace ros
00107 {
00108 namespace message_traits
00109 {
00110 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::HysteresisData_<ContainerAllocator> > : public TrueType {};
00111 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::HysteresisData_<ContainerAllocator>  const> : public TrueType {};
00112 template<class ContainerAllocator>
00113 struct MD5Sum< ::joint_qualification_controllers::HysteresisData_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "55018edece2f193bc97f016db04a871b";
00117   }
00118 
00119   static const char* value(const  ::joint_qualification_controllers::HysteresisData_<ContainerAllocator> &) { return value(); } 
00120   static const uint64_t static_value1 = 0x55018edece2f193bULL;
00121   static const uint64_t static_value2 = 0xc97f016db04a871bULL;
00122 };
00123 
00124 template<class ContainerAllocator>
00125 struct DataType< ::joint_qualification_controllers::HysteresisData_<ContainerAllocator> > {
00126   static const char* value() 
00127   {
00128     return "joint_qualification_controllers/HysteresisData";
00129   }
00130 
00131   static const char* value(const  ::joint_qualification_controllers::HysteresisData_<ContainerAllocator> &) { return value(); } 
00132 };
00133 
00134 template<class ContainerAllocator>
00135 struct Definition< ::joint_qualification_controllers::HysteresisData_<ContainerAllocator> > {
00136   static const char* value() 
00137   {
00138     return "string joint_name\n\
00139 \n\
00140 float32[] time_up\n\
00141 float32[] effort_up\n\
00142 float32[] position_up\n\
00143 float32[] velocity_up\n\
00144 \n\
00145 float32[] time_down\n\
00146 float32[] effort_down\n\
00147 float32[] position_down\n\
00148 float32[] velocity_down\n\
00149 \n\
00150 string[] arg_name\n\
00151 float32[] arg_value\n\
00152 \n\
00153 ";
00154   }
00155 
00156   static const char* value(const  ::joint_qualification_controllers::HysteresisData_<ContainerAllocator> &) { return value(); } 
00157 };
00158 
00159 } // namespace message_traits
00160 } // namespace ros
00161 
00162 namespace ros
00163 {
00164 namespace serialization
00165 {
00166 
00167 template<class ContainerAllocator> struct Serializer< ::joint_qualification_controllers::HysteresisData_<ContainerAllocator> >
00168 {
00169   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00170   {
00171     stream.next(m.joint_name);
00172     stream.next(m.time_up);
00173     stream.next(m.effort_up);
00174     stream.next(m.position_up);
00175     stream.next(m.velocity_up);
00176     stream.next(m.time_down);
00177     stream.next(m.effort_down);
00178     stream.next(m.position_down);
00179     stream.next(m.velocity_down);
00180     stream.next(m.arg_name);
00181     stream.next(m.arg_value);
00182   }
00183 
00184   ROS_DECLARE_ALLINONE_SERIALIZER;
00185 }; // struct HysteresisData_
00186 } // namespace serialization
00187 } // namespace ros
00188 
00189 namespace ros
00190 {
00191 namespace message_operations
00192 {
00193 
00194 template<class ContainerAllocator>
00195 struct Printer< ::joint_qualification_controllers::HysteresisData_<ContainerAllocator> >
00196 {
00197   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::joint_qualification_controllers::HysteresisData_<ContainerAllocator> & v) 
00198   {
00199     s << indent << "joint_name: ";
00200     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.joint_name);
00201     s << indent << "time_up[]" << std::endl;
00202     for (size_t i = 0; i < v.time_up.size(); ++i)
00203     {
00204       s << indent << "  time_up[" << i << "]: ";
00205       Printer<float>::stream(s, indent + "  ", v.time_up[i]);
00206     }
00207     s << indent << "effort_up[]" << std::endl;
00208     for (size_t i = 0; i < v.effort_up.size(); ++i)
00209     {
00210       s << indent << "  effort_up[" << i << "]: ";
00211       Printer<float>::stream(s, indent + "  ", v.effort_up[i]);
00212     }
00213     s << indent << "position_up[]" << std::endl;
00214     for (size_t i = 0; i < v.position_up.size(); ++i)
00215     {
00216       s << indent << "  position_up[" << i << "]: ";
00217       Printer<float>::stream(s, indent + "  ", v.position_up[i]);
00218     }
00219     s << indent << "velocity_up[]" << std::endl;
00220     for (size_t i = 0; i < v.velocity_up.size(); ++i)
00221     {
00222       s << indent << "  velocity_up[" << i << "]: ";
00223       Printer<float>::stream(s, indent + "  ", v.velocity_up[i]);
00224     }
00225     s << indent << "time_down[]" << std::endl;
00226     for (size_t i = 0; i < v.time_down.size(); ++i)
00227     {
00228       s << indent << "  time_down[" << i << "]: ";
00229       Printer<float>::stream(s, indent + "  ", v.time_down[i]);
00230     }
00231     s << indent << "effort_down[]" << std::endl;
00232     for (size_t i = 0; i < v.effort_down.size(); ++i)
00233     {
00234       s << indent << "  effort_down[" << i << "]: ";
00235       Printer<float>::stream(s, indent + "  ", v.effort_down[i]);
00236     }
00237     s << indent << "position_down[]" << std::endl;
00238     for (size_t i = 0; i < v.position_down.size(); ++i)
00239     {
00240       s << indent << "  position_down[" << i << "]: ";
00241       Printer<float>::stream(s, indent + "  ", v.position_down[i]);
00242     }
00243     s << indent << "velocity_down[]" << std::endl;
00244     for (size_t i = 0; i < v.velocity_down.size(); ++i)
00245     {
00246       s << indent << "  velocity_down[" << i << "]: ";
00247       Printer<float>::stream(s, indent + "  ", v.velocity_down[i]);
00248     }
00249     s << indent << "arg_name[]" << std::endl;
00250     for (size_t i = 0; i < v.arg_name.size(); ++i)
00251     {
00252       s << indent << "  arg_name[" << i << "]: ";
00253       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.arg_name[i]);
00254     }
00255     s << indent << "arg_value[]" << std::endl;
00256     for (size_t i = 0; i < v.arg_value.size(); ++i)
00257     {
00258       s << indent << "  arg_value[" << i << "]: ";
00259       Printer<float>::stream(s, indent + "  ", v.arg_value[i]);
00260     }
00261   }
00262 };
00263 
00264 
00265 } // namespace message_operations
00266 } // namespace ros
00267 
00268 #endif // JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_HYSTERESISDATA_H
00269 


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