ListTasks.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-rocon_msgs/doc_stacks/2013-01-15_17-40-23.156253/rocon_msgs/demo_msgs/msg/ListTasks.msg */
00002 #ifndef DEMO_MSGS_MESSAGE_LISTTASKS_H
00003 #define DEMO_MSGS_MESSAGE_LISTTASKS_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 "demo_msgs/Task.h"
00018 
00019 namespace demo_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct ListTasks_ {
00023   typedef ListTasks_<ContainerAllocator> Type;
00024 
00025   ListTasks_()
00026   : tasks()
00027   {
00028   }
00029 
00030   ListTasks_(const ContainerAllocator& _alloc)
00031   : tasks(_alloc)
00032   {
00033   }
00034 
00035   typedef std::vector< ::demo_msgs::Task_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::demo_msgs::Task_<ContainerAllocator> >::other >  _tasks_type;
00036   std::vector< ::demo_msgs::Task_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::demo_msgs::Task_<ContainerAllocator> >::other >  tasks;
00037 
00038 
00039   typedef boost::shared_ptr< ::demo_msgs::ListTasks_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::demo_msgs::ListTasks_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct ListTasks
00043 typedef  ::demo_msgs::ListTasks_<std::allocator<void> > ListTasks;
00044 
00045 typedef boost::shared_ptr< ::demo_msgs::ListTasks> ListTasksPtr;
00046 typedef boost::shared_ptr< ::demo_msgs::ListTasks const> ListTasksConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::demo_msgs::ListTasks_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::demo_msgs::ListTasks_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace demo_msgs
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::demo_msgs::ListTasks_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::demo_msgs::ListTasks_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::demo_msgs::ListTasks_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "6f8c4b4a4010a09d0fb694e49e8bc30c";
00068   }
00069 
00070   static const char* value(const  ::demo_msgs::ListTasks_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0x6f8c4b4a4010a09dULL;
00072   static const uint64_t static_value2 = 0x0fb694e49e8bc30cULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::demo_msgs::ListTasks_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "demo_msgs/ListTasks";
00080   }
00081 
00082   static const char* value(const  ::demo_msgs::ListTasks_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::demo_msgs::ListTasks_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "Task[] tasks\n\
00090 \n\
00091 ================================================================================\n\
00092 MSG: demo_msgs/Task\n\
00093 int16 task_id\n\
00094 string status\n\
00095 \n\
00096 ";
00097   }
00098 
00099   static const char* value(const  ::demo_msgs::ListTasks_<ContainerAllocator> &) { return value(); } 
00100 };
00101 
00102 } // namespace message_traits
00103 } // namespace ros
00104 
00105 namespace ros
00106 {
00107 namespace serialization
00108 {
00109 
00110 template<class ContainerAllocator> struct Serializer< ::demo_msgs::ListTasks_<ContainerAllocator> >
00111 {
00112   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00113   {
00114     stream.next(m.tasks);
00115   }
00116 
00117   ROS_DECLARE_ALLINONE_SERIALIZER;
00118 }; // struct ListTasks_
00119 } // namespace serialization
00120 } // namespace ros
00121 
00122 namespace ros
00123 {
00124 namespace message_operations
00125 {
00126 
00127 template<class ContainerAllocator>
00128 struct Printer< ::demo_msgs::ListTasks_<ContainerAllocator> >
00129 {
00130   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::demo_msgs::ListTasks_<ContainerAllocator> & v) 
00131   {
00132     s << indent << "tasks[]" << std::endl;
00133     for (size_t i = 0; i < v.tasks.size(); ++i)
00134     {
00135       s << indent << "  tasks[" << i << "]: ";
00136       s << std::endl;
00137       s << indent;
00138       Printer< ::demo_msgs::Task_<ContainerAllocator> >::stream(s, indent + "    ", v.tasks[i]);
00139     }
00140   }
00141 };
00142 
00143 
00144 } // namespace message_operations
00145 } // namespace ros
00146 
00147 #endif // DEMO_MSGS_MESSAGE_LISTTASKS_H
00148 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


demo_msgs
Author(s): Jihoon
autogenerated on Tue Jan 15 2013 17:43:22