PlaneDesc.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-srs_public/doc_stacks/2014-10-06_07-45-36.510262/srs_public/srs_env_model_msgs/msg/PlaneDesc.msg */
00002 #ifndef SRS_ENV_MODEL_MSGS_MESSAGE_PLANEDESC_H
00003 #define SRS_ENV_MODEL_MSGS_MESSAGE_PLANEDESC_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 "geometry_msgs/Pose.h"
00018 #include "geometry_msgs/Vector3.h"
00019 
00020 namespace srs_env_model_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct PlaneDesc_ {
00024   typedef PlaneDesc_<ContainerAllocator> Type;
00025 
00026   PlaneDesc_()
00027   : id(0)
00028   , flags(0)
00029   , pose()
00030   , scale()
00031   {
00032   }
00033 
00034   PlaneDesc_(const ContainerAllocator& _alloc)
00035   : id(0)
00036   , flags(0)
00037   , pose(_alloc)
00038   , scale(_alloc)
00039   {
00040   }
00041 
00042   typedef int32_t _id_type;
00043   int32_t id;
00044 
00045   typedef int32_t _flags_type;
00046   int32_t flags;
00047 
00048   typedef  ::geometry_msgs::Pose_<ContainerAllocator>  _pose_type;
00049    ::geometry_msgs::Pose_<ContainerAllocator>  pose;
00050 
00051   typedef  ::geometry_msgs::Vector3_<ContainerAllocator>  _scale_type;
00052    ::geometry_msgs::Vector3_<ContainerAllocator>  scale;
00053 
00054   enum { INSERT = 0 };
00055   enum { MODIFY = 1 };
00056   enum { REMOVE = 2 };
00057 
00058   typedef boost::shared_ptr< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct PlaneDesc
00062 typedef  ::srs_env_model_msgs::PlaneDesc_<std::allocator<void> > PlaneDesc;
00063 
00064 typedef boost::shared_ptr< ::srs_env_model_msgs::PlaneDesc> PlaneDescPtr;
00065 typedef boost::shared_ptr< ::srs_env_model_msgs::PlaneDesc const> PlaneDescConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace srs_env_model_msgs
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "e9bdfaad29753b34e7f3824b23ba5b04";
00087   }
00088 
00089   static const char* value(const  ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0xe9bdfaad29753b34ULL;
00091   static const uint64_t static_value2 = 0xe7f3824b23ba5b04ULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "srs_env_model_msgs/PlaneDesc";
00099   }
00100 
00101   static const char* value(const  ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "int32 INSERT=0      # Clear old data, insert new one\n\
00109 int32 MODIFY=1  # Modify plane\n\
00110 int32 REMOVE=2  # Remove data\n\
00111 \n\
00112 int32 id\n\
00113 int32 flags \n\
00114 geometry_msgs/Pose pose\n\
00115 geometry_msgs/Vector3 scale\n\
00116 \n\
00117 ================================================================================\n\
00118 MSG: geometry_msgs/Pose\n\
00119 # A representation of pose in free space, composed of postion and orientation. \n\
00120 Point position\n\
00121 Quaternion orientation\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: geometry_msgs/Point\n\
00125 # This contains the position of a point in free space\n\
00126 float64 x\n\
00127 float64 y\n\
00128 float64 z\n\
00129 \n\
00130 ================================================================================\n\
00131 MSG: geometry_msgs/Quaternion\n\
00132 # This represents an orientation in free space in quaternion form.\n\
00133 \n\
00134 float64 x\n\
00135 float64 y\n\
00136 float64 z\n\
00137 float64 w\n\
00138 \n\
00139 ================================================================================\n\
00140 MSG: geometry_msgs/Vector3\n\
00141 # This represents a vector in free space. \n\
00142 \n\
00143 float64 x\n\
00144 float64 y\n\
00145 float64 z\n\
00146 ";
00147   }
00148 
00149   static const char* value(const  ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> &) { return value(); } 
00150 };
00151 
00152 template<class ContainerAllocator> struct IsFixedSize< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> > : public TrueType {};
00153 } // namespace message_traits
00154 } // namespace ros
00155 
00156 namespace ros
00157 {
00158 namespace serialization
00159 {
00160 
00161 template<class ContainerAllocator> struct Serializer< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> >
00162 {
00163   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00164   {
00165     stream.next(m.id);
00166     stream.next(m.flags);
00167     stream.next(m.pose);
00168     stream.next(m.scale);
00169   }
00170 
00171   ROS_DECLARE_ALLINONE_SERIALIZER;
00172 }; // struct PlaneDesc_
00173 } // namespace serialization
00174 } // namespace ros
00175 
00176 namespace ros
00177 {
00178 namespace message_operations
00179 {
00180 
00181 template<class ContainerAllocator>
00182 struct Printer< ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> >
00183 {
00184   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> & v) 
00185   {
00186     s << indent << "id: ";
00187     Printer<int32_t>::stream(s, indent + "  ", v.id);
00188     s << indent << "flags: ";
00189     Printer<int32_t>::stream(s, indent + "  ", v.flags);
00190     s << indent << "pose: ";
00191 s << std::endl;
00192     Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + "  ", v.pose);
00193     s << indent << "scale: ";
00194 s << std::endl;
00195     Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "  ", v.scale);
00196   }
00197 };
00198 
00199 
00200 } // namespace message_operations
00201 } // namespace ros
00202 
00203 #endif // SRS_ENV_MODEL_MSGS_MESSAGE_PLANEDESC_H
00204 


srs_env_model_msgs
Author(s): Vit Stancl (stancl@fit.vutbr.cz), Michal Spanel (spanel@fit.vutbr.cz)
autogenerated on Mon Oct 6 2014 08:01:14