Class Presentation

Inheritance Relationships

Base Type

Class Documentation

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

Public Functions

Presentation(dds::core::policy::PresentationAccessScopeKind::Type access_scope = dds::core::policy::PresentationAccessScopeKind::INSTANCE, bool coherent_access = false, bool ordered_access = false)

Creates a Presentation QoS instance

Parameters:
  • access_scope – the access_scope kind

  • coherent_access – the coherent_access setting

  • ordered_access – the ordered_access setting

Presentation(const Presentation &other)

Copies a Presentation QoS instance

Parameters:

other – the Presentation QoS instance to copy

Presentation &access_scope(dds::core::policy::PresentationAccessScopeKind::Type access_scope)

Sets the access_scope kind

Parameters:

access_scope – the access_scope kind

dds::core::policy::PresentationAccessScopeKind::Type access_scope() const

Gets the access_scope kind

Returns:

the access_scope kind

Presentation &coherent_access(bool coherent_access)

Sets the coherent_access setting

Parameters:

coherent_access – the coherent_access setting

bool coherent_access() const

Gets the coherent_access setting

Returns:

the coherent_access setting

Presentation &ordered_access(bool ordered_access)

Sets the ordered_access setting

Parameters:

ordered_access – the ordered_access setting

bool ordered_access() const

Gets the ordered_access setting

Returns:

the ordered_access setting

Public Static Functions

static Presentation GroupAccessScope(bool coherent_access = false, bool ordered_access = false)
Parameters:
  • coherent_access – the coherent_access setting

  • ordered_access – the ordered_access setting

Returns:

a Presentation QoS instance with a GROUP access_score and coherent_access and ordered_access set to the specified values

static Presentation InstanceAccessScope(bool coherent_access = false, bool ordered_access = false)
Parameters:
  • coherent_access – the coherent_access setting

  • ordered_access – the ordered_access setting

Returns:

a Presentation QoS instance with a INSTANCE access_score and coherent_access and ordered_access set to the specified values

static Presentation TopicAccessScope(bool coherent_access = false, bool ordered_access = false)
Parameters:
  • coherent_access – the coherent_access setting

  • ordered_access – the ordered_access setting

Returns:

a Presentation QoS instance with a TOPIC access_score and coherent_access and ordered_access set to the specified values