Safe DDS
eprosima::safedds::dds::ResourceLimitsQosPolicy Class Reference

Qos Policy to configure the resources provided to the Topic in order to meet the requested Qos. More...

#include <ResourceLimitsQosPolicy.hpp>

Public Member Functions

bool is_consistent () const noexcept
 Check if configured policy values are consistent. More...
 
bool is_bounded () const noexcept
 Check if configured policy is bounded. More...
 

Public Attributes

int32_t max_samples = DEFAULT_MAX_SAMPLES
 Max samples. More...
 
int32_t max_instances = DEFAULT_MAX_INSTANCES
 Max instances. More...
 
int32_t max_samples_per_instance = DEFAULT_MAX_SAMPLES_PER_INSTANCE
 Max samples per instance. More...
 

Static Public Attributes

static constexpr QosPolicyId POLICY_ID = QosPolicyId::RESOURCELIMITS_QOS_POLICY_ID
 QoS policy id. More...
 
static constexpr int32_t DEFAULT_MAX_SAMPLES = 5000
 QoS policy default max samples default value. More...
 
static constexpr int32_t DEFAULT_MAX_INSTANCES = 10
 QoS policy default max instances default value. More...
 
static constexpr int32_t DEFAULT_MAX_SAMPLES_PER_INSTANCE = 400
 QoS policy max samples per instance default value. More...
 

Detailed Description

Qos Policy to configure the resources provided to the Topic in order to meet the requested Qos.

@safety_api_struct

Member Function Documentation

◆ is_bounded()

bool eprosima::safedds::dds::ResourceLimitsQosPolicy::is_bounded ( ) const
noexcept

Check if configured policy is bounded.

Returns
true if bounded, false otherwise.

◆ is_consistent()

bool eprosima::safedds::dds::ResourceLimitsQosPolicy::is_consistent ( ) const
noexcept

Check if configured policy values are consistent.

Returns
true if consistent, false otherwise.

Member Data Documentation

◆ DEFAULT_MAX_INSTANCES

constexpr int32_t eprosima::safedds::dds::ResourceLimitsQosPolicy::DEFAULT_MAX_INSTANCES = 10
staticconstexpr

QoS policy default max instances default value.

◆ DEFAULT_MAX_SAMPLES

constexpr int32_t eprosima::safedds::dds::ResourceLimitsQosPolicy::DEFAULT_MAX_SAMPLES = 5000
staticconstexpr

QoS policy default max samples default value.

◆ DEFAULT_MAX_SAMPLES_PER_INSTANCE

constexpr int32_t eprosima::safedds::dds::ResourceLimitsQosPolicy::DEFAULT_MAX_SAMPLES_PER_INSTANCE = 400
staticconstexpr

QoS policy max samples per instance default value.

◆ max_instances

int32_t eprosima::safedds::dds::ResourceLimitsQosPolicy::max_instances = DEFAULT_MAX_INSTANCES

Max instances.

◆ max_samples

int32_t eprosima::safedds::dds::ResourceLimitsQosPolicy::max_samples = DEFAULT_MAX_SAMPLES

Max samples.

◆ max_samples_per_instance

int32_t eprosima::safedds::dds::ResourceLimitsQosPolicy::max_samples_per_instance = DEFAULT_MAX_SAMPLES_PER_INSTANCE

Max samples per instance.

◆ POLICY_ID

constexpr QosPolicyId eprosima::safedds::dds::ResourceLimitsQosPolicy::POLICY_ID = QosPolicyId::RESOURCELIMITS_QOS_POLICY_ID
staticconstexpr

QoS policy id.


The documentation for this class was generated from the following file: