RTI Connext Modern C++ API  Version 6.0.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
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.
 
QosPolicyId policy_id () const
 Gets the policy ID.
 
int32_t count () const
 Gets the counter.
 

Detailed Description

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

Constructor & Destructor Documentation

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

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

Gets the policy ID.

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

Gets the counter.


RTI Connext Modern C++ API Version 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc