joint.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-shadow_robot/doc_stacks/2014-10-06_07-33-10.674696/shadow_robot/sr_robot_msgs/msg/joint.msg */
00002 #ifndef SR_ROBOT_MSGS_MESSAGE_JOINT_H
00003 #define SR_ROBOT_MSGS_MESSAGE_JOINT_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 sr_robot_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct joint_ {
00022   typedef joint_<ContainerAllocator> Type;
00023 
00024   joint_()
00025   : joint_name()
00026   , joint_position(0.0)
00027   , joint_target(0.0)
00028   , joint_torque(0.0)
00029   , joint_temperature(0.0)
00030   , joint_current(0.0)
00031   , error_flag()
00032   {
00033   }
00034 
00035   joint_(const ContainerAllocator& _alloc)
00036   : joint_name(_alloc)
00037   , joint_position(0.0)
00038   , joint_target(0.0)
00039   , joint_torque(0.0)
00040   , joint_temperature(0.0)
00041   , joint_current(0.0)
00042   , error_flag(_alloc)
00043   {
00044   }
00045 
00046   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _joint_name_type;
00047   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  joint_name;
00048 
00049   typedef double _joint_position_type;
00050   double joint_position;
00051 
00052   typedef double _joint_target_type;
00053   double joint_target;
00054 
00055   typedef double _joint_torque_type;
00056   double joint_torque;
00057 
00058   typedef double _joint_temperature_type;
00059   double joint_temperature;
00060 
00061   typedef double _joint_current_type;
00062   double joint_current;
00063 
00064   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _error_flag_type;
00065   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  error_flag;
00066 
00067 
00068   typedef boost::shared_ptr< ::sr_robot_msgs::joint_<ContainerAllocator> > Ptr;
00069   typedef boost::shared_ptr< ::sr_robot_msgs::joint_<ContainerAllocator>  const> ConstPtr;
00070   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00071 }; // struct joint
00072 typedef  ::sr_robot_msgs::joint_<std::allocator<void> > joint;
00073 
00074 typedef boost::shared_ptr< ::sr_robot_msgs::joint> jointPtr;
00075 typedef boost::shared_ptr< ::sr_robot_msgs::joint const> jointConstPtr;
00076 
00077 
00078 template<typename ContainerAllocator>
00079 std::ostream& operator<<(std::ostream& s, const  ::sr_robot_msgs::joint_<ContainerAllocator> & v)
00080 {
00081   ros::message_operations::Printer< ::sr_robot_msgs::joint_<ContainerAllocator> >::stream(s, "", v);
00082   return s;}
00083 
00084 } // namespace sr_robot_msgs
00085 
00086 namespace ros
00087 {
00088 namespace message_traits
00089 {
00090 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::joint_<ContainerAllocator> > : public TrueType {};
00091 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::joint_<ContainerAllocator>  const> : public TrueType {};
00092 template<class ContainerAllocator>
00093 struct MD5Sum< ::sr_robot_msgs::joint_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "4f0c5e71dfc214020935c3116ed47d6f";
00097   }
00098 
00099   static const char* value(const  ::sr_robot_msgs::joint_<ContainerAllocator> &) { return value(); } 
00100   static const uint64_t static_value1 = 0x4f0c5e71dfc21402ULL;
00101   static const uint64_t static_value2 = 0x0935c3116ed47d6fULL;
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct DataType< ::sr_robot_msgs::joint_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "sr_robot_msgs/joint";
00109   }
00110 
00111   static const char* value(const  ::sr_robot_msgs::joint_<ContainerAllocator> &) { return value(); } 
00112 };
00113 
00114 template<class ContainerAllocator>
00115 struct Definition< ::sr_robot_msgs::joint_<ContainerAllocator> > {
00116   static const char* value() 
00117   {
00118     return "string  joint_name\n\
00119 float64 joint_position\n\
00120 float64 joint_target\n\
00121 float64 joint_torque\n\
00122 float64 joint_temperature\n\
00123 float64 joint_current\n\
00124 string  error_flag\n\
00125 \n\
00126 ";
00127   }
00128 
00129   static const char* value(const  ::sr_robot_msgs::joint_<ContainerAllocator> &) { return value(); } 
00130 };
00131 
00132 } // namespace message_traits
00133 } // namespace ros
00134 
00135 namespace ros
00136 {
00137 namespace serialization
00138 {
00139 
00140 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::joint_<ContainerAllocator> >
00141 {
00142   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00143   {
00144     stream.next(m.joint_name);
00145     stream.next(m.joint_position);
00146     stream.next(m.joint_target);
00147     stream.next(m.joint_torque);
00148     stream.next(m.joint_temperature);
00149     stream.next(m.joint_current);
00150     stream.next(m.error_flag);
00151   }
00152 
00153   ROS_DECLARE_ALLINONE_SERIALIZER;
00154 }; // struct joint_
00155 } // namespace serialization
00156 } // namespace ros
00157 
00158 namespace ros
00159 {
00160 namespace message_operations
00161 {
00162 
00163 template<class ContainerAllocator>
00164 struct Printer< ::sr_robot_msgs::joint_<ContainerAllocator> >
00165 {
00166   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::sr_robot_msgs::joint_<ContainerAllocator> & v) 
00167   {
00168     s << indent << "joint_name: ";
00169     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.joint_name);
00170     s << indent << "joint_position: ";
00171     Printer<double>::stream(s, indent + "  ", v.joint_position);
00172     s << indent << "joint_target: ";
00173     Printer<double>::stream(s, indent + "  ", v.joint_target);
00174     s << indent << "joint_torque: ";
00175     Printer<double>::stream(s, indent + "  ", v.joint_torque);
00176     s << indent << "joint_temperature: ";
00177     Printer<double>::stream(s, indent + "  ", v.joint_temperature);
00178     s << indent << "joint_current: ";
00179     Printer<double>::stream(s, indent + "  ", v.joint_current);
00180     s << indent << "error_flag: ";
00181     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.error_flag);
00182   }
00183 };
00184 
00185 
00186 } // namespace message_operations
00187 } // namespace ros
00188 
00189 #endif // SR_ROBOT_MSGS_MESSAGE_JOINT_H
00190 


sr_robot_msgs
Author(s): Ugo Cupcic/ugo@shadowrobot.com
autogenerated on Mon Oct 6 2014 07:40:06