TopicLoggerGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-remote_lab/doc_stacks/2014-09-27_11-38-24.184458/remote_lab/topic_logger/msg/TopicLoggerGoal.msg */
00002 #ifndef TOPIC_LOGGER_MESSAGE_TOPICLOGGERGOAL_H
00003 #define TOPIC_LOGGER_MESSAGE_TOPICLOGGERGOAL_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 topic_logger
00019 {
00020 template <class ContainerAllocator>
00021 struct TopicLoggerGoal_ {
00022   typedef TopicLoggerGoal_<ContainerAllocator> Type;
00023 
00024   TopicLoggerGoal_()
00025   : command()
00026   , ID()
00027   , selectedTopics()
00028   {
00029   }
00030 
00031   TopicLoggerGoal_(const ContainerAllocator& _alloc)
00032   : command(_alloc)
00033   , ID(_alloc)
00034   , selectedTopics(_alloc)
00035   {
00036   }
00037 
00038   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _command_type;
00039   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  command;
00040 
00041   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _ID_type;
00042   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  ID;
00043 
00044   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 >  _selectedTopics_type;
00045   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 >  selectedTopics;
00046 
00047 
00048   typedef boost::shared_ptr< ::topic_logger::TopicLoggerGoal_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::topic_logger::TopicLoggerGoal_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct TopicLoggerGoal
00052 typedef  ::topic_logger::TopicLoggerGoal_<std::allocator<void> > TopicLoggerGoal;
00053 
00054 typedef boost::shared_ptr< ::topic_logger::TopicLoggerGoal> TopicLoggerGoalPtr;
00055 typedef boost::shared_ptr< ::topic_logger::TopicLoggerGoal const> TopicLoggerGoalConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::topic_logger::TopicLoggerGoal_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::topic_logger::TopicLoggerGoal_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace topic_logger
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::topic_logger::TopicLoggerGoal_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::topic_logger::TopicLoggerGoal_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::topic_logger::TopicLoggerGoal_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "3cb1755373f328539e90d82d254cc935";
00077   }
00078 
00079   static const char* value(const  ::topic_logger::TopicLoggerGoal_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0x3cb1755373f32853ULL;
00081   static const uint64_t static_value2 = 0x9e90d82d254cc935ULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::topic_logger::TopicLoggerGoal_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "topic_logger/TopicLoggerGoal";
00089   }
00090 
00091   static const char* value(const  ::topic_logger::TopicLoggerGoal_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::topic_logger::TopicLoggerGoal_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00099 #goal definition\n\
00100 string command\n\
00101 string ID\n\
00102 string[] selectedTopics\n\
00103 \n\
00104 ";
00105   }
00106 
00107   static const char* value(const  ::topic_logger::TopicLoggerGoal_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 } // namespace message_traits
00111 } // namespace ros
00112 
00113 namespace ros
00114 {
00115 namespace serialization
00116 {
00117 
00118 template<class ContainerAllocator> struct Serializer< ::topic_logger::TopicLoggerGoal_<ContainerAllocator> >
00119 {
00120   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00121   {
00122     stream.next(m.command);
00123     stream.next(m.ID);
00124     stream.next(m.selectedTopics);
00125   }
00126 
00127   ROS_DECLARE_ALLINONE_SERIALIZER;
00128 }; // struct TopicLoggerGoal_
00129 } // namespace serialization
00130 } // namespace ros
00131 
00132 namespace ros
00133 {
00134 namespace message_operations
00135 {
00136 
00137 template<class ContainerAllocator>
00138 struct Printer< ::topic_logger::TopicLoggerGoal_<ContainerAllocator> >
00139 {
00140   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::topic_logger::TopicLoggerGoal_<ContainerAllocator> & v) 
00141   {
00142     s << indent << "command: ";
00143     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.command);
00144     s << indent << "ID: ";
00145     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.ID);
00146     s << indent << "selectedTopics[]" << std::endl;
00147     for (size_t i = 0; i < v.selectedTopics.size(); ++i)
00148     {
00149       s << indent << "  selectedTopics[" << i << "]: ";
00150       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.selectedTopics[i]);
00151     }
00152   }
00153 };
00154 
00155 
00156 } // namespace message_operations
00157 } // namespace ros
00158 
00159 #endif // TOPIC_LOGGER_MESSAGE_TOPICLOGGERGOAL_H
00160 


topic_logger
Author(s): Ralf Kempf Maintained by Sarah Osentoski and Ben Pitzer
autogenerated on Sat Sep 27 2014 12:05:22