const dds::topic::TopicDescription& TAnyDataReader<DELEGATE>::topic_description() const { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); return this->delegate()->topic_description(); }
void Topic<T, DELEGATE>::listener(Listener* listener, const ::dds::core::status::StatusMask& event_mask) { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); this->delegate()->listener(listener, event_mask); }
const TAnyDataReader<DELEGATE>& TAnyDataReader<DELEGATE>::operator >> (dds::sub::qos::DataReaderQos& qos) const { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); qos = this->delegate()->qos(); return *this; }
TAnyTopic<DELEGATE>& TAnyTopic<DELEGATE>::operator << (const dds::topic::qos::TopicQos& qos) { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); this->delegate()->qos(qos); return *this; }
const dds::sub::AnyDataReader& dds::sub::TQuery<DELEGATE>::data_reader() const { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); return this->delegate()->data_reader(); }
void dds::sub::TQuery<DELEGATE>::add_parameter( const std::string& param) { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); this->delegate()->add_parameter(param); }
const TAnyTopic<DELEGATE>& TAnyTopic<DELEGATE>::operator >> (dds::topic::qos::TopicQos& qos) const { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); qos = this->delegate()->qos(); return *this; }
TAnyDataReader<DELEGATE>& TAnyDataReader<DELEGATE>::operator << (const dds::sub::qos::DataReaderQos& qos) { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); this->delegate()->qos(qos); return *this; }
dds::core::Reference<DELEGATE>::Reference(const Reference<D>& ref) { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); impl_ = OSPL_CXX11_STD_MODULE::dynamic_pointer_cast<DELEGATE_T>(ref.impl_); if (impl_ != ref.impl_) { throw dds::core::IllegalOperationError(std::string("Attempted invalid cast: ") + typeid(ref).name() + " to " + typeid(*this).name()); } }
ContentFilteredTopic<T, DELEGATE>::ContentFilteredTopic(const Topic<T>& topic, const std::string& name, const dds::topic::Filter& filter) : ::dds::core::Reference< DELEGATE<T> >( new dds::topic::detail::ContentFilteredTopic<T>(topic, name, filter)) { ISOCPP_REPORT_STACK_DDS_BEGIN(topic); this->delegate()->init(::dds::core::Reference< DELEGATE<T> >::impl_); }
TPublisher<DELEGATE>::TPublisher(const dds::domain::DomainParticipant& dp) : ::dds::core::Reference<DELEGATE>(new DELEGATE(dp, dp.default_publisher_qos(), NULL, dds::core::status::StatusMask::none())) { ISOCPP_REPORT_STACK_DDS_BEGIN(dp); this->delegate()->init(this->impl_); }
TPublisher<DELEGATE>::TPublisher(const dds::domain::DomainParticipant& dp, const dds::pub::qos::PublisherQos& qos, dds::pub::PublisherListener* listener, const dds::core::status::StatusMask& mask) : ::dds::core::Reference<DELEGATE>(new DELEGATE(dp, qos, listener, mask)) { ISOCPP_REPORT_STACK_DDS_BEGIN(dp); this->delegate()->init(this->impl_); }
void dds::sub::TQuery<DELEGATE>::parameters( const FWIterator& begin, const FWIterator end) { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); for (FWIterator it = begin; it != end; ++it) { add_parameter(*it); } }
dds::topic::detail::Topic<T>::Topic(const dds::domain::DomainParticipant& dp, const std::string& name, const std::string& type_name, const dds::topic::qos::TopicQos& qos, u_topic uTopic) : org::opensplice::topic::TopicDescriptionDelegate(dp, name, type_name), org::opensplice::topic::AnyTopicDelegate(qos, dp, name, type_name) { ISOCPP_REPORT_STACK_DDS_BEGIN(dp); this->userHandle = (u_object)uTopic; this->listener_set((void*)NULL, dds::core::status::StatusMask::none()); }
dds::sub::TQuery<DELEGATE>::TQuery( const dds::sub::AnyDataReader& dr, const std::string& expression, const FWIterator& params_begin, const FWIterator& params_end) : dds::core::Reference<DELEGATE>(new DELEGATE(AnyDataReader(dr), expression)) { ISOCPP_REPORT_STACK_DDS_BEGIN(dr); for (FWIterator it = params_begin; it != params_end; ++it) { add_parameter(*it); } }
Topic<T, DELEGATE>::Topic(const dds::domain::DomainParticipant& dp, const std::string& topic_name) : ::dds::core::Reference< DELEGATE<T> >(new DELEGATE<T>( dp, topic_name, "", dp.is_nil() ? dds::topic::qos::TopicQos() : dp.default_topic_qos(), NULL, dds::core::status::StatusMask::none())) { ISOCPP_REPORT_STACK_DDS_BEGIN(dp); this->delegate()->init(this->impl_); }
bool dds::core::Reference<DELEGATE>::operator==(const R& ref) const { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); bool equal = false; if (this->is_nil() && ref.is_nil()) { /* Both delegates are null. */ equal = true; } else if (!this->is_nil() && !ref.is_nil()) { /* Check delegates. */ equal = (this->delegate() == ref.delegate()); } return equal; }
Topic<T, DELEGATE>::Topic(const dds::domain::DomainParticipant& dp, const std::string& topic_name, const dds::topic::qos::TopicQos& qos, dds::topic::TopicListener<T>* listener, const dds::core::status::StatusMask& mask) : ::dds::core::Reference< DELEGATE<T> >(new DELEGATE<T>( dp, topic_name, "", qos, listener, mask)), ::dds::topic::TAnyTopic< DELEGATE<T> >(::dds::core::Reference< DELEGATE<T> >::delegate()) { ISOCPP_REPORT_STACK_DDS_BEGIN(dp); this->delegate()->init(this->impl_); }
uint32_t find(const dds::pub::Publisher& pub, const std::string& topic_name, BinIterator begin) { ISOCPP_REPORT_STACK_DDS_BEGIN(pub); org::opensplice::pub::AnyDataWriterDelegate::ref_type writer_base = pub.delegate()->find_datawriter(topic_name); if (writer_base) { /* Cast base writer to typed delegate: */ typename WRITER::DELEGATE_REF_T writer_typed = OSPL_CXX11_STD_MODULE::dynamic_pointer_cast<typename WRITER::DELEGATE_T>(writer_base); WRITER dw(writer_typed); if(dw != dds::core::null) { *begin = dw; return 1; } } return 0; }
SubscriberDelegate::SubscriberDelegate( const dds::domain::DomainParticipant& dp, const dds::sub::qos::SubscriberQos& qos, dds::sub::SubscriberListener* listener, const dds::core::status::StatusMask& event_mask) : dp_(dp), qos_(qos) { ISOCPP_REPORT_STACK_DDS_BEGIN(dp); u_subscriber uSub; u_participant uPar; u_subscriberQos uQos; uPar = u_participant(this->dp_.delegate()->get_user_handle()); if (!uPar) { ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Could not get subscriber participant."); } qos.delegate().check(); uQos = qos.delegate().u_qos(); if (!uQos) { ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Could not convert subscriber QoS."); } std::string name = this->dp_.delegate()->create_child_name("subscriber"); uSub = u_subscriberNew(uPar, name.c_str(), uQos); u_subscriberQosFree (uQos); if (!uSub) { ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Could not create subscriber."); } /* ObjectDelegate class will free the userlayer object in its destructor. */ this->userHandle = u_object(uSub); this->listener_set((void*)listener, event_mask); set_domain_id(dp.delegate()->get_domain_id()); }
dds::core::status::InconsistentTopicStatus TAnyTopic<DELEGATE>::inconsistent_topic_status() const { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); return this->delegate()->inconsistent_topic_status(); }
const std::string& ContentFilteredTopic<T, DELEGATE>::filter_expression() const { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); return this->delegate()->filter_expression(); }
bool TCondition<DELEGATE>::trigger_value() const { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); return this->delegate()->trigger_value(); }
dds::topic::qos::TopicQos TAnyTopic<DELEGATE>::qos() const { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); return this->delegate()->qos(); }
void TAnyTopic<DELEGATE>::qos(const dds::topic::qos::TopicQos& qos) { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); this->delegate()->qos(qos); }
const dds::core::StringSeq ContentFilteredTopic<T, DELEGATE>::filter_parameters() const { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); return this->delegate()->filter_parameters(); }
void ContentFilteredTopic<T, DELEGATE>::filter_parameters(const FWDIterator& begin, const FWDIterator& end) { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); this->delegate()->filter_parameters(begin, end); }
const dds::topic::Topic<T>& ContentFilteredTopic<T, DELEGATE>::topic() const { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); return this->delegate()->topic(); }
typename Topic<T, DELEGATE>::Listener* Topic<T, DELEGATE>::listener() const { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); return this->delegate()->listener(); }
void TCondition<DELEGATE>::dispatch() { ISOCPP_REPORT_STACK_DDS_BEGIN(*this); this->delegate()->dispatch(); }