Go to the documentation of this file.00001
00002 #ifndef TRIANGLE_MESH_MSGS_MESSAGE_TRIANGLE_H
00003 #define TRIANGLE_MESH_MSGS_MESSAGE_TRIANGLE_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 triangle_mesh_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct Triangle_ {
00022 typedef Triangle_<ContainerAllocator> Type;
00023
00024 Triangle_()
00025 : i(0)
00026 , j(0)
00027 , k(0)
00028 {
00029 }
00030
00031 Triangle_(const ContainerAllocator& _alloc)
00032 : i(0)
00033 , j(0)
00034 , k(0)
00035 {
00036 }
00037
00038 typedef int32_t _i_type;
00039 int32_t i;
00040
00041 typedef int32_t _j_type;
00042 int32_t j;
00043
00044 typedef int32_t _k_type;
00045 int32_t k;
00046
00047
00048 typedef boost::shared_ptr< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> > Ptr;
00049 typedef boost::shared_ptr< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> const> ConstPtr;
00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 };
00052 typedef ::triangle_mesh_msgs::Triangle_<std::allocator<void> > Triangle;
00053
00054 typedef boost::shared_ptr< ::triangle_mesh_msgs::Triangle> TrianglePtr;
00055 typedef boost::shared_ptr< ::triangle_mesh_msgs::Triangle const> TriangleConstPtr;
00056
00057
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const ::triangle_mesh_msgs::Triangle_<ContainerAllocator> & v)
00060 {
00061 ros::message_operations::Printer< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> >::stream(s, "", v);
00062 return s;}
00063
00064 }
00065
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> > {
00074 static const char* value()
00075 {
00076 return "4e5bc1f7ab41ceb0f12378d17f3b763d";
00077 }
00078
00079 static const char* value(const ::triangle_mesh_msgs::Triangle_<ContainerAllocator> &) { return value(); }
00080 static const uint64_t static_value1 = 0x4e5bc1f7ab41ceb0ULL;
00081 static const uint64_t static_value2 = 0xf12378d17f3b763dULL;
00082 };
00083
00084 template<class ContainerAllocator>
00085 struct DataType< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> > {
00086 static const char* value()
00087 {
00088 return "triangle_mesh_msgs/Triangle";
00089 }
00090
00091 static const char* value(const ::triangle_mesh_msgs::Triangle_<ContainerAllocator> &) { return value(); }
00092 };
00093
00094 template<class ContainerAllocator>
00095 struct Definition< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "int32 i\n\
00099 int32 j\n\
00100 int32 k\n\
00101 \n\
00102 \n\
00103 \n\
00104 ";
00105 }
00106
00107 static const char* value(const ::triangle_mesh_msgs::Triangle_<ContainerAllocator> &) { return value(); }
00108 };
00109
00110 template<class ContainerAllocator> struct IsFixedSize< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> > : public TrueType {};
00111 }
00112 }
00113
00114 namespace ros
00115 {
00116 namespace serialization
00117 {
00118
00119 template<class ContainerAllocator> struct Serializer< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> >
00120 {
00121 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00122 {
00123 stream.next(m.i);
00124 stream.next(m.j);
00125 stream.next(m.k);
00126 }
00127
00128 ROS_DECLARE_ALLINONE_SERIALIZER;
00129 };
00130 }
00131 }
00132
00133 namespace ros
00134 {
00135 namespace message_operations
00136 {
00137
00138 template<class ContainerAllocator>
00139 struct Printer< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> >
00140 {
00141 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::triangle_mesh_msgs::Triangle_<ContainerAllocator> & v)
00142 {
00143 s << indent << "i: ";
00144 Printer<int32_t>::stream(s, indent + " ", v.i);
00145 s << indent << "j: ";
00146 Printer<int32_t>::stream(s, indent + " ", v.j);
00147 s << indent << "k: ";
00148 Printer<int32_t>::stream(s, indent + " ", v.k);
00149 }
00150 };
00151
00152
00153 }
00154 }
00155
00156 #endif // TRIANGLE_MESH_MSGS_MESSAGE_TRIANGLE_H
00157