RTI Connext Modern C++ API Version 7.1.0
rti::sub::TopicQuerySelectionKind_def Struct Reference

The definition of the dds::core::safe_enum rti::sub::TopicQuerySelectionKind. More...

#include <TopicQuery.hpp>

Public Types

enum  type {
  HISTORY_SNAPSHOT ,
  CONTINUOUS
}
 The underlying enum type. More...
 

Detailed Description

Member Enumeration Documentation

◆ type

The underlying enum type.

Enumerator
HISTORY_SNAPSHOT 

Indicates that the rti::sub::TopicQuery may only select samples that were in the DataWriter cache upon reception.


[default]

CONTINUOUS 

Indicates that the rti::sub::TopicQuery may continue selecting samples published after its reception.


The subscribing application must explicitly delete the TopicQuery (see rti::sub::TopicQuery::close()) to signal the DataWriters to stop publishing samples for it.