RTI Connext C# API  6.1.0
DataWriterQos Class Reference

Container of the QoS policies that a DataWriter<T> supports More...

Inherits IEquatable< DataWriterQos >.

Public Member Functions

DataWriterQos WithDurability (Durability policy)
 Creates an instance with a new Durability policy. More...
 
DataWriterQos WithDurability (Action< DurabilityBuilder > build)
 Creates a new instance with a new Durability policy as configured by a build action More...
 
DataWriterQos WithDurabilityService (DurabilityService policy)
 Creates an instance with a new DurabilityService policy. More...
 
DataWriterQos WithDurabilityService (Action< DurabilityServiceBuilder > build)
 Creates a new instance with a new DurabilityService policy as configured by a build action More...
 
DataWriterQos WithDeadline (Deadline policy)
 Creates an instance with a new Deadline policy. More...
 
DataWriterQos WithDeadline (Action< DeadlineBuilder > build)
 Creates a new instance with a new Deadline policy as configured by a build action More...
 
DataWriterQos WithLatencyBudget (LatencyBudget policy)
 Creates an instance with a new LatencyBudget policy. More...
 
DataWriterQos WithLatencyBudget (Action< LatencyBudgetBuilder > build)
 Creates a new instance with a new LatencyBudget policy as configured by a build action More...
 
DataWriterQos WithLiveliness (Liveliness policy)
 Creates an instance with a new Liveliness policy. More...
 
DataWriterQos WithLiveliness (Action< LivelinessBuilder > build)
 Creates a new instance with a new Liveliness policy as configured by a build action More...
 
DataWriterQos WithReliability (Reliability policy)
 Creates an instance with a new Reliability policy. More...
 
DataWriterQos WithReliability (Action< ReliabilityBuilder > build)
 Creates a new instance with a new Reliability policy as configured by a build action More...
 
DataWriterQos WithDestinationOrder (DestinationOrder policy)
 Creates an instance with a new DestinationOrder policy. More...
 
DataWriterQos WithDestinationOrder (Action< DestinationOrderBuilder > build)
 Creates a new instance with a new DestinationOrder policy as configured by a build action More...
 
DataWriterQos WithHistory (History policy)
 Creates an instance with a new History policy. More...
 
DataWriterQos WithHistory (Action< HistoryBuilder > build)
 Creates a new instance with a new History policy as configured by a build action More...
 
DataWriterQos WithResourceLimits (ResourceLimits policy)
 Creates an instance with a new ResourceLimits policy. More...
 
DataWriterQos WithResourceLimits (Action< ResourceLimitsBuilder > build)
 Creates a new instance with a new ResourceLimits policy as configured by a build action More...
 
DataWriterQos WithTransportPriority (TransportPriority policy)
 Creates an instance with a new TransportPriority policy. More...
 
DataWriterQos WithTransportPriority (Action< TransportPriorityBuilder > build)
 Creates a new instance with a new TransportPriority policy as configured by a build action More...
 
DataWriterQos WithLifespan (Lifespan policy)
 Creates an instance with a new Lifespan policy. More...
 
DataWriterQos WithLifespan (Action< LifespanBuilder > build)
 Creates a new instance with a new Lifespan policy as configured by a build action More...
 
DataWriterQos WithUserData (UserData policy)
 Creates an instance with a new UserData policy. More...
 
DataWriterQos WithUserData (Action< ImmutableList< byte >.Builder > build)
 Creates a new instance with a new UserData policy as configured by a build action More...
 
DataWriterQos WithOwnership (Ownership policy)
 Creates an instance with a new Ownership policy. More...
 
DataWriterQos WithOwnership (Action< OwnershipBuilder > build)
 Creates a new instance with a new Ownership policy as configured by a build action More...
 
DataWriterQos WithOwnershipStrength (OwnershipStrength policy)
 Creates an instance with a new OwnershipStrength policy. More...
 
DataWriterQos WithOwnershipStrength (Action< OwnershipStrengthBuilder > build)
 Creates a new instance with a new OwnershipStrength policy as configured by a build action More...
 
DataWriterQos WithWriterDataLifecycle (WriterDataLifecycle policy)
 Creates an instance with a new WriterDataLifecycle policy. More...
 
