Poison.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-cob_common/doc_stacks/2013-03-01_17-42-56.130276/cob_common/brics_actuator/msg/Poison.msg */
00002 #ifndef BRICS_ACTUATOR_MESSAGE_POISON_H
00003 #define BRICS_ACTUATOR_MESSAGE_POISON_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 brics_actuator
00019 {
00020 template <class ContainerAllocator>
00021 struct Poison_ {
00022   typedef Poison_<ContainerAllocator> Type;
00023 
00024   Poison_()
00025   : originator()
00026   , description()
00027   , qos(0.0)
00028   {
00029   }
00030 
00031   Poison_(const ContainerAllocator& _alloc)
00032   : originator(_alloc)
00033   , description(_alloc)
00034   , qos(0.0)
00035   {
00036   }
00037 
00038   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _originator_type;
00039   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  originator;
00040 
00041   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _description_type;
00042   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  description;
00043 
00044   typedef float _qos_type;
00045   float qos;
00046 
00047 
00048   typedef boost::shared_ptr< ::brics_actuator::Poison_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::brics_actuator::Poison_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct Poison
00052 typedef  ::brics_actuator::Poison_<std::allocator<void> > Poison;
00053 
00054 typedef boost::shared_ptr< ::brics_actuator::Poison> PoisonPtr;
00055 typedef boost::shared_ptr< ::brics_actuator::Poison const> PoisonConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::brics_actuator::Poison_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::brics_actuator::Poison_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace brics_actuator
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::brics_actuator::Poison_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::brics_actuator::Poison_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::brics_actuator::Poison_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "b16420a6fd4cc18f64b776ee10e98bb0";
00077   }
00078 
00079   static const char* value(const  ::brics_actuator::Poison_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0xb16420a6fd4cc18fULL;
00081   static const uint64_t static_value2 = 0x64b776ee10e98bb0ULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::brics_actuator::Poison_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "brics_actuator/Poison";
00089   }
00090 
00091   static const char* value(const  ::brics_actuator::Poison_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::brics_actuator::Poison_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "string originator           # node id\n\
00099 string description              # encoding still an issue\n\
00100 float32 qos                     # reliability of the channel\n\
00101                                 # 0..1 where 1 means healthy\n\
00102 \n\
00103 ";
00104   }
00105 
00106   static const char* value(const  ::brics_actuator::Poison_<ContainerAllocator> &) { return value(); } 
00107 };
00108 
00109 } // namespace message_traits
00110 } // namespace ros
00111 
00112 namespace ros
00113 {
00114 namespace serialization
00115 {
00116 
00117 template<class ContainerAllocator> struct Serializer< ::brics_actuator::Poison_<ContainerAllocator> >
00118 {
00119   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00120   {
00121     stream.next(m.originator);
00122     stream.next(m.description);
00123     stream.next(m.qos);
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct Poison_
00128 } // namespace serialization
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135 
00136 template<class ContainerAllocator>
00137 struct Printer< ::brics_actuator::Poison_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::brics_actuator::Poison_<ContainerAllocator> & v) 
00140   {
00141     s << indent << "originator: ";
00142     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.originator);
00143     s << indent << "description: ";
00144     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.description);
00145     s << indent << "qos: ";
00146     Printer<float>::stream(s, indent + "  ", v.qos);
00147   }
00148 };
00149 
00150 
00151 } // namespace message_operations
00152 } // namespace ros
00153 
00154 #endif // BRICS_ACTUATOR_MESSAGE_POISON_H
00155 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


brics_actuator
Author(s): Alexander Bubeck
autogenerated on Fri Mar 1 2013 17:46:23