CoreDX DDS Modern C++ API
Namespaces | Classes | Functions
dds::topic Namespace Reference

The topic namespace. More...

Namespaces

 qos
 Namespace for Topic related QoS collections.
 

Classes

class  AnyTopic
 Typeless base class for the typed Topic. More...
 
class  AnyTopicListener
 Base un-typed Topic listener. More...
 
class  ContentFilteredTopic
 This class represents a content-filtered topic. More...
 
class  Filter
 This clas defines a filter that can be used to create a ContentFilteredTopic. More...
 
class  NoOpAnyTopicListener
 Derives from the un-typed AnyTopic listener and provides 'empty' implementations for all listener operations. More...
 
class  NoOpTopicListener
 Derives from the un-typed Topic listener and provides 'empty' implementations for all listener operations. More...
 
class  Topic
 Topic is the most basic description of the data to be published and subscribed. More...
 
class  TopicDescription
 This class is the base for Topic, ContentFilteredTopic and MultiTopic. More...
 
class  TopicListener
 Base typed Topic listener. More...
 

Functions

template<typename TOPIC >
TOPIC find (const dds::domain::DomainParticipant &dp, const std::string &topic_name)
 Find a Topic<T>, AnyTopic, ContentFilteredTopic<T>, by 'topic_name'. More...
 
template<typename ANYTOPIC , typename FwdIterator >
int discover (FwdIterator begin, uint32_t max_size)
 Allows to discover Topic<T>, AnyTopic, ContentFilteredTopic<T>, etc. More...
 
template<typename ANYTOPIC , typename BinIterator >
int discover (BinIterator begin)
 
template<typename TOPICDATA , typename FwdIterator >
uint32_t discover (FwdIterator begin, uint32_t max_size)
 
template<typename TOPICDATA , typename BinIterator >
uint32_t discover (BinIterator begin)
 
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)
 

Detailed Description

The topic namespace.

Function Documentation

◆ discover() [1/4]

template<typename ANYTOPIC , typename FwdIterator >
int dds::topic::discover ( FwdIterator  begin,
uint32_t  max_size 
)

Allows to discover Topic<T>, AnyTopic, ContentFilteredTopic<T>, etc.

template <typename TOPIC> TOPIC discover(const dds::domain::DomainParticipant& dp, const std::string& name, const dds::core::Duration& timeout = dds::core::Duration::infinite());

Not Yet Supported:

◆ discover() [2/4]

template<typename ANYTOPIC , typename BinIterator >
int dds::topic::discover ( BinIterator  begin)

◆ discover() [3/4]

template<typename TOPICDATA , typename FwdIterator >
uint32_t dds::topic::discover ( FwdIterator  begin,
uint32_t  max_size 
)

◆ discover() [4/4]

template<typename TOPICDATA , typename BinIterator >
uint32_t dds::topic::discover ( BinIterator  begin)

◆ find()

template<typename TOPIC >
TOPIC dds::topic::find ( const dds::domain::DomainParticipant dp,
const std::string &  topic_name 
)

Find a Topic<T>, AnyTopic, ContentFilteredTopic<T>, by 'topic_name'.

This operation never results in network look-up.

◆ ignore() [1/2]

void dds::topic::ignore ( const dds::domain::DomainParticipant dp,
const dds::core::InstanceHandle handle 
)

◆ ignore() [2/2]

template<typename FwdIterator >
void dds::topic::ignore ( const dds::domain::DomainParticipant dp,
FwdIterator  begin,
FwdIterator  end 
)

© 2009-2020 Twin Oaks Computing, Inc
Castle Rock, CO 80104
All rights reserved.