LearningCommand.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-art_vehicle/doc_stacks/2014-01-03_11-05-32.392273/art_vehicle/art_msgs/msg/LearningCommand.msg */
00002 #ifndef ART_MSGS_MESSAGE_LEARNINGCOMMAND_H
00003 #define ART_MSGS_MESSAGE_LEARNINGCOMMAND_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 
00019 namespace art_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct LearningCommand_ {
00023   typedef LearningCommand_<ContainerAllocator> Type;
00024 
00025   LearningCommand_()
00026   : header()
00027   , pilotActive(0)
00028   {
00029   }
00030 
00031   LearningCommand_(const ContainerAllocator& _alloc)
00032   : header(_alloc)
00033   , pilotActive(0)
00034   {
00035   }
00036 
00037   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00038    ::std_msgs::Header_<ContainerAllocator>  header;
00039 
00040   typedef int8_t _pilotActive_type;
00041   int8_t pilotActive;
00042 
00043 
00044   typedef boost::shared_ptr< ::art_msgs::LearningCommand_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::art_msgs::LearningCommand_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct LearningCommand
00048 typedef  ::art_msgs::LearningCommand_<std::allocator<void> > LearningCommand;
00049 
00050 typedef boost::shared_ptr< ::art_msgs::LearningCommand> LearningCommandPtr;
00051 typedef boost::shared_ptr< ::art_msgs::LearningCommand const> LearningCommandConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::LearningCommand_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::art_msgs::LearningCommand_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace art_msgs
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::art_msgs::LearningCommand_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::art_msgs::LearningCommand_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::art_msgs::LearningCommand_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "ddd1e597cd0c1d6b0d1497108b462a51";
00073   }
00074 
00075   static const char* value(const  ::art_msgs::LearningCommand_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0xddd1e597cd0c1d6bULL;
00077   static const uint64_t static_value2 = 0x0d1497108b462a51ULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::art_msgs::LearningCommand_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "art_msgs/LearningCommand";
00085   }
00086 
00087   static const char* value(const  ::art_msgs::LearningCommand_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::art_msgs::LearningCommand_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "# Lets us turn on or off different modules using a message\n\
00095 # For example, I can disable pilot for some parts of learning\n\
00096 \n\
00097 # $Id: LearningCommand.msg 644 2010-09-28 03:19:07Z jack.oquin $\n\
00098 \n\
00099 Header     header\n\
00100 int8       pilotActive\n\
00101 \n\
00102 ================================================================================\n\
00103 MSG: std_msgs/Header\n\
00104 # Standard metadata for higher-level stamped data types.\n\
00105 # This is generally used to communicate timestamped data \n\
00106 # in a particular coordinate frame.\n\
00107 # \n\
00108 # sequence ID: consecutively increasing ID \n\
00109 uint32 seq\n\
00110 #Two-integer timestamp that is expressed as:\n\
00111 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00112 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00113 # time-handling sugar is provided by the client library\n\
00114 time stamp\n\
00115 #Frame this data is associated with\n\
00116 # 0: no frame\n\
00117 # 1: global frame\n\
00118 string frame_id\n\
00119 \n\
00120 ";
00121   }
00122 
00123   static const char* value(const  ::art_msgs::LearningCommand_<ContainerAllocator> &) { return value(); } 
00124 };
00125 
00126 template<class ContainerAllocator> struct HasHeader< ::art_msgs::LearningCommand_<ContainerAllocator> > : public TrueType {};
00127 template<class ContainerAllocator> struct HasHeader< const ::art_msgs::LearningCommand_<ContainerAllocator> > : public TrueType {};
00128 } // namespace message_traits
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace serialization
00134 {
00135 
00136 template<class ContainerAllocator> struct Serializer< ::art_msgs::LearningCommand_<ContainerAllocator> >
00137 {
00138   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00139   {
00140     stream.next(m.header);
00141     stream.next(m.pilotActive);
00142   }
00143 
00144   ROS_DECLARE_ALLINONE_SERIALIZER;
00145 }; // struct LearningCommand_
00146 } // namespace serialization
00147 } // namespace ros
00148 
00149 namespace ros
00150 {
00151 namespace message_operations
00152 {
00153 
00154 template<class ContainerAllocator>
00155 struct Printer< ::art_msgs::LearningCommand_<ContainerAllocator> >
00156 {
00157   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::LearningCommand_<ContainerAllocator> & v) 
00158   {
00159     s << indent << "header: ";
00160 s << std::endl;
00161     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00162     s << indent << "pilotActive: ";
00163     Printer<int8_t>::stream(s, indent + "  ", v.pilotActive);
00164   }
00165 };
00166 
00167 
00168 } // namespace message_operations
00169 } // namespace ros
00170 
00171 #endif // ART_MSGS_MESSAGE_LEARNINGCOMMAND_H
00172 


art_msgs
Author(s): Jack O'Quin
autogenerated on Fri Jan 3 2014 11:08:05