NamedImu.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-rtm-ros-robotics__rtmros_common/doc_stacks/2013-07-23_11-44-14.910425/rtm-ros-robotics/rtmros_common/hrpsys_gazebo_msgs/msg/NamedImu.msg */
00002 #ifndef HRPSYS_GAZEBO_MSGS_MESSAGE_NAMEDIMU_H
00003 #define HRPSYS_GAZEBO_MSGS_MESSAGE_NAMEDIMU_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/Quaternion.h"
00018 #include "geometry_msgs/Vector3.h"
00019 #include "geometry_msgs/Vector3.h"
00020 
00021 namespace hrpsys_gazebo_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct NamedImu_ {
00025   typedef NamedImu_<ContainerAllocator> Type;
00026 
00027   NamedImu_()
00028   : name()
00029   , orientation()
00030   , angular_velocity()
00031   , linear_acceleration()
00032   {
00033   }
00034 
00035   NamedImu_(const ContainerAllocator& _alloc)
00036   : name(_alloc)
00037   , orientation(_alloc)
00038   , angular_velocity(_alloc)
00039   , linear_acceleration(_alloc)
00040   {
00041   }
00042 
00043   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00044   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00045 
00046   typedef  ::geometry_msgs::Quaternion_<ContainerAllocator>  _orientation_type;
00047    ::geometry_msgs::Quaternion_<ContainerAllocator>  orientation;
00048 
00049   typedef  ::geometry_msgs::Vector3_<ContainerAllocator>  _angular_velocity_type;
00050    ::geometry_msgs::Vector3_<ContainerAllocator>  angular_velocity;
00051 
00052   typedef  ::geometry_msgs::Vector3_<ContainerAllocator>  _linear_acceleration_type;
00053    ::geometry_msgs::Vector3_<ContainerAllocator>  linear_acceleration;
00054 
00055 
00056   typedef boost::shared_ptr< ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator> > Ptr;
00057   typedef boost::shared_ptr< ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator>  const> ConstPtr;
00058   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00059 }; // struct NamedImu
00060 typedef  ::hrpsys_gazebo_msgs::NamedImu_<std::allocator<void> > NamedImu;
00061 
00062 typedef boost::shared_ptr< ::hrpsys_gazebo_msgs::NamedImu> NamedImuPtr;
00063 typedef boost::shared_ptr< ::hrpsys_gazebo_msgs::NamedImu const> NamedImuConstPtr;
00064 
00065 
00066 template<typename ContainerAllocator>
00067 std::ostream& operator<<(std::ostream& s, const  ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator> & v)
00068 {
00069   ros::message_operations::Printer< ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator> >::stream(s, "", v);
00070   return s;}
00071 
00072 } // namespace hrpsys_gazebo_msgs
00073 
00074 namespace ros
00075 {
00076 namespace message_traits
00077 {
00078 template<class ContainerAllocator> struct IsMessage< ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator> > : public TrueType {};
00079 template<class ContainerAllocator> struct IsMessage< ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator>  const> : public TrueType {};
00080 template<class ContainerAllocator>
00081 struct MD5Sum< ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "d340023cc5f9ee8ccc7b4fc5c1bd66f4";
00085   }
00086 
00087   static const char* value(const  ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator> &) { return value(); } 
00088   static const uint64_t static_value1 = 0xd340023cc5f9ee8cULL;
00089   static const uint64_t static_value2 = 0xcc7b4fc5c1bd66f4ULL;
00090 };
00091 
00092 template<class ContainerAllocator>
00093 struct DataType< ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "hrpsys_gazebo_msgs/NamedImu";
00097   }
00098 
00099   static const char* value(const  ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator> &) { return value(); } 
00100 };
00101 
00102 template<class ContainerAllocator>
00103 struct Definition< ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator> > {
00104   static const char* value() 
00105   {
00106     return "string name\n\
00107 geometry_msgs/Quaternion orientation\n\
00108 geometry_msgs/Vector3 angular_velocity\n\
00109 geometry_msgs/Vector3 linear_acceleration\n\
00110 \n\
00111 ================================================================================\n\
00112 MSG: geometry_msgs/Quaternion\n\
00113 # This represents an orientation in free space in quaternion form.\n\
00114 \n\
00115 float64 x\n\
00116 float64 y\n\
00117 float64 z\n\
00118 float64 w\n\
00119 \n\
00120 ================================================================================\n\
00121 MSG: geometry_msgs/Vector3\n\
00122 # This represents a vector in free space. \n\
00123 \n\
00124 float64 x\n\
00125 float64 y\n\
00126 float64 z\n\
00127 ";
00128   }
00129 
00130   static const char* value(const  ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator> &) { return value(); } 
00131 };
00132 
00133 } // namespace message_traits
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace serialization
00139 {
00140 
00141 template<class ContainerAllocator> struct Serializer< ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator> >
00142 {
00143   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00144   {
00145     stream.next(m.name);
00146     stream.next(m.orientation);
00147     stream.next(m.angular_velocity);
00148     stream.next(m.linear_acceleration);
00149   }
00150 
00151   ROS_DECLARE_ALLINONE_SERIALIZER;
00152 }; // struct NamedImu_
00153 } // namespace serialization
00154 } // namespace ros
00155 
00156 namespace ros
00157 {
00158 namespace message_operations
00159 {
00160 
00161 template<class ContainerAllocator>
00162 struct Printer< ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator> >
00163 {
00164   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::hrpsys_gazebo_msgs::NamedImu_<ContainerAllocator> & v) 
00165   {
00166     s << indent << "name: ";
00167     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00168     s << indent << "orientation: ";
00169 s << std::endl;
00170     Printer< ::geometry_msgs::Quaternion_<ContainerAllocator> >::stream(s, indent + "  ", v.orientation);
00171     s << indent << "angular_velocity: ";
00172 s << std::endl;
00173     Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "  ", v.angular_velocity);
00174     s << indent << "linear_acceleration: ";
00175 s << std::endl;
00176     Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "  ", v.linear_acceleration);
00177   }
00178 };
00179 
00180 
00181 } // namespace message_operations
00182 } // namespace ros
00183 
00184 #endif // HRPSYS_GAZEBO_MSGS_MESSAGE_NAMEDIMU_H
00185 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


hrpsys_gazebo_msgs
Author(s): Yohei Kakiuchi
autogenerated on Tue Jul 23 2013 11:48:59