DataWriterQos WithWriterDataLifecycle (Action< WriterDataLifecycleBuilder > build)
 Creates a new instance with a new WriterDataLifecycle policy as configured by a build action More...
 
DataWriterQos WithRepresentation (DataRepresentation policy)
 Creates an instance with a new DataRepresentation policy. More...
 
DataWriterQos WithRepresentation (Action< DataRepresentationBuilder > build)
 Creates a new instance with a new DataRepresentation policy as configured by a build action More...
 
DataWriterQos WithDataTags (DataTags policy)
 Creates an instance with a new DataTags policy. More...
 
DataWriterQos WithDataTags (Action< ImmutableDictionary< string, string >.Builder > build)
 Creates a new instance with a new DataTags policy as configured by a build action More...
 
DataWriterQos WithWriterResourceLimits (DataWriterResourceLimits policy)
 Creates an instance with a new DataWriterResourceLimits policy. More...
 
DataWriterQos WithWriterResourceLimits (Action< DataWriterResourceLimitsBuilder > build)
 Creates a new instance with a new DataWriterResourceLimits policy as configured by a build action More...
 
DataWriterQos WithProtocol (DataWriterProtocol policy)
 Creates an instance with a new DataWriterProtocol policy. More...
 
DataWriterQos WithProtocol (Action< DataWriterProtocolBuilder > build)
 Creates a new instance with a new DataWriterProtocol policy as configured by a build action More...
 
DataWriterQos WithTransportSelection (TransportSelection policy)
 Creates an instance with a new TransportSelection policy. More...
 
DataWriterQos WithTransportSelection (Action< TransportSelectionBuilder > build)
 Creates a new instance with a new TransportSelection policy as configured by a build action More...
 
DataWriterQos WithUnicast (TransportUnicast policy)
 Creates an instance with a new TransportUnicast policy. More...
 
DataWriterQos WithUnicast (Action< ImmutableList< TransportUnicastSettings >.Builder > build)
 Creates a new instance with a new TransportUnicast policy as configured by a build action More...
 
DataWriterQos WithPublishMode (PublishMode policy)
 Creates an instance with a new PublishMode policy. More...
 
DataWriterQos WithPublishMode (Action< PublishModeBuilder > build)
 Creates a new instance with a new PublishMode policy as configured by a build action More...
 
DataWriterQos WithProperty (Property policy)
 Creates an instance with a new Property policy. More...
 
DataWriterQos WithProperty (Action< ImmutableDictionary< string, Property.Entry >.Builder > build)
 Creates a new instance with a new Property policy as configured by a build action More...
 
DataWriterQos WithService (Service policy)
 Creates an instance with a new Service policy. More...
 
DataWriterQos WithService (Action< ServiceBuilder > build)
 Creates a new instance with a new Service policy as configured by a build action More...
 
DataWriterQos WithBatch (Batch policy)
 Creates an instance with a new Batch policy. More...
 
DataWriterQos WithBatch (Action< BatchBuilder > build)
 Creates a new instance with a new Batch policy as configured by a build action More...
 
DataWriterQos WithMultiChannel (MultiChannel policy)
 Creates an instance with a new MultiChannel policy. More...
 
DataWriterQos WithMultiChannel (Action< MultiChannelBuilder > build)
 Creates a new instance with a new MultiChannel policy as configured by a build action More...
 
DataWriterQos WithAvailability (Availability policy)
 Creates an instance with a new Availability policy. More...
 
DataWriterQos WithAvailability (Action< AvailabilityBuilder > build)
 Creates a new instance with a new Availability policy as configured by a build action More...
 
DataWriterQos WithPublicationName (EntityName policy)
 Creates an instance with a new EntityName policy. More...
 
DataWriterQos WithPublicationName (Action< EntityNameBuilder > build)
 Creates a new instance with a new EntityName policy as configured by a build action More...
 
DataWriterQos WithTopicQueryDispatch (TopicQueryDispatch policy)
 Creates an instance with a new TopicQueryDispatch policy. More...
 
DataWriterQos WithTopicQueryDispatch (Action< TopicQueryDispatchBuilder > build)
 Creates a new instance with a new TopicQueryDispatch policy as configured by a build action More...
 
