JointConstraint.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-cob_common/doc_stacks/2013-03-01_17-42-56.130276/cob_common/brics_actuator/msg/JointConstraint.msg */
00002 #ifndef BRICS_ACTUATOR_MESSAGE_JOINTCONSTRAINT_H
00003 #define BRICS_ACTUATOR_MESSAGE_JOINTCONSTRAINT_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/JointValue.h"
00018 
00019 namespace brics_actuator
00020 {
00021 template <class ContainerAllocator>
00022 struct JointConstraint_ {
00023   typedef JointConstraint_<ContainerAllocator> Type;
00024 
00025   JointConstraint_()
00026   : type()
00027   , value()
00028   {
00029   }
00030 
00031   JointConstraint_(const ContainerAllocator& _alloc)
00032   : type(_alloc)
00033   , value(_alloc)
00034   {
00035   }
00036 
00037   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _type_type;
00038   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  type;
00039 
00040   typedef  ::brics_actuator::JointValue_<ContainerAllocator>  _value_type;
00041    ::brics_actuator::JointValue_<ContainerAllocator>  value;
00042 
00043 
00044   typedef boost::shared_ptr< ::brics_actuator::JointConstraint_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::brics_actuator::JointConstraint_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct JointConstraint
00048 typedef  ::brics_actuator::JointConstraint_<std::allocator<void> > JointConstraint;
00049 
00050 typedef boost::shared_ptr< ::brics_actuator::JointConstraint> JointConstraintPtr;
00051 typedef boost::shared_ptr< ::brics_actuator::JointConstraint const> JointConstraintConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::brics_actuator::JointConstraint_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::brics_actuator::JointConstraint_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace brics_actuator
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::brics_actuator::JointConstraint_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::brics_actuator::JointConstraint_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::brics_actuator::JointConstraint_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "f77db04949b26b64f80564df22f00ecb";
00073   }
00074 
00075   static const char* value(const  ::brics_actuator::JointConstraint_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0xf77db04949b26b64ULL;
00077   static const uint64_t static_value2 = 0xf80564df22f00ecbULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::brics_actuator::JointConstraint_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "brics_actuator/JointConstraint";
00085   }
00086 
00087   static const char* value(const  ::brics_actuator::JointConstraint_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::brics_actuator::JointConstraint_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "string type                 #smaller, greater, equal or <, >, =\n\
00095 JointValue value\n\
00096 \n\
00097 ================================================================================\n\
00098 MSG: brics_actuator/JointValue\n\
00099 time timeStamp          #time of the data \n\
00100 string joint_uri\n\
00101 string unit             #if empy expects si units, you can use boost::unit\n\
00102 float64 value\n\
00103 \n\
00104 ";
00105   }
00106 
00107   static const char* value(const  ::brics_actuator::JointConstraint_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 } // namespace message_traits
00111 } // namespace ros
00112 
00113 namespace ros
00114 {
00115 namespace serialization
00116 {
00117 
00118 template<class ContainerAllocator> struct Serializer< ::brics_actuator::JointConstraint_<ContainerAllocator> >
00119 {
00120   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00121   {
00122     stream.next(m.type);
00123     stream.next(m.value);
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct JointConstraint_
00128 } // namespace serialization
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135 
00136 template<class ContainerAllocator>
00137 struct Printer< ::brics_actuator::JointConstraint_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::brics_actuator::JointConstraint_<ContainerAllocator> & v) 
00140   {
00141     s << indent << "type: ";
00142     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.type);
00143     s << indent << "value: ";
00144 s << std::endl;
00145     Printer< ::brics_actuator::JointValue_<ContainerAllocator> >::stream(s, indent + "  ", v.value);
00146   }
00147 };
00148 
00149 
00150 } // namespace message_operations
00151 } // namespace ros
00152 
00153 #endif // BRICS_ACTUATOR_MESSAGE_JOINTCONSTRAINT_H
00154 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


brics_actuator
Author(s): Alexander Bubeck
autogenerated on Fri Mar 1 2013 17:46:23