Class DurabilityService
Defined in File CorePolicy.hpp
Inheritance Relationships
Base Type
public dds::core::Value< detail::DurabilityService >
(Template Class Value)
Class Documentation
-
class DurabilityService : public dds::core::Value<detail::DurabilityService>
Public Functions
-
DurabilityService(const dds::core::Duration &service_cleanup_delay = dds::core::Duration::zero(), dds::core::policy::HistoryKind::Type history_kind = dds::core::policy::HistoryKind::KEEP_LAST, int32_t history_depth = 1, int32_t max_samples = dds::core::LENGTH_UNLIMITED, int32_t max_instances = dds::core::LENGTH_UNLIMITED, int32_t max_samples_per_instance = dds::core::LENGTH_UNLIMITED)
Creates a DurabilityService QoS instance
- Parameters:
service_cleanup_delay – the service_cleanup_delay
history_kind – the history_kind value
history_depth – the history_depth value
max_samples – the max_samples value
max_instances – the max_instances value
max_samples_per_instance – the max_samples_per_instance value
-
DurabilityService(const DurabilityService &other)
Copies a DurabilityService QoS instance
- Parameters:
other – the DurabilityService QoS instance to copy
-
DurabilityService &service_cleanup_delay(const dds::core::Duration &service_cleanup_delay)
Sets the service_cleanup_delay value
- Parameters:
service_cleanup_delay – the service_cleanup_delay value
-
const dds::core::Duration service_cleanup_delay() const
Gets the service_cleanup_delay value
- Returns:
the service_cleanup_delay
-
DurabilityService &history_kind(dds::core::policy::HistoryKind::Type history_kind)
Sets the history_kind
- Parameters:
the – history_kind
-
dds::core::policy::HistoryKind::Type history_kind() const
Gets the history_kind
- Returns:
history_kind
-
DurabilityService &history_depth(int32_t history_depth)
Sets the history_depth value
- Parameters:
history_depth – the history_depth value
-
DurabilityService &max_samples(int32_t max_samples)
Sets the max_samples value
- Parameters:
max_samples – the max_samples value
-
DurabilityService &max_instances(int32_t max_instances)
Sets the max_instances value
- Parameters:
max_instances – the max_instances value
-
DurabilityService &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
-
DurabilityService(const dds::core::Duration &service_cleanup_delay = dds::core::Duration::zero(), dds::core::policy::HistoryKind::Type history_kind = dds::core::policy::HistoryKind::KEEP_LAST, int32_t history_depth = 1, int32_t max_samples = dds::core::LENGTH_UNLIMITED, int32_t max_instances = dds::core::LENGTH_UNLIMITED, int32_t max_samples_per_instance = dds::core::LENGTH_UNLIMITED)