SharedWorld.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-cn-alica-ros-pkg/doc_stacks/2013-11-06_13-52-23.640348/cn-alica-ros-pkg/alica_turtle/msg/SharedWorld.msg */
00002 #ifndef ALICA_TURTLE_MESSAGE_SHAREDWORLD_H
00003 #define ALICA_TURTLE_MESSAGE_SHAREDWORLD_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 "turtlesim/Pose.h"
00018 
00019 namespace alica_turtle
00020 {
00021 template <class ContainerAllocator>
00022 struct SharedWorld_ {
00023   typedef SharedWorld_<ContainerAllocator> Type;
00024 
00025   SharedWorld_()
00026   : senderID(0)
00027   , position()
00028   {
00029   }
00030 
00031   SharedWorld_(const ContainerAllocator& _alloc)
00032   : senderID(0)
00033   , position(_alloc)
00034   {
00035   }
00036 
00037   typedef int32_t _senderID_type;
00038   int32_t senderID;
00039 
00040   typedef  ::turtlesim::Pose_<ContainerAllocator>  _position_type;
00041    ::turtlesim::Pose_<ContainerAllocator>  position;
00042 
00043 
00044   typedef boost::shared_ptr< ::alica_turtle::SharedWorld_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::alica_turtle::SharedWorld_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct SharedWorld
00048 typedef  ::alica_turtle::SharedWorld_<std::allocator<void> > SharedWorld;
00049 
00050 typedef boost::shared_ptr< ::alica_turtle::SharedWorld> SharedWorldPtr;
00051 typedef boost::shared_ptr< ::alica_turtle::SharedWorld const> SharedWorldConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::alica_turtle::SharedWorld_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::alica_turtle::SharedWorld_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace alica_turtle
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::alica_turtle::SharedWorld_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::alica_turtle::SharedWorld_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::alica_turtle::SharedWorld_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "c51b9f82d5bf693de203628949b63080";
00073   }
00074 
00075   static const char* value(const  ::alica_turtle::SharedWorld_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0xc51b9f82d5bf693dULL;
00077   static const uint64_t static_value2 = 0xe203628949b63080ULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::alica_turtle::SharedWorld_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "alica_turtle/SharedWorld";
00085   }
00086 
00087   static const char* value(const  ::alica_turtle::SharedWorld_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::alica_turtle::SharedWorld_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "int32 senderID\n\
00095 turtlesim/Pose position\n\
00096 \n\
00097 ================================================================================\n\
00098 MSG: turtlesim/Pose\n\
00099 float32 x\n\
00100 float32 y\n\
00101 float32 theta\n\
00102 \n\
00103 float32 linear_velocity\n\
00104 float32 angular_velocity\n\
00105 ";
00106   }
00107 
00108   static const char* value(const  ::alica_turtle::SharedWorld_<ContainerAllocator> &) { return value(); } 
00109 };
00110 
00111 template<class ContainerAllocator> struct IsFixedSize< ::alica_turtle::SharedWorld_<ContainerAllocator> > : public TrueType {};
00112 } // namespace message_traits
00113 } // namespace ros
00114 
00115 namespace ros
00116 {
00117 namespace serialization
00118 {
00119 
00120 template<class ContainerAllocator> struct Serializer< ::alica_turtle::SharedWorld_<ContainerAllocator> >
00121 {
00122   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00123   {
00124     stream.next(m.senderID);
00125     stream.next(m.position);
00126   }
00127 
00128   ROS_DECLARE_ALLINONE_SERIALIZER;
00129 }; // struct SharedWorld_
00130 } // namespace serialization
00131 } // namespace ros
00132 
00133 namespace ros
00134 {
00135 namespace message_operations
00136 {
00137 
00138 template<class ContainerAllocator>
00139 struct Printer< ::alica_turtle::SharedWorld_<ContainerAllocator> >
00140 {
00141   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::alica_turtle::SharedWorld_<ContainerAllocator> & v) 
00142   {
00143     s << indent << "senderID: ";
00144     Printer<int32_t>::stream(s, indent + "  ", v.senderID);
00145     s << indent << "position: ";
00146 s << std::endl;
00147     Printer< ::turtlesim::Pose_<ContainerAllocator> >::stream(s, indent + "  ", v.position);
00148   }
00149 };
00150 
00151 
00152 } // namespace message_operations
00153 } // namespace ros
00154 
00155 #endif // ALICA_TURTLE_MESSAGE_SHAREDWORLD_H
00156 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


alica_turtle
Author(s): hendrik
autogenerated on Wed Nov 6 2013 13:55:14