$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-ias_common/doc_stacks/2013-03-01_15-41-55.252100/ias_common/triangle_mesh_msgs/msg/Triangle.msg */ 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 private: 00049 static const char* __s_getDataType_() { return "triangle_mesh_msgs/Triangle"; } 00050 public: 00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00052 00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00054 00055 private: 00056 static const char* __s_getMD5Sum_() { return "4e5bc1f7ab41ceb0f12378d17f3b763d"; } 00057 public: 00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00059 00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00061 00062 private: 00063 static const char* __s_getMessageDefinition_() { return "int32 i\n\ 00064 int32 j\n\ 00065 int32 k\n\ 00066 \n\ 00067 \n\ 00068 \n\ 00069 "; } 00070 public: 00071 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00072 00073 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00074 00075 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00076 { 00077 ros::serialization::OStream stream(write_ptr, 1000000000); 00078 ros::serialization::serialize(stream, i); 00079 ros::serialization::serialize(stream, j); 00080 ros::serialization::serialize(stream, k); 00081 return stream.getData(); 00082 } 00083 00084 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00085 { 00086 ros::serialization::IStream stream(read_ptr, 1000000000); 00087 ros::serialization::deserialize(stream, i); 00088 ros::serialization::deserialize(stream, j); 00089 ros::serialization::deserialize(stream, k); 00090 return stream.getData(); 00091 } 00092 00093 ROS_DEPRECATED virtual uint32_t serializationLength() const 00094 { 00095 uint32_t size = 0; 00096 size += ros::serialization::serializationLength(i); 00097 size += ros::serialization::serializationLength(j); 00098 size += ros::serialization::serializationLength(k); 00099 return size; 00100 } 00101 00102 typedef boost::shared_ptr< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> > Ptr; 00103 typedef boost::shared_ptr< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> const> ConstPtr; 00104 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00105 }; // struct Triangle 00106 typedef ::triangle_mesh_msgs::Triangle_<std::allocator<void> > Triangle; 00107 00108 typedef boost::shared_ptr< ::triangle_mesh_msgs::Triangle> TrianglePtr; 00109 typedef boost::shared_ptr< ::triangle_mesh_msgs::Triangle const> TriangleConstPtr; 00110 00111 00112 template<typename ContainerAllocator> 00113 std::ostream& operator<<(std::ostream& s, const ::triangle_mesh_msgs::Triangle_<ContainerAllocator> & v) 00114 { 00115 ros::message_operations::Printer< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> >::stream(s, "", v); 00116 return s;} 00117 00118 } // namespace triangle_mesh_msgs 00119 00120 namespace ros 00121 { 00122 namespace message_traits 00123 { 00124 template<class ContainerAllocator> struct IsMessage< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> > : public TrueType {}; 00125 template<class ContainerAllocator> struct IsMessage< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> const> : public TrueType {}; 00126 template<class ContainerAllocator> 00127 struct MD5Sum< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> > { 00128 static const char* value() 00129 { 00130 return "4e5bc1f7ab41ceb0f12378d17f3b763d"; 00131 } 00132 00133 static const char* value(const ::triangle_mesh_msgs::Triangle_<ContainerAllocator> &) { return value(); } 00134 static const uint64_t static_value1 = 0x4e5bc1f7ab41ceb0ULL; 00135 static const uint64_t static_value2 = 0xf12378d17f3b763dULL; 00136 }; 00137 00138 template<class ContainerAllocator> 00139 struct DataType< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> > { 00140 static const char* value() 00141 { 00142 return "triangle_mesh_msgs/Triangle"; 00143 } 00144 00145 static const char* value(const ::triangle_mesh_msgs::Triangle_<ContainerAllocator> &) { return value(); } 00146 }; 00147 00148 template<class ContainerAllocator> 00149 struct Definition< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> > { 00150 static const char* value() 00151 { 00152 return "int32 i\n\ 00153 int32 j\n\ 00154 int32 k\n\ 00155 \n\ 00156 \n\ 00157 \n\ 00158 "; 00159 } 00160 00161 static const char* value(const ::triangle_mesh_msgs::Triangle_<ContainerAllocator> &) { return value(); } 00162 }; 00163 00164 template<class ContainerAllocator> struct IsFixedSize< ::triangle_mesh_msgs::Triangle_<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< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> > 00174 { 00175 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00176 { 00177 stream.next(m.i); 00178 stream.next(m.j); 00179 stream.next(m.k); 00180 } 00181 00182 ROS_DECLARE_ALLINONE_SERIALIZER; 00183 }; // struct Triangle_ 00184 } // namespace serialization 00185 } // namespace ros 00186 00187 namespace ros 00188 { 00189 namespace message_operations 00190 { 00191 00192 template<class ContainerAllocator> 00193 struct Printer< ::triangle_mesh_msgs::Triangle_<ContainerAllocator> > 00194 { 00195 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::triangle_mesh_msgs::Triangle_<ContainerAllocator> & v) 00196 { 00197 s << indent << "i: "; 00198 Printer<int32_t>::stream(s, indent + " ", v.i); 00199 s << indent << "j: "; 00200 Printer<int32_t>::stream(s, indent + " ", v.j); 00201 s << indent << "k: "; 00202 Printer<int32_t>::stream(s, indent + " ", v.k); 00203 } 00204 }; 00205 00206 00207 } // namespace message_operations 00208 } // namespace ros 00209 00210 #endif // TRIANGLE_MESH_MSGS_MESSAGE_TRIANGLE_H 00211