Skeleton.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-skeleton_markers/doc_stacks/2014-01-03_11-56-14.256180/skeleton_markers/msg/Skeleton.msg */
00002 #ifndef SKELETON_MARKERS_MESSAGE_SKELETON_H
00003 #define SKELETON_MARKERS_MESSAGE_SKELETON_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 #include "geometry_msgs/Vector3.h"
00019 #include "geometry_msgs/Quaternion.h"
00020 
00021 namespace skeleton_markers
00022 {
00023 template <class ContainerAllocator>
00024 struct Skeleton_ {
00025   typedef Skeleton_<ContainerAllocator> Type;
00026 
00027   Skeleton_()
00028   : header()
00029   , user_id(0)
00030   , name()
00031   , confidence()
00032   , position()
00033   , orientation()
00034   {
00035   }
00036 
00037   Skeleton_(const ContainerAllocator& _alloc)
00038   : header(_alloc)
00039   , user_id(0)
00040   , name(_alloc)
00041   , confidence(_alloc)
00042   , position(_alloc)
00043   , orientation(_alloc)
00044   {
00045   }
00046 
00047   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00048    ::std_msgs::Header_<ContainerAllocator>  header;
00049 
00050   typedef int32_t _user_id_type;
00051   int32_t user_id;
00052 
00053   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _name_type;
00054   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  name;
00055 
00056   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _confidence_type;
00057   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  confidence;
00058 
00059   typedef std::vector< ::geometry_msgs::Vector3_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Vector3_<ContainerAllocator> >::other >  _position_type;
00060   std::vector< ::geometry_msgs::Vector3_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Vector3_<ContainerAllocator> >::other >  position;
00061 
00062   typedef std::vector< ::geometry_msgs::Quaternion_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Quaternion_<ContainerAllocator> >::other >  _orientation_type;
00063   std::vector< ::geometry_msgs::Quaternion_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Quaternion_<ContainerAllocator> >::other >  orientation;
00064 
00065 
00066   typedef boost::shared_ptr< ::skeleton_markers::Skeleton_<ContainerAllocator> > Ptr;
00067   typedef boost::shared_ptr< ::skeleton_markers::Skeleton_<ContainerAllocator>  const> ConstPtr;
00068   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 }; // struct Skeleton
00070 typedef  ::skeleton_markers::Skeleton_<std::allocator<void> > Skeleton;
00071 
00072 typedef boost::shared_ptr< ::skeleton_markers::Skeleton> SkeletonPtr;
00073 typedef boost::shared_ptr< ::skeleton_markers::Skeleton const> SkeletonConstPtr;
00074 
00075 
00076 template<typename ContainerAllocator>
00077 std::ostream& operator<<(std::ostream& s, const  ::skeleton_markers::Skeleton_<ContainerAllocator> & v)
00078 {
00079   ros::message_operations::Printer< ::skeleton_markers::Skeleton_<ContainerAllocator> >::stream(s, "", v);
00080   return s;}
00081 
00082 } // namespace skeleton_markers
00083 
00084 namespace ros
00085 {
00086 namespace message_traits
00087 {
00088 template<class ContainerAllocator> struct IsMessage< ::skeleton_markers::Skeleton_<ContainerAllocator> > : public TrueType {};
00089 template<class ContainerAllocator> struct IsMessage< ::skeleton_markers::Skeleton_<ContainerAllocator>  const> : public TrueType {};
00090 template<class ContainerAllocator>
00091 struct MD5Sum< ::skeleton_markers::Skeleton_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "34722af981b6a61700ff31df5a97c2e0";
00095   }
00096 
00097   static const char* value(const  ::skeleton_markers::Skeleton_<ContainerAllocator> &) { return value(); } 
00098   static const uint64_t static_value1 = 0x34722af981b6a617ULL;
00099   static const uint64_t static_value2 = 0x00ff31df5a97c2e0ULL;
00100 };
00101 
00102 template<class ContainerAllocator>
00103 struct DataType< ::skeleton_markers::Skeleton_<ContainerAllocator> > {
00104   static const char* value() 
00105   {
00106     return "skeleton_markers/Skeleton";
00107   }
00108 
00109   static const char* value(const  ::skeleton_markers::Skeleton_<ContainerAllocator> &) { return value(); } 
00110 };
00111 
00112 template<class ContainerAllocator>
00113 struct Definition< ::skeleton_markers::Skeleton_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "Header header\n\
00117 int32 user_id\n\
00118 string[] name\n\
00119 float32[] confidence\n\
00120 geometry_msgs/Vector3[] position\n\
00121 geometry_msgs/Quaternion[] orientation\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: std_msgs/Header\n\
00125 # Standard metadata for higher-level stamped data types.\n\
00126 # This is generally used to communicate timestamped data \n\
00127 # in a particular coordinate frame.\n\
00128 # \n\
00129 # sequence ID: consecutively increasing ID \n\
00130 uint32 seq\n\
00131 #Two-integer timestamp that is expressed as:\n\
00132 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00133 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00134 # time-handling sugar is provided by the client library\n\
00135 time stamp\n\
00136 #Frame this data is associated with\n\
00137 # 0: no frame\n\
00138 # 1: global frame\n\
00139 string frame_id\n\
00140 \n\
00141 ================================================================================\n\
00142 MSG: geometry_msgs/Vector3\n\
00143 # This represents a vector in free space. \n\
00144 \n\
00145 float64 x\n\
00146 float64 y\n\
00147 float64 z\n\
00148 ================================================================================\n\
00149 MSG: geometry_msgs/Quaternion\n\
00150 # This represents an orientation in free space in quaternion form.\n\
00151 \n\
00152 float64 x\n\
00153 float64 y\n\
00154 float64 z\n\
00155 float64 w\n\
00156 \n\
00157 ";
00158   }
00159 
00160   static const char* value(const  ::skeleton_markers::Skeleton_<ContainerAllocator> &) { return value(); } 
00161 };
00162 
00163 template<class ContainerAllocator> struct HasHeader< ::skeleton_markers::Skeleton_<ContainerAllocator> > : public TrueType {};
00164 template<class ContainerAllocator> struct HasHeader< const ::skeleton_markers::Skeleton_<ContainerAllocator> > : public TrueType {};
00165 } // namespace message_traits
00166 } // namespace ros
00167 
00168 namespace ros
00169 {
00170 namespace serialization
00171 {
00172 
00173 template<class ContainerAllocator> struct Serializer< ::skeleton_markers::Skeleton_<ContainerAllocator> >
00174 {
00175   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00176   {
00177     stream.next(m.header);
00178     stream.next(m.user_id);
00179     stream.next(m.name);
00180     stream.next(m.confidence);
00181     stream.next(m.position);
00182     stream.next(m.orientation);
00183   }
00184 
00185   ROS_DECLARE_ALLINONE_SERIALIZER;
00186 }; // struct Skeleton_
00187 } // namespace serialization
00188 } // namespace ros
00189 
00190 namespace ros
00191 {
00192 namespace message_operations
00193 {
00194 
00195 template<class ContainerAllocator>
00196 struct Printer< ::skeleton_markers::Skeleton_<ContainerAllocator> >
00197 {
00198   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::skeleton_markers::Skeleton_<ContainerAllocator> & v) 
00199   {
00200     s << indent << "header: ";
00201 s << std::endl;
00202     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00203     s << indent << "user_id: ";
00204     Printer<int32_t>::stream(s, indent + "  ", v.user_id);
00205     s << indent << "name[]" << std::endl;
00206     for (size_t i = 0; i < v.name.size(); ++i)
00207     {
00208       s << indent << "  name[" << i << "]: ";
00209       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name[i]);
00210     }
00211     s << indent << "confidence[]" << std::endl;
00212     for (size_t i = 0; i < v.confidence.size(); ++i)
00213     {
00214       s << indent << "  confidence[" << i << "]: ";
00215       Printer<float>::stream(s, indent + "  ", v.confidence[i]);
00216     }
00217     s << indent << "position[]" << std::endl;
00218     for (size_t i = 0; i < v.position.size(); ++i)
00219     {
00220       s << indent << "  position[" << i << "]: ";
00221       s << std::endl;
00222       s << indent;
00223       Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "    ", v.position[i]);
00224     }
00225     s << indent << "orientation[]" << std::endl;
00226     for (size_t i = 0; i < v.orientation.size(); ++i)
00227     {
00228       s << indent << "  orientation[" << i << "]: ";
00229       s << std::endl;
00230       s << indent;
00231       Printer< ::geometry_msgs::Quaternion_<ContainerAllocator> >::stream(s, indent + "    ", v.orientation[i]);
00232     }
00233   }
00234 };
00235 
00236 
00237 } // namespace message_operations
00238 } // namespace ros
00239 
00240 #endif // SKELETON_MARKERS_MESSAGE_SKELETON_H
00241 


skeleton_markers
Author(s): Patrick Goebel
autogenerated on Fri Jan 3 2014 11:57:20