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