00001
00002 #ifndef CONCERT_MSGS_MESSAGE_LINKEDGE_H
00003 #define CONCERT_MSGS_MESSAGE_LINKEDGE_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 concert_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct LinkEdge_ {
00022 typedef LinkEdge_<ContainerAllocator> Type;
00023
00024 LinkEdge_()
00025 : start()
00026 , finish()
00027 , remap_from()
00028 , remap_to()
00029 {
00030 }
00031
00032 LinkEdge_(const ContainerAllocator& _alloc)
00033 : start(_alloc)
00034 , finish(_alloc)
00035 , remap_from(_alloc)
00036 , remap_to(_alloc)
00037 {
00038 }
00039
00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _start_type;
00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > start;
00042
00043 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _finish_type;
00044 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > finish;
00045
00046 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _remap_from_type;
00047 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > remap_from;
00048
00049 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _remap_to_type;
00050 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > remap_to;
00051
00052
00053 typedef boost::shared_ptr< ::concert_msgs::LinkEdge_<ContainerAllocator> > Ptr;
00054 typedef boost::shared_ptr< ::concert_msgs::LinkEdge_<ContainerAllocator> const> ConstPtr;
00055 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 };
00057 typedef ::concert_msgs::LinkEdge_<std::allocator<void> > LinkEdge;
00058
00059 typedef boost::shared_ptr< ::concert_msgs::LinkEdge> LinkEdgePtr;
00060 typedef boost::shared_ptr< ::concert_msgs::LinkEdge const> LinkEdgeConstPtr;
00061
00062
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const ::concert_msgs::LinkEdge_<ContainerAllocator> & v)
00065 {
00066 ros::message_operations::Printer< ::concert_msgs::LinkEdge_<ContainerAllocator> >::stream(s, "", v);
00067 return s;}
00068
00069 }
00070
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::LinkEdge_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::LinkEdge_<ContainerAllocator> const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::concert_msgs::LinkEdge_<ContainerAllocator> > {
00079 static const char* value()
00080 {
00081 return "01f86ee3e51dd78d2e2153a94d6f3865";
00082 }
00083
00084 static const char* value(const ::concert_msgs::LinkEdge_<ContainerAllocator> &) { return value(); }
00085 static const uint64_t static_value1 = 0x01f86ee3e51dd78dULL;
00086 static const uint64_t static_value2 = 0x2e2153a94d6f3865ULL;
00087 };
00088
00089 template<class ContainerAllocator>
00090 struct DataType< ::concert_msgs::LinkEdge_<ContainerAllocator> > {
00091 static const char* value()
00092 {
00093 return "concert_msgs/LinkEdge";
00094 }
00095
00096 static const char* value(const ::concert_msgs::LinkEdge_<ContainerAllocator> &) { return value(); }
00097 };
00098
00099 template<class ContainerAllocator>
00100 struct Definition< ::concert_msgs::LinkEdge_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "# Edge of the implementation graph. Client-Topic, or \n\
00104 # Topic-Client or Client-Action or Action-Client\n\
00105 \n\
00106 string start\n\
00107 string finish\n\
00108 string remap_from\n\
00109 string remap_to\n\
00110 ";
00111 }
00112
00113 static const char* value(const ::concert_msgs::LinkEdge_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 }
00117 }
00118
00119 namespace ros
00120 {
00121 namespace serialization
00122 {
00123
00124 template<class ContainerAllocator> struct Serializer< ::concert_msgs::LinkEdge_<ContainerAllocator> >
00125 {
00126 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00127 {
00128 stream.next(m.start);
00129 stream.next(m.finish);
00130 stream.next(m.remap_from);
00131 stream.next(m.remap_to);
00132 }
00133
00134 ROS_DECLARE_ALLINONE_SERIALIZER;
00135 };
00136 }
00137 }
00138
00139 namespace ros
00140 {
00141 namespace message_operations
00142 {
00143
00144 template<class ContainerAllocator>
00145 struct Printer< ::concert_msgs::LinkEdge_<ContainerAllocator> >
00146 {
00147 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::concert_msgs::LinkEdge_<ContainerAllocator> & v)
00148 {
00149 s << indent << "start: ";
00150 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.start);
00151 s << indent << "finish: ";
00152 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.finish);
00153 s << indent << "remap_from: ";
00154 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.remap_from);
00155 s << indent << "remap_to: ";
00156 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.remap_to);
00157 }
00158 };
00159
00160
00161 }
00162 }
00163
00164 #endif // CONCERT_MSGS_MESSAGE_LINKEDGE_H
00165