DataWriterQos WithTypeSupport (TypeSupport policy)
 Creates an instance with a new TypeSupport policy. More...
 
DataWriterQos WithTypeSupport (Action< TypeSupportBuilder > build)
 Creates a new instance with a new TypeSupport policy as configured by a build action More...
 
override int GetHashCode ()
 Gets the hash code More...
 
override bool Equals (object other)
 Compares for equality More...
 
bool Equals (DataWriterQos other)
 Compares for equality More...
 
override string ToString ()
 Returns an XML representation of the QoS object. More...
 
string ToString (QosPrintFormat format)
 Returns an XML representation of the QoS object. More...
 
string ToString (DataWriterQos baseQos, QosPrintFormat format=null)
 Returns an XML representation of the QoS object. More...
 
string ToString (QosPrintAll baseQos, QosPrintFormat format=null)
 Returns an XML representation of the QoS object. More...
 

Static Public Member Functions

static DataWriterQos FromTopicQos (TopicQos topicQos)
 Creates a DataWriterQos object with the policies of a TopicQos object. More...
 

Properties

Durability Durability [get]
 Gets the Durability policy. More...
 
DurabilityService DurabilityService [get]
 Gets the DurabilityService policy. More...
 
Deadline Deadline [get]
 Gets the Deadline policy. More...
 
LatencyBudget LatencyBudget [get]
 Gets the LatencyBudget policy. More...
 
Liveliness Liveliness [get]
 Gets the Liveliness policy. More...
 
Reliability Reliability [get]
 Gets the Reliability policy. More...
 
DestinationOrder DestinationOrder [get]
 Gets the DestinationOrder policy. More...
 
History History [get]
 Gets the History policy. More...
 
ResourceLimits ResourceLimits [get]
 Gets the ResourceLimits policy. More...
 
TransportPriority TransportPriority [get]
 Gets the TransportPriority policy. More...
 
Lifespan Lifespan [get]
 Gets the Lifespan policy. More...
 
UserData UserData [get]
 Gets the UserData policy. More...
 
Ownership Ownership [get]
 Gets the Ownership policy. More...
 
OwnershipStrength OwnershipStrength [get]
 Gets the OwnershipStrength policy. More...
 
WriterDataLifecycle WriterDataLifecycle [get]
 Gets the WriterDataLifecycle policy. More...
 
DataRepresentation Representation [get]
 Gets the DataRepresentation policy. More...
 
DataTags DataTags [get]
 Gets the DataTags policy. More...
 
DataWriterResourceLimits WriterResourceLimits [get]
 Gets the DataWriterResourceLimits policy. More...
 
DataWriterProtocol Protocol [get]
 Gets the DataWriterProtocol policy. More...
 
TransportSelection TransportSelection [get]
 Gets the TransportSelection policy. More...
 
TransportUnicast Unicast [get]
 Gets the TransportUnicast policy. More...
 
PublishMode PublishMode [get]
 Gets the PublishMode policy. More...
 
Property Property [get]
 Gets the Property policy. More...
 
Service Service [get]
 Gets the Service policy. More...
 
Batch Batch [get]
 Gets the Batch policy. More...
 
MultiChannel MultiChannel [get]
 Gets the MultiChannel policy. More...
 
Availability Availability [get]
 Gets the Availability policy. More...
 
EntityName PublicationName [get]
 Gets the EntityName policy. More...
 
TopicQueryDispatch TopicQueryDispatch [get]
 Gets the TopicQueryDispatch policy. More...
 
TypeSupport TypeSupport [get]
 Gets the TypeSupport policy. More...
 
static DataWriterQos Default [get]
 Singleton containing the documented default value of a DataWriterQos More...
 

Detailed Description

Container of the QoS policies that a DataWriter<T> supports

The full documentation is available in the C API: DDS_DataReaderQos

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( DataWriterQos  other)

Compares for equality

◆ Equals() [2/2]

override bool Equals ( object  other)

Compares for equality

◆ FromTopicQos()

static DataWriterQos FromTopicQos ( TopicQos  topicQos)
static

Creates a DataWriterQos object with the policies of a TopicQos object.

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ ToString() [1/4]

override string ToString ( )

Returns an XML representation of the QoS object.

