SmachContainerStructure.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-executive_smach/doc_stacks/2013-03-05_13-10-02.203890/executive_smach/smach_msgs/msg/SmachContainerStructure.msg */
00002 #ifndef SMACH_MSGS_MESSAGE_SMACHCONTAINERSTRUCTURE_H
00003 #define SMACH_MSGS_MESSAGE_SMACHCONTAINERSTRUCTURE_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 smach_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct SmachContainerStructure_ {
00023   typedef SmachContainerStructure_<ContainerAllocator> Type;
00024 
00025   SmachContainerStructure_()
00026   : header()
00027   , path()
00028   , children()
00029   , internal_outcomes()
00030   , outcomes_from()
00031   , outcomes_to()
00032   , container_outcomes()
00033   {
00034   }
00035 
00036   SmachContainerStructure_(const ContainerAllocator& _alloc)
00037   : header(_alloc)
00038   , path(_alloc)
00039   , children(_alloc)
00040   , internal_outcomes(_alloc)
00041   , outcomes_from(_alloc)
00042   , outcomes_to(_alloc)
00043   , container_outcomes(_alloc)
00044   {
00045   }
00046 
00047   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00048    ::std_msgs::Header_<ContainerAllocator>  header;
00049 
00050   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _path_type;
00051   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  path;
00052 
00053   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _children_type;
00054   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  children;
00055 
00056   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _internal_outcomes_type;
00057   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  internal_outcomes;
00058 
00059   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _outcomes_from_type;
00060   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  outcomes_from;
00061 
00062   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _outcomes_to_type;
00063   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  outcomes_to;
00064 
00065   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _container_outcomes_type;
00066   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  container_outcomes;
00067 
00068 
00069   typedef boost::shared_ptr< ::smach_msgs::SmachContainerStructure_<ContainerAllocator> > Ptr;
00070   typedef boost::shared_ptr< ::smach_msgs::SmachContainerStructure_<ContainerAllocator>  const> ConstPtr;
00071   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00072 }; // struct SmachContainerStructure
00073 typedef  ::smach_msgs::SmachContainerStructure_<std::allocator<void> > SmachContainerStructure;
00074 
00075 typedef boost::shared_ptr< ::smach_msgs::SmachContainerStructure> SmachContainerStructurePtr;
00076 typedef boost::shared_ptr< ::smach_msgs::SmachContainerStructure const> SmachContainerStructureConstPtr;
00077 
00078 
00079 template<typename ContainerAllocator>
00080 std::ostream& operator<<(std::ostream& s, const  ::smach_msgs::SmachContainerStructure_<ContainerAllocator> & v)
00081 {
00082   ros::message_operations::Printer< ::smach_msgs::SmachContainerStructure_<ContainerAllocator> >::stream(s, "", v);
00083   return s;}
00084 
00085 } // namespace smach_msgs
00086 
00087 namespace ros
00088 {
00089 namespace message_traits
00090 {
00091 template<class ContainerAllocator> struct IsMessage< ::smach_msgs::SmachContainerStructure_<ContainerAllocator> > : public TrueType {};
00092 template<class ContainerAllocator> struct IsMessage< ::smach_msgs::SmachContainerStructure_<ContainerAllocator>  const> : public TrueType {};
00093 template<class ContainerAllocator>
00094 struct MD5Sum< ::smach_msgs::SmachContainerStructure_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "3d3d1e0d0f99779ee9e58101a5dcf7ea";
00098   }
00099 
00100   static const char* value(const  ::smach_msgs::SmachContainerStructure_<ContainerAllocator> &) { return value(); } 
00101   static const uint64_t static_value1 = 0x3d3d1e0d0f99779eULL;
00102   static const uint64_t static_value2 = 0xe9e58101a5dcf7eaULL;
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct DataType< ::smach_msgs::SmachContainerStructure_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "smach_msgs/SmachContainerStructure";
00110   }
00111 
00112   static const char* value(const  ::smach_msgs::SmachContainerStructure_<ContainerAllocator> &) { return value(); } 
00113 };
00114 
00115 template<class ContainerAllocator>
00116 struct Definition< ::smach_msgs::SmachContainerStructure_<ContainerAllocator> > {
00117   static const char* value() 
00118   {
00119     return "Header header\n\
00120 \n\
00121 # The path to this node in the server\n\
00122 string path\n\
00123 \n\
00124 # The children of this node\n\
00125 string[] children\n\
00126 \n\
00127 # The outcome edges\n\
00128 string[] internal_outcomes\n\
00129 string[] outcomes_from\n\
00130 string[] outcomes_to\n\
00131 \n\
00132 # The potential outcomes from this container\n\
00133 string[] container_outcomes\n\
00134 \n\
00135 ================================================================================\n\
00136 MSG: std_msgs/Header\n\
00137 # Standard metadata for higher-level stamped data types.\n\
00138 # This is generally used to communicate timestamped data \n\
00139 # in a particular coordinate frame.\n\
00140 # \n\
00141 # sequence ID: consecutively increasing ID \n\
00142 uint32 seq\n\
00143 #Two-integer timestamp that is expressed as:\n\
00144 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00145 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00146 # time-handling sugar is provided by the client library\n\
00147 time stamp\n\
00148 #Frame this data is associated with\n\
00149 # 0: no frame\n\
00150 # 1: global frame\n\
00151 string frame_id\n\
00152 \n\
00153 ";
00154   }
00155 
00156   static const char* value(const  ::smach_msgs::SmachContainerStructure_<ContainerAllocator> &) { return value(); } 
00157 };
00158 
00159 template<class ContainerAllocator> struct HasHeader< ::smach_msgs::SmachContainerStructure_<ContainerAllocator> > : public TrueType {};
00160 template<class ContainerAllocator> struct HasHeader< const ::smach_msgs::SmachContainerStructure_<ContainerAllocator> > : public TrueType {};
00161 } // namespace message_traits
00162 } // namespace ros
00163 
00164 namespace ros
00165 {
00166 namespace serialization
00167 {
00168 
00169 template<class ContainerAllocator> struct Serializer< ::smach_msgs::SmachContainerStructure_<ContainerAllocator> >
00170 {
00171   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00172   {
00173     stream.next(m.header);
00174     stream.next(m.path);
00175     stream.next(m.children);
00176     stream.next(m.internal_outcomes);
00177     stream.next(m.outcomes_from);
00178     stream.next(m.outcomes_to);
00179     stream.next(m.container_outcomes);
00180   }
00181 
00182   ROS_DECLARE_ALLINONE_SERIALIZER;
00183 }; // struct SmachContainerStructure_
00184 } // namespace serialization
00185 } // namespace ros
00186 
00187 namespace ros
00188 {
00189 namespace message_operations
00190 {
00191 
00192 template<class ContainerAllocator>
00193 struct Printer< ::smach_msgs::SmachContainerStructure_<ContainerAllocator> >
00194 {
00195   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::smach_msgs::SmachContainerStructure_<ContainerAllocator> & v) 
00196   {
00197     s << indent << "header: ";
00198 s << std::endl;
00199     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00200     s << indent << "path: ";
00201     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.path);
00202     s << indent << "children[]" << std::endl;
00203     for (size_t i = 0; i < v.children.size(); ++i)
00204     {
00205       s << indent << "  children[" << i << "]: ";
00206       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.children[i]);
00207     }
00208     s << indent << "internal_outcomes[]" << std::endl;
00209     for (size_t i = 0; i < v.internal_outcomes.size(); ++i)
00210     {
00211       s << indent << "  internal_outcomes[" << i << "]: ";
00212       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.internal_outcomes[i]);
00213     }
00214     s << indent << "outcomes_from[]" << std::endl;
00215     for (size_t i = 0; i < v.outcomes_from.size(); ++i)
00216     {
00217       s << indent << "  outcomes_from[" << i << "]: ";
00218       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.outcomes_from[i]);
00219     }
00220     s << indent << "outcomes_to[]" << std::endl;
00221     for (size_t i = 0; i < v.outcomes_to.size(); ++i)
00222     {
00223       s << indent << "  outcomes_to[" << i << "]: ";
00224       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.outcomes_to[i]);
00225     }
00226     s << indent << "container_outcomes[]" << std::endl;
00227     for (size_t i = 0; i < v.container_outcomes.size(); ++i)
00228     {
00229       s << indent << "  container_outcomes[" << i << "]: ";
00230       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.container_outcomes[i]);
00231     }
00232   }
00233 };
00234 
00235 
00236 } // namespace message_operations
00237 } // namespace ros
00238 
00239 #endif // SMACH_MSGS_MESSAGE_SMACHCONTAINERSTRUCTURE_H
00240 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


smach_msgs
Author(s): Jonathan Bohren
autogenerated on Tue Mar 5 2013 13:11:28