PlaneArray.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-srs_public/doc_stacks/2014-01-05_11-35-06.523601/srs_public/srs_env_model_msgs/msg/PlaneArray.msg */
00002 #ifndef SRS_ENV_MODEL_MSGS_MESSAGE_PLANEARRAY_H
00003 #define SRS_ENV_MODEL_MSGS_MESSAGE_PLANEARRAY_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 "srs_env_model_msgs/PlaneDesc.h"
00019 
00020 namespace srs_env_model_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct PlaneArray_ {
00024   typedef PlaneArray_<ContainerAllocator> Type;
00025 
00026   PlaneArray_()
00027   : header()
00028   , planes()
00029   {
00030   }
00031 
00032   PlaneArray_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , planes(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00039    ::std_msgs::Header_<ContainerAllocator>  header;
00040 
00041   typedef std::vector< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> >::other >  _planes_type;
00042   std::vector< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> >::other >  planes;
00043 
00044 
00045   typedef boost::shared_ptr< ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::srs_env_model_msgs::PlaneArray_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct PlaneArray
00049 typedef  ::srs_env_model_msgs::PlaneArray_<std::allocator<void> > PlaneArray;
00050 
00051 typedef boost::shared_ptr< ::srs_env_model_msgs::PlaneArray> PlaneArrayPtr;
00052 typedef boost::shared_ptr< ::srs_env_model_msgs::PlaneArray const> PlaneArrayConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace srs_env_model_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::srs_env_model_msgs::PlaneArray_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "f915b8673c2821d83cf7ad268a56dbb4";
00074   }
00075 
00076   static const char* value(const  ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0xf915b8673c2821d8ULL;
00078   static const uint64_t static_value2 = 0x3cf7ad268a56dbb4ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "srs_env_model_msgs/PlaneArray";
00086   }
00087 
00088   static const char* value(const  ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "Header header\n\
00096 PlaneDesc[] planes\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: std_msgs/Header\n\
00100 # Standard metadata for higher-level stamped data types.\n\
00101 # This is generally used to communicate timestamped data \n\
00102 # in a particular coordinate frame.\n\
00103 # \n\
00104 # sequence ID: consecutively increasing ID \n\
00105 uint32 seq\n\
00106 #Two-integer timestamp that is expressed as:\n\
00107 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00108 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00109 # time-handling sugar is provided by the client library\n\
00110 time stamp\n\
00111 #Frame this data is associated with\n\
00112 # 0: no frame\n\
00113 # 1: global frame\n\
00114 string frame_id\n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: srs_env_model_msgs/PlaneDesc\n\
00118 int32 INSERT=0  # Clear old data, insert new one\n\
00119 int32 MODIFY=1  # Modify plane\n\
00120 int32 REMOVE=2  # Remove data\n\
00121 \n\
00122 int32 id\n\
00123 int32 flags \n\
00124 geometry_msgs/Pose pose\n\
00125 geometry_msgs/Vector3 scale\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: geometry_msgs/Pose\n\
00129 # A representation of pose in free space, composed of postion and orientation. \n\
00130 Point position\n\
00131 Quaternion orientation\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: geometry_msgs/Point\n\
00135 # This contains the position of a point in free space\n\
00136 float64 x\n\
00137 float64 y\n\
00138 float64 z\n\
00139 \n\
00140 ================================================================================\n\
00141 MSG: geometry_msgs/Quaternion\n\
00142 # This represents an orientation in free space in quaternion form.\n\
00143 \n\
00144 float64 x\n\
00145 float64 y\n\
00146 float64 z\n\
00147 float64 w\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: geometry_msgs/Vector3\n\
00151 # This represents a vector in free space. \n\
00152 \n\
00153 float64 x\n\
00154 float64 y\n\
00155 float64 z\n\
00156 ";
00157   }
00158 
00159   static const char* value(const  ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> &) { return value(); } 
00160 };
00161 
00162 template<class ContainerAllocator> struct HasHeader< ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> > : public TrueType {};
00163 template<class ContainerAllocator> struct HasHeader< const ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> > : public TrueType {};
00164 } // namespace message_traits
00165 } // namespace ros
00166 
00167 namespace ros
00168 {
00169 namespace serialization
00170 {
00171 
00172 template<class ContainerAllocator> struct Serializer< ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> >
00173 {
00174   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00175   {
00176     stream.next(m.header);
00177     stream.next(m.planes);
00178   }
00179 
00180   ROS_DECLARE_ALLINONE_SERIALIZER;
00181 }; // struct PlaneArray_
00182 } // namespace serialization
00183 } // namespace ros
00184 
00185 namespace ros
00186 {
00187 namespace message_operations
00188 {
00189 
00190 template<class ContainerAllocator>
00191 struct Printer< ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> >
00192 {
00193   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> & v) 
00194   {
00195     s << indent << "header: ";
00196 s << std::endl;
00197     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00198     s << indent << "planes[]" << std::endl;
00199     for (size_t i = 0; i < v.planes.size(); ++i)
00200     {
00201       s << indent << "  planes[" << i << "]: ";
00202       s << std::endl;
00203       s << indent;
00204       Printer< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> >::stream(s, indent + "    ", v.planes[i]);
00205     }
00206   }
00207 };
00208 
00209 
00210 } // namespace message_operations
00211 } // namespace ros
00212 
00213 #endif // SRS_ENV_MODEL_MSGS_MESSAGE_PLANEARRAY_H
00214 


srs_env_model_msgs
Author(s): Vit Stancl (stancl@fit.vutbr.cz), Michal Spanel (spanel@fit.vutbr.cz)
autogenerated on Sun Jan 5 2014 11:49:14