Safe DDS
eprosima::safedds::dds::DataSharingQosPolicy Class Reference

Data sharing feature configuration. More...

#include <DataSharingQosPolicy.hpp>

Public Attributes

uint32_t max_remote_entities { 0 }
 Maximum number of remote entities to share with. If 0, data sharing is disabled. More...
 
platform::FileAccessLevel access_level { platform::FileAccessLevel::USER }
 File access level for the datasharing resources. Default is USER, which allows only the owner to access the segments. More...
 
memory::container::StaticString< MAX_NOTIFICATION_PATH_PREFIX_SIZE > notification_path_prefix
 Notification path prefix for the datasharing resources. More...
 
memory::container::StaticString< MAX_SEGMENT_NAME_PREFIX_SIZE > segment_name_prefix { "/safedds_ds_segment_" }
 Segment name prefix for the datasharing shared memory segments. More...
 

Static Public Attributes

static constexpr uint32_t RESOURCE_ID_HEX_STRING_SIZE = 32U
 Number of hexadecimal characters used to encode a GUID in datasharing resource names. More...
 
static constexpr uint32_t MAX_NOTIFICATION_PATH_SIZE = 128U
 Maximum total size for FIFO notification resource names, including null terminator. More...
 
static constexpr uint32_t MAX_SEGMENT_NAME_SIZE = 128U
 Maximum total size for shared memory segment resource names, including null terminator. More...
 
static constexpr uint32_t MAX_NOTIFICATION_PATH_PREFIX_SIZE
 Maximum size for the FIFO path prefix, including null terminator. More...
 
static constexpr uint32_t MAX_SEGMENT_NAME_PREFIX_SIZE
 Maximum size for the segment name prefix, including null terminator. More...
 

Detailed Description

Data sharing feature configuration.

@safety_api_struct

Member Data Documentation

◆ access_level

platform::FileAccessLevel eprosima::safedds::dds::DataSharingQosPolicy::access_level { platform::FileAccessLevel::USER }

File access level for the datasharing resources. Default is USER, which allows only the owner to access the segments.

◆ MAX_NOTIFICATION_PATH_PREFIX_SIZE

constexpr uint32_t eprosima::safedds::dds::DataSharingQosPolicy::MAX_NOTIFICATION_PATH_PREFIX_SIZE
staticconstexpr
Initial value:
=
static constexpr uint32_t RESOURCE_ID_HEX_STRING_SIZE
Number of hexadecimal characters used to encode a GUID in datasharing resource names.
Definition: DataSharingQosPolicy.hpp:41
static constexpr uint32_t MAX_NOTIFICATION_PATH_SIZE
Maximum total size for FIFO notification resource names, including null terminator.
Definition: DataSharingQosPolicy.hpp:43

Maximum size for the FIFO path prefix, including null terminator.

◆ MAX_NOTIFICATION_PATH_SIZE

constexpr uint32_t eprosima::safedds::dds::DataSharingQosPolicy::MAX_NOTIFICATION_PATH_SIZE = 128U
staticconstexpr

Maximum total size for FIFO notification resource names, including null terminator.

◆ max_remote_entities

uint32_t eprosima::safedds::dds::DataSharingQosPolicy::max_remote_entities { 0 }

Maximum number of remote entities to share with. If 0, data sharing is disabled.

◆ MAX_SEGMENT_NAME_PREFIX_SIZE

constexpr uint32_t eprosima::safedds::dds::DataSharingQosPolicy::MAX_SEGMENT_NAME_PREFIX_SIZE
staticconstexpr
Initial value:
=
static constexpr uint32_t MAX_SEGMENT_NAME_SIZE
Maximum total size for shared memory segment resource names, including null terminator.
Definition: DataSharingQosPolicy.hpp:45

Maximum size for the segment name prefix, including null terminator.

◆ MAX_SEGMENT_NAME_SIZE

constexpr uint32_t eprosima::safedds::dds::DataSharingQosPolicy::MAX_SEGMENT_NAME_SIZE = 128U
staticconstexpr

Maximum total size for shared memory segment resource names, including null terminator.

◆ notification_path_prefix

memory::container::StaticString<MAX_NOTIFICATION_PATH_PREFIX_SIZE> eprosima::safedds::dds::DataSharingQosPolicy::notification_path_prefix
Initial value:
{
"/tmp/safedds_ds_fifo_" }

Notification path prefix for the datasharing resources.

◆ RESOURCE_ID_HEX_STRING_SIZE

constexpr uint32_t eprosima::safedds::dds::DataSharingQosPolicy::RESOURCE_ID_HEX_STRING_SIZE = 32U
staticconstexpr

Number of hexadecimal characters used to encode a GUID in datasharing resource names.

◆ segment_name_prefix

memory::container::StaticString<MAX_SEGMENT_NAME_PREFIX_SIZE> eprosima::safedds::dds::DataSharingQosPolicy::segment_name_prefix { "/safedds_ds_segment_" }

Segment name prefix for the datasharing shared memory segments.


The documentation for this class was generated from the following file: