JointTrajectoryReplan.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/JointTrajectoryReplan.msg */
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_JOINTTRAJECTORYREPLAN_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_JOINTTRAJECTORYREPLAN_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 "std_msgs/Header.h"
00018 #include "nasa_r2_common_msgs/ReplanType.h"
00019 #include "trajectory_msgs/JointTrajectory.h"
00020 
00021 namespace nasa_r2_common_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct JointTrajectoryReplan_ {
00025   typedef JointTrajectoryReplan_<ContainerAllocator> Type;
00026 
00027   JointTrajectoryReplan_()
00028   : header()
00029   , replan()
00030   , trajectory()
00031   {
00032   }
00033 
00034   JointTrajectoryReplan_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , replan(_alloc)
00037   , trajectory(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00042    ::std_msgs::Header_<ContainerAllocator>  header;
00043 
00044   typedef std::vector< ::nasa_r2_common_msgs::ReplanType_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::nasa_r2_common_msgs::ReplanType_<ContainerAllocator> >::other >  _replan_type;
00045   std::vector< ::nasa_r2_common_msgs::ReplanType_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::nasa_r2_common_msgs::ReplanType_<ContainerAllocator> >::other >  replan;
00046 
00047   typedef  ::trajectory_msgs::JointTrajectory_<ContainerAllocator>  _trajectory_type;
00048    ::trajectory_msgs::JointTrajectory_<ContainerAllocator>  trajectory;
00049 
00050 
00051   typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct JointTrajectoryReplan
00055 typedef  ::nasa_r2_common_msgs::JointTrajectoryReplan_<std::allocator<void> > JointTrajectoryReplan;
00056 
00057 typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointTrajectoryReplan> JointTrajectoryReplanPtr;
00058 typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointTrajectoryReplan const> JointTrajectoryReplanConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace nasa_r2_common_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "52e14a24d46f80cd4ed4e7a40daa0c1e";
00080   }
00081 
00082   static const char* value(const  ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x52e14a24d46f80cdULL;
00084   static const uint64_t static_value2 = 0x4ed4e7a40daa0c1eULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "nasa_r2_common_msgs/JointTrajectoryReplan";
00092   }
00093 
00094   static const char* value(const  ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "Header header\n\
00102 ReplanType[] replan\n\
00103 trajectory_msgs/JointTrajectory trajectory\n\
00104 \n\
00105 ================================================================================\n\
00106 MSG: std_msgs/Header\n\
00107 # Standard metadata for higher-level stamped data types.\n\
00108 # This is generally used to communicate timestamped data \n\
00109 # in a particular coordinate frame.\n\
00110 # \n\
00111 # sequence ID: consecutively increasing ID \n\
00112 uint32 seq\n\
00113 #Two-integer timestamp that is expressed as:\n\
00114 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00115 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00116 # time-handling sugar is provided by the client library\n\
00117 time stamp\n\
00118 #Frame this data is associated with\n\
00119 # 0: no frame\n\
00120 # 1: global frame\n\
00121 string frame_id\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: nasa_r2_common_msgs/ReplanType\n\
00125 uint8 type\n\
00126 \n\
00127 uint8 NONE = 0\n\
00128 uint8 SOFT = 1\n\
00129 uint8 HARD = 2\n\
00130 uint8 STOP = 3\n\
00131 uint8 PAUSE = 4\n\
00132 uint8 CONTINUE = 5\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: trajectory_msgs/JointTrajectory\n\
00136 Header header\n\
00137 string[] joint_names\n\
00138 JointTrajectoryPoint[] points\n\
00139 ================================================================================\n\
00140 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00141 float64[] positions\n\
00142 float64[] velocities\n\
00143 float64[] accelerations\n\
00144 duration time_from_start\n\
00145 ";
00146   }
00147 
00148   static const char* value(const  ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> &) { return value(); } 
00149 };
00150 
00151 template<class ContainerAllocator> struct HasHeader< ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> > : public TrueType {};
00152 template<class ContainerAllocator> struct HasHeader< const ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> > : public TrueType {};
00153 } // namespace message_traits
00154 } // namespace ros
00155 
00156 namespace ros
00157 {
00158 namespace serialization
00159 {
00160 
00161 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> >
00162 {
00163   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00164   {
00165     stream.next(m.header);
00166     stream.next(m.replan);
00167     stream.next(m.trajectory);
00168   }
00169 
00170   ROS_DECLARE_ALLINONE_SERIALIZER;
00171 }; // struct JointTrajectoryReplan_
00172 } // namespace serialization
00173 } // namespace ros
00174 
00175 namespace ros
00176 {
00177 namespace message_operations
00178 {
00179 
00180 template<class ContainerAllocator>
00181 struct Printer< ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> >
00182 {
00183   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nasa_r2_common_msgs::JointTrajectoryReplan_<ContainerAllocator> & v) 
00184   {
00185     s << indent << "header: ";
00186 s << std::endl;
00187     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00188     s << indent << "replan[]" << std::endl;
00189     for (size_t i = 0; i < v.replan.size(); ++i)
00190     {
00191       s << indent << "  replan[" << i << "]: ";
00192       s << std::endl;
00193       s << indent;
00194       Printer< ::nasa_r2_common_msgs::ReplanType_<ContainerAllocator> >::stream(s, indent + "    ", v.replan[i]);
00195     }
00196     s << indent << "trajectory: ";
00197 s << std::endl;
00198     Printer< ::trajectory_msgs::JointTrajectory_<ContainerAllocator> >::stream(s, indent + "  ", v.trajectory);
00199   }
00200 };
00201 
00202 
00203 } // namespace message_operations
00204 } // namespace ros
00205 
00206 #endif // NASA_R2_COMMON_MSGS_MESSAGE_JOINTTRAJECTORYREPLAN_H
00207 


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