Task.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-continuous_ops/doc_stacks/2013-12-06_19-54-49.017790/continuous_ops/continuous_ops_msgs/msg/Task.msg */
00002 #ifndef CONTINUOUS_OPS_MSGS_MESSAGE_TASK_H
00003 #define CONTINUOUS_OPS_MSGS_MESSAGE_TASK_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 continuous_ops_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct Task_ {
00022   typedef Task_<ContainerAllocator> Type;
00023 
00024   Task_()
00025   : name()
00026   , description()
00027   , task_id()
00028   , run_id()
00029   , launch_file()
00030   , image_file()
00031   , state()
00032   , action_ns()
00033   , timeout()
00034   {
00035   }
00036 
00037   Task_(const ContainerAllocator& _alloc)
00038   : name(_alloc)
00039   , description(_alloc)
00040   , task_id(_alloc)
00041   , run_id(_alloc)
00042   , launch_file(_alloc)
00043   , image_file(_alloc)
00044   , state(_alloc)
00045   , action_ns(_alloc)
00046   , timeout()
00047   {
00048   }
00049 
00050   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00051   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00052 
00053   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _description_type;
00054   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  description;
00055 
00056   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _task_id_type;
00057   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  task_id;
00058 
00059   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _run_id_type;
00060   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  run_id;
00061 
00062   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _launch_file_type;
00063   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  launch_file;
00064 
00065   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _image_file_type;
00066   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  image_file;
00067 
00068   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _state_type;
00069   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  state;
00070 
00071   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _action_ns_type;
00072   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  action_ns;
00073 
00074   typedef ros::Duration _timeout_type;
00075   ros::Duration timeout;
00076 
00077 
00078   typedef boost::shared_ptr< ::continuous_ops_msgs::Task_<ContainerAllocator> > Ptr;
00079   typedef boost::shared_ptr< ::continuous_ops_msgs::Task_<ContainerAllocator>  const> ConstPtr;
00080   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00081 }; // struct Task
00082 typedef  ::continuous_ops_msgs::Task_<std::allocator<void> > Task;
00083 
00084 typedef boost::shared_ptr< ::continuous_ops_msgs::Task> TaskPtr;
00085 typedef boost::shared_ptr< ::continuous_ops_msgs::Task const> TaskConstPtr;
00086 
00087 
00088 template<typename ContainerAllocator>
00089 std::ostream& operator<<(std::ostream& s, const  ::continuous_ops_msgs::Task_<ContainerAllocator> & v)
00090 {
00091   ros::message_operations::Printer< ::continuous_ops_msgs::Task_<ContainerAllocator> >::stream(s, "", v);
00092   return s;}
00093 
00094 } // namespace continuous_ops_msgs
00095 
00096 namespace ros
00097 {
00098 namespace message_traits
00099 {
00100 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::Task_<ContainerAllocator> > : public TrueType {};
00101 template<class ContainerAllocator> struct IsMessage< ::continuous_ops_msgs::Task_<ContainerAllocator>  const> : public TrueType {};
00102 template<class ContainerAllocator>
00103 struct MD5Sum< ::continuous_ops_msgs::Task_<ContainerAllocator> > {
00104   static const char* value() 
00105   {
00106     return "6e00694b70b1c0d56c53112587f3804c";
00107   }
00108 
00109   static const char* value(const  ::continuous_ops_msgs::Task_<ContainerAllocator> &) { return value(); } 
00110   static const uint64_t static_value1 = 0x6e00694b70b1c0d5ULL;
00111   static const uint64_t static_value2 = 0x6c53112587f3804cULL;
00112 };
00113 
00114 template<class ContainerAllocator>
00115 struct DataType< ::continuous_ops_msgs::Task_<ContainerAllocator> > {
00116   static const char* value() 
00117   {
00118     return "continuous_ops_msgs/Task";
00119   }
00120 
00121   static const char* value(const  ::continuous_ops_msgs::Task_<ContainerAllocator> &) { return value(); } 
00122 };
00123 
00124 template<class ContainerAllocator>
00125 struct Definition< ::continuous_ops_msgs::Task_<ContainerAllocator> > {
00126   static const char* value() 
00127   {
00128     return "string name\n\
00129 string description\n\
00130 string task_id\n\
00131 string run_id\n\
00132 string launch_file\n\
00133 string image_file\n\
00134 string state\n\
00135 string action_ns\n\
00136 duration timeout\n\
00137 ";
00138   }
00139 
00140   static const char* value(const  ::continuous_ops_msgs::Task_<ContainerAllocator> &) { return value(); } 
00141 };
00142 
00143 } // namespace message_traits
00144 } // namespace ros
00145 
00146 namespace ros
00147 {
00148 namespace serialization
00149 {
00150 
00151 template<class ContainerAllocator> struct Serializer< ::continuous_ops_msgs::Task_<ContainerAllocator> >
00152 {
00153   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00154   {
00155     stream.next(m.name);
00156     stream.next(m.description);
00157     stream.next(m.task_id);
00158     stream.next(m.run_id);
00159     stream.next(m.launch_file);
00160     stream.next(m.image_file);
00161     stream.next(m.state);
00162     stream.next(m.action_ns);
00163     stream.next(m.timeout);
00164   }
00165 
00166   ROS_DECLARE_ALLINONE_SERIALIZER;
00167 }; // struct Task_
00168 } // namespace serialization
00169 } // namespace ros
00170 
00171 namespace ros
00172 {
00173 namespace message_operations
00174 {
00175 
00176 template<class ContainerAllocator>
00177 struct Printer< ::continuous_ops_msgs::Task_<ContainerAllocator> >
00178 {
00179   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::continuous_ops_msgs::Task_<ContainerAllocator> & v) 
00180   {
00181     s << indent << "name: ";
00182     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00183     s << indent << "description: ";
00184     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.description);
00185     s << indent << "task_id: ";
00186     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.task_id);
00187     s << indent << "run_id: ";
00188     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.run_id);
00189     s << indent << "launch_file: ";
00190     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.launch_file);
00191     s << indent << "image_file: ";
00192     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.image_file);
00193     s << indent << "state: ";
00194     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.state);
00195     s << indent << "action_ns: ";
00196     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.action_ns);
00197     s << indent << "timeout: ";
00198     Printer<ros::Duration>::stream(s, indent + "  ", v.timeout);
00199   }
00200 };
00201 
00202 
00203 } // namespace message_operations
00204 } // namespace ros
00205 
00206 #endif // CONTINUOUS_OPS_MSGS_MESSAGE_TASK_H
00207 


continuous_ops_msgs
Author(s): Wim Meeussen
autogenerated on Fri Dec 6 2013 19:57:52