Bar.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-roslisp_support/doc_stacks/2014-04-23_10-26-12.146943/roslisp_support/test_roslisp/msg/Bar.msg */
00002 #ifndef TEST_ROSLISP_MESSAGE_BAR_H
00003 #define TEST_ROSLISP_MESSAGE_BAR_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 test_roslisp
00019 {
00020 template <class ContainerAllocator>
00021 struct Bar_ {
00022   typedef Bar_<ContainerAllocator> Type;
00023 
00024   Bar_()
00025   : y(0)
00026   {
00027   }
00028 
00029   Bar_(const ContainerAllocator& _alloc)
00030   : y(0)
00031   {
00032   }
00033 
00034   typedef int32_t _y_type;
00035   int32_t y;
00036 
00037   enum { x = 10 };
00038 
00039   typedef boost::shared_ptr< ::test_roslisp::Bar_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::test_roslisp::Bar_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct Bar
00043 typedef  ::test_roslisp::Bar_<std::allocator<void> > Bar;
00044 
00045 typedef boost::shared_ptr< ::test_roslisp::Bar> BarPtr;
00046 typedef boost::shared_ptr< ::test_roslisp::Bar const> BarConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::test_roslisp::Bar_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::test_roslisp::Bar_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace test_roslisp
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::test_roslisp::Bar_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::test_roslisp::Bar_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::test_roslisp::Bar_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "5ba74f2bf8bd6cffecedb296d0cb44d1";
00068   }
00069 
00070   static const char* value(const  ::test_roslisp::Bar_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0x5ba74f2bf8bd6cffULL;
00072   static const uint64_t static_value2 = 0xecedb296d0cb44d1ULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::test_roslisp::Bar_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "test_roslisp/Bar";
00080   }
00081 
00082   static const char* value(const  ::test_roslisp::Bar_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::test_roslisp::Bar_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "int32 x=10\n\
00090 int32 y\n\
00091 ";
00092   }
00093 
00094   static const char* value(const  ::test_roslisp::Bar_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator> struct IsFixedSize< ::test_roslisp::Bar_<ContainerAllocator> > : public TrueType {};
00098 } // namespace message_traits
00099 } // namespace ros
00100 
00101 namespace ros
00102 {
00103 namespace serialization
00104 {
00105 
00106 template<class ContainerAllocator> struct Serializer< ::test_roslisp::Bar_<ContainerAllocator> >
00107 {
00108   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00109   {
00110     stream.next(m.y);
00111   }
00112 
00113   ROS_DECLARE_ALLINONE_SERIALIZER;
00114 }; // struct Bar_
00115 } // namespace serialization
00116 } // namespace ros
00117 
00118 namespace ros
00119 {
00120 namespace message_operations
00121 {
00122 
00123 template<class ContainerAllocator>
00124 struct Printer< ::test_roslisp::Bar_<ContainerAllocator> >
00125 {
00126   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::test_roslisp::Bar_<ContainerAllocator> & v) 
00127   {
00128     s << indent << "y: ";
00129     Printer<int32_t>::stream(s, indent + "  ", v.y);
00130   }
00131 };
00132 
00133 
00134 } // namespace message_operations
00135 } // namespace ros
00136 
00137 #endif // TEST_ROSLISP_MESSAGE_BAR_H
00138 


test_roslisp
Author(s): Bhaskara Marthi
autogenerated on Wed Apr 23 2014 10:27:57