Procedure.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-roboframenet/doc_stacks/2013-12-06_20-27-09.260049/roboframenet/roboframenet_msgs/msg/Procedure.msg */
00002 #ifndef ROBOFRAMENET_MSGS_MESSAGE_PROCEDURE_H
00003 #define ROBOFRAMENET_MSGS_MESSAGE_PROCEDURE_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 "roboframenet_msgs/FilledSemanticFrameList.h"
00018 
00019 namespace roboframenet_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct Procedure_ {
00023   typedef Procedure_<ContainerAllocator> Type;
00024 
00025   Procedure_()
00026   : frame_lists()
00027   {
00028   }
00029 
00030   Procedure_(const ContainerAllocator& _alloc)
00031   : frame_lists(_alloc)
00032   {
00033   }
00034 
00035   typedef std::vector< ::roboframenet_msgs::FilledSemanticFrameList_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::roboframenet_msgs::FilledSemanticFrameList_<ContainerAllocator> >::other >  _frame_lists_type;
00036   std::vector< ::roboframenet_msgs::FilledSemanticFrameList_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::roboframenet_msgs::FilledSemanticFrameList_<ContainerAllocator> >::other >  frame_lists;
00037 
00038 
00039   typedef boost::shared_ptr< ::roboframenet_msgs::Procedure_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::roboframenet_msgs::Procedure_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct Procedure
00043 typedef  ::roboframenet_msgs::Procedure_<std::allocator<void> > Procedure;
00044 
00045 typedef boost::shared_ptr< ::roboframenet_msgs::Procedure> ProcedurePtr;
00046 typedef boost::shared_ptr< ::roboframenet_msgs::Procedure const> ProcedureConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::roboframenet_msgs::Procedure_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::roboframenet_msgs::Procedure_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace roboframenet_msgs
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::roboframenet_msgs::Procedure_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::roboframenet_msgs::Procedure_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::roboframenet_msgs::Procedure_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "737111e9f6697d31eca2c3093b6a96ef";
00068   }
00069 
00070   static const char* value(const  ::roboframenet_msgs::Procedure_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0x737111e9f6697d31ULL;
00072   static const uint64_t static_value2 = 0xeca2c3093b6a96efULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::roboframenet_msgs::Procedure_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "roboframenet_msgs/Procedure";
00080   }
00081 
00082   static const char* value(const  ::roboframenet_msgs::Procedure_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::roboframenet_msgs::Procedure_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "# A Procedure is a listof(listof(FilledSemanticFrame)).\n\
00090 #   Each outer list is a sequence of FilledSemanticFrame which should be\n\
00091 #   executed in-order.\n\
00092 # To run a procedure, execute each outer list's FilledSemanticFrame-s in\n\
00093 #   order.  If any FilledSemanticFrame on a given outer list fails,\n\
00094 #   continue at the start of the next outer list.  Stop running the\n\
00095 #   procedure if all of an outer list's frames succeed (success) or\n\
00096 #   if all outer lists have been exhausted (failure).\n\
00097 FilledSemanticFrameList[] frame_lists\n\
00098 ================================================================================\n\
00099 MSG: roboframenet_msgs/FilledSemanticFrameList\n\
00100 FilledSemanticFrame[] frames\n\
00101 \n\
00102 ================================================================================\n\
00103 MSG: roboframenet_msgs/FilledSemanticFrame\n\
00104 string name\n\
00105 FilledFrameElement[] frame_elements\n\
00106 string[] action_server_topics\n\
00107 \n\
00108 ================================================================================\n\
00109 MSG: roboframenet_msgs/FilledFrameElement\n\
00110 string name   # eg object, recipient\n\
00111 string argument   # eg apple, bob\n\
00112 \n\
00113 ";
00114   }
00115 
00116   static const char* value(const  ::roboframenet_msgs::Procedure_<ContainerAllocator> &) { return value(); } 
00117 };
00118 
00119 } // namespace message_traits
00120 } // namespace ros
00121 
00122 namespace ros
00123 {
00124 namespace serialization
00125 {
00126 
00127 template<class ContainerAllocator> struct Serializer< ::roboframenet_msgs::Procedure_<ContainerAllocator> >
00128 {
00129   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00130   {
00131     stream.next(m.frame_lists);
00132   }
00133 
00134   ROS_DECLARE_ALLINONE_SERIALIZER;
00135 }; // struct Procedure_
00136 } // namespace serialization
00137 } // namespace ros
00138 
00139 namespace ros
00140 {
00141 namespace message_operations
00142 {
00143 
00144 template<class ContainerAllocator>
00145 struct Printer< ::roboframenet_msgs::Procedure_<ContainerAllocator> >
00146 {
00147   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::roboframenet_msgs::Procedure_<ContainerAllocator> & v) 
00148   {
00149     s << indent << "frame_lists[]" << std::endl;
00150     for (size_t i = 0; i < v.frame_lists.size(); ++i)
00151     {
00152       s << indent << "  frame_lists[" << i << "]: ";
00153       s << std::endl;
00154       s << indent;
00155       Printer< ::roboframenet_msgs::FilledSemanticFrameList_<ContainerAllocator> >::stream(s, indent + "    ", v.frame_lists[i]);
00156     }
00157   }
00158 };
00159 
00160 
00161 } // namespace message_operations
00162 } // namespace ros
00163 
00164 #endif // ROBOFRAMENET_MSGS_MESSAGE_PROCEDURE_H
00165 


roboframenet_msgs
Author(s): Brian Thomas
autogenerated on Fri Dec 6 2013 20:32:43