The output is formatted using the default values for the QosPrintFormat and only QoS policies which differ from the documented default are included.

◆ ToString() [2/4]

string ToString ( DataWriterQos  baseQos,
QosPrintFormat  format = null 
)

Returns an XML representation of the QoS object.

Parameters
baseQosThe baseQos profile.
formatthe format used to configure the output. If not supplied the output is formatted using the default format.

This overload accepts a value for the baseQos. Only the differences between the DataWriterQos object being printed and the baseQos are included in the output.

◆ ToString() [3/4]

string ToString ( QosPrintAll  baseQos,
QosPrintFormat  format = null 
)

Returns an XML representation of the QoS object.

Parameters
baseQosUsed to indicate that the entire QoS object should be included in the output. The only value which should be provided for this argument is QosPrintAll.Value
formatThe format used to configure the output. If not supplied, the output is formatted using the default format.

This overload accepts a parameter of type QosPrintAll. Unlike the other ToString overloads, the entire QoS object will be included in the output.

◆ ToString() [4/4]

string ToString ( QosPrintFormat  format)

Returns an XML representation of the QoS object.

Parameters
formatThe baseQos profile.

This overload accepts a value for the baseQos. Only the differences between the DataWriterQos object being printed and the baseQos are included in the output.

◆ WithAvailability() [1/2]

DataWriterQos WithAvailability ( Action< AvailabilityBuilder build)

Creates a new instance with a new Availability policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithAvailability() [2/2]

DataWriterQos WithAvailability ( Availability  policy)

Creates an instance with a new Availability policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithBatch() [1/2]

DataWriterQos WithBatch ( Action< BatchBuilder build)

Creates a new instance with a new Batch policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithBatch() [2/2]

DataWriterQos WithBatch ( Batch  policy)

Creates an instance with a new Batch policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithDataTags() [1/2]

DataWriterQos WithDataTags ( Action< ImmutableDictionary< string, string >.Builder >  build)

Creates a new instance with a new DataTags policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithDataTags() [2/2]

DataWriterQos WithDataTags ( DataTags  policy)

Creates an instance with a new DataTags policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithDeadline() [1/2]

DataWriterQos WithDeadline ( Action< DeadlineBuilder build)

Creates a new instance with a new Deadline policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithDeadline() [2/2]

DataWriterQos WithDeadline ( Deadline  policy)

Creates an instance with a new Deadline policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithDestinationOrder() [1/2]

DataWriterQos WithDestinationOrder ( Action< DestinationOrderBuilder build)

Creates a new instance with a new DestinationOrder policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithDestinationOrder() [2/2]

DataWriterQos WithDestinationOrder ( DestinationOrder  policy)

Creates an instance with a new DestinationOrder policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithDurability() [1/2]

DataWriterQos WithDurability ( Action< DurabilityBuilder build)

Creates a new instance with a new Durability policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithDurability() [2/2]

DataWriterQos WithDurability ( Durability  policy)

Creates an instance with a new Durability policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithDurabilityService() [1/2]

DataWriterQos WithDurabilityService ( Action< DurabilityServiceBuilder build)

Creates a new instance with a new DurabilityService policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithDurabilityService() [2/2]

DataWriterQos WithDurabilityService ( DurabilityService  policy)

Creates an instance with a new DurabilityService policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithHistory() [1/2]

DataWriterQos WithHistory ( Action< HistoryBuilder build)

Creates a new instance with a new History policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithHistory() [2/2]

DataWriterQos WithHistory ( History  policy)

Creates an instance with a new History policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithLatencyBudget() [1/2]

DataWriterQos WithLatencyBudget ( Action< LatencyBudgetBuilder build)

Creates a new instance with a new LatencyBudget policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithLatencyBudget() [2/2]

DataWriterQos WithLatencyBudget ( LatencyBudget  policy)

Creates an instance with a new LatencyBudget policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithLifespan() [1/2]

DataWriterQos WithLifespan ( Action< LifespanBuilder build)

Creates a new instance with a new Lifespan policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithLifespan() [2/2]

DataWriterQos WithLifespan ( Lifespan  policy)

