HeaderTestTwo.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-rosbridge_suite/doc_stacks/2014-01-02_11-51-48.209505/rosbridge_suite/rosbridge_test/msg/HeaderTestTwo.msg */
00002 #ifndef ROSBRIDGE_TEST_MESSAGE_HEADERTESTTWO_H
00003 #define ROSBRIDGE_TEST_MESSAGE_HEADERTESTTWO_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 
00019 namespace rosbridge_test
00020 {
00021 template <class ContainerAllocator>
00022 struct HeaderTestTwo_ {
00023   typedef HeaderTestTwo_<ContainerAllocator> Type;
00024 
00025   HeaderTestTwo_()
00026   : header()
00027   {
00028   }
00029 
00030   HeaderTestTwo_(const ContainerAllocator& _alloc)
00031   : header(_alloc)
00032   {
00033   }
00034 
00035   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00036    ::std_msgs::Header_<ContainerAllocator>  header;
00037 
00038 
00039   typedef boost::shared_ptr< ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::rosbridge_test::HeaderTestTwo_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct HeaderTestTwo
00043 typedef  ::rosbridge_test::HeaderTestTwo_<std::allocator<void> > HeaderTestTwo;
00044 
00045 typedef boost::shared_ptr< ::rosbridge_test::HeaderTestTwo> HeaderTestTwoPtr;
00046 typedef boost::shared_ptr< ::rosbridge_test::HeaderTestTwo const> HeaderTestTwoConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace rosbridge_test
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::rosbridge_test::HeaderTestTwo_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "d7be0bb39af8fb9129d5a76e6b63a290";
00068   }
00069 
00070   static const char* value(const  ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0xd7be0bb39af8fb91ULL;
00072   static const uint64_t static_value2 = 0x29d5a76e6b63a290ULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "rosbridge_test/HeaderTestTwo";
00080   }
00081 
00082   static const char* value(const  ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "Header header\n\
00090 ================================================================================\n\
00091 MSG: std_msgs/Header\n\
00092 # Standard metadata for higher-level stamped data types.\n\
00093 # This is generally used to communicate timestamped data \n\
00094 # in a particular coordinate frame.\n\
00095 # \n\
00096 # sequence ID: consecutively increasing ID \n\
00097 uint32 seq\n\
00098 #Two-integer timestamp that is expressed as:\n\
00099 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00100 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00101 # time-handling sugar is provided by the client library\n\
00102 time stamp\n\
00103 #Frame this data is associated with\n\
00104 # 0: no frame\n\
00105 # 1: global frame\n\
00106 string frame_id\n\
00107 \n\
00108 ";
00109   }
00110 
00111   static const char* value(const  ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> &) { return value(); } 
00112 };
00113 
00114 template<class ContainerAllocator> struct HasHeader< ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> > : public TrueType {};
00115 template<class ContainerAllocator> struct HasHeader< const ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> > : public TrueType {};
00116 } // namespace message_traits
00117 } // namespace ros
00118 
00119 namespace ros
00120 {
00121 namespace serialization
00122 {
00123 
00124 template<class ContainerAllocator> struct Serializer< ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> >
00125 {
00126   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00127   {
00128     stream.next(m.header);
00129   }
00130 
00131   ROS_DECLARE_ALLINONE_SERIALIZER;
00132 }; // struct HeaderTestTwo_
00133 } // namespace serialization
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace message_operations
00139 {
00140 
00141 template<class ContainerAllocator>
00142 struct Printer< ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> >
00143 {
00144   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::rosbridge_test::HeaderTestTwo_<ContainerAllocator> & v) 
00145   {
00146     s << indent << "header: ";
00147 s << std::endl;
00148     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00149   }
00150 };
00151 
00152 
00153 } // namespace message_operations
00154 } // namespace ros
00155 
00156 #endif // ROSBRIDGE_TEST_MESSAGE_HEADERTESTTWO_H
00157 


rosbridge_test
Author(s): Jonathan Mace
autogenerated on Thu Jan 2 2014 11:54:04