TaskFrameFormalism.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_doors/doc_stacks/2013-12-11_14-13-17.791847/pr2_doors/tff_controller/msg/TaskFrameFormalism.msg */
00002 #ifndef TFF_CONTROLLER_MESSAGE_TASKFRAMEFORMALISM_H
00003 #define TFF_CONTROLLER_MESSAGE_TASKFRAMEFORMALISM_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 "geometry_msgs/Twist.h"
00019 #include "geometry_msgs/Twist.h"
00020 
00021 namespace tff_controller
00022 {
00023 template <class ContainerAllocator>
00024 struct TaskFrameFormalism_ {
00025   typedef TaskFrameFormalism_<ContainerAllocator> Type;
00026 
00027   TaskFrameFormalism_()
00028   : header()
00029   , mode()
00030   , value()
00031   {
00032   }
00033 
00034   TaskFrameFormalism_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , mode(_alloc)
00037   , value(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00042    ::std_msgs::Header_<ContainerAllocator>  header;
00043 
00044   typedef  ::geometry_msgs::Twist_<ContainerAllocator>  _mode_type;
00045    ::geometry_msgs::Twist_<ContainerAllocator>  mode;
00046 
00047   typedef  ::geometry_msgs::Twist_<ContainerAllocator>  _value_type;
00048    ::geometry_msgs::Twist_<ContainerAllocator>  value;
00049 
00050   enum { FORCE = 1 };
00051   enum { VELOCITY = 2 };
00052   enum { POSITION = 3 };
00053 
00054   typedef boost::shared_ptr< ::tff_controller::TaskFrameFormalism_<ContainerAllocator> > Ptr;
00055   typedef boost::shared_ptr< ::tff_controller::TaskFrameFormalism_<ContainerAllocator>  const> ConstPtr;
00056   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00057 }; // struct TaskFrameFormalism
00058 typedef  ::tff_controller::TaskFrameFormalism_<std::allocator<void> > TaskFrameFormalism;
00059 
00060 typedef boost::shared_ptr< ::tff_controller::TaskFrameFormalism> TaskFrameFormalismPtr;
00061 typedef boost::shared_ptr< ::tff_controller::TaskFrameFormalism const> TaskFrameFormalismConstPtr;
00062 
00063 
00064 template<typename ContainerAllocator>
00065 std::ostream& operator<<(std::ostream& s, const  ::tff_controller::TaskFrameFormalism_<ContainerAllocator> & v)
00066 {
00067   ros::message_operations::Printer< ::tff_controller::TaskFrameFormalism_<ContainerAllocator> >::stream(s, "", v);
00068   return s;}
00069 
00070 } // namespace tff_controller
00071 
00072 namespace ros
00073 {
00074 namespace message_traits
00075 {
00076 template<class ContainerAllocator> struct IsMessage< ::tff_controller::TaskFrameFormalism_<ContainerAllocator> > : public TrueType {};
00077 template<class ContainerAllocator> struct IsMessage< ::tff_controller::TaskFrameFormalism_<ContainerAllocator>  const> : public TrueType {};
00078 template<class ContainerAllocator>
00079 struct MD5Sum< ::tff_controller::TaskFrameFormalism_<ContainerAllocator> > {
00080   static const char* value() 
00081   {
00082     return "416dd51e810e3302c824ad3a87e77e02";
00083   }
00084 
00085   static const char* value(const  ::tff_controller::TaskFrameFormalism_<ContainerAllocator> &) { return value(); } 
00086   static const uint64_t static_value1 = 0x416dd51e810e3302ULL;
00087   static const uint64_t static_value2 = 0xc824ad3a87e77e02ULL;
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct DataType< ::tff_controller::TaskFrameFormalism_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "tff_controller/TaskFrameFormalism";
00095   }
00096 
00097   static const char* value(const  ::tff_controller::TaskFrameFormalism_<ContainerAllocator> &) { return value(); } 
00098 };
00099 
00100 template<class ContainerAllocator>
00101 struct Definition< ::tff_controller::TaskFrameFormalism_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "Header header\n\
00105 geometry_msgs/Twist mode\n\
00106 geometry_msgs/Twist value\n\
00107 int32 FORCE=1\n\
00108 int32 VELOCITY=2\n\
00109 int32 POSITION=3\n\
00110 \n\
00111 ================================================================================\n\
00112 MSG: std_msgs/Header\n\
00113 # Standard metadata for higher-level stamped data types.\n\
00114 # This is generally used to communicate timestamped data \n\
00115 # in a particular coordinate frame.\n\
00116 # \n\
00117 # sequence ID: consecutively increasing ID \n\
00118 uint32 seq\n\
00119 #Two-integer timestamp that is expressed as:\n\
00120 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00121 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00122 # time-handling sugar is provided by the client library\n\
00123 time stamp\n\
00124 #Frame this data is associated with\n\
00125 # 0: no frame\n\
00126 # 1: global frame\n\
00127 string frame_id\n\
00128 \n\
00129 ================================================================================\n\
00130 MSG: geometry_msgs/Twist\n\
00131 # This expresses velocity in free space broken into it's linear and angular parts. \n\
00132 Vector3  linear\n\
00133 Vector3  angular\n\
00134 \n\
00135 ================================================================================\n\
00136 MSG: geometry_msgs/Vector3\n\
00137 # This represents a vector in free space. \n\
00138 \n\
00139 float64 x\n\
00140 float64 y\n\
00141 float64 z\n\
00142 ";
00143   }
00144 
00145   static const char* value(const  ::tff_controller::TaskFrameFormalism_<ContainerAllocator> &) { return value(); } 
00146 };
00147 
00148 template<class ContainerAllocator> struct HasHeader< ::tff_controller::TaskFrameFormalism_<ContainerAllocator> > : public TrueType {};
00149 template<class ContainerAllocator> struct HasHeader< const ::tff_controller::TaskFrameFormalism_<ContainerAllocator> > : public TrueType {};
00150 } // namespace message_traits
00151 } // namespace ros
00152 
00153 namespace ros
00154 {
00155 namespace serialization
00156 {
00157 
00158 template<class ContainerAllocator> struct Serializer< ::tff_controller::TaskFrameFormalism_<ContainerAllocator> >
00159 {
00160   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00161   {
00162     stream.next(m.header);
00163     stream.next(m.mode);
00164     stream.next(m.value);
00165   }
00166 
00167   ROS_DECLARE_ALLINONE_SERIALIZER;
00168 }; // struct TaskFrameFormalism_
00169 } // namespace serialization
00170 } // namespace ros
00171 
00172 namespace ros
00173 {
00174 namespace message_operations
00175 {
00176 
00177 template<class ContainerAllocator>
00178 struct Printer< ::tff_controller::TaskFrameFormalism_<ContainerAllocator> >
00179 {
00180   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::tff_controller::TaskFrameFormalism_<ContainerAllocator> & v) 
00181   {
00182     s << indent << "header: ";
00183 s << std::endl;
00184     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00185     s << indent << "mode: ";
00186 s << std::endl;
00187     Printer< ::geometry_msgs::Twist_<ContainerAllocator> >::stream(s, indent + "  ", v.mode);
00188     s << indent << "value: ";
00189 s << std::endl;
00190     Printer< ::geometry_msgs::Twist_<ContainerAllocator> >::stream(s, indent + "  ", v.value);
00191   }
00192 };
00193 
00194 
00195 } // namespace message_operations
00196 } // namespace ros
00197 
00198 #endif // TFF_CONTROLLER_MESSAGE_TASKFRAMEFORMALISM_H
00199 


tff_controller
Author(s): Wim Meeussen
autogenerated on Wed Dec 11 2013 14:17:33