Class Ownership

Inheritance Relationships

Base Type

Class Documentation

class Ownership : public dds::core::Value<detail::Ownership>

Public Functions

explicit Ownership(dds::core::policy::OwnershipKind::Type kind = dds::core::policy::OwnershipKind::SHARED)

Creates an Ownership QoS instance

Parameters:

kind – the kind

Ownership(const Ownership &other)

Copies an Ownership QoS instance

Parameters:

other – the Ownership QoS instance to copy

Ownership &kind(dds::core::policy::OwnershipKind::Type kind)

Set the kind

Parameters:

kind – the kind

dds::core::policy::OwnershipKind::Type kind() const

Get the kind

Parameters:

kind – the kind

Public Static Functions

static Ownership Exclusive()
Returns:

an Ownership QoS instance with the kind set to EXCLUSIVE

static Ownership Shared()
Returns:

an Ownership QoS instance with the kind set to SHARED