More...
#include "CorePolicy.hpp"
Inherits dds::core::Value< D >.
Definition at line 1159 of file CorePolicy.hpp.
◆ ResourceLimits() [1/2]
Creates a ResourceLimits QoS instance
- Parameters
-
max_samples | the max_samples value |
max_instances | the max_instances value |
max_samples_per_instance | the max_samples_per_instance value |
◆ ResourceLimits() [2/2]
dds::core::policy::ResourceLimits::ResourceLimits |
( |
const ResourceLimits & |
other | ) |
|
◆ max_instances() [1/2]
int32_t dds::core::policy::ResourceLimits::max_instances |
( |
| ) |
const |
Gets the max_instances value
- Returns
- the max_instances value
◆ max_instances() [2/2]
ResourceLimits& dds::core::policy::ResourceLimits::max_instances |
( |
int32_t |
max_instances | ) |
|
Sets the max_instances value
- Parameters
-
max_instances | the max_instances value |
◆ max_samples() [1/2]
int32_t dds::core::policy::ResourceLimits::max_samples |
( |
| ) |
const |
Gets the max_samples value
- Returns
- the max_samples value
◆ max_samples() [2/2]
ResourceLimits& dds::core::policy::ResourceLimits::max_samples |
( |
int32_t |
max_samples | ) |
|
Sets the max_samples value
- Parameters
-
max_samples | the max_samples value |
◆ max_samples_per_instance() [1/2]
int32_t dds::core::policy::ResourceLimits::max_samples_per_instance |
( |
| ) |
const |
Gets the max_samples_per_instance value
- Returns
- the max_samples_per_instance value
◆ max_samples_per_instance() [2/2]
ResourceLimits& dds::core::policy::ResourceLimits::max_samples_per_instance |
( |
int32_t |
max_samples_per_instance | ) |
|
Sets the max_samples_per_instance value
- Parameters
-
max_samples_per_instance | the max_samples_per_instance value |
◆ operator!=()
Compare this Value with another Value
- Parameters
-
- Returns
- true if not equal
◆ operator->() [1/2]
The operator->() is provided to be able to directly invoke functions on the delegate.
The decision to provide direct access to the delegate was motivated by the need for providing a way that was not invasive with respect to the CXXDDS API and yet would allow for vendor-specific extension. Thus vendor-specific extensions can be invoked on the Value and on all its subclasses as follows:
my_dds_value.standard_function();
my_dds_value->vendor_specific_extension();
- Returns
- a reference to delegate.
◆ operator->() [2/2]
The operator->() is provided to be able to directly invoke functions on the delegate.
The decision to provide direct access to the delegate was motivated by the need for providing a way that was not invasive with respect to the CXXDDS API and yet would allow for vendor-specific extension. Thus vendor-specific extensions can be invoked on the Value and on all its subclasses as follows:
my_dds_value.standard_function();
my_dds_value->vendor_specific_extension();
- Returns
- a reference to delegate.
◆ operator==()
Compare this Value with another Value
- Parameters
-
- Returns
- true if equal
The documentation for this class was generated from the following file: