RTI Connext .Net APIs  Version 5.2.0
 All Classes Namespaces Functions Variables Enumerations Properties Groups Pages
RTI.Connext.Infrastructure.WriteSample< T > Interface Template Reference

A sample for writing data. More...

Inherited by RTI.Connext.Infrastructure.WriteSampleImpl< T >.

Properties

Data [get, set]
 Gets or sets the data this sample contains.
 
DDS.WriteParams_t Info [get, set]
 Gets or sets the write parameters.
 
DDS.SampleIdentity_t Identity [get]
 Gets the identity of this sample.
 

Detailed Description

A sample for writing data.

WriteSamples are value types containing data that can be sent and optional parameters that configure how the data is written.

Template Parameters
TThe data type that this sample contains

Property Documentation

T RTI.Connext.Infrastructure.WriteSample< T >.Data
getset

Gets or sets the data this sample contains.

DDS.WriteParams_t RTI.Connext.Infrastructure.WriteSample< T >.Info
getset

Gets or sets the write parameters.

The parameters are input and output to write operations. They can be set to configure the write operation (e.g. setting a specific publication timestamp) or they can be looked up afterward (e.g. what was the actual timestamp the sample was written with).

See Also
RTI::Connext::RequestReply::Requester<TReq,TRep>::SendRequest(WriteSample<TReq>)
RTI::Connext::RequestReply::Replier<TReq,TRep>::SendReply(WriteSample<TRep>, SampleIdentity_t)
DDS.SampleIdentity_t RTI.Connext.Infrastructure.WriteSample< T >.Identity
get

Gets the identity of this sample.

The identity is assigned by the middleware after writing.

See Also
Correlating requests and replies

RTI Connext .Net APIs Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc