grasp.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-srs_common/doc_stacks/2014-01-05_11-34-05.715009/srs_common/srs_object_database_msgs/msg/grasp.msg */
00002 #ifndef SRS_OBJECT_DATABASE_MSGS_MESSAGE_GRASP_H
00003 #define SRS_OBJECT_DATABASE_MSGS_MESSAGE_GRASP_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 srs_object_database_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct grasp_ {
00022   typedef grasp_<ContainerAllocator> Type;
00023 
00024   grasp_()
00025   : objectId(0)
00026   , Objecttype()
00027   , pose()
00028   , fileDescription()
00029   , bs()
00030   , size(0)
00031   {
00032   }
00033 
00034   grasp_(const ContainerAllocator& _alloc)
00035   : objectId(0)
00036   , Objecttype(_alloc)
00037   , pose(_alloc)
00038   , fileDescription(_alloc)
00039   , bs(_alloc)
00040   , size(0)
00041   {
00042   }
00043 
00044   typedef int32_t _objectId_type;
00045   int32_t objectId;
00046 
00047   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _Objecttype_type;
00048   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  Objecttype;
00049 
00050   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _pose_type;
00051   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  pose;
00052 
00053   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _fileDescription_type;
00054   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  fileDescription;
00055 
00056   typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  _bs_type;
00057   std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  bs;
00058 
00059   typedef int32_t _size_type;
00060   int32_t size;
00061 
00062 
00063   typedef boost::shared_ptr< ::srs_object_database_msgs::grasp_<ContainerAllocator> > Ptr;
00064   typedef boost::shared_ptr< ::srs_object_database_msgs::grasp_<ContainerAllocator>  const> ConstPtr;
00065   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00066 }; // struct grasp
00067 typedef  ::srs_object_database_msgs::grasp_<std::allocator<void> > grasp;
00068 
00069 typedef boost::shared_ptr< ::srs_object_database_msgs::grasp> graspPtr;
00070 typedef boost::shared_ptr< ::srs_object_database_msgs::grasp const> graspConstPtr;
00071 
00072 
00073 template<typename ContainerAllocator>
00074 std::ostream& operator<<(std::ostream& s, const  ::srs_object_database_msgs::grasp_<ContainerAllocator> & v)
00075 {
00076   ros::message_operations::Printer< ::srs_object_database_msgs::grasp_<ContainerAllocator> >::stream(s, "", v);
00077   return s;}
00078 
00079 } // namespace srs_object_database_msgs
00080 
00081 namespace ros
00082 {
00083 namespace message_traits
00084 {
00085 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::grasp_<ContainerAllocator> > : public TrueType {};
00086 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::grasp_<ContainerAllocator>  const> : public TrueType {};
00087 template<class ContainerAllocator>
00088 struct MD5Sum< ::srs_object_database_msgs::grasp_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "cbd3885e5b559dd3c0fbffd8fcb36583";
00092   }
00093 
00094   static const char* value(const  ::srs_object_database_msgs::grasp_<ContainerAllocator> &) { return value(); } 
00095   static const uint64_t static_value1 = 0xcbd3885e5b559dd3ULL;
00096   static const uint64_t static_value2 = 0xc0fbffd8fcb36583ULL;
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct DataType< ::srs_object_database_msgs::grasp_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "srs_object_database_msgs/grasp";
00104   }
00105 
00106   static const char* value(const  ::srs_object_database_msgs::grasp_<ContainerAllocator> &) { return value(); } 
00107 };
00108 
00109 template<class ContainerAllocator>
00110 struct Definition< ::srs_object_database_msgs::grasp_<ContainerAllocator> > {
00111   static const char* value() 
00112   {
00113     return "int32 objectId\n\
00114 string Objecttype\n\
00115 string pose\n\
00116 string fileDescription\n\
00117 uint8[] bs\n\
00118 int32 size\n\
00119 \n\
00120 ";
00121   }
00122 
00123   static const char* value(const  ::srs_object_database_msgs::grasp_<ContainerAllocator> &) { return value(); } 
00124 };
00125 
00126 } // namespace message_traits
00127 } // namespace ros
00128 
00129 namespace ros
00130 {
00131 namespace serialization
00132 {
00133 
00134 template<class ContainerAllocator> struct Serializer< ::srs_object_database_msgs::grasp_<ContainerAllocator> >
00135 {
00136   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00137   {
00138     stream.next(m.objectId);
00139     stream.next(m.Objecttype);
00140     stream.next(m.pose);
00141     stream.next(m.fileDescription);
00142     stream.next(m.bs);
00143     stream.next(m.size);
00144   }
00145 
00146   ROS_DECLARE_ALLINONE_SERIALIZER;
00147 }; // struct grasp_
00148 } // namespace serialization
00149 } // namespace ros
00150 
00151 namespace ros
00152 {
00153 namespace message_operations
00154 {
00155 
00156 template<class ContainerAllocator>
00157 struct Printer< ::srs_object_database_msgs::grasp_<ContainerAllocator> >
00158 {
00159   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::srs_object_database_msgs::grasp_<ContainerAllocator> & v) 
00160   {
00161     s << indent << "objectId: ";
00162     Printer<int32_t>::stream(s, indent + "  ", v.objectId);
00163     s << indent << "Objecttype: ";
00164     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.Objecttype);
00165     s << indent << "pose: ";
00166     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.pose);
00167     s << indent << "fileDescription: ";
00168     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.fileDescription);
00169     s << indent << "bs[]" << std::endl;
00170     for (size_t i = 0; i < v.bs.size(); ++i)
00171     {
00172       s << indent << "  bs[" << i << "]: ";
00173       Printer<uint8_t>::stream(s, indent + "  ", v.bs[i]);
00174     }
00175     s << indent << "size: ";
00176     Printer<int32_t>::stream(s, indent + "  ", v.size);
00177   }
00178 };
00179 
00180 
00181 } // namespace message_operations
00182 } // namespace ros
00183 
00184 #endif // SRS_OBJECT_DATABASE_MSGS_MESSAGE_GRASP_H
00185 


srs_object_database_msgs
Author(s): Georg Arbeiter
autogenerated on Sun Jan 5 2014 11:36:26