LabeledControllerJointSettings.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-nasa_r2_common/doc_stacks/2014-10-06_02-39-31.575241/nasa_r2_common/nasa_r2_common_msgs/msg/LabeledControllerJointSettings.msg */
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_LABELEDCONTROLLERJOINTSETTINGS_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_LABELEDCONTROLLERJOINTSETTINGS_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 
00018 namespace nasa_r2_common_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct LabeledControllerJointSettings_ {
00022   typedef LabeledControllerJointSettings_<ContainerAllocator> Type;
00023 
00024   LabeledControllerJointSettings_()
00025   : originator()
00026   , joint_names()
00027   , jointVelocityLimits()
00028   , jointAccelerationLimits()
00029   {
00030   }
00031 
00032   LabeledControllerJointSettings_(const ContainerAllocator& _alloc)
00033   : originator(_alloc)
00034   , joint_names(_alloc)
00035   , jointVelocityLimits(_alloc)
00036   , jointAccelerationLimits(_alloc)
00037   {
00038   }
00039 
00040   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _originator_type;
00041   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  originator;
00042 
00043   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _joint_names_type;
00044   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  joint_names;
00045 
00046   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _jointVelocityLimits_type;
00047   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  jointVelocityLimits;
00048 
00049   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _jointAccelerationLimits_type;
00050   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  jointAccelerationLimits;
00051 
00052 
00053   typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct LabeledControllerJointSettings
00057 typedef  ::nasa_r2_common_msgs::LabeledControllerJointSettings_<std::allocator<void> > LabeledControllerJointSettings;
00058 
00059 typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledControllerJointSettings> LabeledControllerJointSettingsPtr;
00060 typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledControllerJointSettings const> LabeledControllerJointSettingsConstPtr;
00061 
00062 
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const  ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator> & v)
00065 {
00066   ros::message_operations::Printer< ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator> >::stream(s, "", v);
00067   return s;}
00068 
00069 } // namespace nasa_r2_common_msgs
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator>  const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "24daa103f09600d0728cbef04caeaa3a";
00082   }
00083 
00084   static const char* value(const  ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator> &) { return value(); } 
00085   static const uint64_t static_value1 = 0x24daa103f09600d0ULL;
00086   static const uint64_t static_value2 = 0x728cbef04caeaa3aULL;
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct DataType< ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "nasa_r2_common_msgs/LabeledControllerJointSettings";
00094   }
00095 
00096   static const char* value(const  ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct Definition< ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "string originator\n\
00104 string[] joint_names\n\
00105 float64[] jointVelocityLimits\n\
00106 float64[] jointAccelerationLimits\n\
00107 \n\
00108 ";
00109   }
00110 
00111   static const char* value(const  ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator> &) { return value(); } 
00112 };
00113 
00114 } // namespace message_traits
00115 } // namespace ros
00116 
00117 namespace ros
00118 {
00119 namespace serialization
00120 {
00121 
00122 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator> >
00123 {
00124   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00125   {
00126     stream.next(m.originator);
00127     stream.next(m.joint_names);
00128     stream.next(m.jointVelocityLimits);
00129     stream.next(m.jointAccelerationLimits);
00130   }
00131 
00132   ROS_DECLARE_ALLINONE_SERIALIZER;
00133 }; // struct LabeledControllerJointSettings_
00134 } // namespace serialization
00135 } // namespace ros
00136 
00137 namespace ros
00138 {
00139 namespace message_operations
00140 {
00141 
00142 template<class ContainerAllocator>
00143 struct Printer< ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator> >
00144 {
00145   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nasa_r2_common_msgs::LabeledControllerJointSettings_<ContainerAllocator> & v) 
00146   {
00147     s << indent << "originator: ";
00148     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.originator);
00149     s << indent << "joint_names[]" << std::endl;
00150     for (size_t i = 0; i < v.joint_names.size(); ++i)
00151     {
00152       s << indent << "  joint_names[" << i << "]: ";
00153       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.joint_names[i]);
00154     }
00155     s << indent << "jointVelocityLimits[]" << std::endl;
00156     for (size_t i = 0; i < v.jointVelocityLimits.size(); ++i)
00157     {
00158       s << indent << "  jointVelocityLimits[" << i << "]: ";
00159       Printer<double>::stream(s, indent + "  ", v.jointVelocityLimits[i]);
00160     }
00161     s << indent << "jointAccelerationLimits[]" << std::endl;
00162     for (size_t i = 0; i < v.jointAccelerationLimits.size(); ++i)
00163     {
00164       s << indent << "  jointAccelerationLimits[" << i << "]: ";
00165       Printer<double>::stream(s, indent + "  ", v.jointAccelerationLimits[i]);
00166     }
00167   }
00168 };
00169 
00170 
00171 } // namespace message_operations
00172 } // namespace ros
00173 
00174 #endif // NASA_R2_COMMON_MSGS_MESSAGE_LABELEDCONTROLLERJOINTSETTINGS_H
00175 


nasa_r2_common_msgs
Author(s): Paul Dinh. Maintained by Jennifer Turner
autogenerated on Mon Oct 6 2014 02:42:34