DebugInfo.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_controllers/doc_stacks/2014-04-24_15-41-20.176555/pr2_controllers/pr2_mechanism_controllers/msg/DebugInfo.msg */
00002 #ifndef PR2_MECHANISM_CONTROLLERS_MESSAGE_DEBUGINFO_H
00003 #define PR2_MECHANISM_CONTROLLERS_MESSAGE_DEBUGINFO_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 pr2_mechanism_controllers
00019 {
00020 template <class ContainerAllocator>
00021 struct DebugInfo_ {
00022   typedef DebugInfo_<ContainerAllocator> Type;
00023 
00024   DebugInfo_()
00025   : timing()
00026   , sequence(0)
00027   , input_valid(false)
00028   , residual(0.0)
00029   {
00030   }
00031 
00032   DebugInfo_(const ContainerAllocator& _alloc)
00033   : timing(_alloc)
00034   , sequence(0)
00035   , input_valid(false)
00036   , residual(0.0)
00037   {
00038   }
00039 
00040   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _timing_type;
00041   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  timing;
00042 
00043   typedef int32_t _sequence_type;
00044   int32_t sequence;
00045 
00046   typedef uint8_t _input_valid_type;
00047   uint8_t input_valid;
00048 
00049   typedef double _residual_type;
00050   double residual;
00051 
00052 
00053   typedef boost::shared_ptr< ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct DebugInfo
00057 typedef  ::pr2_mechanism_controllers::DebugInfo_<std::allocator<void> > DebugInfo;
00058 
00059 typedef boost::shared_ptr< ::pr2_mechanism_controllers::DebugInfo> DebugInfoPtr;
00060 typedef boost::shared_ptr< ::pr2_mechanism_controllers::DebugInfo const> DebugInfoConstPtr;
00061 
00062 
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const  ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator> & v)
00065 {
00066   ros::message_operations::Printer< ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator> >::stream(s, "", v);
00067   return s;}
00068 
00069 } // namespace pr2_mechanism_controllers
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator>  const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "6281356ce897e33da024b8eb319460f2";
00082   }
00083 
00084   static const char* value(const  ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator> &) { return value(); } 
00085   static const uint64_t static_value1 = 0x6281356ce897e33dULL;
00086   static const uint64_t static_value2 = 0xa024b8eb319460f2ULL;
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct DataType< ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "pr2_mechanism_controllers/DebugInfo";
00094   }
00095 
00096   static const char* value(const  ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct Definition< ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "float64[] timing\n\
00104 int32 sequence\n\
00105 bool input_valid\n\
00106 float64 residual\n\
00107 ";
00108   }
00109 
00110   static const char* value(const  ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator> &) { return value(); } 
00111 };
00112 
00113 } // namespace message_traits
00114 } // namespace ros
00115 
00116 namespace ros
00117 {
00118 namespace serialization
00119 {
00120 
00121 template<class ContainerAllocator> struct Serializer< ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator> >
00122 {
00123   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00124   {
00125     stream.next(m.timing);
00126     stream.next(m.sequence);
00127     stream.next(m.input_valid);
00128     stream.next(m.residual);
00129   }
00130 
00131   ROS_DECLARE_ALLINONE_SERIALIZER;
00132 }; // struct DebugInfo_
00133 } // namespace serialization
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace message_operations
00139 {
00140 
00141 template<class ContainerAllocator>
00142 struct Printer< ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator> >
00143 {
00144   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_mechanism_controllers::DebugInfo_<ContainerAllocator> & v) 
00145   {
00146     s << indent << "timing[]" << std::endl;
00147     for (size_t i = 0; i < v.timing.size(); ++i)
00148     {
00149       s << indent << "  timing[" << i << "]: ";
00150       Printer<double>::stream(s, indent + "  ", v.timing[i]);
00151     }
00152     s << indent << "sequence: ";
00153     Printer<int32_t>::stream(s, indent + "  ", v.sequence);
00154     s << indent << "input_valid: ";
00155     Printer<uint8_t>::stream(s, indent + "  ", v.input_valid);
00156     s << indent << "residual: ";
00157     Printer<double>::stream(s, indent + "  ", v.residual);
00158   }
00159 };
00160 
00161 
00162 } // namespace message_operations
00163 } // namespace ros
00164 
00165 #endif // PR2_MECHANISM_CONTROLLERS_MESSAGE_DEBUGINFO_H
00166 


pr2_mechanism_controllers
Author(s): Sachin Chita, John Hsu, Melonee Wise
autogenerated on Thu Apr 24 2014 15:44:51