RTI Connext C# API  6.1.0
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

◆ Equals() [1/2]

override bool Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Equals ( TypeSupport  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

TypeSupport With ( Action< TypeSupportBuilder build)

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

Property Documentation

◆ CdrPaddingKind

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 Default
staticget

Singleton containing the default value of a DataWriterProtocol

◆ PluginData

IntPtr 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