RTI Connext Modern C++ API Version 7.3.0
dds::core::policy::QosPolicyCount Class Reference

<<value-type>> Holds a counter for a QosPolicyId More...

#include <dds/core/policy/QosPolicyCount.hpp>

Public Member Functions

 QosPolicyCount (QosPolicyId the_policy_id, int32_t the_count)
 Creates an instance with the policy ID and its counter. More...
 
QosPolicyId policy_id () const
 Gets the policy ID. More...
 
int32_t count () const
 Gets the counter. More...
 

Detailed Description

<<value-type>> Holds a counter for a QosPolicyId

Constructor & Destructor Documentation

◆ QosPolicyCount()

dds::core::policy::QosPolicyCount::QosPolicyCount ( QosPolicyId  the_policy_id,
int32_t  the_count 
)
inline

Creates an instance with the policy ID and its counter.

Member Function Documentation

◆ policy_id()

QosPolicyId dds::core::policy::QosPolicyCount::policy_id ( ) const
inline

Gets the policy ID.

◆ count()

int32_t dds::core::policy::QosPolicyCount::count ( ) const
inline

Gets the counter.