RTI Connext C# API  6.1.0
SampleInfo Class Reference

Information that accompanies each sample received by a DataReader More...

Properties

bool ValidData [get]
 Indicates whether the sample contains data or else it is only used to communicate a change in the instance state (this.State.InstanceState) More...
 
DataState State [get]
 Contains the sample, view and instance states More...
 
GenerationCount GenerationCount [get]
 Keeps track of changes in the InstanceState (State) for a given instance. More...
 
Rank Rank [get]
 Keeps track of the number of samples related to the same instance that follow in a LoanedSamples<T> collection. More...
 
InstanceHandle InstanceHandle [get]
 Identifies locally the corresponding instance. More...
 
InstanceHandle PublicationHandle [get]
 Identifies locally the DataWriter that modified the instance. More...
 
Time SourceTimestamp [get]
 The timestamp when the sample was written by a DataWriter. More...
 
long PublicationSequenceNumber [get]
 The publication sequence number. More...
 
long ReceptionSequenceNumber [get]
 The reception sequence number when sample was committed by a DataReader More...
 
SampleIdentity PublicationVirtualSampleIdentity [get]
 The original publication virtual sample identity. More...
 
SampleIdentity OriginalPublicationVirtualSampleIdentity [get]
 The original publication virtual identity. More...
 
SampleIdentity RelatedOriginalPublicationVirtualSampleIdentity [get]
 The original publication virtual identity of a related sample. More...
 
int Flag [get]
 Flags associated with the sample. More...
 
Guid SourceGuid [get]
 The application logical data source associated with the sample. More...
 
Guid RelatedSourceGuid [get]
 The application logical data source that is related to the sample. More...
 
Guid RelatedSubscriptionGuid [get]
 The related_reader_guid associated with the sample. More...
 
Guid TopicQueryGuid [get]
 The Guid of the TopicQuery that is related to the sample. More...
 
CoherentSetInfo CoherentSetInfo [get]
 If this sample belongs to a coherent set, this property contains information about the coherent set. More...
 

Detailed Description

Information that accompanies each sample received by a DataReader

The full documentation is available in the C API: DDS_SampleInfo

Property Documentation

◆ CoherentSetInfo

If this sample belongs to a coherent set, this property contains information about the coherent set.

A nonnull object if this sample belongs to a coherent or null if it doesn't.

◆ Flag

int Flag
get

Flags associated with the sample.

The full documentation is available in the C API: DDS_SampleInfo::flag

◆ GenerationCount

Keeps track of changes in the InstanceState (State) for a given instance.

The full documentation is available in the C API: DDS_SampleInfo::disposed_generation_count

◆ InstanceHandle

Identifies locally the corresponding instance.

The full documentation is available in the C API: DDS_SampleInfo::instance_handle

◆ OriginalPublicationVirtualSampleIdentity

SampleIdentity OriginalPublicationVirtualSampleIdentity
get

The original publication virtual identity.

The full documentation is available in the C API: DDS_SampleInfo::original_publication_virtual_guid

◆ PublicationHandle

InstanceHandle PublicationHandle
get

Identifies locally the DataWriter that modified the instance.

The full documentation is available in the C API: DDS_SampleInfo::publication_handle

◆ PublicationSequenceNumber

long PublicationSequenceNumber
get

The publication sequence number.

The full documentation is available in the C API: DDS_SampleInfo::publication_sequence_number

◆ PublicationVirtualSampleIdentity

SampleIdentity PublicationVirtualSampleIdentity
get

The original publication virtual sample identity.

The full documentation is available in the C API: DDS_SampleInfo::original_publication_virtual_guid

◆ Rank

Rank Rank
get

Keeps track of the number of samples related to the same instance that follow in a LoanedSamples<T> collection.

The full documentation is available in the C API: DDS_SampleInfo::sample_rank

◆ ReceptionSequenceNumber

long ReceptionSequenceNumber
get

The reception sequence number when sample was committed by a DataReader

The full documentation is available in the C API: DDS_SampleInfo::reception_sequence_number

◆ RelatedOriginalPublicationVirtualSampleIdentity

SampleIdentity RelatedOriginalPublicationVirtualSampleIdentity
get

The original publication virtual identity of a related sample.

The full documentation is available in the C API: DDS_SampleInfo::related_original_publication_virtual_guid

◆ RelatedSourceGuid

Guid RelatedSourceGuid
get

The application logical data source that is related to the sample.

The full documentation is available in the C API: DDS_SampleInfo::related_source_guid

◆ RelatedSubscriptionGuid

Guid RelatedSubscriptionGuid
get

The related_reader_guid associated with the sample.

The full documentation is available in the C API: DDS_SampleInfo::related_subscription_guid

◆ SourceGuid

Guid SourceGuid
get

The application logical data source associated with the sample.

The full documentation is available in the C API: DDS_SampleInfo::source_guid

◆ SourceTimestamp

Time SourceTimestamp
get

The timestamp when the sample was written by a DataWriter.

The full documentation is available in the C API: DDS_SampleInfo::source_timestamp

◆ State

DataState State
get

Contains the sample, view and instance states

◆ TopicQueryGuid

Guid TopicQueryGuid
get

The Guid of the TopicQuery that is related to the sample.

The full documentation is available in the C API: DDS_SampleInfo::topic_query_guid

◆ ValidData

bool ValidData
get

Indicates whether the sample contains data or else it is only used to communicate a change in the instance state (this.State.InstanceState)

The full documentation is available in the C API: DDS_SampleInfo::valid_data