RTI Connext Modern C++ API Version 7.3.0
rti::sub::status::StreamKind Class Reference

<<extension>> Indicates which stream to read from: live stream, topic-query stream or both More...

#include <rti/sub/status/DataStateEx.hpp>

Inherits std::bitset< OMG_DDS_STATE_BIT_COUNT >.

Public Types

typedef std::bitset< OMG_DDS_STATE_BIT_COUNT > MaskType
 An std::bitset of StreamKinds. More...
 

Public Member Functions

 StreamKind (const MaskType &other)
 Create an StreamKind from MaskType. More...
 

Static Public Member Functions

static StreamKind live ()
 Returns the StreamKind that selects the live stream. More...
 
static StreamKind topic_query ()
 Returns the StreamKind that selects the topic-query stream. More...
 
static StreamKind any ()
 Returns the StreamKind that selects either stream. More...
 

Detailed Description

<<extension>> Indicates which stream to read from: live stream, topic-query stream or both

See also
Topic Queries

Member Typedef Documentation

◆ MaskType

typedef std::bitset<OMG_DDS_STATE_BIT_COUNT > rti::sub::status::StreamKind::MaskType

An std::bitset of StreamKinds.

Constructor & Destructor Documentation

◆ StreamKind()

rti::sub::status::StreamKind::StreamKind ( const MaskType other)
inline

Create an StreamKind from MaskType.

Parameters
otherThe MaskType to create the StreamKind with

Member Function Documentation

◆ live()

static StreamKind rti::sub::status::StreamKind::live ( )
inlinestatic

Returns the StreamKind that selects the live stream.

◆ topic_query()

static StreamKind rti::sub::status::StreamKind::topic_query ( )
inlinestatic

Returns the StreamKind that selects the topic-query stream.

◆ any()

static StreamKind rti::sub::status::StreamKind::any ( )
inlinestatic

Returns the StreamKind that selects either stream.