MultiTouch.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/doc_stacks/2013-03-23_12-16-27.483192/jsk-ros-pkg/jsk_smart_apps/jsk_gui_msgs/msg/MultiTouch.msg */
00002 #ifndef JSK_GUI_MSGS_MESSAGE_MULTITOUCH_H
00003 #define JSK_GUI_MSGS_MESSAGE_MULTITOUCH_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 "jsk_gui_msgs/Touch.h"
00018 
00019 namespace jsk_gui_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct MultiTouch_ {
00023   typedef MultiTouch_<ContainerAllocator> Type;
00024 
00025   MultiTouch_()
00026   : touches()
00027   {
00028   }
00029 
00030   MultiTouch_(const ContainerAllocator& _alloc)
00031   : touches(_alloc)
00032   {
00033   }
00034 
00035   typedef std::vector< ::jsk_gui_msgs::Touch_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::jsk_gui_msgs::Touch_<ContainerAllocator> >::other >  _touches_type;
00036   std::vector< ::jsk_gui_msgs::Touch_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::jsk_gui_msgs::Touch_<ContainerAllocator> >::other >  touches;
00037 
00038 
00039   typedef boost::shared_ptr< ::jsk_gui_msgs::MultiTouch_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::jsk_gui_msgs::MultiTouch_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct MultiTouch
00043 typedef  ::jsk_gui_msgs::MultiTouch_<std::allocator<void> > MultiTouch;
00044 
00045 typedef boost::shared_ptr< ::jsk_gui_msgs::MultiTouch> MultiTouchPtr;
00046 typedef boost::shared_ptr< ::jsk_gui_msgs::MultiTouch const> MultiTouchConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::jsk_gui_msgs::MultiTouch_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::jsk_gui_msgs::MultiTouch_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace jsk_gui_msgs
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::jsk_gui_msgs::MultiTouch_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::jsk_gui_msgs::MultiTouch_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::jsk_gui_msgs::MultiTouch_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "9f4a309588ef669e69a71aa5601ea65e";
00068   }
00069 
00070   static const char* value(const  ::jsk_gui_msgs::MultiTouch_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0x9f4a309588ef669eULL;
00072   static const uint64_t static_value2 = 0x69a71aa5601ea65eULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::jsk_gui_msgs::MultiTouch_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "jsk_gui_msgs/MultiTouch";
00080   }
00081 
00082   static const char* value(const  ::jsk_gui_msgs::MultiTouch_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::jsk_gui_msgs::MultiTouch_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "Touch[] touches\n\
00090 ================================================================================\n\
00091 MSG: jsk_gui_msgs/Touch\n\
00092 # finger_id\n\
00093 int64 finger_id\n\
00094 # touch point(screen point)\n\
00095 float64 x\n\
00096 float64 y\n\
00097 # based image size (usually not needed)\n\
00098 int64 image_width\n\
00099 int64 image_height\n\
00100 ";
00101   }
00102 
00103   static const char* value(const  ::jsk_gui_msgs::MultiTouch_<ContainerAllocator> &) { return value(); } 
00104 };
00105 
00106 } // namespace message_traits
00107 } // namespace ros
00108 
00109 namespace ros
00110 {
00111 namespace serialization
00112 {
00113 
00114 template<class ContainerAllocator> struct Serializer< ::jsk_gui_msgs::MultiTouch_<ContainerAllocator> >
00115 {
00116   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00117   {
00118     stream.next(m.touches);
00119   }
00120 
00121   ROS_DECLARE_ALLINONE_SERIALIZER;
00122 }; // struct MultiTouch_
00123 } // namespace serialization
00124 } // namespace ros
00125 
00126 namespace ros
00127 {
00128 namespace message_operations
00129 {
00130 
00131 template<class ContainerAllocator>
00132 struct Printer< ::jsk_gui_msgs::MultiTouch_<ContainerAllocator> >
00133 {
00134   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::jsk_gui_msgs::MultiTouch_<ContainerAllocator> & v) 
00135   {
00136     s << indent << "touches[]" << std::endl;
00137     for (size_t i = 0; i < v.touches.size(); ++i)
00138     {
00139       s << indent << "  touches[" << i << "]: ";
00140       s << std::endl;
00141       s << indent;
00142       Printer< ::jsk_gui_msgs::Touch_<ContainerAllocator> >::stream(s, indent + "    ", v.touches[i]);
00143     }
00144   }
00145 };
00146 
00147 
00148 } // namespace message_operations
00149 } // namespace ros
00150 
00151 #endif // JSK_GUI_MSGS_MESSAGE_MULTITOUCH_H
00152 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


jsk_gui_msgs
Author(s): chen
autogenerated on Sat Mar 23 2013 16:13:09