Go to the documentation of this file.00001
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_LABELEDCONTROLLERPOSESETTINGS_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_LABELEDCONTROLLERPOSESETTINGS_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 LabeledControllerPoseSettings_ {
00022 typedef LabeledControllerPoseSettings_<ContainerAllocator> Type;
00023
00024 LabeledControllerPoseSettings_()
00025 : originator()
00026 , maxLinearVelocity(0.0)
00027 , maxRotationalVelocity(0.0)
00028 , maxLinearAcceleration(0.0)
00029 , maxRotationalAcceleration(0.0)
00030 {
00031 }
00032
00033 LabeledControllerPoseSettings_(const ContainerAllocator& _alloc)
00034 : originator(_alloc)
00035 , maxLinearVelocity(0.0)
00036 , maxRotationalVelocity(0.0)
00037 , maxLinearAcceleration(0.0)
00038 , maxRotationalAcceleration(0.0)
00039 {
00040 }
00041
00042 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _originator_type;
00043 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > originator;
00044
00045 typedef double _maxLinearVelocity_type;
00046 double maxLinearVelocity;
00047
00048 typedef double _maxRotationalVelocity_type;
00049 double maxRotationalVelocity;
00050
00051 typedef double _maxLinearAcceleration_type;
00052 double maxLinearAcceleration;
00053
00054 typedef double _maxRotationalAcceleration_type;
00055 double maxRotationalAcceleration;
00056
00057
00058 typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> > Ptr;
00059 typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> const> ConstPtr;
00060 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 };
00062 typedef ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<std::allocator<void> > LabeledControllerPoseSettings;
00063
00064 typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledControllerPoseSettings> LabeledControllerPoseSettingsPtr;
00065 typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledControllerPoseSettings const> LabeledControllerPoseSettingsConstPtr;
00066
00067
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> & v)
00070 {
00071 ros::message_operations::Printer< ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> >::stream(s, "", v);
00072 return s;}
00073
00074 }
00075
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> > {
00084 static const char* value()
00085 {
00086 return "693211d9c36a5f2d5e074080ca79820b";
00087 }
00088
00089 static const char* value(const ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> &) { return value(); }
00090 static const uint64_t static_value1 = 0x693211d9c36a5f2dULL;
00091 static const uint64_t static_value2 = 0x5e074080ca79820bULL;
00092 };
00093
00094 template<class ContainerAllocator>
00095 struct DataType< ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "nasa_r2_common_msgs/LabeledControllerPoseSettings";
00099 }
00100
00101 static const char* value(const ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> &) { return value(); }
00102 };
00103
00104 template<class ContainerAllocator>
00105 struct Definition< ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "string originator\n\
00109 float64 maxLinearVelocity\n\
00110 float64 maxRotationalVelocity\n\
00111 float64 maxLinearAcceleration\n\
00112 float64 maxRotationalAcceleration\n\
00113 \n\
00114 ";
00115 }
00116
00117 static const char* value(const ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> &) { return value(); }
00118 };
00119
00120 }
00121 }
00122
00123 namespace ros
00124 {
00125 namespace serialization
00126 {
00127
00128 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> >
00129 {
00130 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00131 {
00132 stream.next(m.originator);
00133 stream.next(m.maxLinearVelocity);
00134 stream.next(m.maxRotationalVelocity);
00135 stream.next(m.maxLinearAcceleration);
00136 stream.next(m.maxRotationalAcceleration);
00137 }
00138
00139 ROS_DECLARE_ALLINONE_SERIALIZER;
00140 };
00141 }
00142 }
00143
00144 namespace ros
00145 {
00146 namespace message_operations
00147 {
00148
00149 template<class ContainerAllocator>
00150 struct Printer< ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> >
00151 {
00152 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nasa_r2_common_msgs::LabeledControllerPoseSettings_<ContainerAllocator> & v)
00153 {
00154 s << indent << "originator: ";
00155 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.originator);
00156 s << indent << "maxLinearVelocity: ";
00157 Printer<double>::stream(s, indent + " ", v.maxLinearVelocity);
00158 s << indent << "maxRotationalVelocity: ";
00159 Printer<double>::stream(s, indent + " ", v.maxRotationalVelocity);
00160 s << indent << "maxLinearAcceleration: ";
00161 Printer<double>::stream(s, indent + " ", v.maxLinearAcceleration);
00162 s << indent << "maxRotationalAcceleration: ";
00163 Printer<double>::stream(s, indent + " ", v.maxRotationalAcceleration);
00164 }
00165 };
00166
00167
00168 }
00169 }
00170
00171 #endif // NASA_R2_COMMON_MSGS_MESSAGE_LABELEDCONTROLLERPOSESETTINGS_H
00172