Creates an instance with a new Lifespan policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithLiveliness() [1/2]

DataWriterQos WithLiveliness ( Action< LivelinessBuilder build)

Creates a new instance with a new Liveliness policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithLiveliness() [2/2]

DataWriterQos WithLiveliness ( Liveliness  policy)

Creates an instance with a new Liveliness policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithMultiChannel() [1/2]

DataWriterQos WithMultiChannel ( Action< MultiChannelBuilder build)

Creates a new instance with a new MultiChannel policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithMultiChannel() [2/2]

DataWriterQos WithMultiChannel ( MultiChannel  policy)

Creates an instance with a new MultiChannel policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithOwnership() [1/2]

DataWriterQos WithOwnership ( Action< OwnershipBuilder build)

Creates a new instance with a new Ownership policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithOwnership() [2/2]

DataWriterQos WithOwnership ( Ownership  policy)

Creates an instance with a new Ownership policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithOwnershipStrength() [1/2]

DataWriterQos WithOwnershipStrength ( Action< OwnershipStrengthBuilder build)

Creates a new instance with a new OwnershipStrength policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithOwnershipStrength() [2/2]

DataWriterQos WithOwnershipStrength ( OwnershipStrength  policy)

Creates an instance with a new OwnershipStrength policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithProperty() [1/2]

DataWriterQos WithProperty ( Action< ImmutableDictionary< string, Property.Entry >.Builder >  build)

Creates a new instance with a new Property policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithProperty() [2/2]

DataWriterQos WithProperty ( Property  policy)

Creates an instance with a new Property policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithProtocol() [1/2]

DataWriterQos WithProtocol ( Action< DataWriterProtocolBuilder build)

Creates a new instance with a new DataWriterProtocol policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithProtocol() [2/2]

DataWriterQos WithProtocol ( DataWriterProtocol  policy)

Creates an instance with a new DataWriterProtocol policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithPublicationName() [1/2]

DataWriterQos WithPublicationName ( Action< EntityNameBuilder build)

Creates a new instance with a new EntityName policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithPublicationName() [2/2]

DataWriterQos WithPublicationName ( EntityName  policy)

Creates an instance with a new EntityName policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithPublishMode() [1/2]

DataWriterQos WithPublishMode ( Action< PublishModeBuilder build)

Creates a new instance with a new PublishMode policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithPublishMode() [2/2]

DataWriterQos WithPublishMode ( PublishMode  policy)

Creates an instance with a new PublishMode policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithReliability() [1/2]

DataWriterQos WithReliability ( Action< ReliabilityBuilder build)

Creates a new instance with a new Reliability policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithReliability() [2/2]

DataWriterQos WithReliability ( Reliability  policy)

Creates an instance with a new Reliability policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithRepresentation() [1/2]

DataWriterQos WithRepresentation ( Action< DataRepresentationBuilder build)

Creates a new instance with a new DataRepresentation policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithRepresentation() [2/2]

DataWriterQos WithRepresentation ( DataRepresentation  policy)

Creates an instance with a new DataRepresentation policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithResourceLimits() [1/2]

DataWriterQos WithResourceLimits ( Action< ResourceLimitsBuilder build)

Creates a new instance with a new ResourceLimits policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithResourceLimits() [2/2]

DataWriterQos WithResourceLimits ( ResourceLimits  policy)

Creates an instance with a new ResourceLimits policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithService() [1/2]

DataWriterQos WithService ( Action< ServiceBuilder build)

Creates a new instance with a new Service policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithService() [2/2]

DataWriterQos WithService ( Service  policy)

Creates an instance with a new Service policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithTopicQueryDispatch() [1/2]

DataWriterQos WithTopicQueryDispatch ( Action< TopicQueryDispatchBuilder build)

Creates a new instance with a new TopicQueryDispatch policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithTopicQueryDispatch() [2/2]

DataWriterQos WithTopicQueryDispatch ( TopicQueryDispatch  policy)

Creates an instance with a new TopicQueryDispatch policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithTransportPriority() [1/2]

DataWriterQos WithTransportPriority ( Action< TransportPriorityBuilder build)

