SmachContainerStatus.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/SmachContainerStatus.msg */
00002 #ifndef SMACH_MSGS_MESSAGE_SMACHCONTAINERSTATUS_H
00003 #define SMACH_MSGS_MESSAGE_SMACHCONTAINERSTATUS_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 SmachContainerStatus_ {
00023   typedef SmachContainerStatus_<ContainerAllocator> Type;
00024 
00025   SmachContainerStatus_()
00026   : header()
00027   , path()
00028   , initial_states()
00029   , active_states()
00030   , local_data()
00031   , info()
00032   {
00033   }
00034 
00035   SmachContainerStatus_(const ContainerAllocator& _alloc)
00036   : header(_alloc)
00037   , path(_alloc)
00038   , initial_states(_alloc)
00039   , active_states(_alloc)
00040   , local_data(_alloc)
00041   , info(_alloc)
00042   {
00043   }
00044 
00045   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00046    ::std_msgs::Header_<ContainerAllocator>  header;
00047 
00048   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _path_type;
00049   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  path;
00050 
00051   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 >  _initial_states_type;
00052   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 >  initial_states;
00053 
00054   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 >  _active_states_type;
00055   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 >  active_states;
00056 
00057   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _local_data_type;
00058   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  local_data;
00059 
00060   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _info_type;
00061   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  info;
00062 
00063 
00064   typedef boost::shared_ptr< ::smach_msgs::SmachContainerStatus_<ContainerAllocator> > Ptr;
00065   typedef boost::shared_ptr< ::smach_msgs::SmachContainerStatus_<ContainerAllocator>  const> ConstPtr;
00066   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00067 }; // struct SmachContainerStatus
00068 typedef  ::smach_msgs::SmachContainerStatus_<std::allocator<void> > SmachContainerStatus;
00069 
00070 typedef boost::shared_ptr< ::smach_msgs::SmachContainerStatus> SmachContainerStatusPtr;
00071 typedef boost::shared_ptr< ::smach_msgs::SmachContainerStatus const> SmachContainerStatusConstPtr;
00072 
00073 
00074 template<typename ContainerAllocator>
00075 std::ostream& operator<<(std::ostream& s, const  ::smach_msgs::SmachContainerStatus_<ContainerAllocator> & v)
00076 {
00077   ros::message_operations::Printer< ::smach_msgs::SmachContainerStatus_<ContainerAllocator> >::stream(s, "", v);
00078   return s;}
00079 
00080 } // namespace smach_msgs
00081 
00082 namespace ros
00083 {
00084 namespace message_traits
00085 {
00086 template<class ContainerAllocator> struct IsMessage< ::smach_msgs::SmachContainerStatus_<ContainerAllocator> > : public TrueType {};
00087 template<class ContainerAllocator> struct IsMessage< ::smach_msgs::SmachContainerStatus_<ContainerAllocator>  const> : public TrueType {};
00088 template<class ContainerAllocator>
00089 struct MD5Sum< ::smach_msgs::SmachContainerStatus_<ContainerAllocator> > {
00090   static const char* value() 
00091   {
00092     return "5ba2bb79ac19e3842d562a191f2a675b";
00093   }
00094 
00095   static const char* value(const  ::smach_msgs::SmachContainerStatus_<ContainerAllocator> &) { return value(); } 
00096   static const uint64_t static_value1 = 0x5ba2bb79ac19e384ULL;
00097   static const uint64_t static_value2 = 0x2d562a191f2a675bULL;
00098 };
00099 
00100 template<class ContainerAllocator>
00101 struct DataType< ::smach_msgs::SmachContainerStatus_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "smach_msgs/SmachContainerStatus";
00105   }
00106 
00107   static const char* value(const  ::smach_msgs::SmachContainerStatus_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 template<class ContainerAllocator>
00111 struct Definition< ::smach_msgs::SmachContainerStatus_<ContainerAllocator> > {
00112   static const char* value() 
00113   {
00114     return "Header header\n\
00115 \n\
00116 # The path to this node in the server\n\
00117 string path\n\
00118 \n\
00119 # The initial state description\n\
00120 string[] initial_states\n\
00121 \n\
00122 # The current state description\n\
00123 string[] active_states\n\
00124 \n\
00125 # A pickled user data structure\n\
00126 string local_data\n\
00127 \n\
00128 # Debugging info string\n\
00129 string info\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: std_msgs/Header\n\
00133 # Standard metadata for higher-level stamped data types.\n\
00134 # This is generally used to communicate timestamped data \n\
00135 # in a particular coordinate frame.\n\
00136 # \n\
00137 # sequence ID: consecutively increasing ID \n\
00138 uint32 seq\n\
00139 #Two-integer timestamp that is expressed as:\n\
00140 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00141 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00142 # time-handling sugar is provided by the client library\n\
00143 time stamp\n\
00144 #Frame this data is associated with\n\
00145 # 0: no frame\n\
00146 # 1: global frame\n\
00147 string frame_id\n\
00148 \n\
00149 ";
00150   }
00151 
00152   static const char* value(const  ::smach_msgs::SmachContainerStatus_<ContainerAllocator> &) { return value(); } 
00153 };
00154 
00155 template<class ContainerAllocator> struct HasHeader< ::smach_msgs::SmachContainerStatus_<ContainerAllocator> > : public TrueType {};
00156 template<class ContainerAllocator> struct HasHeader< const ::smach_msgs::SmachContainerStatus_<ContainerAllocator> > : public TrueType {};
00157 } // namespace message_traits
00158 } // namespace ros
00159 
00160 namespace ros
00161 {
00162 namespace serialization
00163 {
00164 
00165 template<class ContainerAllocator> struct Serializer< ::smach_msgs::SmachContainerStatus_<ContainerAllocator> >
00166 {
00167   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00168   {
00169     stream.next(m.header);
00170     stream.next(m.path);
00171     stream.next(m.initial_states);
00172     stream.next(m.active_states);
00173     stream.next(m.local_data);
00174     stream.next(m.info);
00175   }
00176 
00177   ROS_DECLARE_ALLINONE_SERIALIZER;
00178 }; // struct SmachContainerStatus_
00179 } // namespace serialization
00180 } // namespace ros
00181 
00182 namespace ros
00183 {
00184 namespace message_operations
00185 {
00186 
00187 template<class ContainerAllocator>
00188 struct Printer< ::smach_msgs::SmachContainerStatus_<ContainerAllocator> >
00189 {
00190   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::smach_msgs::SmachContainerStatus_<ContainerAllocator> & v) 
00191   {
00192     s << indent << "header: ";
00193 s << std::endl;
00194     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00195     s << indent << "path: ";
00196     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.path);
00197     s << indent << "initial_states[]" << std::endl;
00198     for (size_t i = 0; i < v.initial_states.size(); ++i)
00199     {
00200       s << indent << "  initial_states[" << i << "]: ";
00201       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.initial_states[i]);
00202     }
00203     s << indent << "active_states[]" << std::endl;
00204     for (size_t i = 0; i < v.active_states.size(); ++i)
00205     {
00206       s << indent << "  active_states[" << i << "]: ";
00207       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.active_states[i]);
00208     }
00209     s << indent << "local_data: ";
00210     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.local_data);
00211     s << indent << "info: ";
00212     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.info);
00213   }
00214 };
00215 
00216 
00217 } // namespace message_operations
00218 } // namespace ros
00219 
00220 #endif // SMACH_MSGS_MESSAGE_SMACHCONTAINERSTATUS_H
00221 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


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