PoseCommandArray.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-nasa_r2_common/doc_stacks/2014-01-03_11-31-21.132049/nasa_r2_common/r2_msgs/msg/PoseCommandArray.msg */
00002 #ifndef R2_MSGS_MESSAGE_POSECOMMANDARRAY_H
00003 #define R2_MSGS_MESSAGE_POSECOMMANDARRAY_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 #include "r2_msgs/PoseCommand.h"
00019 
00020 namespace r2_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct PoseCommandArray_ {
00024   typedef PoseCommandArray_<ContainerAllocator> Type;
00025 
00026   PoseCommandArray_()
00027   : header()
00028   , command()
00029   {
00030   }
00031 
00032   PoseCommandArray_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , command(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00039    ::std_msgs::Header_<ContainerAllocator>  header;
00040 
00041   typedef std::vector< ::r2_msgs::PoseCommand_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::r2_msgs::PoseCommand_<ContainerAllocator> >::other >  _command_type;
00042   std::vector< ::r2_msgs::PoseCommand_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::r2_msgs::PoseCommand_<ContainerAllocator> >::other >  command;
00043 
00044 
00045   typedef boost::shared_ptr< ::r2_msgs::PoseCommandArray_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::r2_msgs::PoseCommandArray_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct PoseCommandArray
00049 typedef  ::r2_msgs::PoseCommandArray_<std::allocator<void> > PoseCommandArray;
00050 
00051 typedef boost::shared_ptr< ::r2_msgs::PoseCommandArray> PoseCommandArrayPtr;
00052 typedef boost::shared_ptr< ::r2_msgs::PoseCommandArray const> PoseCommandArrayConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::r2_msgs::PoseCommandArray_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::r2_msgs::PoseCommandArray_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace r2_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::PoseCommandArray_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::PoseCommandArray_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::r2_msgs::PoseCommandArray_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "fd9b3b03f805dcb412e07ffc694f2684";
00074   }
00075 
00076   static const char* value(const  ::r2_msgs::PoseCommandArray_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0xfd9b3b03f805dcb4ULL;
00078   static const uint64_t static_value2 = 0x12e07ffc694f2684ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::r2_msgs::PoseCommandArray_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "r2_msgs/PoseCommandArray";
00086   }
00087 
00088   static const char* value(const  ::r2_msgs::PoseCommandArray_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::r2_msgs::PoseCommandArray_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "Header header\n\
00096 PoseCommand[] command\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: std_msgs/Header\n\
00100 # Standard metadata for higher-level stamped data types.\n\
00101 # This is generally used to communicate timestamped data \n\
00102 # in a particular coordinate frame.\n\
00103 # \n\
00104 # sequence ID: consecutively increasing ID \n\
00105 uint32 seq\n\
00106 #Two-integer timestamp that is expressed as:\n\
00107 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00108 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00109 # time-handling sugar is provided by the client library\n\
00110 time stamp\n\
00111 #Frame this data is associated with\n\
00112 # 0: no frame\n\
00113 # 1: global frame\n\
00114 string frame_id\n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: r2_msgs/PoseCommand\n\
00118 # A Pose with reference coordinate frame, chain definition, and command_id\n\
00119 string commandId\n\
00120 string refFrame\n\
00121 geometry_msgs/Pose pose\n\
00122 string baseFrame\n\
00123 string toolFrame\n\
00124 \n\
00125 \n\
00126 ================================================================================\n\
00127 MSG: geometry_msgs/Pose\n\
00128 # A representation of pose in free space, composed of postion and orientation. \n\
00129 Point position\n\
00130 Quaternion orientation\n\
00131 \n\
00132 ================================================================================\n\
00133 MSG: geometry_msgs/Point\n\
00134 # This contains the position of a point in free space\n\
00135 float64 x\n\
00136 float64 y\n\
00137 float64 z\n\
00138 \n\
00139 ================================================================================\n\
00140 MSG: geometry_msgs/Quaternion\n\
00141 # This represents an orientation in free space in quaternion form.\n\
00142 \n\
00143 float64 x\n\
00144 float64 y\n\
00145 float64 z\n\
00146 float64 w\n\
00147 \n\
00148 ";
00149   }
00150 
00151   static const char* value(const  ::r2_msgs::PoseCommandArray_<ContainerAllocator> &) { return value(); } 
00152 };
00153 
00154 template<class ContainerAllocator> struct HasHeader< ::r2_msgs::PoseCommandArray_<ContainerAllocator> > : public TrueType {};
00155 template<class ContainerAllocator> struct HasHeader< const ::r2_msgs::PoseCommandArray_<ContainerAllocator> > : public TrueType {};
00156 } // namespace message_traits
00157 } // namespace ros
00158 
00159 namespace ros
00160 {
00161 namespace serialization
00162 {
00163 
00164 template<class ContainerAllocator> struct Serializer< ::r2_msgs::PoseCommandArray_<ContainerAllocator> >
00165 {
00166   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00167   {
00168     stream.next(m.header);
00169     stream.next(m.command);
00170   }
00171 
00172   ROS_DECLARE_ALLINONE_SERIALIZER;
00173 }; // struct PoseCommandArray_
00174 } // namespace serialization
00175 } // namespace ros
00176 
00177 namespace ros
00178 {
00179 namespace message_operations
00180 {
00181 
00182 template<class ContainerAllocator>
00183 struct Printer< ::r2_msgs::PoseCommandArray_<ContainerAllocator> >
00184 {
00185   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::r2_msgs::PoseCommandArray_<ContainerAllocator> & v) 
00186   {
00187     s << indent << "header: ";
00188 s << std::endl;
00189     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00190     s << indent << "command[]" << std::endl;
00191     for (size_t i = 0; i < v.command.size(); ++i)
00192     {
00193       s << indent << "  command[" << i << "]: ";
00194       s << std::endl;
00195       s << indent;
00196       Printer< ::r2_msgs::PoseCommand_<ContainerAllocator> >::stream(s, indent + "    ", v.command[i]);
00197     }
00198   }
00199 };
00200 
00201 
00202 } // namespace message_operations
00203 } // namespace ros
00204 
00205 #endif // R2_MSGS_MESSAGE_POSECOMMANDARRAY_H
00206 


r2_msgs
Author(s): Paul Dinh
autogenerated on Fri Jan 3 2014 11:33:55