HysteresisData2.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/HysteresisData2.msg */
00002 #ifndef JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_HYSTERESISDATA2_H
00003 #define JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_HYSTERESISDATA2_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 "joint_qualification_controllers/HysteresisRun.h"
00018 
00019 namespace joint_qualification_controllers
00020 {
00021 template <class ContainerAllocator>
00022 struct HysteresisData2_ {
00023   typedef HysteresisData2_<ContainerAllocator> Type;
00024 
00025   HysteresisData2_()
00026   : joint_name()
00027   , runs()
00028   , arg_name()
00029   , arg_value()
00030   {
00031   }
00032 
00033   HysteresisData2_(const ContainerAllocator& _alloc)
00034   : joint_name(_alloc)
00035   , runs(_alloc)
00036   , arg_name(_alloc)
00037   , arg_value(_alloc)
00038   {
00039   }
00040 
00041   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _joint_name_type;
00042   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  joint_name;
00043 
00044   typedef std::vector< ::joint_qualification_controllers::HysteresisRun_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::joint_qualification_controllers::HysteresisRun_<ContainerAllocator> >::other >  _runs_type;
00045   std::vector< ::joint_qualification_controllers::HysteresisRun_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::joint_qualification_controllers::HysteresisRun_<ContainerAllocator> >::other >  runs;
00046 
00047   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;
00048   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;
00049 
00050   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _arg_value_type;
00051   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  arg_value;
00052 
00053 
00054   typedef boost::shared_ptr< ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator> > Ptr;
00055   typedef boost::shared_ptr< ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator>  const> ConstPtr;
00056   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00057 }; // struct HysteresisData2
00058 typedef  ::joint_qualification_controllers::HysteresisData2_<std::allocator<void> > HysteresisData2;
00059 
00060 typedef boost::shared_ptr< ::joint_qualification_controllers::HysteresisData2> HysteresisData2Ptr;
00061 typedef boost::shared_ptr< ::joint_qualification_controllers::HysteresisData2 const> HysteresisData2ConstPtr;
00062 
00063 
00064 template<typename ContainerAllocator>
00065 std::ostream& operator<<(std::ostream& s, const  ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator> & v)
00066 {
00067   ros::message_operations::Printer< ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator> >::stream(s, "", v);
00068   return s;}
00069 
00070 } // namespace joint_qualification_controllers
00071 
00072 namespace ros
00073 {
00074 namespace message_traits
00075 {
00076 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator> > : public TrueType {};
00077 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator>  const> : public TrueType {};
00078 template<class ContainerAllocator>
00079 struct MD5Sum< ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator> > {
00080   static const char* value() 
00081   {
00082     return "e58eacdd7f3ac3c02f9d494da1e59355";
00083   }
00084 
00085   static const char* value(const  ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator> &) { return value(); } 
00086   static const uint64_t static_value1 = 0xe58eacdd7f3ac3c0ULL;
00087   static const uint64_t static_value2 = 0x2f9d494da1e59355ULL;
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct DataType< ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "joint_qualification_controllers/HysteresisData2";
00095   }
00096 
00097   static const char* value(const  ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator> &) { return value(); } 
00098 };
00099 
00100 template<class ContainerAllocator>
00101 struct Definition< ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "string joint_name\n\
00105 \n\
00106 HysteresisRun[] runs\n\
00107 \n\
00108 string[] arg_name\n\
00109 float32[] arg_value\n\
00110 \n\
00111 ================================================================================\n\
00112 MSG: joint_qualification_controllers/HysteresisRun\n\
00113 float32[] time\n\
00114 float32[] effort\n\
00115 float32[] position\n\
00116 float32[] velocity\n\
00117 uint8 dir\n\
00118 uint8 UP=0\n\
00119 uint8 DOWN=1\n\
00120 \n\
00121 ";
00122   }
00123 
00124   static const char* value(const  ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 } // namespace message_traits
00128 } // namespace ros
00129 
00130 namespace ros
00131 {
00132 namespace serialization
00133 {
00134 
00135 template<class ContainerAllocator> struct Serializer< ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator> >
00136 {
00137   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00138   {
00139     stream.next(m.joint_name);
00140     stream.next(m.runs);
00141     stream.next(m.arg_name);
00142     stream.next(m.arg_value);
00143   }
00144 
00145   ROS_DECLARE_ALLINONE_SERIALIZER;
00146 }; // struct HysteresisData2_
00147 } // namespace serialization
00148 } // namespace ros
00149 
00150 namespace ros
00151 {
00152 namespace message_operations
00153 {
00154 
00155 template<class ContainerAllocator>
00156 struct Printer< ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator> >
00157 {
00158   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::joint_qualification_controllers::HysteresisData2_<ContainerAllocator> & v) 
00159   {
00160     s << indent << "joint_name: ";
00161     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.joint_name);
00162     s << indent << "runs[]" << std::endl;
00163     for (size_t i = 0; i < v.runs.size(); ++i)
00164     {
00165       s << indent << "  runs[" << i << "]: ";
00166       s << std::endl;
00167       s << indent;
00168       Printer< ::joint_qualification_controllers::HysteresisRun_<ContainerAllocator> >::stream(s, indent + "    ", v.runs[i]);
00169     }
00170     s << indent << "arg_name[]" << std::endl;
00171     for (size_t i = 0; i < v.arg_name.size(); ++i)
00172     {
00173       s << indent << "  arg_name[" << i << "]: ";
00174       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.arg_name[i]);
00175     }
00176     s << indent << "arg_value[]" << std::endl;
00177     for (size_t i = 0; i < v.arg_value.size(); ++i)
00178     {
00179       s << indent << "  arg_value[" << i << "]: ";
00180       Printer<float>::stream(s, indent + "  ", v.arg_value[i]);
00181     }
00182   }
00183 };
00184 
00185 
00186 } // namespace message_operations
00187 } // namespace ros
00188 
00189 #endif // JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_HYSTERESISDATA2_H
00190 


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