Property.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-tue/doc_stacks/2014-01-07_11-38-14.555624/wire/wire_msgs/msg/Property.msg */
00002 #ifndef WIRE_MSGS_MESSAGE_PROPERTY_H
00003 #define WIRE_MSGS_MESSAGE_PROPERTY_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 #include "problib/PDF.h"
00018 
00019 namespace wire_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct Property_ {
00023   typedef Property_<ContainerAllocator> Type;
00024 
00025   Property_()
00026   : attribute()
00027   , pdf()
00028   {
00029   }
00030 
00031   Property_(const ContainerAllocator& _alloc)
00032   : attribute(_alloc)
00033   , pdf(_alloc)
00034   {
00035   }
00036 
00037   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _attribute_type;
00038   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  attribute;
00039 
00040   typedef  ::problib::PDF_<ContainerAllocator>  _pdf_type;
00041    ::problib::PDF_<ContainerAllocator>  pdf;
00042 
00043 
00044   typedef boost::shared_ptr< ::wire_msgs::Property_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::wire_msgs::Property_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct Property
00048 typedef  ::wire_msgs::Property_<std::allocator<void> > Property;
00049 
00050 typedef boost::shared_ptr< ::wire_msgs::Property> PropertyPtr;
00051 typedef boost::shared_ptr< ::wire_msgs::Property const> PropertyConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::wire_msgs::Property_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::wire_msgs::Property_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace wire_msgs
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::wire_msgs::Property_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::wire_msgs::Property_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::wire_msgs::Property_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "1c9edd1723693723df74ea64db341104";
00073   }
00074 
00075   static const char* value(const  ::wire_msgs::Property_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0x1c9edd1723693723ULL;
00077   static const uint64_t static_value2 = 0xdf74ea64db341104ULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::wire_msgs::Property_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "wire_msgs/Property";
00085   }
00086 
00087   static const char* value(const  ::wire_msgs::Property_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::wire_msgs::Property_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "string attribute\n\
00095 problib/PDF pdf\n\
00096 \n\
00097 ================================================================================\n\
00098 MSG: problib/PDF\n\
00099 uint8 EXACT=0     # Is here for easier msg creation, but is actually a specialized case:\n\
00100                   # - continuous: is a Gaussian with zero covariance\n\
00101                   # - discrete: is a Discrete pdf with one entry with P=1                \n\
00102 uint8 GAUSSIAN=1\n\
00103 uint8 UNIFORM=2\n\
00104 uint8 PARTICLES=3\n\
00105 uint8 MIXTURE=4\n\
00106 uint8 DISCRETE=5\n\
00107 uint8 HYBRID=6\n\
00108 \n\
00109 uint8 type\n\
00110 uint32 dimensions\n\
00111 \n\
00112 # For continuous pdf's\n\
00113 float64[] data\n\
00114 \n\
00115 # For discrete pdf's (pmf)\n\
00116 int32 domain_size\n\
00117 string[] values\n\
00118 float64[] probabilities\n\
00119 \n\
00120 # For exact values, either a string or a vector\n\
00121 string exact_value_str\n\
00122 float64[] exact_value_vec\n\
00123 \n\
00124 ";
00125   }
00126 
00127   static const char* value(const  ::wire_msgs::Property_<ContainerAllocator> &) { return value(); } 
00128 };
00129 
00130 } // namespace message_traits
00131 } // namespace ros
00132 
00133 namespace ros
00134 {
00135 namespace serialization
00136 {
00137 
00138 template<class ContainerAllocator> struct Serializer< ::wire_msgs::Property_<ContainerAllocator> >
00139 {
00140   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00141   {
00142     stream.next(m.attribute);
00143     stream.next(m.pdf);
00144   }
00145 
00146   ROS_DECLARE_ALLINONE_SERIALIZER;
00147 }; // struct Property_
00148 } // namespace serialization
00149 } // namespace ros
00150 
00151 namespace ros
00152 {
00153 namespace message_operations
00154 {
00155 
00156 template<class ContainerAllocator>
00157 struct Printer< ::wire_msgs::Property_<ContainerAllocator> >
00158 {
00159   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::wire_msgs::Property_<ContainerAllocator> & v) 
00160   {
00161     s << indent << "attribute: ";
00162     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.attribute);
00163     s << indent << "pdf: ";
00164 s << std::endl;
00165     Printer< ::problib::PDF_<ContainerAllocator> >::stream(s, indent + "  ", v.pdf);
00166   }
00167 };
00168 
00169 
00170 } // namespace message_operations
00171 } // namespace ros
00172 
00173 #endif // WIRE_MSGS_MESSAGE_PROPERTY_H
00174 


wire_msgs
Author(s): Sjoerd van den Dries
autogenerated on Tue Jan 7 2014 11:42:56