RTI Connext C# API Version 7.2.0
Rti.Dds.Publication.PublisherQos Class Reference

QoS policies supported by a Publisher. More...

Inherits IEquatable< PublisherQos >.

Public Member Functions

PublisherQos WithPresentation (Presentation policy)
 Creates an instance with a new Presentation policy. More...
 
PublisherQos WithPresentation (Action< PresentationBuilder > build)
 Creates a new instance with a new Presentation policy as configured by a build action More...
 
PublisherQos WithPartition (Partition policy)
 Creates an instance with a new Partition policy. More...
 
PublisherQos WithPartition (Action< ImmutableList< string >.Builder > build)
 Creates a new instance with a new Partition policy as configured by a build action More...
 
PublisherQos WithGroupData (GroupData policy)
 Creates an instance with a new GroupData policy. More...
 
PublisherQos WithGroupData (Action< ImmutableList< byte >.Builder > build)
 Creates a new instance with a new GroupData policy as configured by a build action More...
 
PublisherQos WithEntityFactory (EntityFactory policy)
 Creates an instance with a new EntityFactory policy. More...
 
PublisherQos WithAsynchronousPublisher (AsynchronousPublisher policy)
 Creates an instance with a new AsynchronousPublisher policy. More...
 
PublisherQos WithAsynchronousPublisher (Action< AsynchronousPublisherBuilder > build)
 Creates a new instance with a new AsynchronousPublisher policy as configured by a build action More...
 
PublisherQos WithExclusiveArea (ExclusiveArea policy)
 Creates an instance with a new ExclusiveArea policy. More...
 
PublisherQos WithExclusiveArea (Action< ExclusiveAreaBuilder > build)
 Creates a new instance with a new ExclusiveArea policy as configured by a build action More...
 
PublisherQos WithPublisherName (EntityName policy)
 Creates an instance with a new PublisherName policy. More...
 
PublisherQos WithPublisherName (Action< EntityNameBuilder > build)
 Creates a new instance with a new PublisherName policy as configured by a build action More...
 
bool Equals (PublisherQos other)
 Compares all the policies for equality More...
 
override int GetHashCode ()
 Returns the hash code by combining that of each policy More...
 
