ForceTorqueStats.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-netft/doc_stacks/2014-04-22_19-16-07.898796/netft/netft_example_controllers/msg/ForceTorqueStats.msg */
00002 #ifndef NETFT_EXAMPLE_CONTROLLERS_MESSAGE_FORCETORQUESTATS_H
00003 #define NETFT_EXAMPLE_CONTROLLERS_MESSAGE_FORCETORQUESTATS_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 netft_example_controllers
00019 {
00020 template <class ContainerAllocator>
00021 struct ForceTorqueStats_ {
00022   typedef ForceTorqueStats_<ContainerAllocator> Type;
00023 
00024   ForceTorqueStats_()
00025   : abs_force(0.0)
00026   , max_force(0.0)
00027   , abs_torque(0.0)
00028   , max_torque(0.0)
00029   {
00030   }
00031 
00032   ForceTorqueStats_(const ContainerAllocator& _alloc)
00033   : abs_force(0.0)
00034   , max_force(0.0)
00035   , abs_torque(0.0)
00036   , max_torque(0.0)
00037   {
00038   }
00039 
00040   typedef double _abs_force_type;
00041   double abs_force;
00042 
00043   typedef double _max_force_type;
00044   double max_force;
00045 
00046   typedef double _abs_torque_type;
00047   double abs_torque;
00048 
00049   typedef double _max_torque_type;
00050   double max_torque;
00051 
00052 
00053   typedef boost::shared_ptr< ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct ForceTorqueStats
00057 typedef  ::netft_example_controllers::ForceTorqueStats_<std::allocator<void> > ForceTorqueStats;
00058 
00059 typedef boost::shared_ptr< ::netft_example_controllers::ForceTorqueStats> ForceTorqueStatsPtr;
00060 typedef boost::shared_ptr< ::netft_example_controllers::ForceTorqueStats const> ForceTorqueStatsConstPtr;
00061 
00062 
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const  ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> & v)
00065 {
00066   ros::message_operations::Printer< ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> >::stream(s, "", v);
00067   return s;}
00068 
00069 } // namespace netft_example_controllers
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator>  const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "62a64b27c6359997714a86d2b8afaf4c";
00082   }
00083 
00084   static const char* value(const  ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> &) { return value(); } 
00085   static const uint64_t static_value1 = 0x62a64b27c6359997ULL;
00086   static const uint64_t static_value2 = 0x714a86d2b8afaf4cULL;
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct DataType< ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "netft_example_controllers/ForceTorqueStats";
00094   }
00095 
00096   static const char* value(const  ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct Definition< ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "float64 abs_force\n\
00104 float64 max_force\n\
00105 float64 abs_torque\n\
00106 float64 max_torque\n\
00107 ";
00108   }
00109 
00110   static const char* value(const  ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> &) { return value(); } 
00111 };
00112 
00113 template<class ContainerAllocator> struct IsFixedSize< ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> > : public TrueType {};
00114 } // namespace message_traits
00115 } // namespace ros
00116 
00117 namespace ros
00118 {
00119 namespace serialization
00120 {
00121 
00122 template<class ContainerAllocator> struct Serializer< ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> >
00123 {
00124   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00125   {
00126     stream.next(m.abs_force);
00127     stream.next(m.max_force);
00128     stream.next(m.abs_torque);
00129     stream.next(m.max_torque);
00130   }
00131 
00132   ROS_DECLARE_ALLINONE_SERIALIZER;
00133 }; // struct ForceTorqueStats_
00134 } // namespace serialization
00135 } // namespace ros
00136 
00137 namespace ros
00138 {
00139 namespace message_operations
00140 {
00141 
00142 template<class ContainerAllocator>
00143 struct Printer< ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> >
00144 {
00145   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::netft_example_controllers::ForceTorqueStats_<ContainerAllocator> & v) 
00146   {
00147     s << indent << "abs_force: ";
00148     Printer<double>::stream(s, indent + "  ", v.abs_force);
00149     s << indent << "max_force: ";
00150     Printer<double>::stream(s, indent + "  ", v.max_force);
00151     s << indent << "abs_torque: ";
00152     Printer<double>::stream(s, indent + "  ", v.abs_torque);
00153     s << indent << "max_torque: ";
00154     Printer<double>::stream(s, indent + "  ", v.max_torque);
00155   }
00156 };
00157 
00158 
00159 } // namespace message_operations
00160 } // namespace ros
00161 
00162 #endif // NETFT_EXAMPLE_CONTROLLERS_MESSAGE_FORCETORQUESTATS_H
00163 


netft_example_controllers
Author(s): DerekKing
autogenerated on Tue Apr 22 2014 19:18:00