PoseCommandStatus.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-07-26_06-32-12.447217/nasa_r2_common/r2_msgs/msg/PoseCommandStatus.msg */
00002 #ifndef R2_MSGS_MESSAGE_POSECOMMANDSTATUS_H
00003 #define R2_MSGS_MESSAGE_POSECOMMANDSTATUS_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 r2_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct PoseCommandStatus_ {
00022   typedef PoseCommandStatus_<ContainerAllocator> Type;
00023 
00024   PoseCommandStatus_()
00025   : stamp()
00026   , commandId()
00027   , status(0)
00028   , statusMessage()
00029   {
00030   }
00031 
00032   PoseCommandStatus_(const ContainerAllocator& _alloc)
00033   : stamp()
00034   , commandId(_alloc)
00035   , status(0)
00036   , statusMessage(_alloc)
00037   {
00038   }
00039 
00040   typedef ros::Time _stamp_type;
00041   ros::Time stamp;
00042 
00043   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _commandId_type;
00044   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  commandId;
00045 
00046   typedef uint8_t _status_type;
00047   uint8_t status;
00048 
00049   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _statusMessage_type;
00050   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  statusMessage;
00051 
00052   enum { PENDING = 0 };
00053   enum { ACTIVE = 1 };
00054   enum { REJECTED = 2 };
00055   enum { SUCCEEDED = 3 };
00056   enum { FAILED = 4 };
00057 
00058   typedef boost::shared_ptr< ::r2_msgs::PoseCommandStatus_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::r2_msgs::PoseCommandStatus_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct PoseCommandStatus
00062 typedef  ::r2_msgs::PoseCommandStatus_<std::allocator<void> > PoseCommandStatus;
00063 
00064 typedef boost::shared_ptr< ::r2_msgs::PoseCommandStatus> PoseCommandStatusPtr;
00065 typedef boost::shared_ptr< ::r2_msgs::PoseCommandStatus const> PoseCommandStatusConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::r2_msgs::PoseCommandStatus_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::r2_msgs::PoseCommandStatus_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace r2_msgs
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::PoseCommandStatus_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::PoseCommandStatus_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::r2_msgs::PoseCommandStatus_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "82493b7735e3fe414b93381d96bfd1ee";
00087   }
00088 
00089   static const char* value(const  ::r2_msgs::PoseCommandStatus_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0x82493b7735e3fe41ULL;
00091   static const uint64_t static_value2 = 0x4b93381d96bfd1eeULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::r2_msgs::PoseCommandStatus_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "r2_msgs/PoseCommandStatus";
00099   }
00100 
00101   static const char* value(const  ::r2_msgs::PoseCommandStatus_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::r2_msgs::PoseCommandStatus_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "time stamp\n\
00109 string commandId\n\
00110 uint8 PENDING=0\n\
00111 uint8 ACTIVE=1\n\
00112 uint8 REJECTED=2\n\
00113 uint8 SUCCEEDED=3\n\
00114 uint8 FAILED=4\n\
00115 uint8 status\n\
00116 string statusMessage\n\
00117 \n\
00118 ";
00119   }
00120 
00121   static const char* value(const  ::r2_msgs::PoseCommandStatus_<ContainerAllocator> &) { return value(); } 
00122 };
00123 
00124 } // namespace message_traits
00125 } // namespace ros
00126 
00127 namespace ros
00128 {
00129 namespace serialization
00130 {
00131 
00132 template<class ContainerAllocator> struct Serializer< ::r2_msgs::PoseCommandStatus_<ContainerAllocator> >
00133 {
00134   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00135   {
00136     stream.next(m.stamp);
00137     stream.next(m.commandId);
00138     stream.next(m.status);
00139     stream.next(m.statusMessage);
00140   }
00141 
00142   ROS_DECLARE_ALLINONE_SERIALIZER;
00143 }; // struct PoseCommandStatus_
00144 } // namespace serialization
00145 } // namespace ros
00146 
00147 namespace ros
00148 {
00149 namespace message_operations
00150 {
00151 
00152 template<class ContainerAllocator>
00153 struct Printer< ::r2_msgs::PoseCommandStatus_<ContainerAllocator> >
00154 {
00155   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::r2_msgs::PoseCommandStatus_<ContainerAllocator> & v) 
00156   {
00157     s << indent << "stamp: ";
00158     Printer<ros::Time>::stream(s, indent + "  ", v.stamp);
00159     s << indent << "commandId: ";
00160     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.commandId);
00161     s << indent << "status: ";
00162     Printer<uint8_t>::stream(s, indent + "  ", v.status);
00163     s << indent << "statusMessage: ";
00164     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.statusMessage);
00165   }
00166 };
00167 
00168 
00169 } // namespace message_operations
00170 } // namespace ros
00171 
00172 #endif // R2_MSGS_MESSAGE_POSECOMMANDSTATUS_H
00173 


r2_msgs
Author(s): Paul Dinh
autogenerated on Sat Jul 26 2014 06:34:21