TwoInts.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-roslisp_support/doc_stacks/2014-01-02_11-54-38.389593/roslisp_support/test_roslisp/msg/TwoInts.msg */
00002 #ifndef TEST_ROSLISP_MESSAGE_TWOINTS_H
00003 #define TEST_ROSLISP_MESSAGE_TWOINTS_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/Int16.h"
00018 #include "std_msgs/Int16.h"
00019 
00020 namespace test_roslisp
00021 {
00022 template <class ContainerAllocator>
00023 struct TwoInts_ {
00024   typedef TwoInts_<ContainerAllocator> Type;
00025 
00026   TwoInts_()
00027   : a()
00028   , b()
00029   {
00030   }
00031 
00032   TwoInts_(const ContainerAllocator& _alloc)
00033   : a(_alloc)
00034   , b(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::std_msgs::Int16_<ContainerAllocator>  _a_type;
00039    ::std_msgs::Int16_<ContainerAllocator>  a;
00040 
00041   typedef  ::std_msgs::Int16_<ContainerAllocator>  _b_type;
00042    ::std_msgs::Int16_<ContainerAllocator>  b;
00043 
00044 
00045   typedef boost::shared_ptr< ::test_roslisp::TwoInts_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::test_roslisp::TwoInts_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct TwoInts
00049 typedef  ::test_roslisp::TwoInts_<std::allocator<void> > TwoInts;
00050 
00051 typedef boost::shared_ptr< ::test_roslisp::TwoInts> TwoIntsPtr;
00052 typedef boost::shared_ptr< ::test_roslisp::TwoInts const> TwoIntsConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::test_roslisp::TwoInts_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::test_roslisp::TwoInts_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace test_roslisp
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::test_roslisp::TwoInts_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::test_roslisp::TwoInts_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::test_roslisp::TwoInts_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "7f80fd04371aa5efefe6eae873a1958e";
00074   }
00075 
00076   static const char* value(const  ::test_roslisp::TwoInts_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x7f80fd04371aa5efULL;
00078   static const uint64_t static_value2 = 0xefe6eae873a1958eULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::test_roslisp::TwoInts_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "test_roslisp/TwoInts";
00086   }
00087 
00088   static const char* value(const  ::test_roslisp::TwoInts_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::test_roslisp::TwoInts_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "std_msgs/Int16 a\n\
00096 std_msgs/Int16 b\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: std_msgs/Int16\n\
00100 int16 data\n\
00101 \n\
00102 ";
00103   }
00104 
00105   static const char* value(const  ::test_roslisp::TwoInts_<ContainerAllocator> &) { return value(); } 
00106 };
00107 
00108 template<class ContainerAllocator> struct IsFixedSize< ::test_roslisp::TwoInts_<ContainerAllocator> > : public TrueType {};
00109 } // namespace message_traits
00110 } // namespace ros
00111 
00112 namespace ros
00113 {
00114 namespace serialization
00115 {
00116 
00117 template<class ContainerAllocator> struct Serializer< ::test_roslisp::TwoInts_<ContainerAllocator> >
00118 {
00119   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00120   {
00121     stream.next(m.a);
00122     stream.next(m.b);
00123   }
00124 
00125   ROS_DECLARE_ALLINONE_SERIALIZER;
00126 }; // struct TwoInts_
00127 } // namespace serialization
00128 } // namespace ros
00129 
00130 namespace ros
00131 {
00132 namespace message_operations
00133 {
00134 
00135 template<class ContainerAllocator>
00136 struct Printer< ::test_roslisp::TwoInts_<ContainerAllocator> >
00137 {
00138   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::test_roslisp::TwoInts_<ContainerAllocator> & v) 
00139   {
00140     s << indent << "a: ";
00141 s << std::endl;
00142     Printer< ::std_msgs::Int16_<ContainerAllocator> >::stream(s, indent + "  ", v.a);
00143     s << indent << "b: ";
00144 s << std::endl;
00145     Printer< ::std_msgs::Int16_<ContainerAllocator> >::stream(s, indent + "  ", v.b);
00146   }
00147 };
00148 
00149 
00150 } // namespace message_operations
00151 } // namespace ros
00152 
00153 #endif // TEST_ROSLISP_MESSAGE_TWOINTS_H
00154 


test_roslisp
Author(s): Bhaskara Marthi
autogenerated on Thu Jan 2 2014 11:55:57