CartesianTwist.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-cob_common/doc_stacks/2014-10-05_22-55-33.767390/cob_common/brics_actuator/msg/CartesianTwist.msg */
00002 #ifndef BRICS_ACTUATOR_MESSAGE_CARTESIANTWIST_H
00003 #define BRICS_ACTUATOR_MESSAGE_CARTESIANTWIST_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 "brics_actuator/Poison.h"
00018 #include "brics_actuator/CartesianVector.h"
00019 #include "brics_actuator/CartesianVector.h"
00020 
00021 namespace brics_actuator
00022 {
00023 template <class ContainerAllocator>
00024 struct CartesianTwist_ {
00025   typedef CartesianTwist_<ContainerAllocator> Type;
00026 
00027   CartesianTwist_()
00028   : timeStamp()
00029   , poisonStamp()
00030   , base_frame_uri()
00031   , target_frame_uri()
00032   , translation()
00033   , rotation()
00034   {
00035   }
00036 
00037   CartesianTwist_(const ContainerAllocator& _alloc)
00038   : timeStamp()
00039   , poisonStamp(_alloc)
00040   , base_frame_uri(_alloc)
00041   , target_frame_uri(_alloc)
00042   , translation(_alloc)
00043   , rotation(_alloc)
00044   {
00045   }
00046 
00047   typedef ros::Time _timeStamp_type;
00048   ros::Time timeStamp;
00049 
00050   typedef  ::brics_actuator::Poison_<ContainerAllocator>  _poisonStamp_type;
00051    ::brics_actuator::Poison_<ContainerAllocator>  poisonStamp;
00052 
00053   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _base_frame_uri_type;
00054   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  base_frame_uri;
00055 
00056   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _target_frame_uri_type;
00057   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  target_frame_uri;
00058 
00059   typedef  ::brics_actuator::CartesianVector_<ContainerAllocator>  _translation_type;
00060    ::brics_actuator::CartesianVector_<ContainerAllocator>  translation;
00061 
00062   typedef  ::brics_actuator::CartesianVector_<ContainerAllocator>  _rotation_type;
00063    ::brics_actuator::CartesianVector_<ContainerAllocator>  rotation;
00064 
00065 
00066   typedef boost::shared_ptr< ::brics_actuator::CartesianTwist_<ContainerAllocator> > Ptr;
00067   typedef boost::shared_ptr< ::brics_actuator::CartesianTwist_<ContainerAllocator>  const> ConstPtr;
00068   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 }; // struct CartesianTwist
00070 typedef  ::brics_actuator::CartesianTwist_<std::allocator<void> > CartesianTwist;
00071 
00072 typedef boost::shared_ptr< ::brics_actuator::CartesianTwist> CartesianTwistPtr;
00073 typedef boost::shared_ptr< ::brics_actuator::CartesianTwist const> CartesianTwistConstPtr;
00074 
00075 
00076 template<typename ContainerAllocator>
00077 std::ostream& operator<<(std::ostream& s, const  ::brics_actuator::CartesianTwist_<ContainerAllocator> & v)
00078 {
00079   ros::message_operations::Printer< ::brics_actuator::CartesianTwist_<ContainerAllocator> >::stream(s, "", v);
00080   return s;}
00081 
00082 } // namespace brics_actuator
00083 
00084 namespace ros
00085 {
00086 namespace message_traits
00087 {
00088 template<class ContainerAllocator> struct IsMessage< ::brics_actuator::CartesianTwist_<ContainerAllocator> > : public TrueType {};
00089 template<class ContainerAllocator> struct IsMessage< ::brics_actuator::CartesianTwist_<ContainerAllocator>  const> : public TrueType {};
00090 template<class ContainerAllocator>
00091 struct MD5Sum< ::brics_actuator::CartesianTwist_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "e86336d0ca57e442a1f55b8cb29e1a22";
00095   }
00096 
00097   static const char* value(const  ::brics_actuator::CartesianTwist_<ContainerAllocator> &) { return value(); } 
00098   static const uint64_t static_value1 = 0xe86336d0ca57e442ULL;
00099   static const uint64_t static_value2 = 0xa1f55b8cb29e1a22ULL;
00100 };
00101 
00102 template<class ContainerAllocator>
00103 struct DataType< ::brics_actuator::CartesianTwist_<ContainerAllocator> > {
00104   static const char* value() 
00105   {
00106     return "brics_actuator/CartesianTwist";
00107   }
00108 
00109   static const char* value(const  ::brics_actuator::CartesianTwist_<ContainerAllocator> &) { return value(); } 
00110 };
00111 
00112 template<class ContainerAllocator>
00113 struct Definition< ::brics_actuator::CartesianTwist_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "time timeStamp\n\
00117 Poison poisonStamp\n\
00118 string base_frame_uri\n\
00119 string target_frame_uri\n\
00120 # need some more frames?        \n\
00121 CartesianVector translation \n\
00122 CartesianVector rotation\n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: brics_actuator/Poison\n\
00126 string originator               # node id\n\
00127 string description              # encoding still an issue\n\
00128 float32 qos                     # reliability of the channel\n\
00129                                 # 0..1 where 1 means healthy\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: brics_actuator/CartesianVector\n\
00133 string unit\n\
00134 float64 x\n\
00135 float64 y\n\
00136 float64 z\n\
00137 \n\
00138 ";
00139   }
00140 
00141   static const char* value(const  ::brics_actuator::CartesianTwist_<ContainerAllocator> &) { return value(); } 
00142 };
00143 
00144 } // namespace message_traits
00145 } // namespace ros
00146 
00147 namespace ros
00148 {
00149 namespace serialization
00150 {
00151 
00152 template<class ContainerAllocator> struct Serializer< ::brics_actuator::CartesianTwist_<ContainerAllocator> >
00153 {
00154   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00155   {
00156     stream.next(m.timeStamp);
00157     stream.next(m.poisonStamp);
00158     stream.next(m.base_frame_uri);
00159     stream.next(m.target_frame_uri);
00160     stream.next(m.translation);
00161     stream.next(m.rotation);
00162   }
00163 
00164   ROS_DECLARE_ALLINONE_SERIALIZER;
00165 }; // struct CartesianTwist_
00166 } // namespace serialization
00167 } // namespace ros
00168 
00169 namespace ros
00170 {
00171 namespace message_operations
00172 {
00173 
00174 template<class ContainerAllocator>
00175 struct Printer< ::brics_actuator::CartesianTwist_<ContainerAllocator> >
00176 {
00177   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::brics_actuator::CartesianTwist_<ContainerAllocator> & v) 
00178   {
00179     s << indent << "timeStamp: ";
00180     Printer<ros::Time>::stream(s, indent + "  ", v.timeStamp);
00181     s << indent << "poisonStamp: ";
00182 s << std::endl;
00183     Printer< ::brics_actuator::Poison_<ContainerAllocator> >::stream(s, indent + "  ", v.poisonStamp);
00184     s << indent << "base_frame_uri: ";
00185     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.base_frame_uri);
00186     s << indent << "target_frame_uri: ";
00187     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.target_frame_uri);
00188     s << indent << "translation: ";
00189 s << std::endl;
00190     Printer< ::brics_actuator::CartesianVector_<ContainerAllocator> >::stream(s, indent + "  ", v.translation);
00191     s << indent << "rotation: ";
00192 s << std::endl;
00193     Printer< ::brics_actuator::CartesianVector_<ContainerAllocator> >::stream(s, indent + "  ", v.rotation);
00194   }
00195 };
00196 
00197 
00198 } // namespace message_operations
00199 } // namespace ros
00200 
00201 #endif // BRICS_ACTUATOR_MESSAGE_CARTESIANTWIST_H
00202 


brics_actuator
Author(s): Alexander Bubeck
autogenerated on Sun Oct 5 2014 22:58:19