org.omg.dds.sub
Interface Sample<TYPE>

All Superinterfaces:
java.lang.Cloneable, DDSObject, ModifiableValue<Sample<TYPE>,Sample<TYPE>>, java.io.Serializable, Value<Sample<TYPE>,Sample<TYPE>>

public interface Sample<TYPE>
extends ModifiableValue<Sample<TYPE>,Sample<TYPE>>


Nested Class Summary
static interface Sample.Iterator<IT_DATA>
           
 
Method Summary
 int getAbsoluteGenerationRank()
           
 TYPE getData()
           
 int getDisposedGenerationCount()
           
 int getGenerationRank()
           
 ModifiableInstanceHandle getInstanceHandle()
           
 InstanceState getInstanceState()
           
 int getNoWritersGenerationCount()
           
 ModifiableInstanceHandle getPublicationHandle()
           
 int getSampleRank()
           
 SampleState getSampleState()
           
 ModifiableTime getSourceTimestamp()
           
 ViewState getViewState()
           
 
Methods inherited from interface org.omg.dds.core.modifiable.ModifiableValue
clone, copyFrom, finishModification
 
Methods inherited from interface org.omg.dds.core.Value
equals, hashCode, modify
 
Methods inherited from interface org.omg.dds.core.DDSObject
getBootstrap
 

Method Detail

getData

TYPE getData()
Returns:
the data associated with this sample. This method will return null if this sample contains no valid data.

getSampleState

SampleState getSampleState()
Returns:
the sampleState

getViewState

ViewState getViewState()
Returns:
the viewState

getInstanceState

InstanceState getInstanceState()
Returns:
the instanceState

getSourceTimestamp

ModifiableTime getSourceTimestamp()

getInstanceHandle

ModifiableInstanceHandle getInstanceHandle()

getPublicationHandle

ModifiableInstanceHandle getPublicationHandle()

getDisposedGenerationCount

int getDisposedGenerationCount()
Returns:
the disposedGenerationCount

getNoWritersGenerationCount

int getNoWritersGenerationCount()
Returns:
the noWritersGenerationCount

getSampleRank

int getSampleRank()
Returns:
the sampleRank

getGenerationRank

int getGenerationRank()
Returns:
the generationRank

getAbsoluteGenerationRank

int getAbsoluteGenerationRank()
Returns:
the absoluteGenerationRank


Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.