Go to the documentation of this file.00001
00002 #ifndef OPENRAVEROS_MESSAGE_CONFIGURATIONSPECIFICATIONGROUP_H
00003 #define OPENRAVEROS_MESSAGE_CONFIGURATIONSPECIFICATIONGROUP_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 openraveros
00019 {
00020 template <class ContainerAllocator>
00021 struct ConfigurationSpecificationGroup_ {
00022 typedef ConfigurationSpecificationGroup_<ContainerAllocator> Type;
00023
00024 ConfigurationSpecificationGroup_()
00025 : offset(0)
00026 , dof(0)
00027 , name()
00028 , interpolation()
00029 {
00030 }
00031
00032 ConfigurationSpecificationGroup_(const ContainerAllocator& _alloc)
00033 : offset(0)
00034 , dof(0)
00035 , name(_alloc)
00036 , interpolation(_alloc)
00037 {
00038 }
00039
00040 typedef int32_t _offset_type;
00041 int32_t offset;
00042
00043 typedef int32_t _dof_type;
00044 int32_t dof;
00045
00046 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00047 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00048
00049 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _interpolation_type;
00050 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > interpolation;
00051
00052
00053 typedef boost::shared_ptr< ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> > Ptr;
00054 typedef boost::shared_ptr< ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> const> ConstPtr;
00055 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 };
00057 typedef ::openraveros::ConfigurationSpecificationGroup_<std::allocator<void> > ConfigurationSpecificationGroup;
00058
00059 typedef boost::shared_ptr< ::openraveros::ConfigurationSpecificationGroup> ConfigurationSpecificationGroupPtr;
00060 typedef boost::shared_ptr< ::openraveros::ConfigurationSpecificationGroup const> ConfigurationSpecificationGroupConstPtr;
00061
00062
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> & v)
00065 {
00066 ros::message_operations::Printer< ::openraveros::ConfigurationSpecificationGroup_<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< ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> > {
00079 static const char* value()
00080 {
00081 return "ce27ddd3c58fec6bf2c8cf22b7192326";
00082 }
00083
00084 static const char* value(const ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> &) { return value(); }
00085 static const uint64_t static_value1 = 0xce27ddd3c58fec6bULL;
00086 static const uint64_t static_value2 = 0xf2c8cf22b7192326ULL;
00087 };
00088
00089 template<class ContainerAllocator>
00090 struct DataType< ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> > {
00091 static const char* value()
00092 {
00093 return "openraveros/ConfigurationSpecificationGroup";
00094 }
00095
00096 static const char* value(const ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> &) { return value(); }
00097 };
00098
00099 template<class ContainerAllocator>
00100 struct Definition< ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "int32 offset\n\
00104 int32 dof\n\
00105 string name\n\
00106 string interpolation\n\
00107 \n\
00108 ";
00109 }
00110
00111 static const char* value(const ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> &) { return value(); }
00112 };
00113
00114 }
00115 }
00116
00117 namespace ros
00118 {
00119 namespace serialization
00120 {
00121
00122 template<class ContainerAllocator> struct Serializer< ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> >
00123 {
00124 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00125 {
00126 stream.next(m.offset);
00127 stream.next(m.dof);
00128 stream.next(m.name);
00129 stream.next(m.interpolation);
00130 }
00131
00132 ROS_DECLARE_ALLINONE_SERIALIZER;
00133 };
00134 }
00135 }
00136
00137 namespace ros
00138 {
00139 namespace message_operations
00140 {
00141
00142 template<class ContainerAllocator>
00143 struct Printer< ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> >
00144 {
00145 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::openraveros::ConfigurationSpecificationGroup_<ContainerAllocator> & v)
00146 {
00147 s << indent << "offset: ";
00148 Printer<int32_t>::stream(s, indent + " ", v.offset);
00149 s << indent << "dof: ";
00150 Printer<int32_t>::stream(s, indent + " ", v.dof);
00151 s << indent << "name: ";
00152 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name);
00153 s << indent << "interpolation: ";
00154 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.interpolation);
00155 }
00156 };
00157
00158
00159 }
00160 }
00161
00162 #endif // OPENRAVEROS_MESSAGE_CONFIGURATIONSPECIFICATIONGROUP_H
00163