TrajectoryMonitorFactors.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/TrajectoryMonitorFactors.msg */
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_TRAJECTORYMONITORFACTORS_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_TRAJECTORYMONITORFACTORS_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 TrajectoryMonitorFactors_ {
00022   typedef TrajectoryMonitorFactors_<ContainerAllocator> Type;
00023 
00024   TrajectoryMonitorFactors_()
00025   : joint_names()
00026   , torqueLimitFactors()
00027   , distanceFactors()
00028   {
00029   }
00030 
00031   TrajectoryMonitorFactors_(const ContainerAllocator& _alloc)
00032   : joint_names(_alloc)
00033   , torqueLimitFactors(_alloc)
00034   , distanceFactors(_alloc)
00035   {
00036   }
00037 
00038   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;
00039   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;
00040 
00041   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _torqueLimitFactors_type;
00042   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  torqueLimitFactors;
00043 
00044   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _distanceFactors_type;
00045   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  distanceFactors;
00046 
00047 
00048   typedef boost::shared_ptr< ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct TrajectoryMonitorFactors
00052 typedef  ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<std::allocator<void> > TrajectoryMonitorFactors;
00053 
00054 typedef boost::shared_ptr< ::nasa_r2_common_msgs::TrajectoryMonitorFactors> TrajectoryMonitorFactorsPtr;
00055 typedef boost::shared_ptr< ::nasa_r2_common_msgs::TrajectoryMonitorFactors const> TrajectoryMonitorFactorsConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace nasa_r2_common_msgs
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "2e22743ec8c9b84c75edc4b02a6f32a9";
00077   }
00078 
00079   static const char* value(const  ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0x2e22743ec8c9b84cULL;
00081   static const uint64_t static_value2 = 0x75edc4b02a6f32a9ULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "nasa_r2_common_msgs/TrajectoryMonitorFactors";
00089   }
00090 
00091   static const char* value(const  ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "string[] joint_names\n\
00099 float64[] torqueLimitFactors\n\
00100 float64[] distanceFactors\n\
00101 \n\
00102 ";
00103   }
00104 
00105   static const char* value(const  ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator> &) { return value(); } 
00106 };
00107 
00108 } // namespace message_traits
00109 } // namespace ros
00110 
00111 namespace ros
00112 {
00113 namespace serialization
00114 {
00115 
00116 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator> >
00117 {
00118   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00119   {
00120     stream.next(m.joint_names);
00121     stream.next(m.torqueLimitFactors);
00122     stream.next(m.distanceFactors);
00123   }
00124 
00125   ROS_DECLARE_ALLINONE_SERIALIZER;
00126 }; // struct TrajectoryMonitorFactors_
00127 } // namespace serialization
00128 } // namespace ros
00129 
00130 namespace ros
00131 {
00132 namespace message_operations
00133 {
00134 
00135 template<class ContainerAllocator>
00136 struct Printer< ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator> >
00137 {
00138   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nasa_r2_common_msgs::TrajectoryMonitorFactors_<ContainerAllocator> & v) 
00139   {
00140     s << indent << "joint_names[]" << std::endl;
00141     for (size_t i = 0; i < v.joint_names.size(); ++i)
00142     {
00143       s << indent << "  joint_names[" << i << "]: ";
00144       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.joint_names[i]);
00145     }
00146     s << indent << "torqueLimitFactors[]" << std::endl;
00147     for (size_t i = 0; i < v.torqueLimitFactors.size(); ++i)
00148     {
00149       s << indent << "  torqueLimitFactors[" << i << "]: ";
00150       Printer<double>::stream(s, indent + "  ", v.torqueLimitFactors[i]);
00151     }
00152     s << indent << "distanceFactors[]" << std::endl;
00153     for (size_t i = 0; i < v.distanceFactors.size(); ++i)
00154     {
00155       s << indent << "  distanceFactors[" << i << "]: ";
00156       Printer<double>::stream(s, indent + "  ", v.distanceFactors[i]);
00157     }
00158   }
00159 };
00160 
00161 
00162 } // namespace message_operations
00163 } // namespace ros
00164 
00165 #endif // NASA_R2_COMMON_MSGS_MESSAGE_TRAJECTORYMONITORFACTORS_H
00166 


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