MassStamped.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-kyb-mpg-ros-pkg/doc_stacks/2013-11-11_11-09-26.678778/telekyb_common/tk_draft_msgs/msg/MassStamped.msg */
00002 #ifndef TK_DRAFT_MSGS_MESSAGE_MASSSTAMPED_H
00003 #define TK_DRAFT_MSGS_MESSAGE_MASSSTAMPED_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 "std_msgs/Header.h"
00018 
00019 namespace tk_draft_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct MassStamped_ {
00023   typedef MassStamped_<ContainerAllocator> Type;
00024 
00025   MassStamped_()
00026   : header()
00027   , mass(0.0)
00028   {
00029   }
00030 
00031   MassStamped_(const ContainerAllocator& _alloc)
00032   : header(_alloc)
00033   , mass(0.0)
00034   {
00035   }
00036 
00037   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00038    ::std_msgs::Header_<ContainerAllocator>  header;
00039 
00040   typedef double _mass_type;
00041   double mass;
00042 
00043 
00044   typedef boost::shared_ptr< ::tk_draft_msgs::MassStamped_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::tk_draft_msgs::MassStamped_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct MassStamped
00048 typedef  ::tk_draft_msgs::MassStamped_<std::allocator<void> > MassStamped;
00049 
00050 typedef boost::shared_ptr< ::tk_draft_msgs::MassStamped> MassStampedPtr;
00051 typedef boost::shared_ptr< ::tk_draft_msgs::MassStamped const> MassStampedConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::tk_draft_msgs::MassStamped_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::tk_draft_msgs::MassStamped_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace tk_draft_msgs
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::tk_draft_msgs::MassStamped_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::tk_draft_msgs::MassStamped_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::tk_draft_msgs::MassStamped_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "4f3a125b8254b3dbe253b4bd7ce38d9d";
00073   }
00074 
00075   static const char* value(const  ::tk_draft_msgs::MassStamped_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0x4f3a125b8254b3dbULL;
00077   static const uint64_t static_value2 = 0xe253b4bd7ce38d9dULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::tk_draft_msgs::MassStamped_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "tk_draft_msgs/MassStamped";
00085   }
00086 
00087   static const char* value(const  ::tk_draft_msgs::MassStamped_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::tk_draft_msgs::MassStamped_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "#\n\
00095 # Copyright 2011  Antonio Franchi and Martin Riedel    \n\
00096 #\n\
00097 # This file is part of TeleKyb.\n\
00098 #\n\
00099 # TeleKyb is free software: you can redistribute it and/or modify\n\
00100 # it under the terms of the GNU General Public License as published by\n\
00101 # the Free Software Foundation, either version 3 of the License, or\n\
00102 # (at your option) any later version.\n\
00103 #\n\
00104 # TeleKyb is distributed in the hope that it will be useful,\n\
00105 # but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
00106 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\
00107 # GNU General Public License for more details.\n\
00108 #\n\
00109 # You should have received a copy of the GNU General Public License\n\
00110 # along with TeleKyb. If not, see <http://www.gnu.org/licenses/>.\n\
00111 \n\
00112 # Contains the estimated mass\n\
00113 \n\
00114 Header header\n\
00115 \n\
00116 float64 mass\n\
00117 \n\
00118 ================================================================================\n\
00119 MSG: std_msgs/Header\n\
00120 # Standard metadata for higher-level stamped data types.\n\
00121 # This is generally used to communicate timestamped data \n\
00122 # in a particular coordinate frame.\n\
00123 # \n\
00124 # sequence ID: consecutively increasing ID \n\
00125 uint32 seq\n\
00126 #Two-integer timestamp that is expressed as:\n\
00127 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00128 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00129 # time-handling sugar is provided by the client library\n\
00130 time stamp\n\
00131 #Frame this data is associated with\n\
00132 # 0: no frame\n\
00133 # 1: global frame\n\
00134 string frame_id\n\
00135 \n\
00136 ";
00137   }
00138 
00139   static const char* value(const  ::tk_draft_msgs::MassStamped_<ContainerAllocator> &) { return value(); } 
00140 };
00141 
00142 template<class ContainerAllocator> struct HasHeader< ::tk_draft_msgs::MassStamped_<ContainerAllocator> > : public TrueType {};
00143 template<class ContainerAllocator> struct HasHeader< const ::tk_draft_msgs::MassStamped_<ContainerAllocator> > : public TrueType {};
00144 } // namespace message_traits
00145 } // namespace ros
00146 
00147 namespace ros
00148 {
00149 namespace serialization
00150 {
00151 
00152 template<class ContainerAllocator> struct Serializer< ::tk_draft_msgs::MassStamped_<ContainerAllocator> >
00153 {
00154   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00155   {
00156     stream.next(m.header);
00157     stream.next(m.mass);
00158   }
00159 
00160   ROS_DECLARE_ALLINONE_SERIALIZER;
00161 }; // struct MassStamped_
00162 } // namespace serialization
00163 } // namespace ros
00164 
00165 namespace ros
00166 {
00167 namespace message_operations
00168 {
00169 
00170 template<class ContainerAllocator>
00171 struct Printer< ::tk_draft_msgs::MassStamped_<ContainerAllocator> >
00172 {
00173   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::tk_draft_msgs::MassStamped_<ContainerAllocator> & v) 
00174   {
00175     s << indent << "header: ";
00176 s << std::endl;
00177     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00178     s << indent << "mass: ";
00179     Printer<double>::stream(s, indent + "  ", v.mass);
00180   }
00181 };
00182 
00183 
00184 } // namespace message_operations
00185 } // namespace ros
00186 
00187 #endif // TK_DRAFT_MSGS_MESSAGE_MASSSTAMPED_H
00188 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


tk_draft_msgs
Author(s): Martin Riedel
autogenerated on Mon Nov 11 2013 11:12:57