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

A modifiable type used to create an immutable Batch More...

Public Member Functions

 BatchBuilder (Batch data)
 Creates a builder with the values of an existing immutable instance More...
 
Batch Build ()
 Creates a new Batch immutable object from this one. More...
 

Properties

bool Enable [get, set]
 Specifies whether or not batching is enabled. More...
 
int MaxDataBytes [get, set]
 The maximum cumulative length of all serialized samples in a batch. More...
 
int MaxSamples [get, set]
 The maximum number of samples in a batch. More...
 
Duration MaxFlushDelay [get, set]
 The maximum flush delay. More...
 
Duration SourceTimestampResolution [get, set]
 Batch source timestamp resolution. More...
 
bool ThreadSafeWrite [get, set]
 Determines whether or not the write operation is thread safe. More...
 

Detailed Description

A modifiable type used to create an immutable Batch

Constructor & Destructor Documentation

◆ BatchBuilder()

Rti.Dds.Core.Policy.BatchBuilder.BatchBuilder ( Batch  data)
inline

Creates a builder with the values of an existing immutable instance

Member Function Documentation

◆ Build()

Batch Rti.Dds.Core.Policy.BatchBuilder.Build ( )

Creates a new Batch immutable object from this one.

Property Documentation

◆ Enable

bool Rti.Dds.Core.Policy.BatchBuilder.Enable
getset

Specifies whether or not batching is enabled.

The full documentation is available in the C API: DDS_BatchQosPolicy_enable

◆ MaxDataBytes

int Rti.Dds.Core.Policy.BatchBuilder.MaxDataBytes
getset

The maximum cumulative length of all serialized samples in a batch.

The full documentation is available in the C API: DDS_BatchQosPolicy_max_data_bytes

◆ MaxSamples

int Rti.Dds.Core.Policy.BatchBuilder.MaxSamples
getset

The maximum number of samples in a batch.

The full documentation is available in the C API: DDS_BatchQosPolicy_max_samples

◆ MaxFlushDelay

Duration Rti.Dds.Core.Policy.BatchBuilder.MaxFlushDelay
getset

The maximum flush delay.

The full documentation is available in the C API: DDS_BatchQosPolicy_max_flush_delay

◆ SourceTimestampResolution

Duration Rti.Dds.Core.Policy.BatchBuilder.SourceTimestampResolution
getset

Batch source timestamp resolution.

The full documentation is available in the C API: DDS_BatchQosPolicy_source_timestamp_resolution

◆ ThreadSafeWrite

bool Rti.Dds.Core.Policy.BatchBuilder.ThreadSafeWrite
getset

Determines whether or not the write operation is thread safe.

The full documentation is available in the C API: DDS_BatchQosPolicy_thread_safe_write