Go to the documentation of this file.00001 #ifndef OMG_DDS_PUB_FIND_HPP_
00002 #define OMG_DDS_PUB_FIND_HPP_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include <string>
00023
00024 #include <dds/core/corefwd.hpp>
00025 #include <dds/pub/pubfwd.hpp>
00026 #include <dds/pub/detail/find.hpp>
00027
00028
00029 namespace dds { namespace pub {
00030
00031 template <typename WRITER, typename FwdIterator>
00032 uint32_t
00033 find(const dds::pub::Publisher& pub, const std::string& topic_name,
00034 FwdIterator begin, uint32_t max_size) {
00035 return ::dds::pub::detail::find<WRITER, FwdIterator>(pub,
00036 topic_name,
00037 begin,
00038 max_size);
00039 }
00040
00041 template <typename WRITER, typename BinIterator>
00042 uint32_t
00043 find(const dds::pub::Publisher& pub, const std::string& topic_name,
00044 BinIterator begin) {
00045 return ::dds::pub::detail::find<WRITER, BinIterator>(pub,
00046 topic_name,
00047 begin);
00048 }
00049
00050
00051 } }
00052
00053 #endif