JointData.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/JointData.msg */
00002 #ifndef JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_JOINTDATA_H
00003 #define JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_JOINTDATA_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 JointData_ {
00022   typedef JointData_<ContainerAllocator> Type;
00023 
00024   JointData_()
00025   : index(0)
00026   , name()
00027   , is_cal(0)
00028   , has_safety(0)
00029   , type()
00030   {
00031   }
00032 
00033   JointData_(const ContainerAllocator& _alloc)
00034   : index(0)
00035   , name(_alloc)
00036   , is_cal(0)
00037   , has_safety(0)
00038   , type(_alloc)
00039   {
00040   }
00041 
00042   typedef int16_t _index_type;
00043   int16_t index;
00044 
00045   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00046   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00047 
00048   typedef int8_t _is_cal_type;
00049   int8_t is_cal;
00050 
00051   typedef int8_t _has_safety_type;
00052   int8_t has_safety;
00053 
00054   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _type_type;
00055   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  type;
00056 
00057 
00058   typedef boost::shared_ptr< ::joint_qualification_controllers::JointData_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::joint_qualification_controllers::JointData_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct JointData
00062 typedef  ::joint_qualification_controllers::JointData_<std::allocator<void> > JointData;
00063 
00064 typedef boost::shared_ptr< ::joint_qualification_controllers::JointData> JointDataPtr;
00065 typedef boost::shared_ptr< ::joint_qualification_controllers::JointData const> JointDataConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::joint_qualification_controllers::JointData_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::joint_qualification_controllers::JointData_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace joint_qualification_controllers
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::JointData_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::JointData_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::joint_qualification_controllers::JointData_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "191610564bf935172c9424c803ed6939";
00087   }
00088 
00089   static const char* value(const  ::joint_qualification_controllers::JointData_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0x191610564bf93517ULL;
00091   static const uint64_t static_value2 = 0x2c9424c803ed6939ULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::joint_qualification_controllers::JointData_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "joint_qualification_controllers/JointData";
00099   }
00100 
00101   static const char* value(const  ::joint_qualification_controllers::JointData_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::joint_qualification_controllers::JointData_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "int16 index\n\
00109 string name\n\
00110 byte is_cal\n\
00111 byte has_safety\n\
00112 string type\n\
00113 \n\
00114 \n\
00115 ";
00116   }
00117 
00118   static const char* value(const  ::joint_qualification_controllers::JointData_<ContainerAllocator> &) { return value(); } 
00119 };
00120 
00121 } // namespace message_traits
00122 } // namespace ros
00123 
00124 namespace ros
00125 {
00126 namespace serialization
00127 {
00128 
00129 template<class ContainerAllocator> struct Serializer< ::joint_qualification_controllers::JointData_<ContainerAllocator> >
00130 {
00131   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00132   {
00133     stream.next(m.index);
00134     stream.next(m.name);
00135     stream.next(m.is_cal);
00136     stream.next(m.has_safety);
00137     stream.next(m.type);
00138   }
00139 
00140   ROS_DECLARE_ALLINONE_SERIALIZER;
00141 }; // struct JointData_
00142 } // namespace serialization
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace message_operations
00148 {
00149 
00150 template<class ContainerAllocator>
00151 struct Printer< ::joint_qualification_controllers::JointData_<ContainerAllocator> >
00152 {
00153   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::joint_qualification_controllers::JointData_<ContainerAllocator> & v) 
00154   {
00155     s << indent << "index: ";
00156     Printer<int16_t>::stream(s, indent + "  ", v.index);
00157     s << indent << "name: ";
00158     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00159     s << indent << "is_cal: ";
00160     Printer<int8_t>::stream(s, indent + "  ", v.is_cal);
00161     s << indent << "has_safety: ";
00162     Printer<int8_t>::stream(s, indent + "  ", v.has_safety);
00163     s << indent << "type: ";
00164     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.type);
00165   }
00166 };
00167 
00168 
00169 } // namespace message_operations
00170 } // namespace ros
00171 
00172 #endif // JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_JOINTDATA_H
00173 


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