override bool Equals (object obj)
 Compares all the policies 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 (PublisherQos 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...
 

Properties

static PublisherQos Default = new PublisherQos() [get]
 Singleton containing the documented default value of a PublisherQos More...
 
Presentation Presentation [get]
 Gets the Presentation policy. More...
 
Partition Partition [get]
 Gets the Partition policy. More...
 
GroupData GroupData [get]
 Gets the GroupData policy. More...
 
EntityFactory EntityFactory [get]
 Gets the EntityFactory policy. More...
 
AsynchronousPublisher AsynchronousPublisher [get]
 Gets the AsynchronousPublisher policy. More...
 
ExclusiveArea ExclusiveArea [get]
 Gets the ExclusiveArea policy. More...
 
EntityName PublisherName [get]
 Gets the EntityName policy. More...
 

Detailed Description

QoS policies supported by a Publisher.

The full documentation is available in the C API: DDS_PublisherQos

Member Function Documentation

◆ WithPresentation() [1/2]

PublisherQos Rti.Dds.Publication.PublisherQos.WithPresentation ( Presentation  policy)
inline

Creates an instance with a new Presentation policy.

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

◆ WithPresentation() [2/2]

PublisherQos Rti.Dds.Publication.PublisherQos.WithPresentation ( Action< PresentationBuilder build)

Creates a new instance with a new Presentation 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

◆ WithPartition() [1/2]

PublisherQos Rti.Dds.Publication.PublisherQos.WithPartition ( Partition  policy)
inline

Creates an instance with a new Partition policy.

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

◆ WithPartition() [2/2]

PublisherQos Rti.Dds.Publication.PublisherQos.WithPartition ( Action< ImmutableList< string >.Builder >  build)

Creates a new instance with a new Partition 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

◆ WithGroupData() [1/2]

PublisherQos Rti.Dds.Publication.PublisherQos.WithGroupData ( GroupData  policy)
inline

Creates an instance with a new GroupData policy.

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

◆ WithGroupData() [2/2]

PublisherQos Rti.Dds.Publication.PublisherQos.WithGroupData ( Action< ImmutableList< byte >.Builder >  build)

Creates a new instance with a new GroupData 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

◆ WithEntityFactory()

PublisherQos Rti.Dds.Publication.PublisherQos.WithEntityFactory ( EntityFactory  policy)
inline

Creates an instance with a new EntityFactory policy.

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

◆ WithAsynchronousPublisher() [1/2]

PublisherQos Rti.Dds.Publication.PublisherQos.WithAsynchronousPublisher ( AsynchronousPublisher  policy)
inline

Creates an instance with a new AsynchronousPublisher policy.

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

◆ WithAsynchronousPublisher() [2/2]

PublisherQos Rti.Dds.Publication.PublisherQos.WithAsynchronousPublisher ( Action< AsynchronousPublisherBuilder build)

Creates a new instance with a new AsynchronousPublisher 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

◆ WithExclusiveArea() [1/2]

PublisherQos Rti.Dds.Publication.PublisherQos.WithExclusiveArea ( ExclusiveArea  policy)
inline

Creates an instance with a new ExclusiveArea policy.

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

◆ WithExclusiveArea() [2/2]

PublisherQos Rti.Dds.Publication.PublisherQos.WithExclusiveArea ( Action< ExclusiveAreaBuilder build)

Creates a new instance with a new ExclusiveArea 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

◆ WithPublisherName() [1/2]

PublisherQos Rti.Dds.Publication.PublisherQos.WithPublisherName ( EntityName  policy)
inline

Creates an instance with a new PublisherName policy.

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

◆ WithPublisherName() [2/2]

PublisherQos Rti.Dds.Publication.PublisherQos.WithPublisherName ( Action< EntityNameBuilder build)

Creates a new instance with a new PublisherName 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

◆ Equals() [1/2]

bool Rti.Dds.Publication.PublisherQos.Equals ( PublisherQos  other)
inline

Compares all the policies for equality

◆ GetHashCode()

override int Rti.Dds.Publication.PublisherQos.GetHashCode ( )
inline

Returns the hash code by combining that of each policy

◆ Equals() [2/2]

override bool Rti.Dds.Publication.PublisherQos.Equals ( object  obj)

Compares all the policies for equality

◆ ToString() [1/4]

override string Rti.Dds.Publication.PublisherQos.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 Rti.Dds.Publication.PublisherQos.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 PublisherQos object being printed and the baseQos are included in the output.

◆ ToString() [3/4]

string Rti.Dds.Publication.PublisherQos.ToString ( PublisherQos  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 PublisherQos object being printed and the baseQos are included in the output.

◆ ToString() [4/4]

string Rti.Dds.Publication.PublisherQos.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.

Property Documentation

◆ Default

PublisherQos Rti.Dds.Publication.PublisherQos.Default = new PublisherQos()
staticget

Singleton containing the documented default value of a PublisherQos

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

◆ Presentation

Presentation Rti.Dds.Publication.PublisherQos.Presentation
get

Gets the Presentation policy.

◆ Partition

Partition Rti.Dds.Publication.PublisherQos.Partition
get

Gets the Partition policy.

◆ GroupData

GroupData Rti.Dds.Publication.PublisherQos.GroupData
get

Gets the GroupData policy.

◆ EntityFactory

EntityFactory Rti.Dds.Publication.PublisherQos.EntityFactory
get

Gets the EntityFactory policy.

◆ AsynchronousPublisher

AsynchronousPublisher Rti.Dds.Publication.PublisherQos.AsynchronousPublisher
get

Gets the AsynchronousPublisher policy.

◆ ExclusiveArea

ExclusiveArea Rti.Dds.Publication.PublisherQos.ExclusiveArea
get

Gets the ExclusiveArea policy.

◆ PublisherName

EntityName Rti.Dds.Publication.PublisherQos.PublisherName
get

Gets the EntityName policy.