RTI Connext C# API Version 7.2.0
Rti.Dds.Core.Policy.GroupData Class Reference

Attaches a buffer of opaque data that is distributed by means of the built-in topics. More...

Inherits IEquatable< GroupData >.

Public Member Functions

 GroupData (IEnumerable< byte > value)
 Creates a GroupData object with a list of settings More...
 
 GroupData (ImmutableList< byte > value)
 Creates a GroupData object with a list of settings More...
 
GroupData With (Action< ImmutableList< byte >.Builder > build)
 Creates a new GroupData with a set of changes specified in an Action More...
 
override int GetHashCode ()
 Gets the hash code More...
 
override bool Equals (object other)
 Compares for equality More...
 
bool Equals (GroupData other)
 Compares for equality More...
 

Properties

ImmutableList< byte > Value [get]
 An opaque sequence of bytes. More...
 
static GroupData Default = new GroupData(ImmutableList<byte>.Empty) [get]
 Singleton containing the default value of a GroupData More...
 

Detailed Description

Attaches a buffer of opaque data that is distributed by means of the built-in topics.

The full documentation is available in the C API: DDS_GroupDataQosPolicy

Constructor & Destructor Documentation

◆ GroupData() [1/2]

Rti.Dds.Core.Policy.GroupData.GroupData ( IEnumerable< byte >  value)
inline

Creates a GroupData object with a list of settings

◆ GroupData() [2/2]

Rti.Dds.Core.Policy.GroupData.GroupData ( ImmutableList< byte >  value)

Creates a GroupData object with a list of settings

Member Function Documentation

◆ With()

GroupData Rti.Dds.Core.Policy.GroupData.With ( Action< ImmutableList< byte >.Builder >  build)
inline

Creates a new GroupData with a set of changes specified in an Action

Parameters
buildAn Action (typically a lambda function) that receives a modifiable list with the current values of this object's Value.
Returns
A new GroupData with the changes applied by the Action

◆ GetHashCode()

override int Rti.Dds.Core.Policy.GroupData.GetHashCode ( )

Gets the hash code

◆ Equals() [1/2]

override bool Rti.Dds.Core.Policy.GroupData.Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Rti.Dds.Core.Policy.GroupData.Equals ( GroupData  other)
inline

Compares for equality

Property Documentation

◆ Value

ImmutableList<byte> Rti.Dds.Core.Policy.GroupData.Value
get

An opaque sequence of bytes.

The full documentation is available in the C API: DDS_GroupDataQosPolicy_value

◆ Default

GroupData Rti.Dds.Core.Policy.GroupData.Default = new GroupData(ImmutableList<byte>.Empty)
staticget

Singleton containing the default value of a GroupData