Creates a new instance with a new TransportPriority policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithTransportPriority() [2/2]

DataWriterQos WithTransportPriority ( TransportPriority  policy)

Creates an instance with a new TransportPriority policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithTransportSelection() [1/2]

DataWriterQos WithTransportSelection ( Action< TransportSelectionBuilder build)

Creates a new instance with a new TransportSelection policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithTransportSelection() [2/2]

DataWriterQos WithTransportSelection ( TransportSelection  policy)

Creates an instance with a new TransportSelection policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithTypeSupport() [1/2]

DataWriterQos WithTypeSupport ( Action< TypeSupportBuilder build)

Creates a new instance with a new TypeSupport policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithTypeSupport() [2/2]

DataWriterQos WithTypeSupport ( TypeSupport  policy)

Creates an instance with a new TypeSupport policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithUnicast() [1/2]

DataWriterQos WithUnicast ( Action< ImmutableList< TransportUnicastSettings >.Builder >  build)

Creates a new instance with a new TransportUnicast policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithUnicast() [2/2]

DataWriterQos WithUnicast ( TransportUnicast  policy)

Creates an instance with a new TransportUnicast policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithUserData() [1/2]

DataWriterQos WithUserData ( Action< ImmutableList< byte >.Builder >  build)

Creates a new instance with a new UserData policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithUserData() [2/2]

DataWriterQos WithUserData ( UserData  policy)

Creates an instance with a new UserData policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithWriterDataLifecycle() [1/2]

DataWriterQos WithWriterDataLifecycle ( Action< WriterDataLifecycleBuilder build)

Creates a new instance with a new WriterDataLifecycle policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithWriterDataLifecycle() [2/2]

DataWriterQos WithWriterDataLifecycle ( WriterDataLifecycle  policy)

Creates an instance with a new WriterDataLifecycle policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

◆ WithWriterResourceLimits() [1/2]

DataWriterQos WithWriterResourceLimits ( Action< DataWriterResourceLimitsBuilder build)

Creates a new instance with a new DataWriterResourceLimits policy as configured by a build action

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy.
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithWriterResourceLimits() [2/2]

DataWriterQos WithWriterResourceLimits ( DataWriterResourceLimits  policy)

Creates an instance with a new DataWriterResourceLimits policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

Property Documentation

◆ Availability

Gets the Availability policy.

◆ Batch

Batch Batch
get

Gets the Batch policy.

◆ DataTags

Gets the DataTags policy.

◆ Deadline

Gets the Deadline policy.

◆ Default

DataWriterQos Default
staticget

Singleton containing the documented default value of a DataWriterQos

This is a static value containing the documented default values for each policy. Use Domain.DomainParticipant.DefaultDataWriterQos for the runtime default value that takes into consideration the current configuration.

◆ DestinationOrder

◆ Durability

Gets the Durability policy.

◆ DurabilityService

◆ History

Gets the History policy.

◆ LatencyBudget

◆ Lifespan

Gets the Lifespan policy.

◆ Liveliness

Gets the Liveliness policy.

◆ MultiChannel

Gets the MultiChannel policy.

◆ Ownership

Gets the Ownership policy.

◆ OwnershipStrength

◆ Property

Gets the Property policy.

◆ Protocol

DataWriterProtocol Protocol
get

Gets the DataWriterProtocol policy.

◆ PublicationName

EntityName PublicationName
get

Gets the EntityName policy.

◆ PublishMode

Gets the PublishMode policy.

◆ Reliability

Gets the Reliability policy.

◆ Representation

DataRepresentation Representation
get

Gets the DataRepresentation policy.

◆ ResourceLimits

◆ Service

Gets the Service policy.

◆ TopicQueryDispatch

◆ TransportPriority

◆ TransportSelection

◆ TypeSupport

Gets the TypeSupport policy.

◆ Unicast

TransportUnicast Unicast
get

Gets the TransportUnicast policy.

◆ UserData

Gets the UserData policy.

◆ WriterDataLifecycle

◆ WriterResourceLimits

DataWriterResourceLimits WriterResourceLimits
get

Gets the DataWriterResourceLimits policy.