DDS-PSM-C++ 1.0 ISO C++ API for OpenSplice DDS |
Namespaces | |
namespace | detail |
namespace | qos |
Classes | |
class | AnyDataWriter |
class | AnyDataWriterListener |
class | DataWriter |
class | DataWriterListener |
class | NoOpAnyDataWriterListener |
class | NoOpDataWriterListener |
class | NoOpPublisherListener |
class | PublisherListener |
class | TCoherentSet |
class | TPublisher |
class | TSuspendedPublication |
Typedefs | |
typedef dds::pub::detail::CoherentSet | CoherentSet |
typedef dds::pub::detail::Publisher | Publisher |
typedef dds::pub::detaul::SuspendedPublication | SuspendedPublication |
Functions | |
template<typename WRITER , typename FwdIterator > | |
uint32_t | find (const dds::pub::Publisher &pub, const std::string &topic_name, FwdIterator begin, uint32_t max_size) |
template<typename WRITER , typename BinIterator > | |
uint32_t | find (const dds::pub::Publisher &pub, const std::string &topic_name, BinIterator begin) |
template<typename T > | |
DataWriter< T > | get (const AnyDataWriter &adw) |
void | ignore (const dds::domain::DomainParticipant &dp, const dds::core::InstanceHandle &handle) |
template<typename FwdIterator > | |
void | ignore (const dds::domain::DomainParticipant &dp, FwdIterator begin, FwdIterator end) |
template<typename T > | |
const dds::topic::SubscriptionBuiltinTopicData | matched_subscription_data (const dds::pub::DataWriter< T > &dw, const ::dds::core::InstanceHandle &h) |
template<typename T > | |
const ::dds::core::InstanceHandleSeq | matched_subscriptions (const dds::pub::DataWriter< T > &dw) |
template<typename T , typename FwdIterator > | |
::dds::core::InstanceHandleSeq & | matched_subscriptions (const dds::pub::DataWriter< T > &dw, FwdIterator begin, FwdIterator end) |
Definition at line 7 of file CoherentSet.hpp.
Definition at line 26 of file Publisher.hpp.
typedef dds::pub::detaul::SuspendedPublication dds::pub::SuspendedPublication |
Definition at line 25 of file SuspendedPublication.hpp.
uint32_t dds::pub::find | ( | const dds::pub::Publisher & | pub, |
const std::string & | topic_name, | ||
FwdIterator | begin, | ||
uint32_t | max_size | ||
) |
This function retrieves a previously-created DataWriter belonging to the Publisher that is attached to a Topic with a matching topic_name. If no such DataWriter exists, the operation will return an empty container. The use of this operation on the built-in Publisher allows access to the built-in DataWriter entities for the built-in topics
uint32_t dds::pub::find | ( | const dds::pub::Publisher & | pub, |
const std::string & | topic_name, | ||
BinIterator | begin | ||
) |
This function retrieves a previously-created DataWriter belonging to the Publisher that is attached to a Topic with a matching topic_name. If no such DataWriter exists, the operation will return an empty container. The use of this operation on the built-in Publisher allows access to the built-in DataWriter entities for the built-in topics
DataWriter<T> dds::pub::get | ( | const AnyDataWriter & | adw | ) |
Extracts a typed DataWriter
from an AnyDataWriter
.
void dds::pub::ignore | ( | const dds::domain::DomainParticipant & | dp, |
const dds::core::InstanceHandle & | handle | ||
) |
Ignore publications.
dp | the DomainParticipant for which the remote entity will be ignored |
handle | the InstanceHandle of the remote entity that has to be ignored |
void dds::pub::ignore | ( | const dds::domain::DomainParticipant & | dp, |
FwdIterator | begin, | ||
FwdIterator | end | ||
) |
Ignore publications.
dp | the DomainParticipant for which the remote entity will be ignored |
handle | the InstanceHandle of the remote entity that has to be ignored |
const dds::topic::SubscriptionBuiltinTopicData dds::pub::matched_subscription_data | ( | const dds::pub::DataWriter< T > & | dw, |
const ::dds::core::InstanceHandle & | h | ||
) |
This operation retrieves information on a subscription that is currently associated with the DataWriter; that is, a subscription with a matching Topic and compatible QoS that the application has not indicated should be ignored by means of the DomainParticipant ignore_subscription operation. The subscription_handle must correspond to a subscription currently associated with the DataWriter, otherwise the operation will fail and throw a BadParameterError. The operation matched_subscriptions can be used to find the subscriptions that are currently matched with the DataWriter.
The operation may also fail if the infrastructure does not hold the information necessary to fill in the subscription_data. In this case the operation will throw UnsupportedError.
const ::dds::core::InstanceHandleSeq dds::pub::matched_subscriptions | ( | const dds::pub::DataWriter< T > & | dw | ) |
This operation retrieves the list of subscriptions currently "associated" with the DataWriter; that is, subscriptions that have a matching Topic and compatible QoS that the application has not indicated should be "ignored" by means of the DomainParticipant ignore_subscription operation. The handles returned in the "subscription_handles" list are the ones that are used by the DDS implementation to locally identify the corresponding matched DataReader entities. These handles match the ones that appear in the "instance_handle" field of the SampleInfo when reading the "DCPSSubscriptions" builtin topic. The operation may fail if the infrastructure does not locally maintain the connectivity information.
::dds::core::InstanceHandleSeq& dds::pub::matched_subscriptions | ( | const dds::pub::DataWriter< T > & | dw, |
FwdIterator | begin, | ||
FwdIterator | end | ||
) |
This operation retrieves the list of subscriptions currently "associated" with the DataWriter; that is, subscriptions that have a matching Topic and compatible QoS that the application has not indicated should be "ignored" by means of the DomainParticipant ignore_subscription operation. The handles returned in the "subscription_handles" list are the ones that are used by the DDS implementation to locally identify the corresponding matched DataReader entities. These handles match the ones that appear in the "instance_handle" field of the SampleInfo when reading the "DCPSSubscriptions" builtin topic. The operation may fail if the infrastructure does not locally maintain the connectivity information.