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

Used to attach application-specific value(s) to a Publication.DataWriter<T> or Subscription.DataReader<T>. More...

Inherits IEquatable< TypeSupport >.

Public Member Functions

TypeSupport With (Action< TypeSupportBuilder > build)
 Creates a new TypeSupport 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 (TypeSupport other)
 Compares for equality More...
 

Properties

IntPtr PluginData [get]
 Value to pass into the type plugin's de-/serialization function More...
 
CdrPaddingKind CdrPaddingKind [get]
 Determines whether or not the padding bytes will be set to zero during CDR serialization. More...
 
static TypeSupport Default [get]
 Singleton containing the default value of a DataWriterProtocol More...
 

Detailed Description

Used to attach application-specific value(s) to a Publication.DataWriter<T> or Subscription.DataReader<T>.

The full documentation is available in the C API: DDS_TypeSupportQosPolicy

Member Function Documentation

◆ With()

TypeSupport Rti.Dds.Core.Policy.TypeSupport.With ( Action< TypeSupportBuilder build)
inline

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

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

◆ GetHashCode()

override int Rti.Dds.Core.Policy.TypeSupport.GetHashCode ( )
inline

Gets the hash code

◆ Equals() [1/2]

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

Compares for equality

◆ Equals() [2/2]

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

Compares for equality

Property Documentation

◆ PluginData

IntPtr Rti.Dds.Core.Policy.TypeSupport.PluginData
get

Value to pass into the type plugin's de-/serialization function

The full documentation is available in the C API: DDS_TypeSupportQosPolicy_plugin_data

◆ CdrPaddingKind

CdrPaddingKind Rti.Dds.Core.Policy.TypeSupport.CdrPaddingKind
get

Determines whether or not the padding bytes will be set to zero during CDR serialization.

The full documentation is available in the C API: DDS_TypeSupportQosPolicy_cdr_padding_kind

◆ Default

TypeSupport Rti.Dds.Core.Policy.TypeSupport.Default
staticget

Singleton containing the default value of a DataWriterProtocol