CoreDX DDS Modern C++ API
Public Member Functions | Static Public Member Functions | List of all members
dds::core::policy::Ownership Class Reference

Ownership kind. More...

Public Member Functions

 Ownership (dds::core::policy::OwnershipKind::Type kind=dds::core::policy::OwnershipKind::SHARED)
 Construct an Ownership policy with the specified kind. More...
 
 Ownership (const Ownership &other)
 Copy constructor.
 
Ownershipkind (dds::core::policy::OwnershipKind::Type kind)
 Set the ownership kind.
 
dds::core::policy::OwnershipKind::Type kind () const
 Access the ownership kind.
 

Static Public Member Functions

static Ownership Exclusive ()
 Helper to construct an Ownership policy with EXCLUSIVE kind. More...
 
static Ownership Shared ()
 Helper to construct an Ownership policy with SHARED kind. More...
 

Detailed Description

Ownership kind.

Constructor & Destructor Documentation

◆ Ownership()

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

Construct an Ownership policy with the specified kind.

The default kind is SHARED.

Member Function Documentation

◆ Exclusive()

static Ownership dds::core::policy::Ownership::Exclusive ( )
static

Helper to construct an Ownership policy with EXCLUSIVE kind.

◆ Shared()

static Ownership dds::core::policy::Ownership::Shared ( )
static

Helper to construct an Ownership policy with SHARED kind.


© 2009-2020 Twin Oaks Computing, Inc
Castle Rock, CO 80104
All rights reserved.