PerceptionAction.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-srs_public/doc_stacks/2014-01-05_11-35-06.523601/srs_public/srs_knowledge/msg/PerceptionAction.msg */
00002 #ifndef SRS_KNOWLEDGE_MESSAGE_PERCEPTIONACTION_H
00003 #define SRS_KNOWLEDGE_MESSAGE_PERCEPTIONACTION_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 "srs_knowledge/ABoxObject.h"
00018 #include "srs_knowledge/TBoxObject.h"
00019 
00020 namespace srs_knowledge
00021 {
00022 template <class ContainerAllocator>
00023 struct PerceptionAction_ {
00024   typedef PerceptionAction_<ContainerAllocator> Type;
00025 
00026   PerceptionAction_()
00027   : detectType()
00028   , aboxObject()
00029   , tboxClass()
00030   {
00031   }
00032 
00033   PerceptionAction_(const ContainerAllocator& _alloc)
00034   : detectType(_alloc)
00035   , aboxObject(_alloc)
00036   , tboxClass(_alloc)
00037   {
00038   }
00039 
00040   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _detectType_type;
00041   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  detectType;
00042 
00043   typedef  ::srs_knowledge::ABoxObject_<ContainerAllocator>  _aboxObject_type;
00044    ::srs_knowledge::ABoxObject_<ContainerAllocator>  aboxObject;
00045 
00046   typedef  ::srs_knowledge::TBoxObject_<ContainerAllocator>  _tboxClass_type;
00047    ::srs_knowledge::TBoxObject_<ContainerAllocator>  tboxClass;
00048 
00049 
00050   typedef boost::shared_ptr< ::srs_knowledge::PerceptionAction_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::srs_knowledge::PerceptionAction_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct PerceptionAction
00054 typedef  ::srs_knowledge::PerceptionAction_<std::allocator<void> > PerceptionAction;
00055 
00056 typedef boost::shared_ptr< ::srs_knowledge::PerceptionAction> PerceptionActionPtr;
00057 typedef boost::shared_ptr< ::srs_knowledge::PerceptionAction const> PerceptionActionConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::srs_knowledge::PerceptionAction_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::srs_knowledge::PerceptionAction_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace srs_knowledge
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::PerceptionAction_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::PerceptionAction_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::srs_knowledge::PerceptionAction_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "815ae920af48073fc94b8835cc3d5ea6";
00079   }
00080 
00081   static const char* value(const  ::srs_knowledge::PerceptionAction_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0x815ae920af48073fULL;
00083   static const uint64_t static_value2 = 0xc94b8835cc3d5ea6ULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::srs_knowledge::PerceptionAction_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "srs_knowledge/PerceptionAction";
00091   }
00092 
00093   static const char* value(const  ::srs_knowledge::PerceptionAction_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::srs_knowledge::PerceptionAction_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "# if detect an object or a class: object:class:none\n\
00101 string detectType\n\
00102 \n\
00103 ABoxObject aboxObject\n\
00104 TBoxObject tboxClass\n\
00105 ================================================================================\n\
00106 MSG: srs_knowledge/ABoxObject\n\
00107 int32 object_id\n\
00108 string name\n\
00109 string description\n\
00110 \n\
00111 ================================================================================\n\
00112 MSG: srs_knowledge/TBoxObject\n\
00113 int32 class_id\n\
00114 string name\n\
00115 string description\n\
00116 string[] properties\n\
00117 int32[] subjects\n\
00118 ";
00119   }
00120 
00121   static const char* value(const  ::srs_knowledge::PerceptionAction_<ContainerAllocator> &) { return value(); } 
00122 };
00123 
00124 } // namespace message_traits
00125 } // namespace ros
00126 
00127 namespace ros
00128 {
00129 namespace serialization
00130 {
00131 
00132 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::PerceptionAction_<ContainerAllocator> >
00133 {
00134   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00135   {
00136     stream.next(m.detectType);
00137     stream.next(m.aboxObject);
00138     stream.next(m.tboxClass);
00139   }
00140 
00141   ROS_DECLARE_ALLINONE_SERIALIZER;
00142 }; // struct PerceptionAction_
00143 } // namespace serialization
00144 } // namespace ros
00145 
00146 namespace ros
00147 {
00148 namespace message_operations
00149 {
00150 
00151 template<class ContainerAllocator>
00152 struct Printer< ::srs_knowledge::PerceptionAction_<ContainerAllocator> >
00153 {
00154   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::srs_knowledge::PerceptionAction_<ContainerAllocator> & v) 
00155   {
00156     s << indent << "detectType: ";
00157     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.detectType);
00158     s << indent << "aboxObject: ";
00159 s << std::endl;
00160     Printer< ::srs_knowledge::ABoxObject_<ContainerAllocator> >::stream(s, indent + "  ", v.aboxObject);
00161     s << indent << "tboxClass: ";
00162 s << std::endl;
00163     Printer< ::srs_knowledge::TBoxObject_<ContainerAllocator> >::stream(s, indent + "  ", v.tboxClass);
00164   }
00165 };
00166 
00167 
00168 } // namespace message_operations
00169 } // namespace ros
00170 
00171 #endif // SRS_KNOWLEDGE_MESSAGE_PERCEPTIONACTION_H
00172 


srs_knowledge
Author(s): Ze Ji
autogenerated on Sun Jan 5 2014 12:03:28