ParamMsg.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-alufr-ros-pkg/doc_stacks/2012-12-26_15-13-16.045312/articulation/articulation_msgs/msg/ParamMsg.msg */
00002 #ifndef ARTICULATION_MSGS_MESSAGE_PARAMMSG_H
00003 #define ARTICULATION_MSGS_MESSAGE_PARAMMSG_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 articulation_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct ParamMsg_ {
00022   typedef ParamMsg_<ContainerAllocator> Type;
00023 
00024   ParamMsg_()
00025   : name()
00026   , value(0.0)
00027   , type(0)
00028   {
00029   }
00030 
00031   ParamMsg_(const ContainerAllocator& _alloc)
00032   : name(_alloc)
00033   , value(0.0)
00034   , type(0)
00035   {
00036   }
00037 
00038   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00039   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00040 
00041   typedef double _value_type;
00042   double value;
00043 
00044   typedef uint8_t _type_type;
00045   uint8_t type;
00046 
00047   enum { PRIOR = 0 };
00048   enum { PARAM = 1 };
00049   enum { EVAL = 2 };
00050 
00051   typedef boost::shared_ptr< ::articulation_msgs::ParamMsg_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::articulation_msgs::ParamMsg_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct ParamMsg
00055 typedef  ::articulation_msgs::ParamMsg_<std::allocator<void> > ParamMsg;
00056 
00057 typedef boost::shared_ptr< ::articulation_msgs::ParamMsg> ParamMsgPtr;
00058 typedef boost::shared_ptr< ::articulation_msgs::ParamMsg const> ParamMsgConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::articulation_msgs::ParamMsg_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::articulation_msgs::ParamMsg_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace articulation_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::articulation_msgs::ParamMsg_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::articulation_msgs::ParamMsg_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::articulation_msgs::ParamMsg_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "6b116ef40eb37aa2f03e65c1a95f8bf1";
00080   }
00081 
00082   static const char* value(const  ::articulation_msgs::ParamMsg_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x6b116ef40eb37aa2ULL;
00084   static const uint64_t static_value2 = 0xf03e65c1a95f8bf1ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::articulation_msgs::ParamMsg_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "articulation_msgs/ParamMsg";
00092   }
00093 
00094   static const char* value(const  ::articulation_msgs::ParamMsg_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::articulation_msgs::ParamMsg_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# Single parameter passed to or from model fitting\n\
00102 #\n\
00103 # This mechanism allows to flexibly pass parameters to \n\
00104 # model fitting (and vice versa). Note that these parameters \n\
00105 # are model-specific: A client may supply additional\n\
00106 # parameters to the model estimator, and, similarly, a estimator\n\
00107 # may add the estimated model parameters to the model message.\n\
00108 # When the model is then evaluated, for example to make predictions\n\
00109 # or to compute the likelihood, the model class can then use\n\
00110 # these parameters.\n\
00111 #\n\
00112 # A parameter has a name, a value, and a type. The type globally\n\
00113 # indicates whether it is a prior parameter (prior to model fitting),\n\
00114 # or a model parameter (found during model fitting, using a maximum-\n\
00115 # likelihood estimator), or a cached evaluation (e.g., the likelihood\n\
00116 # or the BIC are a typical \"side\"-product of model estimation, and\n\
00117 # can therefore already be cached).\n\
00118 #\n\
00119 # For a list of currently used parameters, see the documentation at\n\
00120 # http://www.ros.org/wiki/articulation_models\n\
00121 #\n\
00122 \n\
00123 uint8 PRIOR=0   # indicates a prior model parameter \n\
00124                 # (e.g., \"sigma_position\")\n\
00125 uint8 PARAM=1   # indicates a estimated model parameter \n\
00126                 # (e.g., \"rot_radius\", the estimated radius)\n\
00127 uint8 EVAL=2    # indicates a cached evaluation of the model, given \n\
00128                 # the current trajectory\n\
00129                 # (e.g., \"loglikelihood\", the log likelihood of the\n\
00130                 # data, given the model and its parameters)\n\
00131 \n\
00132 string name     # name of the parameter\n\
00133 float64 value   # value of the parameter\n\
00134 uint8 type      # type of the parameter (PRIOR, PARAM, EVAL)\n\
00135 \n\
00136 \n\
00137 ";
00138   }
00139 
00140   static const char* value(const  ::articulation_msgs::ParamMsg_<ContainerAllocator> &) { return value(); } 
00141 };
00142 
00143 } // namespace message_traits
00144 } // namespace ros
00145 
00146 namespace ros
00147 {
00148 namespace serialization
00149 {
00150 
00151 template<class ContainerAllocator> struct Serializer< ::articulation_msgs::ParamMsg_<ContainerAllocator> >
00152 {
00153   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00154   {
00155     stream.next(m.name);
00156     stream.next(m.value);
00157     stream.next(m.type);
00158   }
00159 
00160   ROS_DECLARE_ALLINONE_SERIALIZER;
00161 }; // struct ParamMsg_
00162 } // namespace serialization
00163 } // namespace ros
00164 
00165 namespace ros
00166 {
00167 namespace message_operations
00168 {
00169 
00170 template<class ContainerAllocator>
00171 struct Printer< ::articulation_msgs::ParamMsg_<ContainerAllocator> >
00172 {
00173   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::articulation_msgs::ParamMsg_<ContainerAllocator> & v) 
00174   {
00175     s << indent << "name: ";
00176     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00177     s << indent << "value: ";
00178     Printer<double>::stream(s, indent + "  ", v.value);
00179     s << indent << "type: ";
00180     Printer<uint8_t>::stream(s, indent + "  ", v.type);
00181   }
00182 };
00183 
00184 
00185 } // namespace message_operations
00186 } // namespace ros
00187 
00188 #endif // ARTICULATION_MSGS_MESSAGE_PARAMMSG_H
00189 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


articulation_msgs
Author(s): Juergen Sturm
autogenerated on Wed Dec 26 2012 15:30:49